![]() |
2010-06-03
, 08:08
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#2
|
How can I hook into the same event that the Camera app uses - when you slide the shutter open it launches the app. I would like to open a popup window when the shutter is opened, and close it when the shutter is subsequently closed.
I could poll the same file the Healthcheck app uses (/sys/devices/platform/gpio-switch/cam_shutter/state), but this is not really satisfactory for my purposes.
I would also like to temporarily disable the Camera app from launching while my app is running...
...is there any DBus hackery I can use?
The Following User Says Thank You to noobmonkey For This Useful Post: | ||
![]() |
2010-06-03
, 09:28
|
Posts: 58 |
Thanked: 10 times |
Joined on Dec 2009
|
#3
|
The Following 2 Users Say Thank You to zolakt For This Useful Post: | ||
![]() |
2010-06-03
, 09:30
|
Posts: 388 |
Thanked: 842 times |
Joined on Sep 2009
@ Finland
|
#4
|
The Following 2 Users Say Thank You to hqh For This Useful Post: | ||
I could poll the same file the Healthcheck app uses (/sys/devices/platform/gpio-switch/cam_shutter/state), but this is not really satisfactory for my purposes.
I would also like to temporarily disable the Camera app from launching while my app is running...
...is there any DBus hackery I can use?