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)

thedead1440 2013-01-31 07:58

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

Originally Posted by adunanzav3x (Post 1319345)
I'm not sure...i'll try to install that dependencies when the repository will be reactivated.
Thanks.

skeiron.org/repo/ has the dependencies too if you require them as stated on the top of this forum ;)

TMavica 2013-01-31 10:27

If have this one is nice
https://play.google.com/store/apps/d...=com.boyaa.cdd

online card games

coderus 2013-01-31 10:36

Re: [Announce] apkenv (N900, N950, N9)
 
online not supported by engine :)

TMavica 2013-01-31 10:40

Oic
Thanks

nessuno0986 2013-01-31 12:33

Re: [Announce] apkenv (N900, N950, N9)
 
hello everybody!
i installed apkenv one week ago (thx lorenzo) via N9QTweak but i have some problem. if i try to launch abspace or ab rio from desktop doesnt work. if i launch from terminal says missing library dependencies.
fruit ninja from desktop doesnt works correctly (slow) and from terminal doesnt starts for segmentation problem...
i really dont know what i have to do....

edit ab rio doesnt work for segmentation fault like fruit ninja

coderus 2013-01-31 13:48

Re: [Announce] apkenv (N900, N950, N9)
 
i think reason in N9qt.
if you need to fix it, you should do some operations manually.
are you ready?

Kozzi 2013-01-31 14:21

What are those .apkenv-XXXXXX files in /home/user/ , debug files?

thp 2013-01-31 14:27

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

Originally Posted by Kozzi (Post 1319439)
What are those .apkenv-XXXXXX files in /home/user/ , debug files?

They are the shared libraries extracted from the .apk files, and are usually deleted at the end. I just saw that the Pandora patch commented out the unlink() call (probably because it also introduced the ability to load more than one .so file from the .apk), so you can safely delete these files after apkenv has closed down.

nessuno0986 2013-01-31 15:00

Codereus i'm ready! Tell what i have to do!

harithler 2013-01-31 15:12

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

Originally Posted by RafaelVlmendes (Post 1286157)
The best tutorial for Nokia N9.

1° Download apkenv-qml 0.0.1 and install: Apkenv0.01
2° Download package Apkenv Apkenv
3° Unrar Apkenv. Example: \MyDocs\Apkenv
4° Write in terminal:
devel-su

rootme

cd /home/user/MyDocs/Apkenv

sh AndroidGames.sh

apt-get install libsdl1.2 libsdl-mixer1.2 libgles1-sgx-img

Close the Terminal
5° Open the Apkenv-qml and search the APK and your icon
6° Open the game in your menu.

i try install POU game but it show POU Undefined.. why it show like that?

Artyom 2013-01-31 16:27

Re: [Announce] apkenv (N900, N950, N9)
 
can someone please explain how to run the games? i dont want to be stuck with the old version!

coderus 2013-01-31 16:31

Re: [Announce] apkenv (N900, N950, N9)
 
get latest deb, install it
http://talk.maemo.org/attachment.php...2&d=1359544143
and launch
apkenv game.apk

panjgoori 2013-01-31 17:02

Re: [Announce] apkenv (N900, N950, N9)
 
any new version available for Maemo ?

Bundyo 2013-01-31 17:08

Quote:

Originally Posted by thp (Post 1319442)
They are the shared libraries extracted from the .apk files, and are usually deleted at the end. I just saw that the Pandora patch commented out the unlink() call (probably because it also introduced the ability to load more than one .so file from the .apk), so you can safely delete these files after apkenv has closed down.

Great news, that ;)

nessuno0986 2013-01-31 17:22

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

Originally Posted by coderus (Post 1319500)
get latest deb, install it
http://talk.maemo.org/attachment.php...2&d=1359544143
and launch
apkenv game.apk

i do it and after i reboot my device.

but....

if i try to launch with apken abspace.apk says not a native apk.
if i try to launch with apkenv /home/user/MyDocs/Apkenv/abspace.apk says missing libraly depandancies.

coderus 2013-01-31 18:07

Re: [Announce] apkenv (N900, N950, N9)
 
what game version you using? newest versions using GLES2 and not supported yet.

nbedford 2013-01-31 20:08

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

Originally Posted by coderus (Post 1319500)
get latest deb, install it
http://talk.maemo.org/attachment.php...2&d=1359544143
and launch
apkenv game.apk

But it's only working as root :confused: Shouldn't it work as user?

How to write .desktop to run as root?

As user
Code:

~ $ apkenv /home/user/MyDocs/apkenv/Fruit_Ninja_v1.5.4.apk
apkenv 42.3.15 - http://thp.io/2012/apkenv/
Copyright (c) 2012 Thomas Perl <m@thp.io>

Loaded module: /opt/apkenv/modules//generic.apkenv.so (2)
Loaded module: /opt/apkenv/modules//trg2.apkenv.so (64)
Loaded module: /opt/apkenv/modules//angrybirds.apkenv.so (64)
Loaded module: /opt/apkenv/modules//fruitninja.apkenv.so (64)
Loaded module: /opt/apkenv/modules//cuttherope.apkenv.so (64)
Loaded module: /opt/apkenv/modules//unity.apkenv.so (8)
Loaded module: /opt/apkenv/modules//worldofgoo.apkenv.so (64)
Using module: /opt/apkenv/modules//fruitninja.apkenv.so
open /dev/sequencer or /dev/snd/seq: No such file or directory
signal 11 (Segmentation fault), address is (nil) from 0x41090550
[bt]: (1) /lib/libc.so.6(fwrite+0x2c) [0x41090550]
[bt]: (2) /lib/libc.so.6(fwrite+0x2c) [0x41090550]
[bt]: (3) /opt/apkenv/modules//fruitninja.apkenv.so(extract_files_callback+0x94) [0x3aeaaa9c]
[bt]: (4) apkenv [0x17184]
[bt]: (5) /opt/apkenv/modules//fruitninja.apkenv.so [0x3aeaa584]
[bt]: (6) apkenv [0xfff8]
[bt]: (7) /lib/libc.so.6(__libc_start_main+0x118) [0x410453cc]

As root
Code:

~ # apkenv /home/user/MyDocs/apkenv/Fruit_Ninja_v1.5.4.apk
apkenv 42.3.15 - http://thp.io/2012/apkenv/
Copyright (c) 2012 Thomas Perl <m@thp.io>

Loaded module: /opt/apkenv/modules//generic.apkenv.so (2)
Loaded module: /opt/apkenv/modules//trg2.apkenv.so (64)
Loaded module: /opt/apkenv/modules//angrybirds.apkenv.so (64)
Loaded module: /opt/apkenv/modules//fruitninja.apkenv.so (64)
Loaded module: /opt/apkenv/modules//cuttherope.apkenv.so (64)
Loaded module: /opt/apkenv/modules//unity.apkenv.so (8)
Loaded module: /opt/apkenv/modules//worldofgoo.apkenv.so (64)
Using module: /opt/apkenv/modules//fruitninja.apkenv.so
open /dev/sequencer or /dev/snd/seq: No such file or directory

Game works

Artyom 2013-01-31 20:14

Re: [Announce] apkenv (N900, N950, N9)
 
coderus, thank you very much for the explanation.
Quote:

Originally Posted by nessuno0986 (Post 1319518)
if i try to launch with apkenv /home/user/MyDocs/Apkenv/abspace.apk says missing libraly depandancies.

this worked for me. thank you also.

szopin 2013-01-31 20:27

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

Originally Posted by panjgoori (Post 1319510)
any new version available for Maemo ?

Nope. Latest updates killed Fremantle compatibility. Version from couple of days ago freezes the phone totally on ABS, plays Fruit Ninja on half screen. Version from today on Fruit complains on lack of Mix_OpenAudio (or something like that now it says Not native apk after few reboots due to ABS testing, btw cool trick to kill phone nicely in such state: hold the power down while inserting charger, somehow the kill signal gets passededit: worked twice, third time didn't disregard that, weird), freezes all else. ldd suggests a lot of libs got kicked out, probably untested on N900.

B-RUNO 2013-01-31 20:53

Re: [Announce] apkenv (N900, N950, N9)
 
1 Attachment(s)
For the N900 Lovers here is the latest compiled version of the apkenv for fremantle!
All angrybirds and amazing alex are working well now and cute the rope as well.

Regards to all.

szopin 2013-01-31 20:56

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

Originally Posted by B-RUNO (Post 1319574)
For the N900 Lovers here is the latest compiled version of the apkenv for fremantle!
All angrybirds and amazing alex are working well now and cute the rope as well.

Regards to all.

Wow, thanks! How did you compile it? I guess FREMANTLE=1 is not enough?

B-RUNO 2013-01-31 21:28

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

Originally Posted by szopin (Post 1319575)
Wow, thanks! How did you compile it? I guess FREMANTLE=1 is not enough?

Under scratchbox;
Make sure you have installed this libraries
libsdl1.2 libsdl-mixer1.2 libgles1-sgx-img libsdl-gles1.2-1 so it meet all dependencies.

After having all this installed just run the command inside scratchbox
Code:

FREMANTLE=1 DEBUG=1 make
And bingo! :D

szopin 2013-01-31 21:33

Re: [Announce] apkenv (N900, N950, N9)
 
On device building here I'm afraid. 3 versions ago worked. (btw previous version didn't ask me for libpng12-dev as most recent, even though ldd shows it, so confused right now). Will check if debug helps (usually disable it and strip bins, no idea how this could impact though...)

szopin 2013-01-31 21:35

Re: [Announce] apkenv (N900, N950, N9)
 
Oh... and forgot to mention your version tears audio, Fruit is so slow as unplayable (but fullscreen properly), ABS loaded for over 5mins for me until I killed it... Would CSSU be required now??? Don't think any of my latest installs (especially with repos down) would cause this, OC to 850, totally confused. Will try on fresh flashed device

Artyom 2013-01-31 21:36

Re: [Announce] apkenv (N900, N950, N9)
 
anyone want to tell how to add desktop shortcuts?

myname24 2013-01-31 21:45

Re: [Announce] apkenv (N900, N950, N9)
 
apkenv --install /path/to/file.apk

Mric 2013-01-31 21:49

Re: [Announce] apkenv (N900, N950, N9)
 
Trying to run: autocad (technical drawing application viewer) :)
I have installed apkenv.deb file but when I try to lunch the application using this command:
Code:

apkenv autocad.apk
Not a native APK.

I have also tried to install the app:

Code:

apkenv --install home/user/MyDocs/autocad.apk
opeation: Assertion 'fp != ((void)*0)' failed.
aborted

Does it mean this application is not yet compatible ? :(

Thank you

edit: Just tried to run fruit Ninja: it runs well

myname24 2013-01-31 22:26

Re: [Announce] apkenv (N900, N950, N9)
 
@Mric
http://wiki.maemo.org/Apkenv

p.s : someone should update the wiki .

Mric 2013-01-31 22:34

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

Originally Posted by myname24 (Post 1319619)
@Mric
http://wiki.maemo.org/Apkenv

p.s : someone should update the wiki .

Great but how does this help me ?
Cut the rope is listed as incompatible.. but it is :)

edit:
Coderus explain in a previous post that there is no launcher for the apps not supported so I guess no point trying other apps than the one he listed before.

nessuno0986 2013-02-01 11:29

@coderus i really dont know what the version is. Notingh change if i'm root or user.. Someone can post the apk that works?

adunanzav3x 2013-02-01 13:36

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

Originally Posted by B-RUNO (Post 1319583)
Under scratchbox;
Make sure you have installed this libraries
libsdl1.2 libsdl-mixer1.2 libgles1-sgx-img libsdl-gles1.2-1 so it meet all dependencies.

After having all this installed just run the command inside scratchbox
Code:

FREMANTLE=1 DEBUG=1 make
And bingo! :D

For the N900 Lovers here is the latest compiled version of the apkenv for fremantle!
All angrybirds and amazing alex are working well now and cute the rope as well.

Regards to all

YOU - ARE - GREAT
Many thanks for the explanation! :D

Mric 2013-02-01 14:34

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

Originally Posted by nessuno0986 (Post 1319796)
@coderus i really dont know what the version is. Notingh change if i'm root or user.. Someone can post the apk that works?

It is against forum rules to post apk !
Just google version 1.0

adunanzav3x 2013-02-01 16:00

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

Originally Posted by B-RUNO (Post 1319574)
For the N900 Lovers here is the latest compiled version of the apkenv for fremantle!
All angrybirds and amazing alex are working well now and cute the rope as well.

Regards to all.

http://talk.maemo.org/showpost.php?p...&postcount=858

Unfortunately i found a general slowdown...we can't play :(
Anybody have this problem?

lorenzo 2013-02-01 16:00

Re: [Announce] apkenv (N900, N950, N9)
 
for me angry birds don't work anymore with the new modules, am i the only one?
it doesn't load the module angrybirds.apkenv.so

and where to put the .png? cause if i try apkenv --install game.apk it tells me cannot extract icon from game.apk

coderus 2013-02-01 16:24

Re: [Announce] apkenv (N900, N950, N9)
 
@you dont know .desktop file structure?

lorenzo 2013-02-01 16:33

Re: [Announce] apkenv (N900, N950, N9)
 
here? /usr/share/icons/hicolor/80x80/apps

B-RUNO 2013-02-01 16:52

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

Originally Posted by adunanzav3x (Post 1319891)
http://talk.maemo.org/showpost.php?p...&postcount=858

Unfortunately i found a general slowdown...we can't play :(
Anybody have this problem?

I did noticed a bit of lag with the last apkenv update but I thought that was only on my n900, so there is definetely an issue in the code that slows down the game perfomance in the n900, as far as I'm aware at leats 3 or 4 persons reported the issue.

What about the N9 users do you guys have any lag with the latest update?

Artyom 2013-02-01 16:56

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

Originally Posted by B-RUNO (Post 1319916)
I did noticed a bit of lag with the last apkenv update but I thought that was only on my n900, so there is definetely an issue in the code that slows down the game perfomance in the n900, as far as I'm aware at leats 3 or 4 persons reported the issue.

What about the N9 users do you guys have any lag with the latest update?

fruit ninja 1.5.4 gameplay is slow. not laggy but like slowmotion. the others are working fine.

Artyom 2013-02-01 16:58

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

Originally Posted by lorenzo (Post 1319908)
here? /usr/share/icons/hicolor/80x80/apps

if you succeed to install the icons with the code it puts the icons here:

/home/user/.apkenv/filename.apk.png

edit: this is for the n9 i dont know if n900 has the same path.

lorenzo 2013-02-01 17:01

Re: [Announce] apkenv (N900, N950, N9)
 
just tried fn 1.5.2 on N900 with last modules and old apkenv and works line on android


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

vBulletin® Version 3.8.8