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)

Craig_Mabbitt 2012-10-22 13:46

Re: [Announce] apkenv (N900, N950, N9)
 
for my n9 works this
Code:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name=Angry Birds Space
Exec=/bin/apkenv /home/user/MyDocs/android/abs.apk
Categories=Games;
Icon=/home/user/MyDocs/android/.icon/abs.png
X-HildonDesk-ShowInToolbar=true
X-Window-Icon=
X-Window-Icon-Dimmed=
X-Osso-Type=application/x-executable

and i tried yandex maps - Missing library dependencies

Artyom 2012-10-22 14:01

Re: [Announce] apkenv (N900, N950, N9)
 
this can also work with some apps. All we need is more .so files. :)

coderus 2012-10-22 14:04

Re: [Announce] apkenv (N900, N950, N9)
 
i don't think this can work with internet to load map data, or gps.

Artyom 2012-10-22 14:06

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

Originally Posted by ibrakalifa (Post 1283817)
as user, :/

but still no luck with fruitninja, T_T
and on normal mode, no inception too, xD

there is no need for open mode or inception on fruit ninja. İt worked fine on my device.

thedead1440 2012-10-22 14:06

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

Originally Posted by Artyom (Post 1283933)
this can also work with some apps. All we need is more .so files. :)

Well i took from my ICS-running droid all the libs from /system/lib and copied it over and those apps that are not working tried them out all still don't work...

coderus 2012-10-22 14:16

Re: [Announce] apkenv (N900, N950, N9)
 
let thp to work self =)

Artyom 2012-10-22 14:17

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

Originally Posted by thedead1440 (Post 1283937)
Well i took from my ICS-running droid all the libs from /system/lib and copied it over and those apps that are not working tried them out all still don't work...

have you tried apps that uses its own ui?

Artyom 2012-10-22 14:20

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

Originally Posted by coderus (Post 1283934)
i don't think this can work with internet to load map data, or gps.

not only apps that use internet data others too.

Sniper_swe 2012-10-22 14:24

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

Originally Posted by Kozzi (Post 1283880)
Got it to work with the shell trick:

/home/user/apkenv/run.sh
Code:

#!/bin/sh
cd /home/user/apkenv/

case "$1" in
'fruitninja')
./apkenv /home/user/MyDocs/Downloads/Fruit_Ninja_v.1.5.4.apk;;
'angrybirdsspace')
./apkenv /home/user/MyDocs/Downloads/Angry_Birds_Space_Premium_1.0.1.apk;;
esac

fruit_ninja.desktop:
Code:

[Desktop Entry]
Encoding=UTF-8
Version=1.5.4
Type=Application
Terminal=false
Exec=sh /home/user/apkenv/run.sh fruitninja
Name=Fruit Ninja
Icon=/home/user/apkenv/Icons/fn80.png

angry_birds_space.desktop
Code:

[Desktop Entry]
Encoding=UTF-8
Version=1.0.1
Type=Application
Terminal=false
Exec=sh /home/user/apkenv/run.sh angrybirdsspace
Name=Angry Birds Space
Icon=/home/user/apkenv/Icons/abs80.png

place two desktop file into /usr/share/applications/
apk file to MyDocs/Downloads and now I can run them from homescreen without root access. My script didn't work before because I placed the desktop files into /home/user/.local/share/applications :D

Thx for the scripts. however i cant get them working.

Can anyone find where i have gone wrong?

Code:

#!/bin/sh
cd /home/apkenv

case "$1" in
'fruitninja')
./apkenv.harmattan.2012-10-21b /home/apkenv/Fruit_Ninja_v1.5.4.apk;;
'angrybirdsspace')
./apkenv.harmattan.2012-10-21b /home/apkenv/Angry_Birds_Space_.apk;;
esac

Code:

[Desktop Entry]
Encoding=UTF-8
Version=1.5.4
Type=Application
Terminal=true
Exec=sh /home/apkenv/run.sh fruitninja
Name=Fruit Ninja
Icon=/home/apkenv/Icons/fn80.png

Code:

[Desktop Entry]
Encoding=UTF-8
Version=1.0.1
Type=Application
Terminal=false
Exec=sh /home/apkenv/run.sh angrybirdsspace
Name=Angry Birds Space
Icon=/home/apkenv/Icons/abs80.png


thedead1440 2012-10-22 14:34

Re: [Announce] apkenv (N900, N950, N9)
 
Sniper_swe you may want to put it in /home/user/ instead of /home/ to try it...

gm90_blackmamba 2012-10-22 14:38

Re: [Announce] apkenv (N900, N950, N9)
 
Hi guys, angrybirds space v1.0.0 and fruit ninja v1.5.4 works perfectly on my n900, angry birds classic v.2.3.0 works ok with overlock. :):)

edit:

monopoly v.0.0.42 don't work

Code:

Home directory /home/user/ not ours.

Sniper_swe 2012-10-22 14:40

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

Originally Posted by thedead1440 (Post 1283947)
Sniper_swe you may want to put it in /home/user/ instead of /home/ to try it...

Yeah that might be the problem. gonna try

Estel 2012-10-22 15:00

Re: [Announce] apkenv (N900, N950, N9)
 
thp, repeating important question, as it might have been missed, under spam from wanna-be ninjas and infuriated blue birds...

Quote:

Originally Posted by Estel (Post 1283489)
Hey, how this thing is licensed? Why doesn't it follow same licensing scheme, as used by preenv (similar situation)?

Quote:

Originally Posted by Hurrian (Post 1283620)
By the way, under what license is this licensed?

Thanks in advance for answer.

/Estel

Mitrigol 2012-10-22 15:02

Re: [Announce] apkenv (N900, N950, N9)
 
Okay, so i tried this on my n900 and n9.
I confirm Fruti ninja 1.5.4 to load.

But little question to all of you telling it "work":

Do you also get the segfault when Game Over?
Does the game exit if you cut the "Quit" button on main menu?
If you load a game, are you able to get back to the main menu using the "Pause" button without a segfault?

Thank you for your answers

Artyom 2012-10-22 15:14

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

Originally Posted by Mitrigol (Post 1283962)
Okay, so i tried this on my n900 and n9.
I confirm Fruti ninja 1.5.4 to load.

But little question to all of you telling it "work":

Do you also get the segfault when Game Over?
Does the game exit if you cut the "Quit" button on main menu?
If you load a game, are you able to get back to the main menu using the "Pause" button without a segfault?

Thank you for your answers

In the classic game mode I also get the seg fault when game over. Arcade mode has no problems.
Quit didn't work on my device, the game freezes when I slash it.
In arcade mode I can get back to the main menu without any problem. Haven't tried at classic mode.

Fallenzone 2012-10-22 15:21

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

mkdir -p /home/user/apkenv
but get this message

Code:

mkdir: can't create directory '/home/user/apkenv' : Premission denied
is there some steps i havent did :confused:?

thedead1440 2012-10-22 15:33

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

Originally Posted by Fallenzone (Post 1283973)
Code:

mkdir -p /home/user/apkenv
but get this message

Code:

mkdir: can't create directory '/home/user/apkenv' : Premission denied
is there some steps i havent did :confused:?

Do it as user not root...

Mitrigol 2012-10-22 15:35

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

I tried both on my N900 and N9 and the only way i got this error was on my N9 and logged as root.
So, i assume you have an N9 and advice you to try as a regular user ^^

@Artyom

Thank, i did not test arcade mode. it also does not crash on my device.

Fallenzone 2012-10-22 15:47

Re: [Announce] apkenv (N900, N950, N9)
 
@thedead1440 ,Mitrigol

thanks a lot !!!!!

Artyom 2012-10-22 15:53

Re: [Announce] apkenv (N900, N950, N9)
 
can anyone pm me for the working version of angry birds space?

MINKIN2 2012-10-22 16:15

Re: [Announce] apkenv (N900, N950, N9)
 
Please do not request others to participate in the sharing of propriety software :)


By the way, has anyone tried N.O.V.A? Love that game.

Fallenzone 2012-10-22 16:18

Re: [Announce] apkenv (N900, N950, N9)
 
sorry I have a question again...

Code:

chmod +x apkenv

but still get the message


Code:

/bin/sh: ./apkenv : Permission denied

Schturman 2012-10-22 16:24

Re: [Announce] apkenv (N900, N950, N9)
 
Fruit and Angry birds spase work like a charm, but srange, after running this command:
Code:

apt-get install libsdl1.2 libsdl-mixer1.2 libgles1-sgx-img
I got is already newest version :eek::D And I don't know which package installed this dependencies before :D

AMD 2012-10-22 16:34

Re: [Announce] apkenv (N900, N950, N9)
 
Did all steps but:
sh: ./apkenv: not found
?!

khan.orak 2012-10-22 16:46

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

Originally Posted by AMD (Post 1284003)
Did all steps but:
sh: ./apkenv: not found
?!

go to the directory where you've placed apkenv. then try this. hope it helps.

Schturman 2012-10-22 16:49

Re: [Announce] apkenv (N900, N950, N9)
 
Small guide,maybe also will help for some people (I have only inception, not nitdroid or open mode)

GUIDE
1. Open terminal as USER and:
Code:

mkdir -p /home/user/MyDocs/Apkenv/Packages
2. Transfer Fruit_ninja.apk and AB_space.apk from your PC to:
Code:

/home/user/MyDocs/Apkenv
3. download apkenv.harmattan.2012-10-21b and lib****.so files from thp site: http://thp.io/2012/apkenv/ to
Code:

/home/user/MyDocs/Apkenv/Packages
4. Insert this 2 command In terminal as ROOT:
Code:

devel-su user -c "mkdir -p /home/user/apkenv && cp -f /home/user/MyDocs/Apkenv/Packages/apke* /home/user/apkenv/apkenv && cp -R /home/user/MyDocs/Apkenv/Packages/*.so /home/user/apkenv && chmod 775 /home/user/apkenv/apkenv"
and second:
Code:

apt-get install libsdl1.2 libsdl-mixer1.2 libgles1-sgx-img
5. for start game open terminal as USER:
Code:

cd /home/user/apkenv
./apkenv /home/user/MyDocs/Apkenv/Fruit_ninja.apk

or

Code:

./apkenv /home/user/MyDocs/Apkenv/AB_space.apk
:D

AMD 2012-10-22 16:53

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

Originally Posted by Schturman (Post 1284009)
Small guide,maybe also will help for some people (I have only inception, not nitdroid or open mode)

GUIDE
1. Open terminal as USER and:
Code:

mkdir -p /home/user/MyDocs/Apkenv/Packages
2. Transfer Fruit_ninja.apk and AB_space.apk from your PC to:
Code:

/home/user/MyDocs/Apkenv
3. download apkenv.harmattan.2012-10-21b and lib****.so files from thp site: http://thp.io/2012/apkenv/ to
Code:

/home/user/MyDocs/Apkenv/Packages
4. Insert this 2 command In terminal as ROOT:
Code:

devel-su user -c "mkdir -p /home/user/apkenv && cp -f /home/user/MyDocs/Apkenv/Packages/apke* /home/user/apkenv/apkenv && cp -R /home/user/MyDocs/Apkenv/Packages/*.so /home/user/apkenv && chmod 775 /home/user/apkenv/apkenv"
and second:
Code:

apt-get install libsdl1.2 libsdl-mixer1.2 libgles1-sgx-img
5. for start game open terminal as USER:
Code:

cd /home/user/apkenv
./apkenv /home/user/MyDocs/Apkenv/Fruit_ninja.apk

or

Code:

./apkenv /home/user/MyDocs/Apkenv/AB_space.apk
:D

still getting that error..

Schturman 2012-10-22 16:55

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

Originally Posted by AMD (Post 1284010)
still getting that error..

Not possible :D

coderus 2012-10-22 16:57

Re: [Announce] apkenv (N900, N950, N9)
 
just for fun try to rename apkenv.blahblah to apkenv and copy to /home/user/apkenv folder

AMD 2012-10-22 17:01

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

Originally Posted by Schturman (Post 1284011)
Not possible :D

I swear. look what I have done exactly:

1- apt-get install libsdl1.2 libsdl-mixer1.2 libgles1-sgx-img
2- created /home/user/apkenv
3- copied apkenv harmattan to /home/user/apkenv
4- copied libc.so liblog.so libm.so libstdc++.so libz.so to /home/use/apkenv
4- copied apks to /home/user/apkenv

AMD 2012-10-22 17:08

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

Originally Posted by khan.orak (Post 1284007)
go to the directory where you've placed apkenv. then try this. hope it helps.

doesn't work.

Schturman 2012-10-22 17:08

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

Originally Posted by AMD (Post 1284016)
I swear. look what I have done exactly:

1- apt-get install libsdl1.2 libsdl-mixer1.2 libgles1-sgx-img
2- created /home/user/apkenv
3- copied apkenv harmattan to /home/user/apkenv
4- copied libc.so liblog.so libm.so libstdc++.so libz.so to /home/use/apkenv
4- copied apks to /home/user/apkenv

Just delete what you did and do exactly what I wrote...

Salmi 2012-10-22 17:09

Re: [Announce] apkenv (N900, N950, N9)
 
N9:
harmattan.2012-10-21b Cut the rope v1.0.0 - Not a native .apk
harmattan.2012-10-21b Cut the rope experiments v1.0.1 - Not a native .apk
harmattan.2012-10-21b Amazing Alex v1.0.0 - Not a native .apk

lorenzo 2012-10-22 17:11

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

Originally Posted by MINKIN2 (Post 1283993)
Please do not request others to participate in the sharing of propriety software :)


By the way, has anyone tried N.O.V.A? Love that game.

doesn't work: missing library dependecies :mad:

Sfiet_Konstantin 2012-10-22 17:12

Re: [Announce] apkenv (N900, N950, N9)
 
Guys, I'm worning on an app to create icons for apkenv enabled apps. Be patient :)

AMD 2012-10-22 17:12

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

Originally Posted by Schturman (Post 1284019)
Just delete what you did and do exactly what I wrote...

The thing is that I got lost with your guide :S

taixzo 2012-10-22 17:17

Re: [Announce] apkenv (N900, N950, N9)
 
So - according to the wiki, this is basically just for Angry Birds then?

Sniper_swe 2012-10-22 17:17

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

Originally Posted by Kozzi (Post 1283880)
Got it to work with the shell trick:

/home/user/apkenv/run.sh
Code:

#!/bin/sh
cd /home/user/apkenv/

case "$1" in
'fruitninja')
./apkenv /home/user/MyDocs/Downloads/Fruit_Ninja_v.1.5.4.apk;;
'angrybirdsspace')
./apkenv /home/user/MyDocs/Downloads/Angry_Birds_Space_Premium_1.0.1.apk;;
esac

fruit_ninja.desktop:
Code:

[Desktop Entry]
Encoding=UTF-8
Version=1.5.4
Type=Application
Terminal=false
Exec=sh /home/user/apkenv/run.sh fruitninja
Name=Fruit Ninja
Icon=/home/user/apkenv/Icons/fn80.png

angry_birds_space.desktop
Code:

[Desktop Entry]
Encoding=UTF-8
Version=1.0.1
Type=Application
Terminal=false
Exec=sh /home/user/apkenv/run.sh angrybirdsspace
Name=Angry Birds Space
Icon=/home/user/apkenv/Icons/abs80.png

place two desktop file into /usr/share/applications/
apk file to MyDocs/Downloads and now I can run them from homescreen without root access. My script didn't work before because I placed the desktop files into /home/user/.local/share/applications :D

Can someone post a working run.sh so i can try yours. Mine are not working. No error no nothing

edit: launching games from terminal works

baem90 2012-10-22 17:25

Re: [Announce] apkenv (N900, N950, N9)
 
will this compatibility layer will make application running too in future?( i know, for now, it is only work for games)

i really love to use facebook 'android' application, since the native suck too much..

Artyom 2012-10-22 17:38

Re: [Announce] apkenv (N900, N950, N9)
 
heres angry birds space from my device:
http://www.youtube.com/watch?feature...&v=4RjvEi4Vn-A


All times are GMT. The time now is 15:33.

vBulletin® Version 3.8.8