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. Announcing: The Android Developers Union

Hello, fellow Android devs!

I'm sure many of you, like myself, have been fed up with Google
because of their
lackluster support for the Android market.
In response, I am forming a Union of Android Developers. The demands
are laid out here: http://www.andevuni.org/
This is the statement of intent:

   We, the members and supporters of the Android Developers Union,
are fed up with the conditions of the Android Market. We are tired of
being treated like sharecroppers on Google's digital plantation! We
have compiled a list of seven demands which Google can implement to
improve the Market. Implementing these demands will absolutely improve
the working conditions for Android developers, thereby improving the
Android ecosystem and giving a better experience to our customers.
   If our demands are not met, we will move our applications to
alternative marketplaces or the web, cease Android development in
favor of other more open platforms, we will dissuade other developers
from developing Android projects, and we will work tirelessly to
counter any of Google's hypocritical claims about Openness in the
media.
  These are our demands! They are simple and they are attainable, so
we hope that Google will do the right thing!

 * Renegotiation of the 32% Google-tax on applications sales
 * Remedy to the Order of Entry Effect
 * Public Bug Tracking
 * Increased Payment Options
 * Codified Rules and a Removal Appeal Process
 * Communication and Engineering Liaison
 * Algorithmic Transparency

Please! Join the mailing list, sign the petition, and make a stink!
We are doing this because we _love Android_ and we want it to thrive,
which it can't
do until we developers and our customers are treated fairly and given
a reasonable
place to sell our wares!

Thanks very much for your attention!.
Rich

-- 

2. Managing WebView gestures

Hi all!

I'm still in the process of discovering the ins and outs of the
Android SDK, so bear with me here. I'm working with Webviews, and
though I have scourged the web for and answer to my question, I can't
find it.

I'm looking to lock the horizontal scroll of my webview (if possible
locked to the max on the left, if not the default should do), and
implement horizontal fling gestures to switch webviews. From what I've
seen I need to override the standard onTouch methods of the webview,
but how can I implement a horizontal gesture and leave the vertical
scroll on my webview?

For now the code looks like this:

//CODE//

public class HelloWebEDT extends Activity {
    /** Called when the activity is first created. */

        WebView myWebView;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        myWebView = (WebView) findViewById(R.id.webView1);
        String source =
get_page(0);                                               //get_page
is my method that retrieves the source of the page to use in the
webview

                myWebView.loadData(source,"text/html", "utf-8");

//CODE//(couldn't find a code tag)

Relativey simple...

Now I need it to scroll vertically, and fling to get_page(1) when
flung right to left, etc... Any Ideas? Example code greatly
appreciated. Thanx!

-- 

3. Handling longpress/longclick in MapActivity.

4. Verify Service is real and not a spoof one.

5. Inserted Email addresses now are associated with Facebook

6. Help Getting the Context

7. Lock status bar