android - how to show other application inside my main xml? -


how show other activity inside activity idea how that? want show other activity inside main layout , take 50% of screen not show on full screen idea???

string packagename = "com.mobile_banking"; // must know package name intent = new intent(intent.action_main); packagemanager manager = getpackagemanager(); = manager.getlaunchintentforpackage(packagename); startactivity(i); 

with activity, can't show 2 activities in single one.

what looking fragmentactivity , fragments custom sizes in it.

first learn fragments , fragmentactivity

once learn basics, can follow these links:

android 2 fragments in same activity

how implement 2 fragments in single view?


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -