Archive for the Google Category

Google+ Features Demystified – Part 1

Posted in Google, Uncategorized, Web 2.0 with tags , , , , , , , , , , , , on July 9, 2011 by javaforweb

First time I opened my Google+ page, I could see – An important note about Field Trial –

(To Best view Images please click on them)

You’re a part of a small group of people who are helping to test Google+.

When you share something with people who are not yet able to use Google+,

they will receive it via email but won’t be able to comment or engage with

the content like other Google+ users. They’ll be able to join Google+ as

we let more users in over time.

OK so I am now a part of Google+ or Google Plus, HURRAY! I got it I got it… Eureka did you hear something??

So I thought why not write a Blog Entry – Google+ De-Mystified (Well not completely may be 20% who knows may b more :))

This way they will recieve it via javaforwe Blog and will be able to comment and become familiar with some of the nice features.

For Google+ I am picking section by section on the screen and analysing the requirements and trying to understand the functionality and need

of incorporating the functionality.

First of all Top Right Section.

When I clicked the image(Looks like Account Settings actually it is Google+ Settings) on the Top Right Corner I could see 4 links.

Google+ Settings and Google+ Help in one section and Send feedback and Web History in second and third section.

I could also see Send feedback feature at the bottom right of screen and I think I am doing it one way by writing this blog post at 1:43 a.m.

Now I know that Google maintain a database of searches done by the users when they are logged in to their Google account.

IMPRESSIVE. Web History comes from it.

Data for an other application Google Trends also comes collectivelty from these searches.

Lets Go to Web History Link( Its little out of target from Google+, since it appears on Google+ page, I would like to touch it).

I hope it will be a good one.

Here I am on their Web History Page that opens in a new tab.


This page is full of some very useful system that may help almost everyone in this world who uses more than 1 computers.

Need not to be dependent on Local browser Bookmarking, Google will maintain them. – Super !

This page has whole bunch of features related to web history or searches done using google search engine while one is logged in to ts account.

They have a Calander control on the right, to give functionality to user to check what they searched on a particular date.

They have functionality for Pause web history, Remove selected web history OR clean entire web history.

They have a link for Expand your Web History and I am not going to touch it at 2:44 a.m. After all curious users also love to sleep, Infact more than anyone else like to.

Google Trends link also appears on it.

I see a Bookmark Link and Lets click and see whats there 🙂

Woah.. I land on Social Bookmarking ye ye with an import provided for Delicious…

We can create List, A set of tools for bookmarking is provided. But Ashutosh+ or in general Google+ is missing from the Bookmark page.

May be because it is not the part of Google+ project but still provides and external link from Google+ page. Good.

I still have to touch Google+ Setting link which has got couple of features before that I will come back to Google+ home page

Now Comes Share  functionality.. Share your image, video, link or your location :-

Notification Functionality.

Number of Notifications will be represented by the Numeric digit. Same way as they are represented in Facebook

I see some bad behaviour here. I clicked Notification link and my profile Image’s color changed. ????

Also I noticed a blur rendering of my profile image ..


Account Settings.(My last entry in this blog)

Clicking it we will land on Setting page with Account settings are highlighted.

I will keep on mining google+ features in my coming posts.

Its 4:03 now and this is Ashutosh Signing off from Google+

and going to his Bed+ mode. Caio.


Madness started at 9 p.m. – Android .. TADAAAA !

Posted in Android, Google, java, SWT, Uncategorized with tags , , , , , , on July 5, 2011 by javaforweb

Midnight madness ……  started at 9 p.m. to install Android and launch a sample application !

It all started with installing pandora on my android and as usual itching started…

Quickly installed mamoth size Android SDK… let me check the size….   2.39 GB with plugins…

After that installed ADT on eclipse and associated sdk with the project…   fetched a sample application JetBoy in to workspace…

There was a lil time consumption in adding AVD to project

Finally got success after adding third part Add-ons

Got help from

And launched

It is a game app….  Lost badly 🙂

Now I am happy… this weekend ends in a good way….  its 12:43 a.m. and a curious mind is fed aptly ! its a good start and in coming days postmortem of Android SDK will start !

Happy to see console

[2011-07-04 23:47:24 -] Unable to read C:\AndroidManifest.xml: C:\AndroidManifest.xml (The system cannot find the file specified)
[2011-07-04 23:47:24 -] Unable to read C:\AndroidManifest.xml: C:\AndroidManifest.xml (The system cannot find the file specified)
[2011-07-04 23:52:11 - JetBoy] ------------------------------
[2011-07-04 23:52:11 - JetBoy] Android Launch!
[2011-07-04 23:52:11 - JetBoy] adb is running normally.
[2011-07-04 23:52:11 - JetBoy] Performing activity launch
[2011-07-04 23:52:11 - JetBoy] Failed to find an AVD compatible with target 'Android 1.5'.
[2011-07-04 23:53:13 - JetBoy] Still no compatible AVDs with target 'Android 1.5': Aborting launch.
[2011-07-04 23:53:13 - JetBoy] Performing activity launch
[2011-07-04 23:53:39 - JetBoy] Launch canceled!
[2011-07-04 23:58:20 - JetBoy] ------------------------------
[2011-07-04 23:58:20 - JetBoy] Android Launch!
[2011-07-04 23:58:20 - JetBoy] adb is running normally.
[2011-07-04 23:58:20 - JetBoy] Performing activity launch
[2011-07-04 23:58:20 - JetBoy] Failed to find an AVD compatible with target 'Android 1.5'.
[2011-07-04 23:58:42 - JetBoy] Still no compatible AVDs with target 'Android 1.5': Aborting launch.
[2011-07-04 23:58:42 - JetBoy] Performing activity launch
[2011-07-04 23:58:53 - JetBoy] Launch canceled!
[2011-07-04 23:59:39 - JetBoy] ------------------------------
[2011-07-04 23:59:39 - JetBoy] Android Launch!
[2011-07-04 23:59:39 - JetBoy] adb is running normally.
[2011-07-04 23:59:39 - JetBoy] Performing activity launch
[2011-07-05 00:00:42 - JetBoy] Launch canceled!
[2011-07-05 00:12:37 - JetBoy] ------------------------------
[2011-07-05 00:12:37 - JetBoy] Android Launch!
[2011-07-05 00:12:37 - JetBoy] adb is running normally.
[2011-07-05 00:12:37 - JetBoy] Performing activity launch
[2011-07-05 00:12:37 - JetBoy] Failed to find an AVD compatible with target 'Android 1.5'.
[2011-07-05 00:14:22 - SDK Manager] Created AVD 'FirstTest' based on Google APIs (Google Inc.), ARM (armeabi) processor,
[2011-07-05 00:14:22 - SDK Manager] with the following hardware config:
[2011-07-05 00:14:22 - SDK Manager] hw.sdCard=yes
[2011-07-05 00:14:22 - SDK Manager] hw.lcd.density=240
[2011-07-05 00:14:22 - SDK Manager] vm.heapSize=24
[2011-07-05 00:17:11 - JetBoy] Still no compatible AVDs with target 'Android 1.5': Aborting launch.
[2011-07-05 00:17:11 - JetBoy] Performing activity launch
[2011-07-05 00:17:14 - JetBoy] Launch canceled!
[2011-07-05 00:17:29 - JetBoy] ------------------------------
[2011-07-05 00:17:29 - JetBoy] Android Launch!
[2011-07-05 00:17:29 - JetBoy] adb is running normally.
[2011-07-05 00:17:29 - JetBoy] Performing activity launch
[2011-07-05 00:17:29 - JetBoy] Automatic Target Mode: launching new emulator with compatible AVD 'FirstTest'
[2011-07-05 00:17:29 - JetBoy] Launching a new emulator with Virtual Device 'FirstTest'
[2011-07-05 00:17:35 - JetBoy] New emulator found: emulator-5554
[2011-07-05 00:17:35 - JetBoy] Waiting for HOME ('android.process.acore') to be launched...
[2011-07-05 00:19:14 - JetBoy] HOME is up on device 'emulator-5554'
[2011-07-05 00:19:14 - JetBoy] Uploading JetBoy.apk onto device 'emulator-5554'
[2011-07-05 00:19:16 - JetBoy] Installing JetBoy.apk...
[2011-07-05 00:20:25 - JetBoy] Success!
[2011-07-05 00:20:25 - JetBoy] Starting activity on device emulator-5554
[2011-07-05 00:20:30 - JetBoy] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] }
Few useful links to start with :-
other tabs I closed :(
Have to sleep now.. Tomorrow have to get back to my Manual Testing task !
And the Song I listen to all this time is
Walk Away - Five Fingers
Just walk away make it easy on yourself, 
Just walk away please release me from this hell, 
Just walk away there's just nothing left to feel, 
Just walk away pretend that none of this is real !

Chrome Voice recognition an insight !

Posted in Google, Uncategorized, Web 2.0 with tags , , , , , , , , , on June 18, 2011 by javaforweb

As I promised myself to dig more about Chrome’s Voice recognition, I have started it already after having a cup of tea and Honey Nut Cherios. By the way I found them very tasty.
Coming back to Chrome, first thing I found is their code trunk :

Here is the link to speech recognition

Mugging it more I came to know they are using FLAC – Free Lossless Audio Codec, here is the link
Checking more about FLAC I came to know it compress audio by 50% but the good thing is it does not lose a single bit during the process.

If you want to test Chrome Voice Recognition, checkout this out

Then I scratched my itching and started to search for a site where I can find some phonetic sounds that I used on HTML5Rocks.

Here is the Link

I used Phonetics in American English, Spanish and German

I tried few words like ball, taboo, rub , goose, ago, dear and much more .. here are the results

ball – lol
taboo – taboo
rub – various attempts give krupp, growth,
goose – who is
ago – google and piccola (God what is this?)
dear – dear

Results are not impressive !!! Damn………….. !

My sincere advice to them, please please please do a sincere alpha testing… get people on board from various countries and see if they can extend support for
various phonetics.. BEFORE that see what improvements are required in the original APIs.

Chrome’s Voice recognition – could it be messy?

Posted in Google, Uncategorized, Web 2.0 with tags , , , , , , , , , on June 17, 2011 by javaforweb

Now that Google Chrome is out with the voice recognition support and I am curious about many things e.g. like how they are handling accents around the world. The biggest challenge(they must be have accessed it already) could be Indian, Chinese, Spanish, German english and accent.

Google Chrome Voice Recognition Support

I tested various words with my Beats earphone/microphone and testing it over Lenovo T410 with genuine Audio driver (I am not sure if they care about all this). But the results came are not good. Few word that Chrome detected clearly on the first go were “Hello” & “John”.

One thing I am sure about is auto search suggestions below original search given by it are absolutely vague .. like below “Hello” it suggests “I will” Below “Dance” it gives “Jazz” and below that “Dancing”.
One thing is really freaky… please check the Image

I would like to know about the APIs and algorithms they are using for Voice Recognition. Weekend is coming and I will be after it. That gives me ultimate pleasure wor

Google MAPS and Google Mapplets

Posted in Google, Web 2.0 with tags , , on May 21, 2008 by javaforweb

With the release of Google Mapplets, developers can nowcreate map-based applications (or port their current Google Maps applications)and expose them to every user of Google Maps at

Google handles the hosting and bandwidth of your application and provides a

directory of Mapplets so that users can find your application.


What’s a Mapplet?


Mapplets are small web applications that run within Google Maps. They are a

type of Google Gadget—the framework that allows developers to create small

web applications that can run within iGoogle, Google Maps, Orkut, or any web

page outside Google.Mapplets use the basic concepts and APIs of Google

Gadgets, though they are specifically used within the Google Maps realm.


In its basic form, a Mapplet is an XML file that contains the HTML and

JavaScript that make up your application. Mapplets have two components:


à  A web application that is displayed on the Google Maps site at This application is typically displayed in the lowerleft

corner of the page on


à  JavaScript that lets you control the map on, retrieve

external data, or even store and retrieve user preferences.


After you create your Mapplet, it’s up to you to host the Mapplet XML file

containing your HTML and JavaScript. When a user installs your Mapplet,

Google will grab the Mapplet XML file from your server and display it within an

<iframe> element on (An <iframe> is an HTML element

that is used to embed HTML from another web site in a web page.) In this case,

Google uses an <iframe> element to embed your Mapplet in


Google will cache your Mapplet source and serve it from its own servers at


This is done for a few reasons:


à  To restrict your Mapplet’s JavaScript from doing anything harmful such as

accessing a user’s cookies on


à  To reduce the load on your site from the potential high number of users you’ll



Let’s take a look at a live Mapplet

Google Map Screen


Open your browser to Click the My Maps tab, and you will see a list of

Featured Content along with any maps you have created. Select the one about gasprices,

and you’ll see a Mapplet in action.

Getting Started with Mapplets


Installing the Developer Tools


Using either Firefox, Safari, or Internet Explorer (version 6 or newer), go to, and sign in using your Google account. First

install the three developer modules that Google has created for Mapplet

development: the Mapplet Scratch Pad, the Developer Mapplet, and the API

Reference Mapplet. You can find these Mapplets in the Developer Tools section

of the Google Maps Directory



à  The Mapplet Scratch Pad lets you develop Mapplets right in You’ll be able to cut and paste the following

code sample in the scratch pad and immediately see the application.

à  The Developer Mapplet places a Reload link at the top of each Mapplet that

you have installed. The Reload link automatically reloads the source code for

the Mapplet you are viewing (or developing). Since Google caches Mapplet

source code, you’ll need this for developing and testing Mapplets. Trust me

on this one!

à  The API Reference Mapplet is a simple application that displays all the

possible Mapplets API calls.


Once you have all three developer Mapplets installed, select the Mapplet Scratch



Your page should now look like

 Map Scratch Pad


 Creating Your First Mapplet


For your first Mapplet, you’re not even going to “touch” a map.


Let’s start by creating a simple “shell” Mapplet without any map API calls.

à  Make sure you are at and that you’ve selected

the Mapplet Scratch Pad. You should see the Mapplet Scratch Pad in the

lower-left corner of the page.

à  Cut the XML from below, and paste it into the Mapplet Scratch Pad.

à Click the Preview button in the Mapplet Scratch Pad. Figure shows the

“Hello World” Mapplet that you should see.


“Hello World” Mapplet


<?xml version=”1.0″ encoding=”UTF-8″?>


<ModulePrefs title=”Hello World”

description=”My First Mapplet”

author=”Ashutosh Sharma”




<Content type=”html”><![CDATA[

<h2>Hello From Ashutosh Sharma!!</h2>

<h4>Java Tutorials : Visit

<a href>






Adding a Map


So, the previous example showed the shell of a Google Mapplet/Gadget. Now

let’s do some mapping. In this example, you’ll create a map and add a marker

indicating the location of the Empire State Building. You’ll also center the map

on this point.


1. In the Mapplet Scratch Pad, click the “Go back to editor” button to display

the scratch pad editor.

2. Cut the XML from below, and paste it into the Mapplet Scratch Pad.

3. Click the Preview button in the Mapplet Scratch Pad.


Create a Map and Add a Marker to the Map


<?xml version=”1.0″ encoding=”UTF-8″?>


<ModulePrefs title=”INDIA GATE, DELHI”

description=”Creating a Simple Map and Marker”

author=”Ashutosh Sharma”



<Require feature=”sharedmap”/>


<Content type=”html”><![CDATA[

<h2>India Gate</h2>


// Create a map and center it over the INDIA GATE

var map = new GMap2();

var point = new GLatLng(28.61262650293896, 77.23015954511007);


map.setCenter(point, 17);

// Add a marker right on the INDIA GATE

var marker = new GMarker(point);







 India Gate New Delhi

Java Tutorials by Ashutosh Sharma :


Google’s Growth .. How it Happened

Posted in Google, Uncategorized with tags on May 7, 2008 by javaforweb


We all know Google is one of the major search engine and a great competitor of Yahoo, MSN and so on, but do you know how they where before, here you can see how Google was before and how was their approach before, i have added some selective screen shots below, hope this creates interest in you to know more about Google growth

The screen shot below shows how Google was in 1997 – 1998, Google had special search feature like Stanford and Linux search, and even had option to” Get Google updates monthly” subscription

Egroups was used for Google Search Announcement and discussions



When i looked for the egroups site, its been re-directed to yahoo, hope yahoo acquired egroups


In 2000, Google had even displayed total “Search 1,326,920,000 web pages” available, but not now in 2008 , hope you all know why

 Slowly in 2003, Google started showing maturity on design presentations, from the below screen shot you can see the difference in style and Google moved the “Searching 3,307,998,701 web pages” to the copyright area


Slowly in 2003, Google started showing maturity on design presentations, from the below screen shot you can see the difference in style and Google moved the “Searching 3,307,998,701 web pages” to the copyright area

Now its 2008, Google had grown a lot and become market share leader for the search engine world.
I am on dig for Google old functionalities, like how Google used to add sites and in what ways, hope i can come up with good interesting information that you all like, if you know more information, please dont hesitate to use comment option .



Posted in Google with tags , , on May 4, 2008 by javaforweb

In old maps—drawn on paper—illustrations of dragons were used in all those areas that were yet undiscovered. This visual disclaimer can be roughly translated to, “Looking for territory information in that spot? Why, no one wants to go there; that place houses dangerous beasts!” Today, most of those dragons are gone, at least when it comes to this little planet. And we don’t have problems folding maps any more, either . . . at least when we use online mapping services like Google’s.

Google Maps


Google Maps ( is a virtual world map.You can travel to almost any spot on earth, zoom in, and see what it’s like there (without all the extra expenses like flight tickets). Google combines such things as location names, satellite or terrain info, panorama photos from street level with data such as user reviews for restaurants, directions, and—for the United States—real-time traffic information. The search box on top is flexible enough so that you can search for both specific cities or countries as well as names of businesses, restaurants, and more.

Special layers—so-called KML (Keyhole Markup Language) files—can be displayed on top of Google Maps to add third-party information.

With a feature called My Maps, you can add your own markers, directions, or areas to Google Maps, and edit your own text for the marker’s info box. Google also allows you to grab Google Maps as a programmable widget for your own blog or home page—this is the Google Maps API in action, which has spawned a great many “maps mashups” online.


Google Maps is also available for mobile phones. This includes directions, and, for some cities in the United States, the display of real-time traffic data to help you avoid traffic jams. To download Google Maps for your phone or PDA, visit from your phone’s web browser. If your phone is supported, you’ll be able to install it over the air.

Google Earth

Google Earth ( It is is the desktop sibling of Google Maps. After launching it, you’ll see that its rotating 3D globe is a bit more fluid than the flat 2D view of Google Maps. Google Earth in its basic version is free, but the paid version lets you generate videos with effects such as seamlessly zooming in to a location—the kind of effect you’d see in TV news coverage.

Take your Google map and run, freeing it from its usual home at the domain.

The easiest way to embed a Google map on your own site is available directly from Just point to any location—you can also zoom in and switch to satellite view, for instance—and then click “Link to this page” on top. A dialog will open that allows you to copy an HTML portion to be pasted into your own site.


If you are concerned about using HTML that validates, you need to adjust some of Google’s HTML attributes, and also set your document type to “transitional.” To validate your HTML, enter your home page address into the official validator provided by the World Wide Web Consortium at This can help alert you to syntax errors in your code. To learn more about HTML and CSS, visit and respectively.

For more control over what your map does and how it appears, you can use the Google Maps API (Application Programming Interface). In addition to understanding basic HTML, you’ll need to know some JavaScript.

To get started with the Google Maps API, head over to and click on “Sign up for a Google Maps API key.” Read and agree to the terms of service (if you do agree), enter your home page address, and click Generate API Key. Not only will you get your key now—don’t forget to make a copy of it for future use—but Google also offers you some sample map code to begin with.

Let’s analyze the code, shown here:

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “”&gt; <html xmlns=””&gt; <head> <meta http-equiv=”content-type” content=”text/html; charset=utf-8″/> <title>Google Maps JavaScript API Example</title> <script src=”” type=”text/javascript”></script> <script type=”text/javascript”> //<![CDATA[ function load() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById(“map”)); map.setCenter(new GLatLng(37.4419, -122.1419), 13); } } //]]>


</script> </head> <body onload=”load()” onunload=”GUnload()”> <div id=”map” style=”width: 500px; height: 300px”></div> </body> </html>


This HTML will output a blank page with nothing but a small map widget on it. In the head section of the HTML, you will see that the Google Maps JavaScript library is referenced (replace “YOUR-KEY” with your actual key value). The body includes a div element. In HTML, div is a generic divisor to wrap just about anything you can think of; in this case, it wraps a map. The body element also defines an onload event that involves the function load(), which runs after the page finishes loading its HTML and images. In the load() function, you can see that there’s a small check to confirm that the browser is compatible with Google Maps widgets. If that is the case, a new map object is created—it looks for the previously mentioned div element with the id “map”—and centered to a specific latitude/longitude location, with a specific zoom level.

So far, there’s nothing in this sample that an embedding of a simple map inline frame, as shown before, doesn’t achieve as well. But once you understand this basic example, you can add advanced features by reading through the tutorials, documentation and examples available at

For instance, let’s say you want to drop a marker of your own on the map. Below the map.setCenter() command in the previous example, you can write the following JavaScript to do so:

var point = new GLatLng(37.4313, -122.1229); map.addOverlay(new GMarker(point));


Or perhaps you want to add an info window when the user clicks on the map. A so-called event listener can be defined for a result like the one pictured in Figure 11-7:

GEvent.addListener(map, “click”, function() { map.openInfoWindow(map.getCenter(), document.createTextNode(“Thanks for clicking!”)); }); Because these programmable widgets can interact with your own site’s data in new ways, they are also called “maps mashups.”

At this time, Google Earth has the most complete support for Keyhole Markup Language information files—including support for animations. Many organizations have data overlays that you can superimpose on the globe by checking the respective boxes of the Layers pane. A Wikipedia layer adds location-relevant information from the online encyclopedia; the Weather layers allow you to display clouds and forecasts; National Geographic magazine provides a layer with regional information, including photos, as well.

Google SketchUp

Google SketchUp ( is a 3D program for architects drafting their work, or hobby designers interested in creating a 3D shape. Like Google Earth, SketchUp is not a web application, but instead requires you to install an “offline” client.The emphasis of SketchUp is on ease of use; although you may not be able to do anything and everything with it, what you can do can often be done very quickly, with little effort. And whatever 3D model you create in SketchUp, you can then include in Google Earth.

A great way to start learning about SketchUp is to follow the online video tutorials at Once you’ve created something unique and interesting, you can upload it to the Google 3D Warehouse site, a directory of shared 3D models. You can also import any model you find at the 3D Warehouse into your own creations.


Drop a Google Map Onto Your Site