i am waiting for some good reply from experts - Ajeet
On Aug 6, 8:44 am, Ajeet Singh <[email protected]> wrote: > Hi All, > > I have written small application, in which I request forwww.google.com. > The User-Agent which I set for requesting the page is > > User-Agent: Mozilla/5.0 (Linux; U; Android 1.5; en-us; sdk Build/ > CUPCAKE) AppleWebKit/528.5+ (KHTML, like Gecko) Version/3.1.2 Mobile > Safari/525.20.1 > > which is the same User-Agent which is being used by the Android > Browser. > > After getting the HTML content, I am saving it as aGoogle.html file. > But when I try to open that page it gives me some referenceerror. > > [ReferenceError: Can't find variable: _gp_initSearch]. > > But I can't see thiserrorwhen I open the sameGooglepage in the > Android-Web-Browser, which is using that above mentioned user agent. > It renders that properly. > > Does anybody have faced same problem before? > Please help me regarding this. > > Thanks, > Ajeet Singh --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
