2013年11月6日 星期三

Chain Chronicle 圖鑑 更新日誌及相關資訊 (07-11-2013)

Chain Chronicle 圖鑑的更新日誌

11-11-2013:
更新日誌及開發者的訊息全部轉到Twitter https://twitter.com/CC_Rush

10-11-2013:
對今次0.0.3版更新後出現問題的各位用家致歉。因為不小心使用了還在開發中的功能和未完成的資料,以致有部份用家未能使用程式,實在抱歉。雖然已經馬上修正,但還是未能完全避免有用戶下載了有問題的版本。在此再一次向各位用家致以萬二分抱歉。

07-11-2013:

預定版本0.0.4 會作為對0.0.3 的修正檔,以顯示絆之物語的相關資料。並於同日更新絆之物語的資料。

另外,會更新圖片載入的模式,令日後可以替換更清晰的圖片。

再者,我在想如何可以加入一個分享功能,可以讓各位分享角色的資料給你的朋友。歡迎各位在此提供你寶貴的意見。

開發者
Rush

2013年6月26日 星期三

foreground service trick

If you experiencing an issue that you cannot start a foreground service, you can look forward this article may help you.

Pre: 
According to Google doc, if you want to start a foreground service, you can call a function startForeground (int id, Notification notification) in your service.


Then your service will keep running even if your application/activities are destroyed.

Trick:
REMEMBER. DON'T use 0 as the input of int parameter, if you don't want to spend 2 days on fixing it.

startForeground(0, notification); // Doesn't work...

startForeground(1, notification); // Works!!!


P.S. Someone in the above post said he tried 123 which also doesn't work. Only 1 is work. I haven't prove it. If anyone tried, please tell me.



2013年6月14日 星期五

use InAppBillingService in Android Studio

This is for those people who use Android Studio(AS as short) to develop. If you are using other IDE and also need help, you can leave comments to seek help.

First, if you aren't use AS to create new project with Gradle project structure, you can ignore this article. 




Above screenshot show the correct directory structure to put the IInAppBillingService.aidl.

The default directory structure does not have aidl . You need to create it by yourself. After that, you just need to rebuild the project, then you can use this service just like the sample TrivalDriver.

P.S. I am still a newbie in Android development.

P.S^2 母語是中文, 所以大家都可以用中文問題. I can understand Chinese, I am just too lazy to type Chinese =3=