Category Archives: Tutorials

Tutorials
31st January 2012. 19:21
Reducing_APK_Size

Tips for reducing APK file size

Are you having problems getting under the current 50 MB upload limit imposed by Android Market™? Don’t let it be a roadblock in preparing your Android™ app for market. Instead, use these excellent tips for reducing the file size of your APK. David Karlsson, a software architect at Sony Ericsson, will get you all the details. Read more after the jump.

(more…)

We recently showed you how to get your apps to work with the Xperia™ active pressure sensor. And to help with your development, we’ve also created a simple app and a new code example that shows you exactly how a pressure sensitive app works. Read on to learn more about our new barometric sensor app, download the apk file and view the new code example.

(more…)

Considering screen orientation is essential when creating a good user experience. Imagine having a game on your smartphone that can only be played with the phone facing one direction. Or what if the information entered in a field of an app gets erased every time you rotated the phone? It’s not an ideal user experience. So if you haven’t taken screen orientation changes into consideration when you’re developing your game, this is our next game developer tip. Read on for more details.

(more…)

We’ve added some new, and very important tips to the Xperia™ Game Developer Recommendations list. The first recommendation is that your app should check for a Wi-Fi™ connection, which benefits users who may have a limited data plan and helps carriers reserve network bandwidth for other services. The second recommendation is that your app should check the status of the SD card. This is important since the SD card automatically unmounts when the back cover of the device is removed and may cause the SD card to become unreadable. Read on for more details.

(more…)

Ready to take your Android™ development one step further? Do you want your app to get visible to thousands of Sony Ericsson phones? Haven’t checked out the Timescape™ developer section yet? If so, then follow along with Sony Ericsson Software Engineer, Robert Helmbro, as he’s provided this step-by-step tutorial for developing your own Timescape™ extension.

Read more after the jump.

(more…)

Have you ever thought about using hidden Android™ APIs? A few weeks ago, Erik Hellman from Sony Ericsson’s Technology research department presented a few examples of how these APIs could be used at Droidcon in London, and at Mobile Monday in Bucharest. We have now made Erik’s hidden API code examples available for download.

Download and learn more after the jump.

(more…)

Google recently announced multiple APK support in Android Market™, which allows you to upload multiple versions of an APK for a single product listing, instead of having to upload a single APK file for every version of your product. We got the lowdown from Anupam Nath, a Developer Support Engineer at Sony Ericsson, who explains in more detail about how this new feature can help solve some of your issues when publishing your app on Android Market™. See more after the jump.

(more…)

If you haven’t put much thought into how you assign the application versioning for your game, it is definitely an important detail you should keep in mind. Correct versioning makes it easier for you to maintain the development of your game, and makes it easier for users to keep track of what version they are running. This is the fifth in a series of tips that supplement the XperiaTM game developer recommendations. This tip expands on Packaging recommendations – PK6 in the list of game developer recommendations: For the final version of a game, the version value should be “1.0.0″ or higher and the current APK version should be higher than for any of the game’s previous releases.

Read more about this important recommendation after the jump.

(more…)

This is the fourth in a series of tips that supplement the Xperia game developer recommendations. This tip expands on Display recommendations – DS3 in the list of game developer recommendations: If applicable, the representations of the device’s buttons should be displayed in the correct layout.

(more…)

This is the third in a series of tips that supplement the XperiaTM game developer recommendations. This tip expands on Packaging recommendation PK3 in the list of game developer recommendations: Any APK file larger than 5MB should be installed directly to the SD card.

(more…)