Hi All, I have written small application, in which I request for www.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 a Google.html file. But when I try to open that page it gives me some reference error. [ReferenceError: Can't find variable: _gp_initSearch]. But I can't see this error when I open the same Google page 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 -~----------~----~----~----~------~----~------~--~---
