索尼爱立信在纽约的Web2.0会议上提供了其移动产品的WebSDK测试版本,这个工具包主要用于创建Android和Symbian智能手机上的应用,例如即将发布的X10和Satio。
索爱表示,WebSDK能提供给移动应用和Web开发人员广泛的易于使用的工具和手机平台,此外他们还将和开源社区合作,使开发人员更轻松地创建跨平台的应用。现在这一SDK已经可以下载。
Sony Ericsson WebSDK
The Sony Ericsson WebSDK enables web developers to produce mobile apps that work across different phone platforms. It is an open source tool created in collaboration with the PhoneGap open source community. Applications are written using HTML, CSS and JavaScript. Bridge capability enables the JavaScript code to access platform functionality and data:
- Geolocation (GPS co-ordinates)
- Accelerometer (x, y, z co-ordinates)
- Camera
- Contacts data
- Sound
- Vibrator
The Sony Ericsson WebSDK currently supports Android (e.g. XPERIA™ X10) and Symbian (e.g. Satio™) platforms.
The SDK contains the following components:
Sony Ericsson PhoneGap Simulator
The Simulator is an Adobe AIR application and can run on Windows, Mac OS and Linux. The Simulator is easy to install and enables you to easily check the look and feel of your applications.
|
|
Debug Panel where platform features are simulated, for example, accelerometer x, y and z values | Phone simulator display where the application can be tested according to inputs from the Debug Panel |
The Simulator features:
- Firebug Lite – monitor, edit and debug HTML, CSS and JavaScript in real time
- Geolocation Console – uses the Google Maps API to simulate GPS location values
- Accelerometer Console – Tilt and rotate a virtual phone to create simulated 3d x,y, z values
- Sound and vibration simulation
- Skins for XPERIA™ X10 and Satio™ phones
Sony Ericsson Packager Tool
The packager tool adds a wrapper around the application and converts it to a native Android application (APK file) which can then be tested on a real phone or in an emulation environment.
Emulator Support
The Emulator enables you to check your application in the true device environment by using the emulators provided with the Android and Symbian SDKs. Included in the WebSDK are skins for XPERIA™ X10 and Satio™.
Downloads
Sony Ericsson Beta WebSDK (9.2 MB)
The Sony Ericsson WebSDK package installs the PhoneGap Framework, Packager Tool, documentation, sample code, and links to help forums.
Sony Ericsson PhoneGap Simulator (1.78 MB)
The Simulator helps you to test your application using the Debug Console. Requires Adobe AIR.
Sony Ericsson WebSDK – Getting Started Guide (696 KB)
Shows you how to get started with Sony Ericsson WebSDK, using Android and Symbian examples.
Sony Ericsson WebSDK API Reference (154 KB)
API reference for the Sony Ericsson WebSDK
Support
- Ask questions and get help in the Developer World Web Apps Forum>>
- Listen out for tips and updates on Twitter>>
- PhoneGap Resources>>
http://developer.sonyericsson.com/site/global/docstools/browsing/p_browsing.jsp