Monday, April 20, 2009

Flash Lite [23] Nokia Service API

Flash Lite只提供裡幾個手機上的基本功能讓Developer使用,Nokia 針對手機上的功能提供了更多API,讓Flash Lite的開發者,可以設計出更多互動,功能更強的AP。

主要可分為幾類

AppManager Service API :
Allows Flash Lite applications to access and launch applications.


Calendar Service API :
Allows Flash Lite applications to access, create, and manage calendars and calendar entries.

Contacts Service API :
Allows Flash Lite applications to access and manage information about contacts. (Device/SIM card database)

Landmarks Service API :
Allows Flash Lite applications to access and manage information about landmarks and landmark categories.

Location Service API :
Allows Flash Lite applications to retrieve information about the physical location of a device and to perform calculations based on location information.

Logging Service API :
Allows Flash Lite applications to add, read, and delete logging events such as call logs, messaging logs, and so forth.

Media Management Service API :
Allows Flash Lite applications to retrieve information (metadata) about the media files stored in the Media Gallery.

Messaging Service API :
Allows Flash Lite applications to read, retrieve, and manage messages using the Messaging Center.

Sensor Service API :
Allows Flash Lite applications to access data provided by the physical sensors.

SystemInfo Service API :
Allows Flash Lite applications to access and modify system information.

詳細的說明請參考 Nokia Flash Lite Developer's Library
Alessandro Pace所提供的 Flash Lite Services API on Nokia devices

Note: 這些API僅適用於Flash Lite3.0+S60 5th edition

Thursday, March 05, 2009

Flash Lite [ 22 ] Adobe Mobile Packager

Adobe推出了Adobe Mobile Packager的軟體,可以讓Flash Lit 開發者,更容易產生.sis及.cab檔,之後要做DRM,也會更容易了 ^^

安裝步驟
1. 安裝Adobe Mobile Packager
2. 安裝cabsdk ,下載檔案後解壓縮到Adobe Mobile Packager資料夾
3. 安裝Active Perl
4. 安裝Symbian S60 SDK (選擇3rd Edition)
5. 安裝svg2svgcoverter (C:\Symbian\9.1\S60_3rd\S60Tools\svg2svgt)

記得SVG檔要透過svg2svgcoverter轉換後才可以正常顯示喔~

官方說明文件

Wednesday, December 10, 2008

Flash Lite [ 21 ] 如何簡單啟動emulator touch的功能

由於這兩年的工作,沒有直接使用Flash Lite的機會,所以荒廢的好一陣子,最近為了要training member使用Flash Lite來做為輔助UI design的simulation,又再重新複習了一下。

從當初1.0開始到現在的3.0,指令由最早的Flash 4語法到現在可以用ActionScript 2.0,製作Flash Lite的content越來越容易了。
加上Device central的輔助,不用在手機上也可以測試出大致的狀況,除了performance還是得在手機上測試之外,其他的大多可以在emulator上執行出來。

這一篇先來談談,如何很快的把目前Device central所提供的手機,打開touch的操作功能吧~

Step 1: 先決定要使用哪隻手機做為測試平台


Step 2:去Device profiles找到那隻手機的XML描述檔,用文字編輯器開啟

PC:
C:\Documents and Settings\username\Local Settings\Application Data\Adobe\Adobe Device Central CS3\Devices

Mac:
User\Library\Application supprt\Adobe\Adobe Device Central CS3\Devices

Step 3: 找到"mouseType",將"None"改為"Mouse",記得"M"要大寫,儲存後就大功告成啦 ~~~

PS. 這個動作只能提供在PC上測試,實際放到手機上,還是需要有支援touch的功能。

如果你們家的手機,ID跟某隻很像但是有touch的功能,就可以簡單用這種方式來增加測試環境,不用自己再去建一個profile囉~ ^^