maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [Announce] apkenv (N900, N950, N9) (https://talk.maemo.org/showthread.php?t=87496)

Arsenalter 2013-01-15 13:04

Re: [Announce] apkenv (N900, N950, N9)
 
will we see Contre Jour in apkenv? i think this game deserve our attention

nodevel 2013-01-15 14:42

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by marmistrz (Post 1315086)
Maybe chrooting android like easy debian lxde would be a better way out?

Yes, plus it has been achieved on webOS http://m.webosnation.com/russian-dev...oid-love-webos .

marmistrz 2013-01-15 14:45

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by nodevel (Post 1315125)
Yes, plus it has been achieved on webOS http://m.webosnation.com/russian-dev...oid-love-webos .

Anyone willing to try this? I might help with something

TMavica 2013-01-15 15:18

Quote:

Originally Posted by coderus (Post 1315069)
I want a normal android device, LOL :D

i got it , LOL

amr.fayz 2013-01-28 16:15

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by marmistrz (Post 1315086)
Maybe chrooting android like easy debian lxde would be a better way out?


What about the use of this

https://github.com/Spidey01/android-...chroot-scripts


Is it possible someone reflects it for using a Android chroot on maemo .

coderus 2013-01-28 17:12

Re: [Announce] apkenv (N900, N950, N9)
 
@amr.fayz this is inverse feature we wants :D

marmistrz 2013-01-28 17:36

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by coderus (Post 1318468)
@amr.fayz this is inverse feature we wants :D

Maybe... qole can help. He did a lot of chroot scripts.

coderus 2013-01-28 17:58

Re: [Announce] apkenv (N900, N950, N9)
 
missed something?
http://thpmaemo.blogspot.ru/2012/10/...mattan-in.html

marmistrz 2013-01-28 18:51

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by coderus (Post 1318488)

I already know this. I'm getting "failed to start dalvikvm" on N900.

thp 2013-01-29 00:07

Re: [Announce] apkenv (N900, N950, N9)
 
Some news on the apkenv front: Pandora patchset by crowriot. Check the Git repo.

http://youtu.be/XSh65fT-3Ds

Kozzi 2013-01-29 19:55

Could somebody compile the latest version on github for N9(00)?

myname24 2013-01-29 20:27

Re: [Announce] apkenv (N900, N950, N9)
 
1 Attachment(s)
Quote:

Originally Posted by Kozzi (Post 1318889)
Could somebody compile the latest version on github for N9(00)?

here it is for N9

xes 2013-01-29 21:49

Re: [Announce] apkenv (N900, N950, N9)
 
1 Attachment(s)
Latest build for N900..

BUT nothing is working. Trying cuttherope 1.4:


Cannot load module: /opt/apkenv/modules/cuttherope.apkenv.so
Wrong module ABI version: 10001 (need 10000)
No support modules found.
Not supported yet, but found JNI methods:
Java_com_zeptolab_ctr_CtrRenderer_nativePlaybackFi nished
JNI_OnLoad
JNI_OnUnload
Java_com_zeptolab_ctr_CtrResourceLoader_getLocaliz ed
Java_com_zeptolab_ctr_billing_CtrBillingManager_pu rchased
Java_com_zeptolab_ctr_CtrRenderer_nativeResize
Java_com_zeptolab_ctr_CtrRenderer_videoBannerReque stAdButton
Java_com_zeptolab_ctr_CtrRenderer_videoBannerFinis hed
Java_com_zeptolab_ctr_CtrRenderer_freeDirect
Java_com_zeptolab_ctr_CtrRenderer_allocDirect
Java_com_zeptolab_ctr_CtrRenderer_nativeMenuPresse d
Java_com_zeptolab_ctr_CtrRenderer_nativeBackPresse d
Java_com_zeptolab_ctr_CtrRenderer_nativeDrawFps
Java_com_zeptolab_ctr_CtrRenderer_nativeCpuIndex
Java_com_zeptolab_ctr_CtrRenderer_nativeTouchProce ss
Java_com_zeptolab_ctr_CtrRenderer_nativeTouchAdd
Java_com_zeptolab_ctr_CtrRenderer_nativeRender
Java_com_zeptolab_ctr_CtrRenderer_nativeTick
Java_com_zeptolab_ctr_CtrRenderer_nativePause
Java_com_zeptolab_ctr_CtrRenderer_nativeResume
Java_com_zeptolab_ctr_CtrRenderer_nativeDestroy
Java_com_zeptolab_ctr_CtrRenderer_nativeInit
Java_com_zeptolab_ctr_CtrSaveManager_restoreBroken
Java_com_zeptolab_ctr_CtrSaveManager_restoreSucces s

Errors during make:
#FREMANTLE=1 make

CC apkenv.o
apkenv.c: In function ‘apk_basename’:
apkenv.c:198: warning: return discards qualifiers from pointer target type
CC linker/dlfcn.o
CC linker/linker.o
linker/linker.c: In function ‘insert_soinfo_into_debug_map’:
linker/linker.c:177: warning: assignment makes pointer from integer without a cast
CC linker/linker_environ.o
CC linker/linker_format.o
CC linker/rt.o
CC linker/strlcpy.o
CC compat/gles2_wrappers.o
CC compat/gles_wrappers.o
compat/gles_wrappers.c: In function ‘gles_extensions_init’:
compat/gles_wrappers.c:40: warning: assignment makes pointer from integer without a cast
compat/gles_wrappers.c:41: warning: assignment makes pointer from integer without a cast
compat/gles_wrappers.c:42: warning: assignment makes pointer from integer without a cast
compat/gles_wrappers.c:43: warning: assignment makes pointer from integer without a cast
compat/gles_wrappers.c:44: warning: assignment makes pointer from integer without a cast
compat/gles_wrappers.c:45: warning: assignment makes pointer from integer without a cast
compat/gles_wrappers.c:46: warning: assignment makes pointer from integer without a cast
compat/gles_wrappers.c:47: warning: assignment makes pointer from integer without a cast
compat/gles_wrappers.c:48: warning: assignment makes pointer from integer without a cast
compat/gles_wrappers.c:49: warning: assignment makes pointer from integer without a cast
compat/gles_wrappers.c:50: warning: assignment makes pointer from integer without a cast
compat/gles_wrappers.c:51: warning: assignment makes pointer from integer without a cast
compat/gles_wrappers.c:52: warning: assignment makes pointer from integer without a cast
compat/gles_wrappers.c:53: warning: assignment makes pointer from integer without a cast
compat/gles_wrappers.c:54: warning: assignment makes pointer from integer without a cast
CC compat/hooks.o
CC compat/libc_wrappers.o
CC compat/liblog_wrappers.o
CC compat/pthread_wrappers.o
CC apklib/apklib.o
CC apklib/ioapi.o
CC apklib/ioapi_mem.o
CC apklib/unzip.o
CC jni/jnienv.o
CC jni/shlib.o
CC imagelib/loadjpeg.o
CC imagelib/loadpng.o
CC debug/debug.o
CC n9xx/platform.o
LINK apkenv
MOD angrybirds.apkenv.so
MOD cuttherope.apkenv.so
MOD fruitninja.apkenv.so
MOD generic.apkenv.so
MOD trg2.apkenv.so
MOD unity.apkenv.so
modules/unity.c: In function ‘JNIEnv_GetStaticObjectField’:
modules/unity.c:88: warning: initialization from incompatible pointer type
modules/unity.c:94: warning: assignment from incompatible pointer type
MOD worldofgoo.apkenv.so

Hariainm 2013-01-29 23:17

Re: [Announce] apkenv (N900, N950, N9)
 
1 Attachment(s)
Quote:

Originally Posted by myname24 (Post 1318903)
here it is for N9

It's not working fine, look at this (Fruit Ninja 1.5.4)
Attachment 30784

myname24 2013-01-29 23:25

Re: [Announce] apkenv (N900, N950, N9)
 
i just compiled it . I just tested angry birds and fruit ninja 1.5.4 and both are working fine

mdbxh 2013-01-30 04:27

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by hariainm (Post 1318947)
it's not working fine, look at this (fruit ninja 1.5.4)
Attachment 30784

+1
( >﹏<。)~

coderus 2013-01-30 06:22

Re: [Announce] apkenv (N900, N950, N9)
 
@xes same error for harmattan
@myname24 how you compiled it? ><

Kozzi 2013-01-30 06:39

Could this error have something to do with orientation bug?
Code:

Using module: /opt/apkenv/modules//fruitninja.apkenv.so
open /dev/sequencer or /dev/snd/seq: No such file or directory

Funny that yesterday it loaded Angry Birds Space and Rio without problem (exl. the bug above) but today it returned this instead:
Code:

Using module: /opt/apkenv/modules//angrybirds.apkenv.so
signal 11 (Segmentation fault), address is (nil) from 0x410ad564
[bt]: (1) /lib/libc.so.6(memcpy+0x74) [0x410ad564]
[bt]: (2) /lib/libc.so.6(memcpy+0x74) [0x410ad564]

I wonder what version of Cut the Rope tph used in the video. For me it loaded trg2.apkenv.so instead of cuttherope.apkenv.so

myname24 2013-01-30 08:09

Re: [Announce] apkenv (N900, N950, N9)
 
@coderus i used this in scratchbox : dpkg-buildpackage -rfakeroot -b

and fruit ninja works fine only when run with root . And for the landscape bug i have it when running cut the rope and instantly crash after fully loading the progress bar .

Edit : eveng after forcing portrait (apps also ) from home screen settings and after trying many versions still the same result .

Kozzi 2013-01-30 09:20

@myname24
What version of Cut the Rope did you use? The latest version (2.0.1) keeps loading trg2 module instead of cuttherope module. With root access I'm now able to run Angry Birds Space but the landscape bug is still there, Fruit ninja doesn't even want to load :D

thedead1440 2013-01-30 09:36

Re: [Announce] apkenv (N900, N950, N9)
 
Cut the Rope's latest module name is trg2...

myname24 2013-01-30 10:04

Re: [Announce] apkenv (N900, N950, N9)
 
when i removed cut the rope module and now it's using trg2 module it does't even show the loading screen

thp 2013-01-30 10:58

Re: [Announce] apkenv (N900, N950, N9)
 
The two bugs have been fixed in Git now:

https://github.com/thp/apkenv/commit/ba9adad2a7
https://github.com/thp/apkenv/commit/490ea3ed10

thedead1440 2013-01-30 11:09

Re: [Announce] apkenv (N900, N950, N9)
 
1 Attachment(s)
Using the latest commits; attached is the apkenv for Harmattan... Haven't tried anything except for Fruit Ninja and Cut the Rope on it...

myname24 2013-01-30 11:12

Re: [Announce] apkenv (N900, N950, N9)
 
1 Attachment(s)
here is the new one . Thanks to thp for the quick fixes .

and cut the rope is now working and it's module is cuttherope.so not trg2 .

EDit : Thedead1440 was faster than me :)

Hariainm 2013-01-30 16:30

Re: [Announce] apkenv (N900, N950, N9)
 
working fine now, thanks guys. but, a question, what are the line i should put in the launcher (*.desktop file) to launch the games? it only works in terminal when in root. how to run apkenv as root? should i use invoker? should i not use root at all, chown and chmod apkenv files to user?

this is not working:
Code:

[Desktop Entry]
Name=Fruit Ninja
Comment=Fruit Ninja
Icon=fruitninja80
Exec=/usr/bin/apkenv /home/user/MyDocs/APK/Fruit_Ninja_v1.5.4.apk
Type=Application
Categories=Development;


coderus 2013-01-30 16:50

Re: [Announce] apkenv (N900, N950, N9)
 
meego-style icon for Cut The Rope please :)

lorenzo 2013-01-30 16:56

Re: [Announce] apkenv (N900, N950, N9)
 
@coderus
http://talk.maemo.org/showpost.php?p...&postcount=198

coderus 2013-01-30 17:01

Re: [Announce] apkenv (N900, N950, N9)
 
yay! thanks!

yam603 2013-01-30 18:49

Re: [Announce] apkenv (N900, N950, N9)
 
Hi@all,

which version of cut the rope did you use?
I tested 1.4, 2.0.1 and 2.1 ...
apkenv allways uses the generic module instead of cuttherope.so

thanks
yam603

myname24 2013-01-30 19:22

Re: [Announce] apkenv (N900, N950, N9)
 
move (do not delete ) generic.so outside of /opt/apkenv/modules and try again .

P.s : to install directly use apkenv --install /ur/file.apk

Kozzi 2013-01-30 19:22

Same situation, I have also tried with 1.4.1, 1.4.4 and all in both normal and HD :(

coderus 2013-01-30 19:45

Re: [Announce] apkenv (N900, N950, N9)
 
v1.0.0 only :)

nbedford 2013-01-30 21:09

Re: [Announce] apkenv (N900, N950, N9)
 
I'm not sure what I am doing wrong, but when i run apkenv --install whatever.apk I end up with a green squircle which doesn't appear to start my game, yet when I run apkenv whatever.apk frmo terminal (as devel-su) it works fine.

Are other using the --install option, or creating .desktop files by hand?
Where is the best pace to keep my .apk files (they are currently in MyDocs) should I move them into /home /user?

Any advice for best practices for using apkenv would be appreciated.

Thanks

myname24 2013-01-30 21:48

Re: [Announce] apkenv (N900, N950, N9)
 
I have cut the rope 1.3.1 working great .

EDIT: not that great because it doesn't save progress .

adunanzav3x 2013-01-30 22:42

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by adunanzav3x (Post 1306369)
Hi thp

The result of sudo FREMANTLE=1 make is this:
Code:

-e        CC        apkenv.o
apkenv.c:37:21: fatal error: SDL/SDL.h: File or directory does not exist
compilation terminated.
make: *** [apkenv.o] Errore 1

How can i resolve it?

cheers

Still the same problem,anyone can help me? :(:(:(:(

Kozzi 2013-01-30 22:50

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by nbedford (Post 1319248)
...
Any advice for best practices for using apkenv would be appreciated.

Thanks

currently my setup is
apks : Downloads/APK/
icons: /home/user/.apkenv/icons/
dekstops: /home/user/.local/share/applications/
name for desktop apkenv-Name_of_Game.desktop

Btw, all versions from 1.0.0 to 1.3.1 of Cut the Rope work.

Edit. saving also stopped working for Fruit Ninja.

skate_boy92 2013-01-31 04:27

Re: [Announce] apkenv (N900, N950, N9)
 
Is the deb file able used for N900?

thedead1440 2013-01-31 04:38

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by adunanzav3x (Post 1319264)
Still the same problem,anyone can help me? :(:(:(:(

Do you have all the dependencies in your scratchbox? It seems libsdl or something related is missing I think...

adunanzav3x 2013-01-31 07:52

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by thedead1440 (Post 1319305)
Do you have all the dependencies in your scratchbox? It seems libsdl or something related is missing I think...

I'm not sure...i'll try to install that dependencies when the repository will be reactivated.
Thanks.


All times are GMT. The time now is 16:44.

vBulletin® Version 3.8.8