Category Archives: Google

Android

Make a hyperlink textview in android

TextView textView =(TextView)findViewById(R.id.textView);
textView.setClickable(true);
textView.setMovementMethod(LinkMovementMethod.getInstance());
String text = "<a href='http://www.google.com'> Google </a>";
textView.setText(Html.fromHtml(text));
Android

How to unlock android phones after too many pattern attempts

Google

Google Search by Image

Now you can explore the web in an entirely new way by beginning your Google search with an image. Learn more about images on the web and your own photos.

 

http://www.google.com/insidesearch/features/images/searchbyimage.html

APIs Google Google Maps API

GMaps Geocoder Accuracy and Zoom level

Geo Address Accuracy

The Google Maps API development team released a small  improvement to their Geocoding API: the ability to get the response’s accuracy level for a given address.

This feature enables applications to modify their zoom level according to the precision of the address that’s being geocoded, for example, “Paris” at the city zoom level, but “1 rue Royale, 75008 Paris” at the much more precise street address zoom level.

What the Google geocoder actually outputs (see reference) is a value between 1 and 8. And the GMaps zoom level is an integer between 1 and 19. So the question is: given a geocoding accuracy, which zoom level should I use to display the place? I didn’t find any answer to that question on the web so I decided to make up my own correspondence between the two scales.

Any such correspondence is bound to be imperfect since two different cities can have very different sizes, however the method usually outputs a decent result.

read more »

.NET ASP.Net Google

ASP.NET GoogleMaps User Control

GoogleMaps.Subgurim.NET is the most advanced Google Maps control for ASP.NET 2.0.
Making available the full power of the official GoogleMaps API, yet without the need of a single line of javascript code: you code only in ASP.NET!
To get going, you just drag the control from the toolbox onto the Visual Studio design surface, and with a few lines of code you will be able program powerful Google Maps applications!

http://en.googlemaps.subgurim.net

.NET ASP.Net 2.0 Chrome

Asp.net menu control not working on Google Chrome

To solve this you will need to tell .net the capabilities of the browser. For .net 2.0 & above you need to create a new browers file with the capabilities and upload it to your server.

  1. In VS2008 Solution Explorer right click your application and add the “ASP.Net Folder” App_Browsers if you don’t already have it.
  2. Add a New “Browser File” item to this special folder and call it safari.browser (if fixing the problem for Chrome)
  3. Delete all the default stuff VS put in this file and replace it with the following:
    <browsers>
    <browser refID=”safari1plus”>
    <controlAdapters>
    <adapter controlType=”System.Web.UI.WebControls.Menu” adapterType=”” />
    </controlAdapters>
    </browser>
    </browsers>
  4. Save your file & test locally to see if all is well.
  5. Now for the annoying bit. Upload the new app_browser folder & file to your production server, if you have used the “copy web site” menu option to upload or sharepoint or frontpage, these will create a new folder under app_browsers called vti_cnf
  6. Manually delete the vti_cnf folder under app_browser on your production server. If you don’t you’ll get “Parse error: Data at the root level is invalid. Line 1, position 1.” in your new safari.browser file.
  7. Remember to manually delete this vti_cnf folder everytime you make a change to the app_browser folder or contained files.

So there you go, how to solve the control rendering problems with Google’s Chrome.

For original post you can visit

http://fabenterprises.wordpress.com/2009/03/21/aspnet-menu-not-rendering-correctly-in-googles-chrome/

Chrome Google

chrometophone

logo

Google Chrome to Phone Extension is a project consisting of a Chrome Extension, Android App, and supporting AppEngine server that enables users to send links from their Chrome desktop browser to their Android device using Android’s Cloud to Device Messaging service.

Features:

  • Send links to browser
  • Google Maps links launch the Google Maps app.
  • YouTube links launch the YouTube app.
  • Selecting phone numbers in Web pages, launches the dialer with the number pre-populated.
  • Selected text populates the Android clipboard (long-press on text boxes to get paste option).
  • Right click on links and selections.

Update (15th Sep 2010): Chrome to Phone 2.1 is now available on Chrome Extension Gallery and Android Market in multiple countries. If you had a pre-release version installed, please uninstall the old version first (otherwise you will get an error installing the new version).

Note: Android 2.2 required. Chrome to Phone is powered by the Android Cloud to Device Messaging (C2DM) service, which requires Android 2.2 or later. Supports Chrome 6 and above.

http://code.google.com/p/chrometophone/

Google

Google Wave convites

gwave

Acabei de ter acesso ao Google Wave, em breve deverei escrever alguma coisa sobre o serviço.

Tenho meia dúzia de convites para testar o google Wave, os interessados deverão deixar um comentário neste Post, serão entregues aos primeiros 6.

EN version:

I just have access to Google Wave, soon I shall write something about the service.
I have half a dozen invitations to test the google Wave, interested parties should leave a comment on this post, will be delivered to the first 6.



Google

Chromium OS: código fonte disponível para download

google-chrome-ball

Last week, Techcrunch reported rumors of the release of the Google Chrome OS. They stated that the info came from a reliable source, and indeed that source was reliable. Google had an event at their headquarters, and indeed provided new details and a demo of the Chrome OS. The Chromium Blog has some great videos that provide some additional information about Chrome OS as well.

The Chromium OS source code is available for download (Chromium OS is the open-source version of Google Chrome OS), and you can compile and build it. It took some time, but I did manage to do this on my 64-bit Ubuntu 9.04 (Jaunty Jackalope) machine. I also managed to put together a VirtualBox virtual appliance that is all ready to go. I built a torrent for it, so feel free to download it here:

Download the Chromium OS VirtualBox Appliance Torrent

read more »