about Runtime.getRuntime().exec

by tstanly » Thu, 20 Aug 2009 12:11:03 GMT


Sponsored Links
 hi all,


I am use the command:
Runtime.getRuntime().exec("chmod 777 /data");


but still not to change the file mode?


why fail?

thanks
--~--~---------~--~----~------------~-------~--~----~



about Runtime.getRuntime().exec

by Dianne Hackborn » Thu, 20 Aug 2009 13:19:10 GMT


 Apps don't have permission to change /data.






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Android Based Stream Server

Has anyone looked at creating a video/music stream server (to stream
out) using the Android platform? If not, I would like to get a project
rolling. Please email [EMAIL PROTECTED] to join the effort.

--~--~---------~--~----~------------~-------~--~----~

2. ProgressDialog woes...

Dear all
I'm having difficulties in ProgressDialog--I've tried out two options
given below:

Version 1.
        pd = ProgressDialog.show(this, "Please wait", "Fetching data",
true,false);
        updateUI(this);
       Thread t = new Thread() {
            public void run() {
                pd.dismiss();
            }
        };
        t.start();

Version 2.
        pd = ProgressDialog.show(this, "Please wait", "Fetching data",
true,false);
       Thread t = new Thread() {
            public void run() {
               updateUI(this);
                pd.dismiss();
            }
        };
        t.start();

In the first case, I get the GUI updated, but the ProgressDialog
doesn't appear. In the second case, the situation is reversed, with
the ProgressDialog appearing, but the GUI doesn't appear.

Thanks in advance...any help would be much appreciated.

a.o.

--~--~---------~--~----~------------~-------~--~----~

3. Whether is android compatible with GWT?

4. (Service == Process)?

5. hardware information

6. socket exception error

7. Good resource on how to do android game development