NotepadV3 Issues

by Olly » Fri, 10 Sep 2010 00:22:32 GMT

Sponsored Links

I am only a beginner to Android, but I have noticed a number of things
that seem a little strange in the third notepad tutorial:

- The tutorial explicitly states that you need to call saveState from
BOTH onSaveInstanceState and onPause. Is this really necessary? It
seems to me from reading the process life-cycle documentation that
onPause will always be called before the Activity is killed,
regardless of whether it is done so by the system or the user. If this
is the case, surely just calling saveState from onPause is sufficient?
- Calling populateFields() in both onResume and onCreate is pointless,
since onResume is always called after onCreate anyway. Hence if I
understand correctly, the call in onCreate serves no useful purpose
and can be safely removed.

Could someone please either confirm these points, or let me know what
I have misunderstood.



Other Threads

1. API to get signal strength of Wifi networks

Is there API to get signal strengths of all visible Wifi networks?

2. How can i build an URI for each person in the contact


How can i build a URI for each person of the contact so that i can use
the following method in Contact.People
 public static Bitmap loadContactPhoto(Context context, Uri person,
                int placeholderImageResource, BitmapFactory.Options options)

Thank you.


3. Help: 1.5 AutoCompleteTextView Problem

4. Special characters on hardware keyboard since 1.5 (cupcake)

5. Google Docs support coming?

6. Upgrading to 1.5

7. can i find the location of NOKIA GPS enabled mobile