Hi everyone, I'm having trouble trying pushing files onto the device and then loading them, maybe someone is able to help me?
What I need to do is: 1) push a txt file onto the device in the "/data/data/<package.name>/ files/" folder, 2) push a jar file in the "/data/data/<package.name>/lib/" folder, 3) load the jar file in runtime. It works fine on the emulator, although in order to successfully load the jar file I need to run the following commands: adb shell su cd /data/dalvik-cache/ chmod 777 . The problem is, when I try pushing the files on the device I always get a "permission denied" message and it won't let me copy the files I need. The device I'm using is an HTC dream, model A7177. I tried pushing the files on the device's SDcard (I am allowed to do that), but in order to load the jar file I still need to run the adb shell commands listed above, and when I try running either "su" or "chmod 777 ." I get a "permission denied" message. Pushing the two files onto the device is essential to the application, is there any way I can acquire the privileges required to push files in those two folders? or at least to run the adb shell commands to load the jar file from the SDcard? Thanks in advance, Alessio --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

