On Mon, Jan 17, 2011 at 9:35 AM, zizzfusion <calumer...@gmail.com> wrote:

> Would a conditional set of statements work something like this
>

Sure, but you could simplify this to a switch statement:

switch (pos)
{
 case CONSTANT_FOR_SELECTION_0:
 launchActivityForSelection0();
break;
// etc.
}


> or can I load the activities through an array as could be done with a
> simple set of strings.
>

I have no idea what that means.

-------------------------------------------------------------------------------------------------
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

Reply via email to