coldblue / auto-update-apk-client

Automatically exported from code.google.com/p/auto-update-apk-client
0 stars 0 forks source link

Error with getApplicationContext() #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile the library into a jar file
2. Add it to a project in eclipse built from Unity. 
3. Add in the needed lines as the tutorial suggest in the onCreate

What is the expected output? What do you see instead?
I expected to see updates fired but instead seems to have some problem with the 
getting the application context. 

This appears in the logcat: 

02-26 15:18:08.063: E/APKInstallReceiver(21628): context = 
android.app.ReceiverRestrictedContext@4200c9a0, intent.getAction() = 
android.intent.action.PACKAGE_REMOVED, intent.getDataString() = 
package:com.tellart.autoUpdate
02-26 15:18:08.363: E/APKInstallReceiver(21628): context = 
android.app.ReceiverRestrictedContext@4200c9a0, intent.getAction() = 
android.intent.action.PACKAGE_ADDED, intent.getDataString() = 
package:com.tellart.autoUpdate

What version of the product are you using? On what operating system?
 unity 4.0.1 and the latest auto update code

Please provide any additional information below.

Original issue reported on code.google.com by sjunnes...@gmail.com on 26 Feb 2013 at 8:25

GoogleCodeExporter commented 9 years ago
there are no android.intent.action.PACKAGE_REMOVED used in this software, could 
you please be more specific regarding the exact problem (full error message?) 
and its location (source code line numbers, these usually show up in the 
logcat). thanks!

Original comment by lenik.terenin on 28 Feb 2013 at 11:46

GoogleCodeExporter commented 9 years ago
It was an error on my side of including the library properly. I believe I have 
it up and running properly now.

Original comment by sjunnes...@gmail.com on 1 Mar 2013 at 2:39

GoogleCodeExporter commented 9 years ago
ok, thanks!

Original comment by lenik.terenin on 2 Mar 2013 at 7:32