Monthly Archives: May 2010
Welcome to the second tutorial out of three in the series of how to make your own 3D list view implementation for an Android application. In this tutorial we continue to develop the quite basic list created in part one of the tutorial into a list with 3D look and feel. At the end of this article we will have something that looks a bit more interesting than the standard list.
To see what list will look like, download the ’Sony Ericsson Tutorials‘ application from Android Market. In this app you will also see what the list will look like after the third part of this tutorial. Below is a link to the source code of part 2, prepared for you to set up your own project in e.g. Eclipse.
Here is a QR-code of the Sony Ericsson Tutorials app on android Market for all of you who are interested in the tutorials we are running. Download a bar scanner to your Android phone and use it to scan the QR-code below and Sony Ericsson Tutorials will be found on Android market and you can install it fast and easy.
We are planning on doing more tutorials for Android developers and are very interested in knowing what kind of tutorials you developers would find useful. Please let us know!
Welcome to the second part of the Android tutorial on how to make your own zoom control like the one used in Sony Ericsson X10 Mini in the Camera and Album applications. Click here to read the first part of the tutorial.
Don’t forget to go to Android Market and download Sony Ericsson Tutorials, the app that collects all sample apps in this and other Sony Ericsson tutorials.
In this part of the tutorial we will build on the zoom application we started in part 1. As you might remember, in part 1 we finished with a zoom application that didn’t have any limits, we could zoom and pan into the void and back. In this tutorial we will introduce limits and we will also make sure that the pan always follows the finger as one would expect, as we in part 1 could see panning following the finger differently depending on the current zoom level. Below is a link to the source code for step 2 and the video showing what you will learn in the one finger zoom tutorial series.
[Download] One Finger Zoom sample project – Part 2 (218kb)
The aspect quotient
Remember this picture from part 1?

Images illustrating how the zoom state works, the dashed gray area represents what is shown in the view and the patterned area represents the content. On the left: Zoom is 1, pan-x and pan-y are both 0.5, in this state the image fits the screen perfectly. In the middle: Zoom is 2, pan-x and pan-y are still both 0.5, less content is now shown on the screen but will be scaled up. To the right: Zoom is 3, pan-x is 0.7 and pan-y is 0.833, we now see less of the image, only the top right corner, scaled up.
Last week I, Karl-Johan Dahlström, and some of my colleagues at Developer Program went to San Francisco for Google IO. I wanted to give you some reflections from the event that took place at Moscone West centre. First of all the Moscone West center, with a capacity of 5000 people, seems a bit small if you ask me considering the number of people who could not get tickets to the event. Let’s hope for bigger venue next year since the interest in Android will continue to increase. I had some really interesting and intense days and got to see all the amazing things that is happening with Android and products based on Android. Below is my top 5 list of things that was announced and happened at the show:
1) FroYo announcement and of course the performance boost via JIT compiler. http://developer.android.com/sdk/android-2.2-highlights.html
2) PayPals Mobile Payment library available for Android, need to check if apps are allowed to use this on Android Market. https://www.thepaypalblog.com/2010/05/paypal’s-mobile-payments-library-now-available-for-android-io2010/
3) The first Google TV from Sony, this is soooo cool how the TV and Internet get seamless integrated and together with the Cloud to device API it gets even more interesting. http://www.google.com/tv/
4) Cloud to device APIs, this will definitely create new opportunities, check the demos on http://www.youtube.com/watch?v=dBQFXRW5ZiE
5) Tried the Perceptive Pixel multitouch screen at the After Party. Loved it. Not sure what I can use it for back home, but I want one
http://www.perceptivepixel.com/index.html
Comments and your personal top 5 lists are welcome
Besides me and my colleagues from the Developer Program, Sony Ericsson participated at Google IO with a good mix of people, everything from Product Managers, Software Architects, UI-people, and software developers. We showed off our great Android devices at the OEM Sandbox station, and the interest for X10, X10 mini and X10 mini pro was huge. The people I spoke to love the small size of mini and the experience we created on all of our devices. The fact that X10 mini stands out from the crowed of Android devices was really appreciated.
For the people that have not yet seen the keynotes, below is a link to the sessions.
Welcome to this first Android tutorial on how to make your own one finger zoom control like the one found in the Camera and Album applications in the Sony Ericsson X10 Mini. The Tutorial is divided into four parts, each part adding new features. Below is a link to download the source code for part 1 of the tutorial, prepared for you to set up your own project in e.g. Eclipse.
[Download] One Finger Zoom sample project (211kb)
Don’t miss to download the Sony Ericsson Tutorials app on Android Market where all applications in this and other Sony Ericsson tutorials are available. With the SonyEricsson tutorials app you can easily try out the different parts of the tutorial and see what the end result will be.
Below is a video showing what you will be able to do after seeing all steps of the tutorial. There following parts of the turoital will be added over the next few weeks.
This will be a conference full of interesting topics in the web developer area with a lot of skilled speakers. If you are able to be in Stockholm these days go ahead and sign up for the event. On the second day two of my colleagues will take you through an technical session called “The phone in the cloud – utilizing resources hosted anywhere” Presented by Claes Nilsson and Thomas Bailey. Here is a short Summary of the content for the session:
Sony Ericsson is actively working with evolving web standards and developing supporting technologies to shape and build future applications and services. In this technical session we will share and explore some of our ideas and thinking including
- Review of the web standards that Sony Ericsson is actively working with and why we think they are important
- Overview of the Sony Ericsson WebSDK and where we are planning to take it
- Demo of a prototype concept using web services locally upon the Sony Ericsson Xperia™ X10
To read more and to sign up! http://www.swdc-central.com/swdc2010/index.html
Come and join us at the leading android developer event of the year. Meet the Developer program team from Lund and Redwood at Google I/O in San Francisco.
There will be 4000 developers gathering together during two days. Me and my colleagues will showcase our signature application at the X-10 and both X-10 mini and X-10 mini pro.
I hope you will show us your coolest applications and run them on our new devices. It´s easy to find us in the “Android area” where we will be demonstrating in the “developer sandbox”. Read more about what you´ll discover in this area. http://code.google.com/events/io/2010/sandbox.html
Together with four other invited handset manufactures we will be a part of a fireside chat on May 20 at 1PM. The session will be moderated by Eric Chu from Google and involve all panelists and the audience during one intensive hour. Read more about the session http://code.google.com/events/io/2010/sessions/fireside-chat-android-handset-manufacturers.html
I hope to meet you at Moscone West in San Francisco May 19-20. Some of my other colleagues you will meet in the “OEM sandbox” are Karl-Johan Dahlstrom, Erik Hellman, Bill Maggs, Sheana Hogan, Eric Ang, Magnus T Johansson and Sachin Anand.
More information about the event:
We are happy to let you know that today Sonyericsson announced that the UX platform (UXP) for the Xperia™ X10 family of phones will be upgraded in Q4 2010. Example of updates are:
• Upgrade to Android OS version 2.1
• HD video recording as per the same execution as Sony Ericsson Vivaz™
• Wireless home connectivity via DLNA
• Improvements to signature applications Timescape™ and Mediascape
More info on the UXP platform update can be found on our sister blog blogs.sonyericsson.com/products


![Showing HTML5 device orientation on Xperia with Ice Cream Sandwich [demo]](http://img.youtube.com/vi/Q4CTkjaYumM/default.jpg)


