Browser Back Button

by Jaikishan Jalan » Sat, 17 Apr 2010 05:11:07 GMT


Sponsored Links
 Hello,

I see that there is no provision for navigating back on Android Browser. I
see that it does have a forward button. To go back, I am forced to use the
back button on the device but the problem with that it does not retain the
state of the page. I am curious if this is a feature or a bug ? If feature,
what is the rationale to do so? I have seen this behvaiour on Nexus One and
Motorola Devour.

-- 
Thanks,
Jaikishan

--



Browser Back Button

by AndroidAppDeveloper » Sat, 17 Apr 2010 05:20:31 GMT


 Hello,

I see that there is no provision for navigating back on Android
Browser. I see that it does have a forward button. To go back, I am
forced to use the back button on the device but the problem with that
it does not retain the state of the page. I am curious if this is a
feature or a bug ? If feature, what is the rationale to do so. I have
seen this behvaiour on Nexus One and Motorola Devour.

--


Sponsored Links


Browser Back Button

by Matt Kanninen » Sat, 17 Apr 2010 07:24:09 GMT


 It bugs me.  Few activities override the back button this much.  I
feel like the official exit button in Android is hit the back button 7
times quickly, and I think the browser's behavior encourages this.

I understand that Android reduces the need for an exit button, but
IMHO there are many use cases where it's needed.  Largely for buggy
apps.  I frequently have to order Pandora on my Moto Droid to quit, so
I can restart it and get it to work.  Otherwise it just sits there
with a black screen.

I'd prefer it if the default browser had an explicit back item in the
menu, and if the back key closed the whole browser activity (caching
state).

My 2 cents,
-MK



>



Browser Back Button

by niko20 » Wed, 21 Apr 2010 02:59:25 GMT


 You can "close" the browser and retain state by just pressing the Home
key

-niko




> >



Browser Back Button

by Matt Kanninen » Thu, 22 Apr 2010 02:46:50 GMT


 Modern PC browsers often let you go backwards and forwards while
retaining a lot of the page state.  This is awesome for the case you
fill out a giant online form, (like this one I'm filling out on
groups.google.com), but for some reason a bug occurs during the
submit.  That way when you go back you still have your form data.

On the other hand, for all I know that could be a trick particular
websites do using javascript.





> > >



Other Threads

1. Android on non-phones?

Yes.

On Aug 17, 10:48pm, "Muthu Ramadoss" <[EMAIL PROTECTED]>




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

2. Activity not found when starting a new activity?

Hello everyone,
I started to work on my app., but I am having problems switching to a
new activity so I decided just to experiment with that. I am having
problems. Here is my AndroidManifest

- <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.v.t">
- <application>
- <activity android:name=".Start" android:label="Start">
- <intent-filter>
  <action android:name="android.intent.action.MAIN" />
  <category android:name="android.intent.category.LAUNCHER" />
  </intent-filter>
  </activity>
  <activity android:name=".Jim" android:label="Jim" />
  </application>
  </manifest>

Both Start and Jim are located in the com.v.t package. Here is the
code for Start.
package com.v.t;

import android.app.Activity;
import android.os.Bundle;

public class Start extends Activity implements Runnable
{
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle icicle)
    {
        super.onCreate(icicle);
        setContentView(R.layout.main);
        Thread t = new Thread(this);
        t.start();
    }

    public void run(){
        try{
        Thread.sleep(5000);
        }catch(Exception e){

        }
        android.content.Intent intent = new android.content.Intent();
        intent.setClassName("com.v.t", "Jim");
        startActivity(intent);


    }

}

The app starts properly, but after about 5sec. I get this message on
the emulator.

Apllication Error:com.v.t

An error has occurred in
com.v.t. Unable to find explicit
activity class{com.v.t/Jim}; have
you delcared this activity in your
AndroidManifest.xml?.

I am using mcr5 by the way. Any ideas on what I am doing wrong? The
emulator demos work fine, so I don't think it is that, and I re-
downloaded mcr5 and I still have the problem.
Thanks for any solutions.

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

3. sdk v0.9_r1 coming?

4. Android IDL support [C++, wire protocol spec info needed]

5. Accessing Network

6. View cant accept key event ?

7. Activity not found when starting a new activity?