[android-developers] Re: Copying a file from assets or raw to /system/bin folder (rsync)

2011-09-18 Thread Conny
Chris, I am only trying to justify my questioning on this forum. The steps mentioned on the rsync wiki work on a emulator. I assumed it would work on the device since it does on the emualtor. I was wondering what I was doing wrong, so wrote a piece of shareable code that can put up on a public

[android-developers] Re: Copying a file from assets or raw to /system/bin folder (rsync)

2011-09-17 Thread Conny
Guys, obviously I understand that /system/bin is read only, I would be blind not to be able to read the error messages. But the question is if I do need to get rsync into the bin folder what do I need to do. Rsync is a important feature to have on the android device. Helps to keep files in sync. I

Re: [android-developers] Re: Copying a file from assets or raw to /system/bin folder (rsync)

2011-09-17 Thread Dianne Hackborn
Data files don't go on /system, so what you are trying to do doesn't make sense. Nor is it possible for normal applications to do. A good Android device will not allow /system to be mounted read/write under normal operation. On Fri, Sep 16, 2011 at 11:35 PM, Conny mcon...@gmail.com wrote:

Re: [android-developers] Re: Copying a file from assets or raw to /system/bin folder (rsync)

2011-09-17 Thread Mark Murphy
On Sat, Sep 17, 2011 at 1:46 AM, Conny mcon...@gmail.com wrote: But the question is if I do need to get rsync into the bin folder what do I need to do. Install some alternative firmware that has rsync in it. Or, root your phone. Or, don't put rsync in /system, since AFAIK you don't need it in

[android-developers] Re: Copying a file from assets or raw to /system/bin folder (rsync)

2011-09-17 Thread Conny
Thanks Murphy.. On Sep 17, 5:24 pm, Mark Murphy mmur...@commonsware.com wrote: On Sat, Sep 17, 2011 at 1:46 AM, Conny mcon...@gmail.com wrote: But the question is if I do need to get rsync into the bin folder what do I need to do. Install some alternative firmware that has rsync in it. Or,

[android-developers] Re: Copying a file from assets or raw to /system/bin folder (rsync)

2011-09-17 Thread Conny
Just wanted you to know that rysnc droid is a project for android. If the install steps dont work on a android device, android forum is the best place to seek advice. Dont get me wrong, but getting a android app to work, I was assuming that the developers of that app would have done enough

[android-developers] Re: Copying a file from assets or raw to /system/bin folder (rsync)

2011-09-17 Thread Chris
On Saturday, September 17, 2011 10:45:46 PM UTC-4, Conny wrote: I was assuming that the developers of that app would have done enough research to get it to work on a real device. I guess not enough. And what lead you to believe that 'rsync droid' was a part of the SDK or has anything

[android-developers] Re: Copying a file from assets or raw to /system/bin folder (rsync)

2011-09-16 Thread MCON Dev
I get the exception at OutputStream out = new FileOutputStream(dst); On Fri, Sep 16, 2011 at 2:32 PM, MCON Dev mcon...@gmail.com wrote: Hi, If I use the code below, I get java.io.FileNotFoundException : /system/bin/rsync (Read-Only File system). I have one more question following this for the

[android-developers] Re: Copying a file from assets or raw to /system/bin folder (rsync)

2011-09-16 Thread MCON Dev
I tried adding dst.createNewFile(); Got a 09-16 14:35:39.569: WARN/System.err(1137): java.io.IOException: Read-only file system 09-16 14:35:39.579: WARN/System.err(1137): at java.io.File.createNewFileImpl(Native Method) 09-16 14:35:39.579: WARN/System.err(1137): at

[android-developers] Re: Copying a file from assets or raw to /system/bin folder (rsync)

2011-09-16 Thread Zsolt Vasvari
You seriosily think that any old app just copy stuff to the system/bin folder?? On Sep 16, 5:06 pm, MCON Dev mcon...@gmail.com wrote: I tried adding dst.createNewFile(); Got a 09-16 14:35:39.569: WARN/System.err(1137): java.io.IOException: Read-only file system 09-16 14:35:39.579:

[android-developers] Re: Copying a file from assets or raw to /system/bin folder (rsync)

2011-09-16 Thread Chris
On Friday, September 16, 2011 5:02:43 AM UTC-4, Conny wrote: May be forgetting my basics here. I sincerely doubt you ever understood your basics to begin with. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Copying a file from assets or raw to /system/bin folder (rsync)

2011-09-16 Thread Conny
Guys, obviously I understand that /system/bin is read only, I would be blind not to be able to read the error messages. But the question is if I do need to get rsync into the bin folder what do I need to do. Rsync is a important feature to have on the android device. Helps to keep files in sync. I