Re: [android-developers] Activity inside a view

2010-09-05 Thread TreKing
On Fri, Sep 3, 2010 at 1:13 PM, skink psk...@gmail.com wrote:

 why not?


Because you can't put an Activity inside a View - that's simply not
supported and makes no sense.


 see:
 developer.android.com/reference/android/app/LocalActivityManager.html


And ... ?

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Activity inside a view

2010-09-03 Thread TreKing
On Thu, Sep 2, 2010 at 11:39 PM, Explore Android
stetest...@googlemail.comwrote:

 I have an activity called ActivityA that does beautiful things


That's an interesting way to describe it ...


 Starting ActivityA in full screen mode is straight forward but I want this
 activity to be with in the framelayout of ActivityB.


That's not possible.


 I want to have all ActivityA behavior but with in the framelayout of
 ActivityB.


That's not possible.


 I have searched internet for soultions but could not find any useful
 solution.


Because there aren't any - that's not possible.


 Any solution to this problem is much appreciated.


An alternative would be to create a custom view with all the logic the
Activity A is doing, make it the content of Activity A, and when clicking
button in Activity B, put your view in your framelayout. You will probably
lose some functionality depending on the beautiful things your Activity A
is doing.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Activity inside a view

2010-09-03 Thread skink


TreKing wrote:
 On Thu, Sep 2, 2010 at 11:39 PM, Explore Android
 stetest...@googlemail.comwrote:

  Starting ActivityA in full screen mode is straight forward but I want this
  activity to be with in the framelayout of ActivityB.
 

 That's not possible.


why not?

see:
developer.android.com/reference/android/app/LocalActivityManager.html

pskink

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Activity inside a view

2010-09-02 Thread Explore Android
Hi Android_Experts,

I am facing a very interesting issue. I have an activity called
ActivityA that does beautiful things. I have another activity
ActivityB with button and framelayout. When button is clicked in
ActivityB I want to start ActivityA. Starting ActivityA in full screen
mode is straight forward but I want this activity to be with in the
framelayout of ActivityB. I want to have all ActivityA behavior but
with in the framelayout of ActivityB. I have searched internet for
soultions but could not find any useful solution. Any solution to this
problem is much appreciated.

Thanks

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en