Custom Android Google search page URL - Android Software Development

I made the mistake of changing my home page, and I've lost the default custom Android Google search page (with the location options).
Can someone please post it for me?

try goin to www.google.com/m

That's what I changed it back to, but even though I have the Location information enabled in settings, and "www .google. com" is allowed access to my location information, I don't see the new "Near Me Now" feature or any location options on Google?
I can remember before the default URL had some "client" information passing to Google ... "?client=android" or something like that ...

Just checked my phone (which I just flashed) and the default seems to be:
http: //www. google .com/m ? client=ms-android-google & source=android-home
Hope that helps
EDIT: I added the spaces so you could see all the address instead of having to look at the status bar or copying the link location, don't enter the spaces on the phone ofc =P

Related

How do I change O2 Internet Explorer default from O2's site?

I can't seem to figure out how to change that button left of space bar so that it launches IE to my home page (Google).
Everytime I click it, it goes to O2's pda site.
Any tips?
Thx.
It'll be in the registry, can't be arsed to look now
But if you copy the \windows\default.htm file (the web page you see when you open PIE every time) to your PC, you can open it up in Notepad and put a link to Google - meaning you can just click on the link on the page instead of click on the home page button whenever you want to go to Google.
The right HTML for that is
Go to Google
Just put that in anywhere (so long as it's inbetween the <body> and </body> tags, easiest way is to just paste that code in right before the </body> tag, which will put the link at the bottom of the page anyway.
That's one quick-and-dirty way of hacking the web page to show a link to Google - once you've done that and saved the modified page on your PC, just replace the html file on your PC with the copy in the \windows directory on your XDA.
Job's a good un!
AboutURLs
Look for the dword 'home' with value 'file://\Windows\default.htm' in key AboutURLs
Cheers, M
Look at the wiki. It's exlpained in there.
To save you the trouble: Go to HKEY_LOCAL_MACHINE\HARDWARE\OEM\KEYBD and change the key to whatever you want.
Thanks for following up with more definitive answers guys (I actually like hacking the O2 start page, call me weird) - I just didn't have the mental capacity to go sifting through the registry once more at 5am on a Thursday morning.

Favorites list as my IE homepage?

I see here for example how to change your homepage in Internet Exporer, but I wonder if it's possible to put my list of favorites as my homepage, or better yet, make the "Favorites" page (the one you get by going "Internet Explorer - Menu - Favorites...") come up every time I press the IE hardware button. By default, IE comes up on the last page visited, including on the "Favorites" page if it was last, or on the homepage if you are starting IE fresh.
You could always write your own webpage with links to all your favorite sites and have this as your home page.
Yeah, I thought of simply exporting mobile favorites to an html file and making that the homepage, but then I will need to update the file manually when I edit favorites in any way. Also, that registry tweak expects a site link, not an html file on the device. I could talk to our net admin at work to host the file, but it seems like a hassle.
Any way to attach a hardware button to the IE's "Favorites" page directly?
seugene said:
Also, that registry tweak expects a site link
Click to expand...
Click to collapse
You mean like "file://\My Documents\arse.html" :roll:
make your home page file://\windows\favorites
Thanks, guys. I got down to actually changing the registry, and found out that I do not have a "Start Page" value in HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main. I added it, it did not help. Tried to delete default.htm and substitute my own file there, the OS does not allow me. Total Commander says the file is "in ROM".
Then I went to Internet Explorer and found Tools - Options - General. You can change the home page there.
but only to the webpage you are visiting at that time. When I am in the favorites page, I cannot set that as homepage since it does not have the menu option at the bottom...
Export your mobile favorites to an *.htm file, open that file with IE, then go to the menu.

[Q] How To Change The Browser's UserAgent ?

Hi all,
I am using Virtuous Galaxy v1.0.5 ROM on my Acer Iconia A500. And when I went to some websites,I found they were always in mobile mode. I think it's about the Browser's UserAgent.I have ever seen
http://forum.xda-developers.com/showthread.php?t=652984
and I have ever rework the file:
/data/data/com.android.browser/shared_prefs/com.android.browser_preferences.xml
but I think it doesn't work. (Maybe I did the above-mentioned step in wrong way)
Can you help me?
And I want to use HTML5 to watch videos. Can I use the Browser with the ROM to do this? Should I change my UserAgent to "IPad"?
P.S.: I'm a Chinese student. Maybe my English has some mistakes.Please accept my apology for the inconvenience this matter have give you.
First, wrong section. All questions should go to the Q&A forum for the Iconia Tab.
Getting down to business, have you tried changing the User Agent String in the stock browser settings to Desktop? It is in settings in the Advanced tab.
First thanks for your advice.I'm stupid.I'll go to the Q&A forum to ask questions.
But I can't Found the UAString Settings in the Advanced tab.
There is my screenshots
………………Oh
Sorry,The website said:"To prevent spam to the forums, ALL new users are not permitted to post outside links in their messages."
So,I cannot show you my screenshots
Maybe,I download a wrong version? I don't know.
What should I do ?
Do you have any other ways to change UA? For example,rework any ",xml" files
Or can you give me your Browser's APK installation package?
what? No one help me?
You should really try what monkeychef said. The option is there. (under pageview or something) set it to desktop.
If you are using the stock browser that came with the tablet then the user settings are not avalible you will have to do the following to dissable the moblie web sites and turn on desktop websites.
1. Open the Android Honeycomb browser on your tablet.
2. In the address bar, type: about:debug and press enter.
3. Now open the browser's settings by tapping the icon in the very top-right corner of your screen (it looks like four horizontal lines) and selecting "Settings" from the drop-down menu that appears.
4. On the left side of the screen, tap the section labeled "Debug."
5. On the right side of the screen, tap the item labeled "UAString," then select "Desktop."
6. Press the back button (in the very bottom-left corner of your screen) to exit the browser's settings.
7. In the browser's address bar, type: about:debug once more; this will disable debugging mode and return the browser to its normal state.
Now on rooted tablets with non stock browsers the setting should be right in the browesers settings page. I know my stock browser does not have them I had to install a third party browser I use dolphin hd.
Hope this helps if so please remeber to click my thanks button.
Really thanks
Actually, in my stock browser, if I go to settings and then Advanced, I've got a "View Mode" option which is by default "Tablet", changing that to "Desktop", changes the useragent to seem like a Desktop.
For example, if you go to facebook normally I would see the mobile page, but changing the setting like above, I see the normal Desktop version of the site.
Hope this helps.

[TIP] For Opera Mobile users enable Desktop UA but keep getting Google mobile

So I've searched around a bit but I never found an answer to my problem - all my websites were coming up as the Desktop version except for my Google searches which kept being displayed in the awful mobile version.
Then it hit me - it's just that the search engine shortcut bar on Opera's top right is configured to search the mobile Google site.
In order to change this:
1. click on the drop-down arrow in the search bar
2. manage search engines
3. hold down on any search engine other than Google (Opera developers have made this entry unchangeable.)
4. Edit - change the Title to "Google" or whatever else you'd prefer AND change the address to " http://www.google.com/search?q=" without the quotes.
5. Save
You will now have a more complete Desktop browsing experience.
Hope this helps

Search Database From A Web Server

I want my app to have a search function but instead of searching locally, I want to search from the data on my web server and return the data in a JSON format. The good thing is, I know how to do this but I'm not sure how can I implement an activity with this kind of interface and behavior.
Legends are as follow: (Please see the mockup image that I attached below)
Black - Action Bar
Blue - Activity Container
Red - Searching (Search input and button here)
Green - List View (Fetched data from the web server)
Basically I want the user to input their search key and when they press the search button, a loading image will appear while the data are being fetched, when the fetching is completed I want the fetched data to appear on the list view on the same activity.
Thank you and have a good day!
clonedaccnt said:
I want my app to have a search function but instead of searching locally, I want to search from the data on my web server and return the data in a JSON format. The good thing is, I know how to do this but I'm not sure how can I implement an activity with this kind of interface and behavior.
Legends are as follow: (Please see the mockup image that I attached below)
Black - Action Bar
Blue - Activity Container
Red - Searching (Search input and button here)
Green - List View (Fetched data from the web server)
Basically I want the user to input their search key and when they press the search button, a loading image will appear while the data are being fetched, when the fetching is completed I want the fetched data to appear on the list view on the same activity.
Thank you and have a good day!
Click to expand...
Click to collapse
Your red searching layout can either be done manually using a horizontal LinearLayout with an ImageButton and an EditText, or, in my view far easier, with a SearchView in the ActionBar. Head over to this documentation page to set it up! You'll then get a call to onNewIntent with the search query and use that to update your ListView from the server.

Categories

Resources