Android 台灣中文網

標題: (已修正求測試)貼圖警報系統需要Android 4.4系統測試 [打印本頁]

作者: hollowaysxp    時間: 2013-11-28 10:50
標題: (已修正求測試)貼圖警報系統需要Android 4.4系統測試
本帖最後由 hollowaysxp 於 2013-11-29 15:54 編輯

最近有Android 4.4回報會閃退。

我自己用官方原生模擬器測試Android 4.4和貼圖警報測試正常。

所以~需要有網友提供Android 4.4測試我的貼圖警報系統。

如果是Nexus更好。目前確認閃退Nexus 4 (mako)。

可以的話回復留言我會發短訊息給你。

目前問題已經修正

需要APK請私私訊跟我要APK
那是Android 4.4修正的
作者: f0515    時間: 2013-11-28 15:02
有nexus 5, nexus 7(2012)@4.4

之前沒有用過,是否安裝APK方式?
作者: hollowaysxp    時間: 2013-11-28 17:45
PLAY商店有,請找貼圖警報系統,看會不會閃退~謝謝
作者: f0515    時間: 2013-11-28 18:34
nexus [email protected]-KRT16M,沒有閃退,一切正常!
n7 不在身邊,晚一點再試
作者: f0515    時間: 2013-11-28 18:34
本帖最後由 f0515 於 2013-11-28 23:39 編輯

10點10分,使用 n5 上網中,貼圖警報突然沒有回應,強制關閉!
11點10分相同情況,set了 60分鐘自動檢查,應是背景自動檢查時出問題!

手動檢查沒有問題
作者: huaiwei    時間: 2013-11-29 01:32
本帖最後由 huaiwei 於 2013-11-29 01:34 編輯

If your app uses AlarmManager...

When you set your app"s targetSdkVersion to "19" or higher, alarms that you create using either set() or setRepeating() will be inexact.

To improve power efficiency, Android now batches together alarms from all apps that occur at reasonably similar times so the system wakes the device once instead of several times to handle each alarm.

If your alarm is not associated with an exact clock time, but it"s still important that your alarm be invoked during a specific time range (such as between 2pm and 4pm), then you can use the new setWindow() method, which accepts an "earliest" time for the alarm and a "window" of time following the earliest time within which the system should invoke the alarm.

If your alarm must be pinned to an exact clock time (such as for a calendar event reminder), then you can use the new setExact() method.

This inexact batching behavior applies only to updated apps. If you"ve set the targetSdkVersion to "18" or lower, your alarms will continue behave as they have on previous versions when running on Android 4.4.
我看你的程式碼似乎有用Alarm,或許是這方面有點問題
作者: hollowaysxp    時間: 2013-11-29 14:33
本帖最後由 hollowaysxp 於 2013-11-29 15:29 編輯

OK~因為我用原生Android模擬器都沒發生問題。剛剛已經修正了,晚點會給有android 4.4的apk載點。
載點已經私訊給你測試了。





歡迎光臨 Android 台灣中文網 (https://apk.tw/) Powered by Discuz! X3.1