Markus wrote:
> All examples are using one Activity and add some small functions. But
> how is it if I need a lot of more functions and views.

http://developer.android.com/guide/tutorials/notepad/index.html

http://code.google.com/p/apps-for-android/

http://code.google.com/p/shelves/

> Accounts.actionLaunch(this);
> finish();
> 
> public static void actionLaunch(Context context) {
>         Intent intent = new Intent(context, Accounts.class);
>         intent.putExtra(EXTRA_STARTUP, true);
>         context.startActivity(intent);
> }
> 
> The start from a activity another and destroy the other. So is that
> the correct workflow of developing apps in android? 

Does it work? Yes. "Correct" is more difficult to answer. I do not see
that pattern used very frequently, but perhaps I am not looking in the
right places.

> Or is all functions in one activity recommend?

No.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books.html

--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to