file change notification permission for native c application?

by cavalzheng » Tue, 04 Aug 2009 23:14:56 GMT


Sponsored Links
 I am migrating a c program from linux to android
when lauch it in the shell everything is ok, but when I lauch it from
UI
with Runtime.getRuntime().exec(...), there is permission issue
for the file change notification, also I know there is mechanism of
permission
on android,  but I can not find related type of permission in
Manifest.permission list.

Any info will be highly appriciated.

Regards,
Caval.




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



Other Threads

1. Appropriate way to implement a list of GridView(s)

Please suggest the most appropriate way to implement a list of GridView
(s), having different number of items.

First problem was to have differnt height for each GridView. So, I
have successfully tried to create the GridView dynamically and
appending them to the ScrollView.
Is this appropriate?

But now I am concerned about peformance, as the list needs to be re-
drawn many times.
And we have lots of images that may scale, so GC got too much work to
do.
Any suggestions?

-- 

2. Keeping an Activity alive instead of destroying it?

Hi,

Is there a way to keep an Activity in memory after the user hits the
back button on it? Example:

  ActivityMainMenu (entry point)
     |
     --- ActivitySearch

ActivitySearch is used frequently in my app, however after the user
starts it up, then hits the back button, it's destroyed, and the next
visit to it requires it be built from scratch again.

If after its first construction, I could just request it be paused
instead of destroyed on the back button, then I could reuse it. Is
there a sensible way of doing this?

The only way I could think of reasonably doing it is to combine
ActivitySearch with ActivityMainMenu into a single activity, and
simply switch views when the user chooses search, but this is probably
a bad design.

Thanks

-- 

3. porting android for htc magic

4. wakeup wakelock issues

5. Is it possible to handle a call event ?

6. asus p320?

7. Error Building Eclair for a generic ARM target w/ ALSA