Mark Taylor
Mark Taylor
Are you able to provide the JavaScript?
Which line is throwing the undefined?
Add this to your java file (if not already there): ``` @Override protected JSONObject initialiseLatestResult() { return null; } ```
Well I'm confused. Have you tried adding addition Log.d messages in the java and then looking at logcat? See if it is stepping through that doWork() as expected
Have a look at Android Broadcast. You should be able to run code on device restart
In short, it really depends what the problem was. In some cases it may have an object if the is what is returned by the code further down. If there...
https://github.com/Red-Folder/bgs-core/wiki/Build-your-own-Background-Service
I assume you have built this out from bgp-sample? Was it working before you changed it? It will be very difficult to provide any advice without an actual problem.
I'm sorry I don't understand What is the question?
Yes you will need to recompile to get any changes into your apk. You will also need to install that new apk to your cellphone to see the change there....