Hi Saurab, You can run your script in the root directory of the device. you can acheive this by setting the Enviorment.getStoreage() method point to root. below is the example: new File(Environment.getExternalStorageDirectory(), , That is where i have dumped all my pic which were taken by the Camera application.
Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Mon, Nov 28, 2011 at 12:30 PM, s.rawat <[email protected]> wrote: > Hi, > I am trying to develop an application which has to access the device > node.It could be anything a Printer micro-USB interface/an MHL - MDI > interface .I want to know whether it is possible to achieve it without > rooting the device or with rooting the device (with no user hassle to run > some script/patch file - which does rooting and chmoding 777 the device > node before running the application).Your advice will be greatly > appreciated. > Thanks in advance , > Rgds, > Saurabh > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" 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-developers?hl=en -- -- You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en

