skylark95 / amazon-app-notifier Goto Github PK
View Code? Open in Web Editor NEWOpen source rewrite of Amazon App Notifier (Free App Notifier For Amazon)
Home Page: http://sky95.me/amazonappnotifier
License: GNU General Public License v3.0
Open source rewrite of Amazon App Notifier (Free App Notifier For Amazon)
Home Page: http://sky95.me/amazonappnotifier
License: GNU General Public License v3.0
Update: Occurs with Android 2.1
java.lang.NullPointerException
at android.widget.TabHost.dispatchWindowFocusChanged(TabHost.java:298)
at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:662)
at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:662)
at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:662)
at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:662)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1922)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
at dalvik.system.NativeStart.main(Native Method)
see #9
Update: Also show notification in the event of a timeout
Will delay the notification on boot if an internet connection is not detected. Will then time out and show offline if no connection is not established after 2 minutes. Otherwise will check every 15 seconds for connection until the 2 minute limit is reached (e.g. probably no coverage)
With support for notifications for multiple countries becoming an addition to the app in the near future (see #11) the app will need to support multiple languages.
I can do this via Google translate, but it would ideally be nice to get help from any users who may be multilingual.
java.lang.NullPointerException
at com.skylark95.amazonfreenotify.notification.FreeAppNotificationFactory.buildAppDataNotification(FreeAppNotificationFactory.java:92)
at com.skylark95.amazonfreenotify.notification.FreeAppNotificationFactory.buildOnlineNotification(FreeAppNotificationFactory.java:74)
at com.skylark95.amazonfreenotify.notification.FreeAppNotificationFactory.build(FreeAppNotificationFactory.java:61)
at com.skylark95.amazonfreenotify.notification.FreeAppNotificationFactory.buildNotification(FreeAppNotificationFactory.java:51)
at com.skylark95.amazonfreenotify.service.FreeAppNotificationService.doWakefulWork(FreeAppNotificationService.java:47)
at com.commonsware.cwac.wakeful.WakefulIntentService.onHandleIntent(WakefulIntentService.java:106)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.os.HandlerThread.run(HandlerThread.java:61)
java.lang.NullPointerException
at com.skylark95.amazonfreenotify.notification.AppDataNotification.buildNotification(AppDataNotification.java:58)
at com.skylark95.amazonfreenotify.notification.FreeAppNotification.showNotification(FreeAppNotification.java:69)
at com.skylark95.amazonfreenotify.notification.FreeAppNotification.showNotificationReguardless(FreeAppNotification.java:56)
at com.skylark95.amazonfreenotify.service.TestAppNotificationService.doWakefulWork(TestAppNotificationService.java:45)
at com.commonsware.cwac.wakeful.WakefulIntentService.onHandleIntent(WakefulIntentService.java:106)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.os.HandlerThread.run(HandlerThread.java:60)
java.lang.NullPointerException
at com.skylark95.amazonfreenotify.notification.AppDataNotification.isAppGame(AppDataNotification.java:129)
at com.skylark95.amazonfreenotify.notification.AppDataNotification.shouldShowNotification(AppDataNotification.java:120)
at com.skylark95.amazonfreenotify.notification.FreeAppNotification.showNotificationIfNecessary(FreeAppNotification.java:60)
at com.skylark95.amazonfreenotify.service.FreeAppNotificationService.doWakefulWork(FreeAppNotificationService.java:48)
at com.commonsware.cwac.wakeful.WakefulIntentService.onHandleIntent(WakefulIntentService.java:106)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.os.HandlerThread.run(HandlerThread.java:60)
App is crashing because it can no longer retrieve information from Amazon's website.
Will resolve by:
FirstStartPreferencesTest cannot delete files on Windows so the tests are failing.
It appears that robolectric creates files under {username}\AppData\Local\Temp
but the running java process cannot delete the files as they appear to be in use.
The UK version of Amazon's app store now has a web page listing the free app of the day at http://www.amazon.co.uk/mobile-apps/b/ref=amb_link_171292727_1?ie=UTF8&nav_sdd=aps&node=1661657031
As requested in your app, I'm filing an enhancement request for UK users :-)
It does seem to be the same app as the US store though, at least for today.
[04-May-2013 11:00:22] PHP Warning: mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 11:00:22] PHP Notice: resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 11:00:22] PHP Warning: mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 11:00:22] PHP Notice: resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 11:00:22] PHP Warning: mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 11:00:22] PHP Notice: resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 11:00:22] PHP Warning: mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 11:00:22] PHP Notice: resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 11:00:22] PHP Warning: mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 11:00:22] PHP Notice: resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 11:00:22] PHP Warning: mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 11:00:22] PHP Notice: resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 11:00:22] PHP Warning: mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 11:00:22] PHP Notice: resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 13:00:07] PHP Warning: mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 13:00:07] PHP Notice: resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 13:00:07] PHP Warning: mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 13:00:07] PHP Notice: resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 13:00:07] PHP Warning: mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 13:00:07] PHP Notice: resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 13:00:07] PHP Warning: mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 13:00:07] PHP Notice: resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 13:00:07] PHP Warning: mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 13:00:07] PHP Notice: resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 13:00:07] PHP Warning: mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 13:00:07] PHP Notice: resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 13:00:07] PHP Warning: mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 13:00:07] PHP Notice: resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
[04-May-2013 13:00:07] PHP Warning: mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1203): User skylarkn_amazon already has more than 'max_user_connections' active connections in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/classes/dao/AppDataDao.php on line 37
[04-May-2013 13:00:07] PHP Notice: resetting error for load_file() in /home7/skylarkn/public_html/sub/android/amazonnotify/v2/libs/simple_html_dom.php on line 1083
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.