Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to launch third party application in resized window?

 
chetan dhumane
Ranch Hand
Posts: 641
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am trying to launch the activities in resized window .By getting current window , I can resize the window to launch my activity as shown below.

getWindow().setLayout(300,WindowManager.LayoutParams.FILL_PARENT);
setContentView(R.layout.main);

This is only possible to launch the activities which are in my application . I could not display 3rd part app in a resized window . can any one help me for this challenging task ?

Attached is my layout. I want to show the 3rd party activity in the empty window(as shown in layout) by clicking on the buttons shown in the layout. How ever i can achieve this by taking tab activity. This is feasible once again for the activities in my own application. Otherwise security exceptions will be thrown or even if out of this exceptions, it will be once again displayed in full screen mode ?
Is there any way to achieve this in small window?

I appreciate if any one help me.....

Thanks in advance,
layout.png
[Thumbnail for layout.png]
Layout of my application
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic