Passing a parameter from Activity A -> B

kanaida

Active Member
Licensed User
Longtime User
I have 3 activities:
Activity A: Login
Actibity B: MainMenu
Activity C: MenuOptionContent

In "A", I can verify the user/pass across the net or SQLite.
So I open up activity B.
Now the user picks a menu item from a listview, it's value is the CategoryId

How can I pass the CategoryID -> Activity "C" so that when activity starts I can use that variable to load different items?

I thought it was just putting them in Process_Globals, then I could just reference that variable from the next activity, but that didn't work for me.
In fact, I re-declare those same variable in each activity just to use them again.

Not declaring them gives:
Error description: Undeclared variable 'hc' is used before it was assigned any value.
 
Top