Good morning,

I've written an app which downloads bundles to a watched folder on Android.  Up 
until yesterday, it worked great.  I did something yesterday which I can't 
quite figure out, which has resulted in the FileInstall looping.  That is, it 
reads in a bundle from the watched folder, and it starts it.  Then the bundle 
is stopped and read in again.  This occurs in a loop.  I've gone back to 
previous versions of my working code, and that does not resolve the issue.  
Curiously, the same code works fine in the Android emulator.  So, was figuring 
it is somehow device related.  I'm wondering what might cause such an issue.  
I've removed the app from the Android device and power cycled it, but so far, 
I've not been able to resolve the issue.  I don't see much in the way of 
output…. Below is the tracing from my app showing the first couple of reads of 
the TV bundle.

Hope this resonates with someone.

Thanks,
Mike


02-05 06:29:27.014: INFO/System.out(12646): Installed 
/data/data/net.cs76.student40711678/files/felix/newbundle/TV.jar
02-05 06:29:27.014: INFO/global(12646): Default buffer size used in 
BufferedWriter constructor. It would be better to be explicit if an 8k-char 
buffer is required.
02-05 06:29:27.054: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> android.widget 
-> 0
02-05 06:29:27.054: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> android.util 
-> 0
02-05 06:29:27.054: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.apache.felix.ipojo -> 3.0
02-05 06:29:27.054: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.osgi.service.log -> 2.0
02-05 06:29:27.054: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> android.app -> 0
02-05 06:29:27.054: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
net.cs76.student40711678.view -> 0
02-05 06:29:27.054: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> android.os -> 0
02-05 06:29:27.054: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.apache.felix.framework -> 0
02-05 06:29:27.054: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.apache.felix.ipojo.architecture -> 3.0
02-05 06:29:27.054: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.twdata.pkgscanner -> 0
02-05 06:29:27.054: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.osgi.util.tracker -> 0
02-05 06:29:27.054: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.osgi.framework -> 0
02-05 06:29:27.054: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
android.content -> 0
02-05 06:29:27.054: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.osgi.service.cm -> 3.0
02-05 06:29:27.054: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> android.view 
-> 0
02-05 06:29:27.064: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
android.content.res -> 0
02-05 06:29:27.074: INFO/System.out(12646): Started bundle: 
/data/data/net.cs76.student40711678/files/felix/newbundle/TV.jar
02-05 06:29:27.194: INFO/System.out(12646): =============== Service found ! 
=============
02-05 06:29:27.204: DEBUG/dalvikvm(12646): DexOpt: --- BEGIN 'bundle.jar' 
(bootstrap=0) ---
02-05 06:29:27.234: DEBUG/dalvikvm(12778): creating instr width table
02-05 06:29:27.264: DEBUG/dalvikvm(12778): DexOpt: load 6ms, verify 13ms, opt 
0ms
02-05 06:29:27.294: DEBUG/dalvikvm(12646): DexOpt: --- END 'bundle.jar' 
(success) ---
02-05 06:29:27.294: DEBUG/dalvikvm(12646): DEX prep 
'/data/data/net.cs76.student40711678/files/felix/cache/bundle13/version0.0/bundle.jar':
 unzip in 1ms, rewrite 84ms
02-05 06:29:27.304: INFO/System.out(12646): MC:: Creating TV ...
02-05 06:29:27.304: INFO/System.out(12646): service reference: 
net.cs76.student40711678.TV@4a2a5740
02-05 06:29:27.304: INFO/System.out(12646): key: TV and val: 
net.cs76.student40711678.TV@4a2a5740
02-05 06:29:27.384: DEBUG/dalvikvm(12646): GC_FOR_MALLOC freed 9599 objects / 
541048 bytes in 56ms
02-05 06:29:29.104: INFO/System.out(12646): removed the service
02-05 06:29:29.294: INFO/global(12646): Default buffer size used in 
BufferedWriter constructor. It would be better to be explicit if an 8k-char 
buffer is required.
02-05 06:29:29.334: INFO/global(12646): Default buffer size used in 
BufferedWriter constructor. It would be better to be explicit if an 8k-char 
buffer is required.
02-05 06:29:29.444: DEBUG/dalvikvm(12646): GC_FOR_MALLOC freed 3317 objects / 
254536 bytes in 71ms
02-05 06:29:29.444: INFO/global(12646): Default buffer size used in 
BufferedReader constructor. It would be better to be explicit if an 8k-char 
buffer is required.
02-05 06:29:29.444: INFO/global(12646): Default buffer size used in 
BufferedWriter constructor. It would be better to be explicit if an 8k-char 
buffer is required.
02-05 06:29:29.494: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> android.widget 
-> 0
02-05 06:29:29.494: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> android.util 
-> 0
02-05 06:29:29.494: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.apache.felix.ipojo -> 3.0
02-05 06:29:29.494: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.osgi.service.log -> 2.0
02-05 06:29:29.494: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> android.app -> 0
02-05 06:29:29.494: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
net.cs76.student40711678.view -> 0
02-05 06:29:29.494: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> android.os -> 0
02-05 06:29:29.494: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.apache.felix.framework -> 0
02-05 06:29:29.494: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.apache.felix.ipojo.architecture -> 3.0
02-05 06:29:29.494: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.twdata.pkgscanner -> 0
02-05 06:29:29.494: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.osgi.util.tracker -> 0
02-05 06:29:29.494: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.osgi.framework -> 0
02-05 06:29:29.494: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
android.content -> 0
02-05 06:29:29.494: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.osgi.service.cm -> 3.0
02-05 06:29:29.494: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> android.view 
-> 0
02-05 06:29:29.494: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
android.content.res -> 0
02-05 06:29:29.514: INFO/System.out(12646): Updated 
/data/data/net.cs76.student40711678/files/felix/newbundle/TV.jar
02-05 06:29:29.514: INFO/global(12646): Default buffer size used in 
BufferedWriter constructor. It would be better to be explicit if an 8k-char 
buffer is required.
02-05 06:29:29.514: INFO/System.out(12646): Started bundle: 
/data/data/net.cs76.student40711678/files/felix/newbundle/TV.jar
02-05 06:29:29.604: INFO/System.out(12646): =============== Service found ! 
=============
02-05 06:29:29.664: DEBUG/dalvikvm(12646): GC_FOR_MALLOC freed 8586 objects / 
531376 bytes in 53ms
02-05 06:29:29.674: DEBUG/dalvikvm(12646): DexOpt: --- BEGIN 'bundle.jar' 
(bootstrap=0) ---
02-05 06:29:29.694: DEBUG/dalvikvm(12803): creating instr width table
02-05 06:29:29.734: DEBUG/dalvikvm(12803): DexOpt: load 5ms, verify 14ms, opt 
0ms
02-05 06:29:29.744: DEBUG/dalvikvm(12646): DexOpt: --- END 'bundle.jar' 
(success) ---
02-05 06:29:29.744: DEBUG/dalvikvm(12646): DEX prep 
'/data/data/net.cs76.student40711678/files/felix/cache/bundle13/version1.0/bundle.jar':
 unzip in 2ms, rewrite 72ms
02-05 06:29:29.754: INFO/System.out(12646): MC:: Creating TV ...
02-05 06:29:29.754: INFO/System.out(12646): service reference: 
net.cs76.student40711678.TV@4a2679a8
02-05 06:29:29.754: INFO/System.out(12646): key: TV and val: 
net.cs76.student40711678.TV@4a2679a8
02-05 06:29:31.554: INFO/System.out(12646): removed the service
02-05 06:29:31.754: INFO/global(12646): Default buffer size used in 
BufferedWriter constructor. It would be better to be explicit if an 8k-char 
buffer is required.
02-05 06:29:31.814: INFO/global(12646): Default buffer size used in 
BufferedWriter constructor. It would be better to be explicit if an 8k-char 
buffer is required.
02-05 06:29:31.834: INFO/global(12646): Default buffer size used in 
BufferedReader constructor. It would be better to be explicit if an 8k-char 
buffer is required.
02-05 06:29:31.944: DEBUG/dalvikvm(12646): GC_FOR_MALLOC freed 5061 objects / 
382280 bytes in 99ms
02-05 06:29:31.944: INFO/global(12646): Default buffer size used in 
BufferedWriter constructor. It would be better to be explicit if an 8k-char 
buffer is required.
02-05 06:29:31.994: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> android.widget 
-> 0
02-05 06:29:31.994: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> android.util 
-> 0
02-05 06:29:31.994: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.apache.felix.ipojo -> 3.0
02-05 06:29:31.994: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.osgi.service.log -> 2.0
02-05 06:29:31.994: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> android.app -> 0
02-05 06:29:31.994: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
net.cs76.student40711678.view -> 0
02-05 06:29:31.994: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> android.os -> 0
02-05 06:29:31.994: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.apache.felix.framework -> 0
02-05 06:29:31.994: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.apache.felix.ipojo.architecture -> 3.0
02-05 06:29:31.994: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.twdata.pkgscanner -> 0
02-05 06:29:31.994: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.osgi.util.tracker -> 0
02-05 06:29:31.994: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.osgi.framework -> 0
02-05 06:29:31.994: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
android.content -> 0
02-05 06:29:31.994: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
org.osgi.service.cm -> 3.0
02-05 06:29:31.994: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> android.view 
-> 0
02-05 06:29:31.994: INFO/System.out(12646): DEBUG: WIRE: 13.0 -> 
android.content.res -> 0
02-05 06:29:32.014: INFO/System.out(12646): Updated 
/data/data/net.cs76.student40711678/files/felix/newbundle/TV.jar
02-05 06:29:32.014: INFO/global(12646): Default buffer size used in 
BufferedWriter constructor. It would be better to be explicit if an 8k-char 
buffer is required.

Reply via email to