Thursday, October 18, 2012

Google Play Seller Support in India

Posted by Ibrahim Elbouchikhi, Product Manager on the Google Play team



Over the past year, Android device activations in India have jumped more than 400%, bringing millions of new users to Google Play and driving huge increases in app downloads. In the last six months, Android users in India downloaded more apps than in the previous three years combined, and India has rocketed to become the fourth-largest market worldwide for app downloads. To help developers capitalize on this tremendous growth, we are launching Google Play seller support in India.



Starting today, developers in India can sell paid applications, in-app products, and subscriptions in Google Play, with monthly payouts to their local bank accounts. They can take advantage of all of the tools offered by Google Play to monetize their products in the best way for their businesses, and they can target their products to the paid ecosystem of hundreds of millions of users in India and across the world.



If you are an Android developer based in India, you can get started right away by signing in to your Developer Console and setting up a Google Checkout merchant account. If your apps are already published as free, you can monetize them by adding in-app products or subscriptions. For new apps, you can publish the apps as paid, in addition to selling in-app products or subscriptions.



When you’ve prepared your apps and in-app products, you can price them in any available currencies, publish, and then receive payouts and financial data in your local currency. Visit the developer help center for complete details.



Along with seller support, we're also adding buyer’s currency support for India. We encourage developers everywhere to visit your Developer Console as soon as possible to set prices for your products in Indian Rupees and other new currencies (such as Russian Rubles).



Stay tuned for more announcements as we continue to roll out Google Play seller support to many more countries around the world.



Google Play Seller Support in India

Posted by Ibrahim Elbouchikhi, Product Manager on the Google Play team



Over the past year, Android device activations in India have jumped more than 400%, bringing millions of new users to Google Play and driving huge increases in app downloads. In the last six months, Android users in India downloaded more apps than in the previous three years combined, and India has rocketed to become the fourth-largest market worldwide for app downloads. To help developers capitalize on this tremendous growth, we are launching Google Play seller support in India.



Starting today, developers in India can sell paid applications, in-app products, and subscriptions in Google Play, with monthly payouts to their local bank accounts. They can take advantage of all of the tools offered by Google Play to monetize their products in the best way for their businesses, and they can target their products to the paid ecosystem of hundreds of millions of users in India and across the world.



If you are an Android developer based in India, you can get started right away by signing in to your Developer Console and setting up a Google Checkout merchant account. If your apps are already published as free, you can monetize them by adding in-app products or subscriptions. For new apps, you can publish the apps as paid, in addition to selling in-app products or subscriptions.



When you’ve prepared your apps and in-app products, you can price them in any available currencies, publish, and then receive payouts and financial data in your local currency. Visit the developer help center for complete details.



Along with seller support, we're also adding buyer’s currency support for India. We encourage developers everywhere to visit your Developer Console as soon as possible to set prices for your products in Indian Rupees and other new currencies (such as Russian Rubles).



Stay tuned for more announcements as we continue to roll out Google Play seller support to many more countries around the world.



Wednesday, October 17, 2012

Bringing Google Calendar to the Play Store



Previously available only on select Android devices like Nexus S and Galaxy Nexus, you can now download the official Google Calendar app for Android from Google Play. Google Calendar makes it easy for you to manage all your calendars in one place, including those from your Google accounts and other calendars synced to your Android device. Beyond supporting the basics such as creating, editing, deleting events and responding to invitations, the new Google Calendar app has extra features that help you manage your time and communication more easily:
  • Snooze events directly from a notification if you’re not quite ready and want to be reminded later.
  • Use predefined messages to send quick "I'll be late" updates to your event participants directly from the notifications or the event itself (of course, you can always write your own).
  • Pinch to zoom in and out of a day.
  • Set a home time zone to help you manage your time better when traveling.
In addition, we also expanded the sync period so you can review past events from up to one year ago directly on your device. Download Google Calendar on Google Play today for devices running Ice Cream Sandwich (4.0.3+) or Jellybean. Use the Google Feedback feature in the app to let us know how we can make Calendar work better for you!


(Cross-posted on the Official Gmail Blog)

Monday, October 15, 2012

New Google Play Developer Console Available to Everyone

Posted by Eva-Lotta Lamm, Riccardo Govoni, and Ellie Powers of the Google Play team



We've been working on a new Google Play Developer Console, centered around how you make and publish apps, to create a foundation for the exciting features we have planned for the future. Earlier this year at Google I/O, we demoed the new version (video). Since then, we've been testing it out with tens of thousands of developers, reviewing their feedback and making adjustments.



Today, we’re very happy to announce that all developers can now try the new Google Play Developer Console. At its core, the Developer Console is how you put your app in front of hundreds of millions of Android users around the world, and track how your app is doing. We hope that with a streamlined publishing flow, new language options, and new user ratings statistics, you’ll have better tools for delivering great Android apps that delight users.



Sleeker, faster, easier to navigate



You spend a lot of time in the Developer Console, so we overhauled the interface for you. It's bright and appealing to look at, easy to find your way around using navigation and search, and it loads quickly even if you have a lot of apps.



Designed for speed. Quickly locate the app data and business information you use every day. More screenshots »




Track user ratings over time, and find ways to improve



One of the most important things you'll be able to do is track the success of your app over time — it's how you continue to iterate and make beautiful, successful apps. You'll see new statistics about your user ratings: a graph showing changes over time, for both the all-time average user rating and new user ratings that come in on a certain day. As with other statistics, you'll be able to break down the data by device, country, language, carrier, Android version, and app version. For example, after optimizing your app for tablets, you could track your ratings on popular tablets.



New charts for user ratings. You can now track user ratings over time and across countries. More screenshots »




Better publishing workflow



We've completely revamped and streamlined the app publishing process to give you more time to build great apps. You can start with either an APK or an app name, and you can save before you have all of the information. You can also now see differences between the new and old versions of an app, making it easy to catch unintentional changes before you publish a new version to your users.



More languages for listings, with automated translations



You'll also enjoy a new app publishing flow and the ability to publish your app listing in 49 languages. Once you've saved any change to your application in the new Developer Console, your users will have the option of viewing an automatic translation of your listing on the web today and soon on devices — no additional action on your part is needed.



How can you try the new version?



Go to your Developer Console and click on “Try the new version” in the header or go directly to the new version. If you prefer the new version, don't forget to bookmark the new URL.



Please note that we're not quite done yet, so the following advanced features are not yet supported in the new Google Play Developer Console: multiple APK support, APK Expansion Files and announcements. To use these features, you can click “Switch back” in the header at any time to return to the old version.



Click the “Feedback” link in the header to let us know what you think, so that we can continue to improve your experience as a Google Play developer. Thank you for all of the feedback so far.




New Google Play Developer Console Available to Everyone

Posted by Eva-Lotta Lamm, Riccardo Govoni, and Ellie Powers of the Google Play team



We've been working on a new Google Play Developer Console, centered around how you make and publish apps, to create a foundation for the exciting features we have planned for the future. Earlier this year at Google I/O, we demoed the new version (video). Since then, we've been testing it out with tens of thousands of developers, reviewing their feedback and making adjustments.



Today, we’re very happy to announce that all developers can now try the new Google Play Developer Console. At its core, the Developer Console is how you put your app in front of hundreds of millions of Android users around the world, and track how your app is doing. We hope that with a streamlined publishing flow, new language options, and new user ratings statistics, you’ll have better tools for delivering great Android apps that delight users.



Sleeker, faster, easier to navigate



You spend a lot of time in the Developer Console, so we overhauled the interface for you. It's bright and appealing to look at, easy to find your way around using navigation and search, and it loads quickly even if you have a lot of apps.



Designed for speed. Quickly locate the app data and business information you use every day. More screenshots »




Track user ratings over time, and find ways to improve



One of the most important things you'll be able to do is track the success of your app over time — it's how you continue to iterate and make beautiful, successful apps. You'll see new statistics about your user ratings: a graph showing changes over time, for both the all-time average user rating and new user ratings that come in on a certain day. As with other statistics, you'll be able to break down the data by device, country, language, carrier, Android version, and app version. For example, after optimizing your app for tablets, you could track your ratings on popular tablets.



New charts for user ratings. You can now track user ratings over time and across countries. More screenshots »




Better publishing workflow



We've completely revamped and streamlined the app publishing process to give you more time to build great apps. You can start with either an APK or an app name, and you can save before you have all of the information. You can also now see differences between the new and old versions of an app, making it easy to catch unintentional changes before you publish a new version to your users.



More languages for listings, with automated translations



You'll also enjoy a new app publishing flow and the ability to publish your app listing in 49 languages. Once you've saved any change to your application in the new Developer Console, your users will have the option of viewing an automatic translation of your listing on the web today and soon on devices — no additional action on your part is needed.



How can you try the new version?



Go to your Developer Console and click on “Try the new version” in the header or go directly to the new version. If you prefer the new version, don't forget to bookmark the new URL.



Please note that we're not quite done yet, so the following advanced features are not yet supported in the new Google Play Developer Console: multiple APK support, APK Expansion Files and announcements. To use these features, you can click “Switch back” in the header at any time to return to the old version.



Click the “Feedback” link in the header to let us know what you think, so that we can continue to improve your experience as a Google Play developer. Thank you for all of the feedback so far.




Wednesday, September 26, 2012

Google Play hits 25 billion downloads

Whether you’re looking for directions, checking email or sharing a picture with friends, apps are now an indispensable part of life. And if you’re using Android, it all starts with Google Play, home to 675,000 apps and games. That’s a lot of choice. We’ve now crossed 25 billion downloads from Google Play, and to celebrate we’re offering some great discounts for the next five days.


Every day you’ll be able to choose from a collection of apps from some of the world’s top developers including Gameloft, Electronic Arts, Rovio, runtastic, Full Fat and more. And all for just 25 cents. We’ll also be offering some special collections like 25 movies you must own, 25 banned books, 25 albums that changed the world and our 25 top selling magazines, all at special prices. Visit Google Play a little later today to check them out.

Twenty-five billion is more than twice the distance, in miles, that the Voyager 1 spacecraft has travelled since its launch 35 years ago. It’s the amount of time, in minutes, that have passed since some of our earliest ancestors began to set foot in Europe. And now, thanks to all of you, it’s a Google Play milestone. We look forward to the next 25 billion.

Posted by Jamie Rosenberg, Director, Digital Content

Monday, September 24, 2012

Turning the page with a new Google Play Books app for Android

Google Play Books enables you to read more than 4 million books on the go, and it's available in the U.S., Canada, Australia, Germany, Spain, Italy, France, Korea and Japan. Today we’re bringing new features to the Books app to help you better explore your books and understand what you’re reading.

Places and dictionary
School’s now in full swing and students are picking up the classics. Whether you're diving into Moby Dick or trying your hand at some Tolstoy, we want to make your reading experience as enjoyable and rewarding as possible. Starting today, when you come across an unfamiliar geographic location—a faraway city or distant mountain range—you can tap on the location to learn more about it. You’ll see an info card with a Google Map and the option to get more information by searching on Google or Wikipedia.

Explore locations using info cards in Turn Right at Machu Picchu: Rediscovering the Lost City One Step at a Time

Similarly when you come across an unfamiliar word (say, abligurition or jentacular), just tap it for a quick definition.

Translation
For those adventurous readers making their way through books in non-native languages, you can now easily translate words or phrases to and from a number of languages. Just select the text or word and use the button on the top action bar to indicate which language you’d like translate into.

Highlighting and notes
If you happen to page through any of the books on my shelf, you’ll likely find highlighted passages and illegibly scrawled notes in the margins. Starting today, our app lets you highlight text and easily take notes. And because all your books live in the cloud, highlights and notes sync on your tablet, phone and the web.


You will also notice a new sepia reading theme (in addition to the current day and night themes), 2D sliding page turn animation, and lots of stability improvements. Finally, you can now read Japanese books in a vertical, right-to-left layout—and flip pages from right to left.

We hope these features make reading more enjoyable—and productive.

Posted by Xinxing Gu, Product Manager, Google Play

Friday, September 14, 2012

The Benefits & Importance of Compatibility

We built Android to be an open source mobile platform freely available to anyone wishing to use it. In 2008, Android was released under the Apache open source license and we continue to develop and innovate the platform under the same open source license -- it is available to everyone at: http://source.android.com. This openness allows device manufacturers to customize Android and enable new user experiences, driving innovation and consumer choice.

As the lead developer and shepherd of the open platform, we realize that we have a responsibility to app developers -- those who invested in the platform by adopting it and building applications specifically for Android. These developers each contribute to making the platform better -- because when developers support a platform with their applications, the platform becomes better and more attractive to consumers. As more developers build great apps for Android, more consumers are likely to buy Android devices because of the availability of great software content (app titles like Fruit Ninja or Google Maps). As more delighted consumers adopt Android phones and tablets, it creates a larger audience for app developers to sell more apps. The result is a strategy that is good for developers (they sell more apps), good for device manufacturers (they sell more devices) and good for consumers (they get more features and innovation).

In biological terms, this is sometimes referred to as an ecosystem. In economic terms, this is known as a virtuous cycle -- a set of events that reinforces itself through a feedback loop. Each iteration of the cycle positively reinforces the previous one. These cycles will continue in the direction of their momentum until an external factor intervenes and breaks the cycle.

When we first contemplated Android and formed the Open Handset Alliance, we wanted to create an open virtuous cycle where all members of the ecosystem would benefit. We thought hard about what types of external factors could intervene to weaken the ecosystem as a whole. One important external factor we knew could do this was incompatibilities between implementations of Android. Let me explain:

Imagine a hypothetical situation where the platform on each phone sold was just a little bit different. Different enough where Google Maps would run normally on one phone but run terribly slow on another. Let's say, for sake of example, that Android implemented an API that put the phone to sleep for a fraction of a second to conserve battery life when nothing was moving on the screen. The API prototype for such a function might look like SystemClock.sleep(millis) where the parameter "millis" is the number of milliseconds to put the device to sleep for.

If one phone manufacturer implemented SystemClock.sleep() incorrectly, and interpreted the parameter as Seconds instead of Milliseconds, the phone would be put to sleep a thousand times longer than intended! This manufacturer’s phone would have a terrible time running Google Maps. If apps don’t run well across devices due to incompatibilities, consumers would leave the ecosystem, followed by developers. The end of the virtuous cycle.

We have never believed in a “one size fits all” strategy, so we found a way to enable differentiation for device manufactures while protecting developers and consumers from incompatibilities by offering a free "compatibility test suite" (CTS). CTS is a set of software tools that tests and exercises the platform to make sure that (for example) SystemClock.sleep(millis) actually puts the device to sleep for only milliseconds. Like Android, the test suite is freely available to everyone under the Apache open source license: http://source.android.com/compatibility/cts-intro.html 

While Android remains free for anyone to use as they would like, only Android compatible devices benefit from the full Android ecosystem. By joining the Open Handset Alliance, each member contributes to and builds one Android platform -- not a bunch of incompatible versions. We’re grateful to the over 85 Open Handset Alliance members who have helped us build the Android ecosystem and continue to drive innovation at an incredible pace. Thanks to their support the Android ecosystem now has over 500 million Android-compatible devices and counting!

Posted by Andy Rubin, Senior Vice President of Mobile and Digital Content

Thursday, August 16, 2012

Voice Search arrives in 13 new languages

“Norwegian restaurants in New York City.” I can type that phrase fast, but I can say it even faster—and when I’m on the go, speed is what I’m looking for. With Voice Search, you can speak into your phone to get search results quickly and easily. Voice Search is already available in 29 languages, and today, we're bringing support to 13 new languages for Android users—bringing the total to 42 languages and accents in 46 countries. In fact, 100 million new speakers can use Voice Search now, with the addition of:
  • Basque
  • Bulgarian
  • Catalan
  • European Portuguese
  • Finnish
  • Galician
  • Hungarian
  • Icelandic
  • Norwegian
  • Romanian
  • Serbian
  • Slovak
  • Swedish

Each new language usually requires that we initially collect hundreds of thousands of utterances from volunteers and, although we’ve been working on speech recognition for several years, adding these new languages led our engineers and scientists to tackle some unique challenges. While languages like Romanian follow predictable pronunciation rules, others, like Swedish, required that we recruit native speakers to provide us with the pronunciations for thousands of words. Our scientists then built a machine learning system based on that data to predict how all other Swedish words would be pronounced.

This update has already started to roll out, and will continue to do so over the course of the next week. How you get started with Google Voice Search depends on what kind of phone you have. If your phone runs Android 2.2 or later, and you see the microphone icon on the Google Search widget on your homescreen, all you have to do is tap the icon to start a voice-powered search. Otherwise, you can install the Voice Search app from Google Play. Note that you can only speak one language into the app at a time, and you may need to change your language settings to use one of these new languages.

As with other languages we’ve added, one of the major benefits to Google’s cloud-based model is that the more people use Voice Search, the more accurate it becomes.

Posted by Bertrand Damiba, Product Manager

Creating Your Own Spelling Checker Service

Posted by Satoshi Kataoka and Ken Wakasa of the Android text input engineering team



The Spelling Checker framework improves the text-input experience on Android by helping the user quickly identify and correct spelling errors. When an app uses the spelling checker framework, the user can see a red underline beneath misspelled or unrecognized words so that the user can correct mistakes instantly by choosing a suggestion from a dropdown list.



If you are an input method editor (IME) developer, the Spelling Checker framework gives you a great way to provide an even better experience for your users. You can add your own spelling checker service to your IME to provide consistent spelling error corrections from your own custom dictionary. Your spelling checker can recognize and suggest corrections for the vocabularies that are most important to your users, and if your language is not supported by the built-in spelling checker, you can provide a spelling checker for that language.



The Spelling Checker APIs let you create your own spelling checker service with minimal steps. The framework manages the interaction between your spelling checker service and a text input field. In this post we’ll give you an overview of how to implement a spelling checker service. For details, take a look at the Spelling Checker Framework API Guide.



1. Create a spelling checker service class



To create a spelling checker service, the first step is to create a spelling checker service class that extends android.service.textservice.SpellCheckerService.



For a working example of a spelling checker, you may want to take a look at the SampleSpellCheckerService class in the SpellChecker sample app, available from the Samples download package in the Android SDK.



2. Implement the required methods



Next, in your subclass of SpellCheckerService, implement the methods createSession() and onGetSuggestions(), as shown in the following code snippet:

@Override                                                                        
public Session createSession() {                                             
    return new AndroidSpellCheckerSession();                                 
}       

private static class AndroidSpellCheckerSession extends Session {            
    @Override                                                                
    public SuggestionsInfo onGetSuggestions(TextInfo textInfo, int suggestionsLimit) {
        SuggestionsInfo suggestionsInfo;
        ... // look up suggestions for TextInfo
        return suggestionsInfo;
    }      
}


Note that the input argument textInfo of onGetSuggestions(TextInfo, int) contains a single word. The method returns suggestions for that word as a SuggestionsInfo object. The implementation of this method can access your custom dictionary and any utility classes for extracting and ranking suggestions.



For sentence-level checking, you can also implement onGetSuggestionsMultiple(), which accepts an array of TextInfo.



3. Register the spelling checker service in AndroidManifest.xml



In addition to implementing your subclass, you need to declare the spelling checker service in your manifest file. The declaration specifies the application, the service, and a metadata file that defines the Activity to use for controlling settings. Here’s an example:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.android.samplespellcheckerservice">
    <application android:label="@string/app_name">
        <service 
            android:label="@string/app_name"    
            android:name=".SampleSpellCheckerService" 
            android:permission="android.permission.BIND_TEXT_SERVICE">
            <intent-filter>
                <action 
                    android:name="android.service.textservice.SpellCheckerService" />
            </intent-filter>
            <meta-data
                android:name="android.view.textservice.scs"
                android:resource="@xml/spellchecker" />
        </service>
    </application>
</manifest>


Notice that the service must request the permission android.permission.BIND_TEXT_SERVICE to ensure that only the system binds to the service.



4. Create a metadata XML resource file



Last, create a metadata file for your spelling checker to define the Activity to use for controlling spelling checker settings. The metadata file can also define subtypes for the spelling checker. Place the file in the location specified in the

element of the spelling checker declaration in the manifest file.



In the example below, the metadata file spellchecker.xml specifies the settings Activity as SpellCheckerSettingsActivity and includes subtypes to define the locales that the spelling checker can handle.

<spell-checker xmlns:android="http://schemas.android.com/apk/res/android"
    android:label="@string/spellchecker_name"
    android:settingsactivity="com.example.SpellCheckerSettingsActivity" />
    <subtype   
        android:label="@string/subtype_generic" 
        android:subtypeLocale="en" />
</spell-checker>


That’s it! Your spelling checker service is now available to client applications such as your IME.



Bonus points: Add batch processing of multiple sentences



For faster, more accurate spell-checking, Android 4.1 (Jelly Bean) introduces APIs that let clients pass multiple sentences to your spelling checker at once.



To support sentence-level checking for multiple sentences in a single call, just override and implement the method onGetSentenceSuggestionsMultiple(), as shown below.

private static class AndroidSpellCheckerSession extends Session {                 
    @Override                                                                
    public SentenceSuggestionsInfo[] onGetSentenceSuggestionsMultiple(
          TextInfo[] textInfo, int suggestionsLimit) {
        SentenceSuggestionsInfo[] sentenceSuggestionsInfos;
        ... // look up suggestions for each TextInfo
        return sentenceSuggestionsInfos
    }      
}


In this case, textInfo is an array of TextInfo, each of which holds a sentence. The method returns lengths and offsets of suggestions for each sentence as a SentenceSuggestionsInfo object.



Documents and samples



If you’d like to learn more about how to use the spelling checker APIs, take a look at these documents and samples:

  • Spelling Checker Framework API Guide — a developer guide covering the Spelling Checker API for clients and services.

  • SampleSpellCheckerService sample app — helps you get started with your spelling checker service.

    • You can find the app at /samples/android-15/SpellChecker/SampleSpellCheckerService in the Samples download.

  • HelloSpellChecker sample app — a basic app that uses a spelling checker.

    • You can find the app at /samples/android-15/SpellChecker/HelloSpellChecker in the Samples download.
To learn how to download sample apps for the Android SDK, see Samples.



Wednesday, August 1, 2012

Use any credit or debit card with Google Wallet

(cross-posted from the Google Commerce Blog)

Since we released the first version of Google Wallet, the app that makes your phone your wallet, we’ve made it available on six phones from Sprint and Virgin Mobile, as well as the new Nexus 7 tablet. We’ve also partnered with more than 25 national retailers, and thanks to MasterCard PayPass, you can pay with your phone at more than 200,000 retail locations across the U.S.

Today we’re releasing a new, cloud-based version of the Google Wallet app that supports all credit and debit cards from Visa, MasterCard, American Express, and Discover. Now, you can use any card when you shop in-store or online with Google Wallet. With the new version, you can also remotely disable your mobile wallet app from your Google Wallet account on the web.

 


A wallet with all your credit and debit cards
To save a card to Google Wallet, just enter the number into the mobile app, online wallet, or Google Play when making purchases. When you shop in-store, you can use Google Wallet in conjunction with your selected credit or debit card for purchases (more info here). Shortly after making a payment, you’ll see a transaction record on the phone with the merchant name and dollar amount. You can now view a history of all your in-store and online purchases from the online wallet.





To support all credit and debit cards, we changed our technical approach to storing payment cards. The Google Wallet app now stores your payment cards on highly secure Google servers, instead of in the secure storage area on your phone. A wallet ID (virtual card number) is stored in the secure storage area of the phone, and this is used to facilitate transactions at the point of sale. Google instantly charges your selected credit or debit card. This new approach speeds up the integration process for banks so they can add their cards to the Wallet app in just a few weeks. Banks that want to help their customers save cards to Google Wallet, including their custom card art, can apply here — there is no cost.

A wallet you can lock — and remotely disableWe take security very seriously and have always had a dedicated Google Wallet PIN to prevent others from making payments with your Google Wallet. And as always, we encourage Google Wallet customers to set up the phone’s screen lock -- as an extra layer of protection.

Today, we’re adding a Google Wallet security feature that makes it possible for you to remotely disable your mobile wallet on a lost phone. It’s easy. If you lose your phone, just visit the ‘Devices’ section in the online wallet and select the phone with the mobile wallet you wish to disable. When you successfully disable your wallet on a device, Google Wallet will not authorize any transactions attempted with that device*. If the Google Wallet online service can establish a connection to your device, it will remotely reset your mobile wallet, clearing it of card and transaction data. There is no way you can do that with your leather wallet.


The new Google Wallet app is available now on Google Play, and if you have a supported NFC device and are in the United States, we encourage you to give it a try.

Posted by Robin Dua, Head of Product Management, Google Wallet

* For now, Google Prepaid Cards and some Citi MasterCard cards will remain active until Google Wallet can remotely connect and reset your mobile wallet.

Wednesday, July 18, 2012

Getting Your App Ready for Jelly Bean and Nexus 7

[This post is by Nick Butcher, an Android engineer who notices small imperfections, and they annoy him.]



We are pleased to announce that the full SDK for Android 4.1 is now available to developers and can be downloaded through your SDK Manager. You can now develop and publish applications against API level 16 using new Jelly Bean APIs. We are also releasing SDK Tools revision 20.0.1 and NDK revision 8b containing bug fixes only.



For many people, their first taste of Jelly Bean will be on the beautiful Nexus 7. While most applications will run just fine on Nexus 7, who wants their app to be just fine? Here are some tips for optimizing your application to make the most of this device.



Screen



Giving Nexus 7 its name, is the glorious 7” screen. As developers we see this as around 600 * 960 density independent pixels and a density of tvdpi. As Dianne Hackborn has elaborated, this density might be a surprise to you but don’t panic! We actively discourage you from rushing out and creating new assets at this density; Android will scale your existing assets for you. In fact the entire Jelly Bean OS contains only a single tvdpi asset, the remainder are scaled down from hdpi assets.



To be sure the system can successfully scale your hdpi assets for tvdpi, take special care that your 9-patch images are created correctly so that they can be scaled down effectively:

  • Make sure that any stretchable regions are at least 2x2 pixels in size, else they risk disappearing when scaled down.

  • Give one pixel of extra safe space in the graphics before and after stretchable regions else interpolation during scaling may cause the color at the boundaries to change.
The 7” form factor gives you more space to present your content. You can use the sw600dp resource qualifier to provide alternative layouts for this size screen. For example your application may contain a layout for your launch activity:
res/layout/activity_home.xml
To take advantage of the extra space on the 7” screen you might provide an alternative layout:

res/layout-sw600dp/activity_home.xml
The sw600dp qualifier declares that these resources are for devices that have a screen with at least 600dp available on its smallest side.



Furthermore you might even provide a different layout for 10” tablets:

res/layout-sw720dp/activity_home.xml
This technique allows a single application to use defined switching points to respond to a device’s configuration and present an optimized layout of your content.



Similarly if you find that your phone layout works well on a 7” screen but requires slightly larger font or image sizes then you can use a single layout but specify alternative sizes in dimensions files. For example res/values/dimens.xml may contain a font size dimension:

<dimen name="text_size">18sp</dimen>
but you can specify an alternative text size for 7” tablets in res/values-sw600dp/dimens.xml:

<dimen name="text_size">32sp</dimen>
Hardware



Nexus 7 has different hardware features from most phones:

  • No telephony
  • A single front facing camera (apps requiring the android.hardware.camera feature will not be available on Nexus 7)

Be aware of which system features that you declare (or imply) are required to run your application or the Play Store will not make your application available to Nexus 7 users. Always declare hardware features that aren't critical to your app as required="false" then detect at runtime if the feature is present and progressively enhance functionality. For example if your app can use the camera but it isn’t essential to its operation, you would declare it with:
<uses-feature android:name="android.hardware.camera" 
              android:required="false"/>
For more details follow Reto Meier’s Five Steps to Hardware Happiness.
Conclusion
Nexus 7 ships with Jelly Bean and its updated suite of system apps are built to take advantage of new Jelly Bean APIs. These apps are the standard against which your application will be judged — make sure that you’re keeping up!
If your application shows notifications then consider utilizing the new richer notification styles. If you are displaying immersive content then control the appearance of the system UI. If you are still using the options menu then move to the Action Bar pattern.
A lot of work has gone into making Jelly Bean buttery smooth; make sure your app is as well. If you haven’t yet opted in to hardware accelerated rendering then now is the time to implement and test this.
For more information on Android 4.1 visit the Android Developers site or join us Live.

Tuesday, July 10, 2012

Google I/O and Beyond

[This post is by Reto Meier, Android Developer Relations Tech Lead]



With most of the Android Developer Relations team now fully recovered from Google I/O 2012, I'm happy to announce that all of the videos for the Google I/O 2012 Android Sessions are now available!



I've included in the Google I/O 12 - The Android Sessions playlist (embedded below), as well as (in keeping with our newly redesigned developer site) in playlists for each developer category: Design, develop, and distribute.







Google I/O is always a highlight on the Android Developer Relations team's calendar; it's our best opportunity to talk directly to the Android developer community. Unfortunately I/O only happens once a year, and only a lucky few thousand can join us in person.



That's why we've been exploring more scalable approaches to interacting with developers, and with the launch of Google Developers Live, we have a way for the entire Android Developer community to view and participate in live, interactive developer-focused broadcasts all year round, and all across the world.



This week we resume our weekly interactive development Q&A Office Hours in three time zones (US, EMEA, and APAC).  We know many of you have questions related to specific I/O sessions, so we've invited all the speakers to join us, starting with this Wednesday's Android Developer Office Hours with Chet Haase, Romain Guy, Xavier Ducrohet, and Tor Norbye from the What's New in Jelly Bean and What's new in Android Developer Tools sessions.



On Friday afternoons we broadcast The Friday Review of Apps and The Friday Review of Games, two more relaxed sessions where we review self-nominated apps and games, providing feedback to the developers in the hope of discovering some feature-worthy gems.



Every Android Developer Live broadcast is recorded and available from Google Developers Live, the Android Developers YouTube channel, and directly from developer.android.com. We've also begun to make each of the Office Hours, as well as the Android sessions from Google I/O 2012, available as part of the Android Developers Live audio podcast.



We're really excited to use Google Developers Live to interact more regularly with you, the most important members of the Android ecosystem, and will be looking to expand our lineup to include regular interviews with app developers and Android engineers.



Got great ideas for how we can expand our live program? Let us know on Google+.


Wednesday, June 27, 2012

Android @ I/O: the playground is open

Last year at Google I/O, we talked about momentum, mobile and more. This year, we’re picking up right where we left off. More than 400 million Android devices have now been activated—up from 100 million last June. And twelve new Android devices are activated every every second—that’s more than 1 million a day. Today, we’re rolling out a new version of Android called Jelly Bean, adding more entertainment to Google Play, and introducing two powerful—yet distinctly different Nexus devices to bring you the best of Google.

Jelly Bean: simple, beautiful and beyond smart
Jelly Bean builds on top of Ice Cream Sandwich. It makes everything smoother, faster and more fluid. For example, notifications are now more dynamic: if you’re late for a meeting or missed a call, you can email or call directly from notifications. The keyboard is smarter and more accurate, and can predict your next word. And voice typing is faster, working even when you don’t have a data connection.

We’ve redesigned search from the ground up in Jelly Bean, with a new user interface and faster, more natural Voice Search. You can type your query or simply ask Google a question. Google can speak back to you, delivering a precise answer, powered by the Knowledge Graph, if it knows one, in addition to a list of search results.

Today’s smart devices still rely on you to do pretty much everything—that is, until now. Google Now is a new feature that gets you just the right information at just the right time. It tells you today’s weather before you start your day, how much traffic to expect before you leave for work, or your favorite team's score as they’re playing. There’s no digging required: cards appear at the moment you need them most.



Starting in mid-July, we’ll start rolling out over-the-air updates to Galaxy Nexus, Motorola Xoom and Nexus S, and we’ll also release Jelly Bean to open source.

Google Play: more entertainment
Google Play is your digital entertainment destination, with more than 600,000 apps and games plus music, movies and books. It’s entirely cloud-based, which means all of your content is always available across all of your devices. Today our store is expanding to include magazines. We’ve been working with leading publishers Condé Nast, Hearst, Meredith and more to offer magazines like House Beautiful, Men’s Health, Shape and WIRED.

Now, you can also purchase movies in addition to renting them. And we’re adding television shows on Google Play—in fact, we’re adding thousands of episodes of broadcast and cable TV shows, like "Revenge," "Parks & Recreation" and "Breaking Bad," from some of the top studios, like ABC Studios, NBCUniversal and Sony Pictures. You can play back movies and TV shows on all your Android devices, through Google Play on the web, and on YouTube, and soon we’ll bring the experience to Google TV devices.

Movie purchases, TV shows and magazines are available today on play.google.com, and will roll out to Google Play on devices over the coming days.

Nexus 7: powerful, portable and designed for Google Play
All of this great Google Play content comes to life on Nexus 7, a powerful new tablet with a vibrant, 7” 1280x800 HD display. The Tegra-3 chipset, with a quad-core CPU and 12-core GPU, makes everything, including games, extremely fast. And best of all, it’s only 340 grams, lighter than most tablets out there. Nexus 7 was built to bring you the best of Google in the palm of your hand. Hang out with up to 10 friends on Google+ using the front-facing camera, browse the web blazingly fast with Chrome and, of course, crank through your emails with Gmail.



Nexus 7 comes preloaded with some great entertainment, including the movie "Transformers: Dark of the Moon," the book “The Bourne Dominion,” magazines like Condé Nast Traveler and Popular Science, and songs from bands like Coldplay and the Rolling Stones. We’ve also included a $25 credit to purchase your favorite movies, books and more from Google Play, for a limited time. Nexus 7 is available for preorder today from Google Play in the U.S., U.K., Canada and Australia, and starts at $199 in the U.S. It will start shipping mid-July.

Nexus Q: It’s a sphere!
It's great to be able to take your entertainment with you wherever you go, but sometimes you want to ditch the headphones and enjoy music with friends and family. So we’re introducing Nexus Q, which combines the power of Android and Google Play to easily stream music and video in your home—all controlled by an Android phone or tablet. Designed and engineered by Google, Nexus Q is a small sphere that plugs into the best speakers and TV in your house. It’s the first-ever social streaming device—like a cloud-connected jukebox where everyone brings their own music to the party. Available first in the U.S., you can preorder Nexus Q today from Google Play for $299, and it will ship mid-July.



If you own one of the 400 million Android devices out there, you already know that it’s much more than simply a phone or tablet. It’s your connection to the best of Google—all of your stuff and entertainment, everywhere you go. Now you have a new version of Android, more entertainment and a growing portfolio of Nexus devices to choose from—all available in Google Play. The playground is open.

A new friend just moved into the neighborhood...

The statues on the front lawn of the Android building got a new friend this afternoon...
   

Also, you may have noticed we did a little redecorating. We’ve been asking you what content you wanted to see more of on the Google Mobile blog, and the answer was quite clear: more Android! This blog, in addition to the +Android page on Google+, will be your place to find all the latest news from the Android team.

See you tomorrow at I/O!

Posted by: Hugo Barra, Director of Product Management, Android

Wednesday, May 9, 2012

Shop and travel smarter with Google Maps 6.7 for Android - now with Google Offers and indoor walking directions

(Cross-posted on the Lat Long Blog)

Wherever you are, Google Maps for Android helps you get around and discover new places. Today with the 6.7 release we will help you find offers from nearby businesses in the U.S. -- everything from restaurants, to salons, to city tours. Also, we’ve added indoor walking directions in the U.S. and Japan, plus 360-degree interior photos of businesses, to help you intrepidly make your way indoors and out.

Discover great offers near you
Today, in the U.S. only, we’re launching a way to discover nearby Google Offers in Google Maps for Android. To see great deals near you, tap on “Maps” to open the dropdown menu and then tap on “Offers.” If you see something you like you can click on it to learn more. Some Google Offers can be purchased and saved for later while others are immediately available for free. With free Google Offers, press “Use now” to redeem instantly or “Save for later” for future use. You can also opt-in to receive notifications in the app when there are offers near you.


Explore the great indoors with walking directions and Business Photos.
Since we launched indoor maps in the U.S. and Japan in Google Maps for Android last November, business owners have been adding their floor plans to our maps with Google Maps Floor Plans. Today, we are launching indoor walking directions for participating venues in these countries. This will help you get directions not only to a building’s front door, but also through those doors to the places where you want to go inside.

Get Indoor walking directions in indoor maps (photo: Macy’s San Francisco)

With Google Business Photos you can explore panoramic photos of the inside of a business from the palm of your hand. Now you can get a feel for a restaurant or store inside as well as outside using Street View technologies. To access these 360-degree panoramic views, look for the “See Inside” section on the Place page of select businesses.

See the interior of participating businesses with Business Photos (photo: Toyjoy)

Download Google Maps 6.7 for Android from Google Play, and use it as your trusted guide to help you find and discover places to eat, shop and play! You can also learn more about other great features on the Google Maps YouTube channel.

Tuesday, April 24, 2012

Galaxy Nexus now on sale in Google Play

We started shipping Nexus phones more than two years ago to give you a pure Google experience and access to the latest Android updates. Today, we’ve started selling Galaxy Nexus (HSPA+) from a new Devices section in the Google Play web store, so you can quickly and easily purchase an unlocked version of the phone. We want to give you a place to purchase Nexus devices that work really well with your digital entertainment.

Galaxy Nexus by Samsung runs the latest Android software, Ice Cream Sandwich, with Google mobile services, Google Play and new features like Android Beam and Google+ mobile hangouts. It also offers a 4.65” HD Super AMOLED display that’s perfect for watching movies, playing games or reading books on the go.

First available in the U.S., Galaxy Nexus costs $399 and arrives at your door unlocked, without a carrier commitment or contract. You can use it on the GSM network of your choice, including T-Mobile and AT&T. It also comes pre-installed with the Google Wallet app which lets you easily make purchases and redeem offers with a tap of your phone. Best of all, we'll give you a $10 credit to get you started with your new mobile wallet.

We’ve come a long way since the first Android devices started hitting shelves three and a half years ago and since the launch of the first Nexus device. More than 300 million Android devices have been activated globally. We’ve worked with developers and content partners to launch Google Play, offering more than 500,000 apps, millions of songs and books, and thousands of movies. And we’ve implemented new customer support services to improve the purchasing experience on Google Play. We’ve taken all of this into consideration in designing Devices on Google Play. We hope to bring it to more countries soon.

Wednesday, April 11, 2012

Google Currents goes international

In December we launched Google Currents, an app for Android and iOS devices that lets you explore online magazines and other content with the swipe of a finger. We’re thrilled by how many readers and publishers are using the app in the U.S.—nearly 400 publisher editions and over 14,000 self-produced editions are now available.

After the U.S. launch, the top features readers requested were to make the app available internationally and to allow content to sync quickly. We’ve heard you, and today we’re making Google Currents 1.1 available around the world. Hundreds of U.S. editions are now readable in your preferred language with a new publisher-selected translation feature, and local publishers can begin adding their content to the catalog through Google Currents Producer. Plus, a new dynamic sync feature improves your reading experience with fresh content wherever you are.

Whatever you’re interested in—whether it’s science (Popular Science, Scientific American, Space.com), sports (Bleacher Report, CBS Sports, Surfer), business (Harvard Business Review, Inc.), celebrities (Celebuzz, HollywoodLife, Now magazine, TMZ), health & wellness (Men’s Health, Yoga Journal), design (Colossal, Dwell) or news (The Atlantic, PRI, Slate)—it’s easy to find a great edition to read in Google Currents.

Read in more places
With this update, we’ve made Google Currents available globally, wherever apps are available on Google Play and the Apple App Store. International publishers, using Google Currents Producer, can now begin adding local content for an international audience, choosing where to make it available globally and whether to enable auto-translation. For example The Guardian in the UK, LaStampa in Italy, Financial Times Deutschland in Germany, ABC News in Australia, Neue Zürcher Zeitung in Switzerland and Hindustan Times in India have already started publishing editions with local content. Readers can also add their favorite local blogs which are instantly converted into Currents editions.



Read in your favorite language
To help you enjoy content in your preferred language, we’ve integrated Google Translate into Google Currents. Just press the globe icon while reading an edition, and you can automatically translate that edition to one of 38 supported languages. So it’s easier than ever to keep up with Italian and German sports (Corriere dello Sport, kicker.de), or read Scientific American, in your preferred language.




Read fresh content, automatically
With our new dynamic sync feature, you’ll always have fresh content to read. As you open each edition, new content is dynamically delivered, using a minimum of your phone or tablet's battery, bandwidth and storage. Those of you who travel on planes and trains can choose which editions you would like fully packaged for offline reading, including images.

Learn more about what’s new in Currents here.

Google Currents is now available for download on Google Play and in the Apple App Store, wherever apps are available. Whether you’re a reader or a publisher, we hope that Google Currents helps you easily experience the best content on the web, now in even more languages.

Wednesday, March 28, 2012

Crossing the 50 billion km mark & giving Google Maps for Android a fresh look

(Cross-posted on the Official Google Blog)

Every day, millions of people turn to Google Maps for Android for free, voice-guided GPS navigation to guide them to their destination. So far, Navigation on Google Maps for Android has provided 50 billion kilometers of turn-by-turn directions, the equivalent of 130,000 trips to the moon, 334 trips to the sun, 10 trips to Neptune or 0.005 light years! When getting to your destination matters most, Google Maps for Android will get you there:




A new look for Navigation on Android 4.0+ phones
In today’s release of Google Maps 6.5 for Android we’ve redesigned the Navigation home screen in Android 4.0+ to make it easier to enter a new destination or select from recent and favorite locations by swiping left or right.


Left: New Navigation home screen Right: Navigation in Google Maps for Android


Crisper, faster maps for high pixel density devices
If your device has a high pixel density screen, such as those on Galaxy Nexus, Galaxy S II, Droid Razr and others, you’ll now get higher resolution map tiles that take better advantage of the pixels-per-inch on your screen. The result is a crisper, less cluttered map that is easier to read:


Left: Previous style Right:New style in Google Maps 6.5 for Android


Compare our new map on the right to the previous map on the left. The road network is easier to see, less obstructed by labels, and has more color contrast. At more zoomed-in levels, you’ll notice a more controlled amount of maps labels to avoid cluttering the map and blocking out street names. The new style also helps maps react faster to panning, zooming, and twisting.

You'll start seeing the new style as you navigate around new areas on the map; however, you can see these changes immediately by clearing your cache from the Maps settings.

Pick your preferred public transit mode and route option
Google Maps 6.5 for Android now lets you choose to prioritize a particular transit mode (such as the bus or subway) and route option (like taking the recommended route, one with fewer transfers or one with less walking). Whether you just need to get somewhere as fast as possible, or you want to avoid the risk of a missed connection or you prefer not to tire your legs, you can get the transit directions that best suit you. Transit directions and schedules are available for 475 cities around the world.


To start using Google Maps 6.5 for Android, download the update from Google Play. Learn more about how to use other great features of Google Maps for Android on the redesigned Google Maps YouTube channel that has 12 new videos available today.

Thursday, March 22, 2012

Google Voice for Android, now with Ice Cream Sandwich voicemail integration

(Cross posted on the Google Voice Blog)

Since we launched Google Voice back in 2009, we’ve supported visual voicemail so you could open the Google Voice app, see all your voicemails with text transcripts, and play them on-demand. But sometimes when I get a missed call, I don’t want to jump between my call log and the Google Voice app to see who has called me and what message they left.

So, today, we’re updating our mobile app so you can view and listen to your voicemails on demand directly from the call log on your Android phone. Your voicemails will appear alongside your outgoing, incoming, and missed calls in your phone’s call log and you can just simply touch them to play them. You can slow down the playback of the message which is great for when someone is telling you their callback number, or you even speed playback up, so you can quickly listen to longer messages.



To turn this feature on, download the latest app from Google Play and check “Voicemail display” under settings. This new feature requires Android 4.0+.

Tuesday, March 6, 2012

Introducing Google Play: All your entertainment, anywhere you go

(Cross-posted from the Official Google Blog)

Entertainment is supposed to be fun. But in reality, getting everything to work can be the exact opposite—moving files between your computers, endless syncing across your devices, and wires…lots of wires. Today we’re eliminating all that hassle with Google Play, a digital entertainment destination where you can find, enjoy and share your favorite music, movies, books and apps on the web and on your Android phone or tablet. Google Play is entirely cloud-based so all your music, movies, books and apps are stored online, always available to you, and you never have to worry about losing them or moving them again.



With Google Play you can:
  • Store up to 20,000 songs for free and buy millions of new tracks
  • Download more than 450,000 Android apps and games
  • Browse the world’s largest selection of eBooks
  • Rent thousands of your favorite movies, including new releases and HD titles
Starting today, Android Market, Google Music and the Google eBookstore will become part of Google Play. On your Android phone or tablet, we’ll be upgrading the Android Market app to the Google Play Store app over the coming days. Your videos, books and music apps (in countries where they are available) will also be upgraded to Google Play Movies, Google Play Books and Google Play Music apps. The music, movies, books and apps you’ve purchased will continue to be available to you through Google Play—simply log in with your Google account like always.

To celebrate, we’ll be offering a different album, book, video rental and Android app at a special price each day for the next week in our “7 Days to Play” sale. In the U.S., today’s titles include the collection of top 40 hits Now That's What I Call Music 41, the popular game Where's My Water, the novel Extremely Loud and Incredibly Close and the movie Puncture for just 25 cents each. In addition, you'll find great collections of hip-hop, rock and country albums for $3.99 all week, detective novels from $2.99, some of our editorial team's favorite movies from 99 cents, and our favorite apps from 49 cents.

In the U.S., music, movies, books and Android apps are available in Google Play. In Canada and the U.K., we’ll offer movies, books and Android apps; in Australia, books and apps; and in Japan, movies and apps. Everywhere else, Google Play will be the new home for Android apps. Our long-term goal is to roll out as many different types of content as possible to people around the world, and we’ll keep adding new content to keep it fresh.

To learn more, head over to play.google.com/about or keep up with the latest on our Google+ page. If you’re headed to Austin later this week for South by Southwest, come to the Google Village to see Google Play in action. We can’t wait for you to try Google Play and experience a simpler way to manage your entertainment.

Monday, February 27, 2012

Android@Mobile World Congress: It’s all about the ecosystem.

Each and every day, we are humbled by the trajectory of Android and our partners.

With a year-on-year growth rate of more than 250%, 850,000 new Android devices are activated each day, jetting the total number of Android devices around the world past 300 million. These numbers are a testament to the break-neck speed of innovation that defines the Android ecosystem.

Last year at Mobile World Congress (MWC), we announced that there were more than 150,000 apps in Android Market. That number tripled to more than 450,000 apps today, with over one billion app downloads happening every month. Think about the astonishing number of songs Shazam’ed, places Qype’ed and foursquare mayorships! To celebrate the hard work and success of our developer community, we’ve built special “app pods” into our Android stand at MWC. Many of these featured apps demonstrate the latest Android innovations, such as Android Beam, which lets you share content like web pages, videos, directions, and apps—just by touching two Android phones back to back.


The Android Stand on the eve of Mobile World Congress 2012

If you walk around the Android stand, it’s also evident that our hardware partners are thriving. There are 100+ devices on display at the conveyor belt bar, which is just a small portion of the 800+ Android devices that have launched to date. And what better sign of innovation than the Bling Bot—powered by the >Android ADK—which can bedazzle your Galaxy Nexus backplate with perfect precision.

We’re just getting started at Mobile World Congress, so keep checking android.com/mwc and the +Android page on Google+ for updates.