[android-developers] Re: How to get Super user permission at App level ?

2011-10-21 Thread German Castignani
Hi, I've a similar issue while trying to trace the value of /sys/
devices/virtual/net/eth0/wireless/retries ... I read the file but a
value of 0 is always given. But running as su in adb shell allows me
to access, but anyway, it is not accessible from the application...

Any idea for this ?

On 22 sep, 12:55, Daniel Drozdzewski daniel.drozdzew...@gmail.com
wrote:
 On 22 September 2011 11:02, sourabh sahu souruit...@gmail.com wrote:

  I need to set boot animation or shut down animation.Thats why i need to
  write into it.

 it will not work for security reasons. Don't try to do something that
 you are not allowed to... or build your own port of android if you are
 doing actual product development (rather than application
 development).



  Thanks
  SOuabh

  On Thu, Sep 22, 2011 at 3:29 PM, Daniel Drozdzewski
  daniel.drozdzew...@gmail.com wrote:

  On 22 September 2011 10:53, sourabh sahu souruit...@gmail.com wrote:
   Please suggest any alternative for that.

  An alternative to writing to system would be not to write to system.

  Why do you need to write anything into there?

   On Thu, Sep 22, 2011 at 2:05 PM, Kristopher Micinski
   krismicin...@gmail.com wrote:

   On Thu, Sep 22, 2011 at 4:28 AM, sourabh sahu souruit...@gmail.com
   wrote:
Hi,

Can we write in system/.. folder?
If yes Please suggest.

THanks,
Sourabh

   No, not unless your device is rooted, which you can't assume in
   general.

   Why do you need access to this folder?  (I mean, you can't get access
   to write it, but maybe someone could suggest something you could do
   instead.)

   Kris

   --
   You received this message because you are subscribed to the Google
   Groups Android Developers group.
   To post to this group, send email to
   android-developers@googlegroups.com
   To unsubscribe from this group, send email to
   android-developers+unsubscr...@googlegroups.com
   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 android-developers@googlegroups.com
   To unsubscribe from this group, send email to
   android-developers+unsubscr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

  --
  Daniel Drozdzewski

  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  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 android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 --
 Daniel Drozdzewski

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to get Super user permission at App level ?

2011-09-22 Thread shubh
Can any one suggest me something here...?

On Sep 9, 5:34 pm, shubh shubhampatn...@gmail.com wrote:
 hello team,
 any one have idea how can access Super user permission at Application
 level?

 thanks

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: How to get Super user permission at App level ?

2011-09-22 Thread Kristopher Micinski
On Thu, Sep 22, 2011 at 3:51 AM, shubh shubhampatn...@gmail.com wrote:
 Can any one suggest me something here...?

 On Sep 9, 5:34 pm, shubh shubhampatn...@gmail.com wrote:
 hello team,
 any one have idea how can access Super user permission at Application
 level?

 thanks


You understand, that if this were (in general) possible, it would be a
huge security violation?

So, let's say for all intents (har har) and purposes, it's impossible.

Why do you want this anyway?

Kris

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en