Get your apps to work with the Xperia™ go pressure sensor [tutorial]

We just announced the Sony Xperia™ go, which comes with equipped with a pressure sensor, which enables you as a developer to create barometric, altitude or speed-related apps by accessing it through the Android sensor API. In this article, we’re highlighting information on how you can develop apps that work with the pressure sensor in Xperia™ go, as well as Xperia™ active as the sensor is accessed through the same API.

Read on to get a code example and instructions on how to create a simple app that can read data from the pressure sensor.

Read more

Get your apps to work with the Xperia™ go pressure sensor [tutorial]

UPDATED: How to use the hidden HDMI API [tutorial]

***Update: This Sony specific API will be deprecated. Please use the hidden Android intent “android.intent.action.HDMI_PLUGGED” instead. This is supported on smartphones running Ice Cream Sandwich and Jellybean. Stay tuned to Developer World for more information going forward.*** 

Are you working on an Android™ app that you’d like users to experience on an external device like a TV or monitor? If your Xperia™ smartphone (or other Android™ device) has an HDMI port, then your app should detect when it’s plugged into a powered high-definition screen to ensure the display is rendered properly on the larger screen. This quick tutorial includes some code that shows you how. Read more after the jump.

Read more

UPDATED: How to use the hidden HDMI API [tutorial]

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.

Read more

Tips for reducing APK file size

New barometric sensor app and code example available for Xperia™ active

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.

Read more

New barometric sensor app and code example available for Xperia™ active

Game developer tip 8: Handling screen orientation changes

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.

Read more

Game developer tip 8: Handling screen orientation changes

Game developer tip 6 and 7: Detecting Wi-Fi™ and checking the SD card

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.

Read more

Game developer tip 6 and 7: Detecting Wi-Fi™ and checking the SD card

Getting started with Timescape™ extensions

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

Read more after the jump.

Read more

Getting started with Timescape™ extensions

Code examples using hidden Android™ APIs

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.

Read more

Code examples using hidden Android™ APIs

Use the multiple APK support in Android Market

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.

Read more

Use the multiple APK support in Android Market

Game developer tip 5: Using proper versioning

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.

Read more

Game developer tip 5: Using proper versioning
Page 2 of 51234...Last »