i want to keep value to the application cycle.

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

i want to keep value to the application cycle.

Postby faisalloe » Wed Nov 04, 2009 2:01 pm

I am new to android development.

is there any session thing like webapp in android.

i want to store user login information and want to retrive where ever it is needed, how can i do it ?
faisalloe
Developer
Developer
 
Posts: 29
Joined: Wed Nov 04, 2009 5:01 am

Top

Postby ExxKA » Sun Nov 08, 2009 5:35 pm

Hey.

Yes you can share data between Activities by packing it into a Bundle, and handing it over to the next Activity you start. But why would you need to check these things?

If you have activityes A1, A2, and say A3. Then most likely your program will start activity A1 from the application launcher menu. But no other application will be able to start your other activities A2 and A3 unless you design them for that pupose. So you will not get into a situation where you need to verify that your user is looking at an activity which he has the rights to access.

Correct me if I am wrong.
ExxKA
Developer
Developer
 
Posts: 29
Joined: Tue Nov 03, 2009 7:16 pm
Location: Denmark

Postby I_Artist » Sun Nov 08, 2009 6:00 pm

The I_Artist

follow me on Twitter: @I_Artist
follow Android Development on Twitter: #androiddev

Show the world that you are an #androiddev, wear the badge http://www.twibbon.com/join/androiddev
User avatar
I_Artist
Developer
Developer
 
Posts: 33
Joined: Fri Oct 16, 2009 3:49 am
Location: St-Eustache, Quebec

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Google [Bot] and 9 guests