Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Please who knows android:sharedUserId="android.uid.system"

Please who knows android:sharedUserId="android.uid.system"

Put your problem here if it does not fit any of the other categories.

Please who knows android:sharedUserId="android.uid.system"

Postby solid_622 » Mon Mar 14, 2011 3:37 am

Hello, I have been sufferring in one problem for several days.
Currently I'm running in the source code of "Settings" on Android2.2.

In AdroidMenifest.xml, we can see:

android:sharedUserId="android.uid.system"

With this, many permissions can be accessed for the activities in Settings.
But with this statement, the sd card can't be accessed for Read/Write, I have tried to read files in directory
File f = new File("/mnt/sdcard/"+filename);
or
File f = new File("/sdcard/"+filename);

But all of them don't work, I got an exception telling me that the file didn't exist (I have already put the file there).

If I delete android:sharedUserId="android.uid.system", then I can access the file seccussfully . However, I need the android:sharedUserId="android.uid.system"
to make the other activitiese runs well.

Does anybody happened to meet the same problem, and have you solved it? Thanks!
solid_622
Freshman
Freshman
 
Posts: 6
Joined: Mon Jun 21, 2010 9:43 am

Top

Re: Please who knows android:sharedUserId="android.uid.syste

Postby jamesdietriq » Mon Apr 11, 2011 7:52 am

I also have the same problem. Did you solve this ? or anybody who can help me ??
jamesdietriq
Once Poster
Once Poster
 
Posts: 1
Joined: Mon Dec 27, 2010 2:49 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 22 guests