> Why google not go with user creating a view object and
> showing it (like in j2me).

As a disclaimer, I should say I have no experience with j2me. It might
be easier to think of the Activity as a view. Think about it as a
container view for your UI that happens to do a lot of other stuff.

> However if I could tell my application to run only in one vm,
> can't avoid one activity for each screen.

I don't know why you say this. It would be possible to change the
content view so you have one activity and multiple screens. I don't
see how it has anything to do with running in multiple VMs. Although

> I am not feeling very
> comfortable with data passing between the activity creations..

I don't see what you dislike about this. It seems an awful lot like
web programming to me, where you get/post requests to the server. I
guess being that I'm mainly a web developer, I see that and it seems
natural to me.

On Mar 24, 11:17 am, Raja Nagendra Kumar <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> Looking for any good documents and support from expects to understand
> google desing on intents and why each screen should be created using
> activities. Why google not go with user creating a view object and
> showing it (like in j2me).
>
> One thing I understand that each activity could run in different vm's
> etc.. However if I could tell my application to run only in one vm,
> can't avoid one activity for each screen. I am not feeling very
> comfortable with data passing between the activity creations..
>
> I tried one activity to other activity data though static variables
> instead of passing them through intent extra.. etc.. this seem to
> work.. however not sure when this could fail..
>
> Regards,
> Raja Nagendra Kumar,
> C.T.Owww.tejasoft.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to