Thread
:
ApkEnv support module development
View Single Post
thp
2012-12-23 , 10:12
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#
36
Originally Posted by
coderus
can you force media volume to be changed when apkenv launched?
You mean that the +/- buttons are used for volume control? Should be possible by
setting a resource application class
. Patches welcome.
Originally Posted by
coderus
where to get init and try_init?
try_init in apkenv means "try to see if you can handle this apk", which usually means looking if the library provides the necessary symbols. init is then called when the module has been chosen as the one to use (both are used in apkenv.c). While try_init does not get any additional parameters apart from the module itself (and should not do/allocate anything, as it will be called in all modules in order of priority until a working one is found), init already gets the screen size (width, height) and data directory where to store files.
Quote & Reply
|
The Following 2 Users Say Thank You to thp For This Useful Post:
ranbaxy
,
Sourav.dubey
thp
View Public Profile
Send a private message to thp
Visit thp's homepage!
Find all posts by thp