Saturday, December 8, 2012

Latest Google Maps Android API now part of Google Play services

Latest Google Maps Android API now part of Google Play services


Google Play services is our new platform that offers you better integration with Google products, and which provides greater agility for quickly rolling out new capabilities for you to use within your apps. Today we’re launching Google Play services v2.0, which includes two new APIs, including perhaps our most frequently requested upgrade: Maps.

Google Maps Android API


The new version of the API allows developers to bring many of the recent features of Google Maps for Android to your Android apps. We’re excited to make this API available as part of Google Play services supporting devices from Froyo onwards (API level 8+).

The new API uses vector-based maps that support 2D and 3D views, and allow users to tilt and rotate the map with simple gestures. Along with the layers you’ve come to know from Google Maps such as satellite, hybrid, terrain and traffic, the new API lets you include indoor maps for many major airports and shopping centers in your app.

One of most common feature requests we’ve heard on Android is support for Map Fragments. With this new API, adding a map to your Activity is as simple as:

<fragment
  android:id="@+id/map"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  class="com.google.android.gms.maps.MapFragment" />

Check out this image from updated Trulia Android app (which goes live tomorrow), that users can use to search for a place to buy or rent in 3D.


The new API is simpler to use, so that creating markers and info windows is easy. Polylines, Polygons, Ground Overlays and Tile Overlays can all now be added to the map with just a few lines of code.

To get started follow the getting started instructions to obtain an API Key. Then download and configure the Google Play services SDK using the SDK Manager. Check the Google Maps for Android API documentation for more details. If you haven't got it already, you'll need to download the Android SDK first.

More than 800,000 sites around the world already use our mapping APIs to create amazing and useful apps. We hope you enjoy using this new addition to the Google Maps API family, and building mapping experiences that were never before possible on a mobile device. 

Photo Sphere


In Android 4.2, we introduced Photo Sphere mode in the Camera, which you can use to create amazing, immersive panoramas just like you see in Street View on Google Maps. Today we’re excited to announce new APIs and documentation that empower developers, businesses, and photographers to explore new uses of Photo Sphere for work and for play.

We’ve made Photo Sphere an open format so anyone can create and view them on the web or on mobile devices. 

A Photo sphere is simply an image file (like a JPG) that has in it text-based metadata, an open format created by Adobe called XMP. The metadata describes the Photo Sphere’s dimensions and how it should be rendered within the interactive Photo Sphere viewer you see in Android, Google+, and Google Maps.

If you’d like to programmatically or manually add the XMP metadata into panoramic images not created by the Photo Sphere camera in Android, stay tuned today for more details on the metadata and how to apply it to your photos programmatically later.

In the new Google Play services, we’ve added APIs to give you the ability to check whether an image is a Photo Sphere and then open it up in the Photo Sphere viewer.

// This listener will be called with information about the given panorama.
OnPanoramaInfoLoadedListener infoLoadedListener =
  new OnPanoramaInfoLoadedListener() {
    @Override
    public void onPanoramaInfoLoaded(ConnectionResult result,
                                     Intent viewerIntent) {
        if (result.isSuccess()) {
            // If the intent is not null, the image can be shown as a
            // panorama.
            if (viewerIntent != null) {
                // Use the given intent to start the panorama viewer.
                startActivity(viewerIntent);
            }
        }
        
        // If viewerIntent is null, the image is not a viewable panorama.
    }
};
// Create client instance and connect to it.
PanoramaClient client = ...
...
// Once connected to the client, initiate the asynchronous check on whether
// the image is a viewable panorama.
client.loadPanoramaInfo(infoLoadedListener, panoramaUri);
To learn more about Google Play services and the APIs available to you through it, visit the new Google Services area of the Android Developers site.


Android Mobile Quick Shortcut Buttons

Android Mobile Quick Shortcut Buttons


The following are the ADP1 / G1 button combinations for booting in various modes.
Regular mode: Power button
Fastboot mode: Power on with Camera + Power button. Wait until Android on skateboard image appears with text "SERIAL0", and press Back button. It'll enter FASTBOOT mode.
Alternatively, Power + Back button takes you directly to fastboot mode
Recovery mode: Power on with Home + Power button.
In recovery mode,
Alt + L - toggle log text display
Alt + s - apply sdcard:update.zip
Alt + W - wipe data/factory reset
Safe mode: Power + Menu button
The 3-button salute (Call + Menu + Hangup) causes a reboot in any of the above modes.




Flashing the Android Mobiles



So far it was not super easy to flash your ADP1 to factory settings if you manage to corrupt something or break the OS. People have used hacky ways and images but no official ADP1 build was available.

This has changed now. The OS images along with flashing instructions for restoring your android dev phone to factory image is available here.




Friday, December 7, 2012

Easier Methods to recover scratched CD's

Easier Methods to recover scratched CD's



1. Spread a cloth on a flat surface and place the CD on it. 
2. Then, hold the disc with one hand, use the other to wipe the polish into the affected area with a soft cloth. 
3. Wait for it to dry and buff using short, brisk strokes along the scratch, not across it. 
4. A cloth sold to wipe spectacles or camera lenses will work super m8's. 
5. When you can no longersee the scratch,, wash the disc with water and let it dry before playing. Intersting isnt it? Try it right now










Pc Trick to Delete administrator Password without any software!

Pc Trick to Delete administrator Password without any software!



Boot up with DOS and delete the sam.exe and sam.log files from Windows\system32\config in your hard drive. Now when you boot up in NT the password on your built-in administrator account which will be blank (i.e No password). This solution works only if your hard drive is FAT kind.

Method 2

Step 
1. Put your hard disk of your computer in any other pc .Step 2. Boot that computer and use your hard disk as a secondary hard disk (D'nt boot as primary hard disk ).Step 3. Then open that drive in which the victim’s window(or your window) is installed.Step 4. Go to location windows->system32->configStep 5. And delete SAM.exe and SAM.log 
Step 6. Now remove hard disk and put in your computer.
Step 7. And boot your computer .




Trick To ReCover Permanently Deleted Files Easily

Trick To ReCover Permanently Deleted Files Easily



Sometimes we delete the files permanently, and realize that deleting them is like a Blunder...

For all those folks,
Here is the solution

Software called "Kissass Undelete" , can bring those files from the hard disk or your flash drive.
Conditions : Only if the data on that drive is not re-occupied(or written). that means the space which was available after the deletion is not been occupied after the deletion.


Click Here to download the .

1)
To start searching for the files,
Select the drive from the Left panel of the Windows and Click the scan button.
the Scan might take upto 10 secs.

2)
When the files search has been completed, it will show you the results with the name, typ, size and the last modified date of the searched file.

3) Now you can select the file to be recover. This is an Open source application and available for All Windows OS(Windows XP/Vista/ 7).



Monday, May 31, 2010

Mac Keyboard Shortcuts for Google Chrome


Tab and window shortcuts

⌘-N Opens a new window.
⌘-T Opens a new tab.
⌘-Shift-N Opens a new window in incognito mode.
⌘-B Toggles the bookmarks bar on and off.
Press ⌘-O, then select file. Opens a file from your computer in Google Chrome.
Press ⌘ and click a link. Or click a link with your middle mouse button (or mousewheel). Opens the link in a new tab in the background .
Press ⌘-Shift and click a link. Or press Shift and click a link with your middle mouse button (or mousewheel). Opens the link in a new tab and switches to the newly opened tab.
Press Shift and click a link. Opens the link in a new window.
⌘-Shift-T Reopens the last tab you've closed. Google Chrome remembers the last 10 tabs you've closed.
Drag a tab out of the tab strip. Opens the tab in a new window.
Drag a tab out of the tab strip and into an existing window. Opens the tab in the existing window.
Ctrl-Tab Switches to the next tab.
Ctrl-Shift-Tab Switches to the previous tab.
⌘-Q Closes Google Chrome.
⌘-W Closes the current tab or pop-up.
Click and hold either the Back or Forward arrow in the browser toolbar. Displays your browsing history in the tab.
Delete Goes to the previous page in your browsing history for the tab.
Shift-Delete Goes to the next page in your browsing history for the tab.
Press Shift while clicking the + button in the top left corner of the window. Maximizes the window.
Double-click the blank area on the tab strip. Minimizes the window.
⌘-Shift-Option-V Pastes content with the formatting of surrounding text.

*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*

Address bar shortcuts

Use the following shortcuts in the address bar:
Type a search term, then press Enter. Performs a search using your default search engine.
Type a search engine keyword, press Space, type a search term, and press Enter. Performs a search using the search engine associated with the keyword.
Begin typing a search engine URL, press Tab when prompted, type a search term, and press Enter. Performs a search using the search engine associated with the URL.
Ctrl+Enter Adds www. and .com to your input in the address bar and open the resulting URL.
Type a URL, then press ⌘-Enter. Opens the URL in a new background tab.
⌘-L Highlights the URL.
⌘-Option-F Places a '?' in the address bar. Type a search term after the question mark to perform a search using your default search engine.
Press Option and the left arrow together. Moves your cursor to the preceding key term in the address bar
Press Option and the right arrow together. Moves your cursor to the next key term in the address bar
Press Shift-Option and the left arrow together. Highlights the preceding key term in the address bar
Press Shift-Option and the right arrow together. Highlights the next key term in the address bar
⌘-Delete Deletes the key term that precedes your cursor in the address bar
Press Page Up or Page Down in the addess bar menu. Selects the previous or next entry in the menu.

*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*

Webpage shortcuts

⌘-P Prints your current page.
⌘-S Saves your current page.
⌘-R Reloads your current page.
⌘-F Opens the find bar.
⌘-G Finds the next match for your input in the find bar.
⌘-Shift-G or Shift-Enter Finds the previous match for your input in the find bar.
Press Option and click a link. Downloads the target of the link.
Drag a link to bookmarks bar Bookmarks the link.
⌘-D Bookmarks your current webpage.
⌘-Shift-F Opens your page in full-screen mode. Press the shortcut again to exit full-screen.
Space bar Scrolls down the web page.

*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*

Text shortcuts

⌘-C Copies highlighted content to the clipboard.
⌘-V Pastes content from the clipboard.
⌘-X or Shift-Delete Deletes the highlighted content and copies it to the clipboard.


Windows Keyboard Shortcuts for Google Chrome

Linux Keyboard Shortcuts for Google Chrome

 
Powered by Blogger