Having a back button functioning like the emulators

by pawan nimje » Tue, 11 May 2010 00:10:16 GMT


Sponsored Links
 Hi all

I have 3 activities

1: Welcome screen

2:List of country

3:Details abt that country

Now i want to from activity 3 to 2

Currently wat im doing is

 Intent i = new Intent(getApplicationContext(), selectcountry.class);
 startActivity(i);

This way the onCreate methode of 2nd activity is called ... and the whole
list is populated again ...

But the back button of emulated function differently ...

wat code should i write to make my back button behave like the emulators ...

--



Having a back button functioning like the emulators

by TreKing » Tue, 11 May 2010 00:34:15 GMT


 




finish().

And please don't double post - it's really unnecessary.

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

--


Sponsored Links


Having a back button functioning like the emulators

by pawan nimje » Tue, 11 May 2010 00:47:06 GMT


 sorry and thank u ...






>



Other Threads

1. getListView().setTextFilterEnabled(true) get the filter text problem

no people?

On Dec 3, 2:11am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>


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

2. AuthenticationException when accessing Google Spreadsheets

I'm trying to use the Google Spreadsheet API from android, but I fall
at the first hurdle, and can't even connect to the service.

I've added uses-permission android:name="android.permission.INTERNET"
to my manifest but I still get the error:
com.google.gdata.util.AuthenticationException: Error connecting with
login URI
...
Caused by: java.io.IOException: Hostname <www.google.com> was not
verified
This is just by using the following code in my app:

SpreadsheetService myService = new SpreadsheetService(
                                "mydomain.com-myapp-1");
myService.setUserCredentials("[EMAIL PROTECTED]",
                                "mypassword");

The same code runs fine from a test class outside of android.

Any ideas?  It seems to be trying to get an SSL connection for some
reason.

There's a similar thread here (

3. Can we register a callback which is called when user clicks on the play button of MediaController?

4. Streaming RTSP directly by suing MediaPlayer

5. Custom Style

6. Cheap functional phones

7. Question about Android and updates on Dev Phone 1.