Tutorial reboot: Scaling images for Android™ apps

If you’re currently working on an app where image scaling is needed, such as when you’re developing a SmartWatch extension for your application, don’t forget that we have a handy tutorial to explain how to get images scaled correctly. Andreas Agvard, a Senior Software Engineer at Sony, has created an image scaling code example that you can download, compile, and run. Read more after the jump.

Read more

Tutorial reboot: Scaling images for Android™ apps

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
Page 1 of 512345