how to start application in last viewed activity in previous session

by ~ TreKing » Thu, 22 Apr 2010 02:42:57 GMT


Sponsored Links
 



How about starting the particular activity from your main activity instead
of your Application class?

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
 http://sites.google.com/site/rezmobileapps/treking 

--



how to start application in last viewed activity in previous session

by greg » Thu, 22 Apr 2010 03:12:09 GMT


 Thanks.  I was incorrectly focused on avoiding an intermediate
Activity.  Your approach seems simpler to implement and I suspect the
delay due to the creation of the intermediate Activity will be too
small to notice.





>


Sponsored Links


Other Threads

1. Can we call framework classes directly?

e.g. it would be useful to call some methods in
com.android.camera.ImageManager / ImageLoader rather than trying to
copy / paste them into my project and figure out all missing
references etc.
--~--~---------~--~----~------------~-------~--~----~

2. Insanely slow read() from HttpsURLConnection...

> So I have the following code...

You could try:

http://www.exampledepot.com/egs/java.net/ReadFromURL.html

or:

http://java.sun.com/docs/books/tutorial/networking/urls/readingWriting.html

If you cannot get HttpsURLConnection to do what you want, you could try
switching to HttpClient and using the Response Handler pattern from:

http://hc.apache.org/httpcomponents-client/examples.html

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!



--~--~---------~--~----~------------~-------~--~----~

3. Notifications and Sound

4. How to add radiobuttons in menu structure

5. Event when an outgoing call is being amswered?

6. subproject

7. Detect an outgoing call is being answered?