This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to launch third party application in resized window?  RSS feed

 
chetan dhumane
Ranch Hand
Posts: 643
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
Boost this thread!