想請問 關於 NativeAppliction 的 icon 事項

13 views
Skip to first unread message

Gabe

unread,
Aug 5, 2012, 1:56:41 PM8/5/12
to au...@googlegroups.com
dear 各位大大

最近想研究 push notification

但想要做的事先集中在 view 的顯示上

所以 主要是想先測 動態變換 icon

在測試中  

呼叫 NativeApplication.supportsDockIcon
及    NativeApplication.supportsSystemTrayIcon

得到的值都是 false

這究竟是甚麼意思呢?!

我的環境

IDE 是 FD 4.04
flex 4.6 Air 3.3
我是開 mobile 專案, 寫在 ViewNavigatorApplication 裡
run.bat 的 target 是設定為 goto desktop

我看過一些文件 認為 NativeApplication.supportsSystemTrayIcon 應該要能得到 true 呀

請高手們給我指引了 謝謝

Ticore

unread,
Aug 5, 2012, 10:24:56 PM8/5/12
to au...@googlegroups.com

NativeApplication.supportsDockIcon 
NativeApplication.supportsSystemTrayIcon 是 Desktop 作業系統才有的東西吧

開 Mobile 專案不支援是正常的



Gabe於 2012年8月6日星期一UTC+8上午1時56分41秒寫道:

Gabe

unread,
Aug 7, 2012, 10:27:52 PM8/7/12
to au...@googlegroups.com
喔喔~ 感謝 Ticore 大

我一直看到文件 說 dockicon for mac, systemtrayicon for win
原來 還有分  desktop 跟 mobile 

不過 這樣可以解釋成 在 mobile 上 是沒辦法動態改變 icon 囉?



本來想做的 push notification, 最近看文章的感想結論是,   flash/flex 轉的 mobile app 自己沒辦法(不靠 ANE ) 去接受訊息
所以 新訊息的 view 更新 應該也不是  as/flex 去寫出來的 (吧!?)

真希望將來能有多 API for mobile, 能夠全用 as 寫
先改試看看 phonegap 哩











Ticore於 2012年8月6日星期一UTC+8上午10時24分56秒寫道:
Reply all
Reply to author
Forward
0 new messages