maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   ApkEnv support module development (https://talk.maemo.org/showthread.php?t=88250)

disappear 2012-12-22 19:32

Re: ApkEnv support module development
 
Hi Art-O if you have a time could you try to run that file
http://dox.bg/files/dw?a=80af969fc0
regards
edit:
I did't notes this before
Quote:

Orginally posted by Art-0
I don't have one so I can't test that.
sorry for question man

coderus 2012-12-23 04:21

Re: ApkEnv support module development
 
i have fruitninja sound.

also a question to @thp: can you force media volume to be changed when apkenv launched?

coderus 2012-12-23 05:30

Re: ApkEnv support module development
 
also to @thp and @Art-0:
where to get init and try_init? i cant understand java classes yet :)

B-RUNO 2012-12-23 09:38

Re: ApkEnv support module development
 
Quote:

Originally Posted by coderus (Post 1306971)
i have fruitninja sound

Hey coderus just for a matter of fact do you have a N900 or N9?
Regards
Bruno

coderus 2012-12-23 09:48

Re: ApkEnv support module development
 
N9 of course :)

thp 2012-12-23 10:12

Re: ApkEnv support module development
 
Quote:

Originally Posted by coderus (Post 1306971)
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.

Quote:

Originally Posted by coderus (Post 1306977)
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.

Art-O 2012-12-23 10:44

Re: ApkEnv support module development
 
Quote:

Originally Posted by B-RUNO (Post 1306909)
Hey Art-O i noticed that you updated the fruitninja module, I've tried the new one but there is no sound, sorry if I'm the only one with the problem anyone?

Fruit Ninja uses ogg files for sound and it seems that N900 offical libsdl-mixer lacks support for these: http://talk.maemo.org/archive/index.php/t-81792.html.

But there seems to be libsdl-mixer1.2 version 1.2.6-5+0m5+ogg+mp3 in extras(?) repository. Can you get this version installed and test fruit ninja with that?

biketool 2012-12-23 11:33

Re: ApkEnv support module development
 
Probably been covered before, why won't the linux android/dalvik dev environemtn compile for Maemo5? Or is it too much a resource hog?

Kozzi 2012-12-23 11:36

Re: ApkEnv support module development
 
Is it possible to have binary file for n9 with added suport for those modules?

coderus 2012-12-23 12:34

Re: ApkEnv support module development
 
@thp, thanks, i understang that.
but where to get functions to put inside init? AB anf FN calling native_init but FN also calling native_initfilemanager and native_setapplicensed. i'm checking World Of Goo and it have no any "init" function inside classes.

i cant find any functions getting args: width, height, apk path.


All times are GMT. The time now is 19:34.

vBulletin® Version 3.8.8