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)

Sniper_swe 2012-10-22 09:31

Re: [Announce] apkenv (N900, N950, N9)
 
I'm on open mode and if i run it as user the game freeze at loading image. As root i get passed it and are able to play game. Zooming seem to work.

edit:fruit ninja runs both as user and root.

vicscraft 2012-10-22 09:40

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

Originally Posted by thedead1440 (Post 1283776)
If you are using open mode, root or user won't make a difference...Running as root will allow you to run things that can only be run as user...

AB space and rio hang on user during loading... Terminal says failed to open ....settings.lua for writing .... Dont have this error on root... And im using openmode.

thedead1440 2012-10-22 09:42

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

Originally Posted by thedead1440 (Post 1283776)
Running as root will allow you to run things that can only be run as user...

My post says if you have to run something as user you can run it as root too...If it requires root you can only run as root...

So your posts are the same as what I am saying :D

vicscraft 2012-10-22 09:45

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

Originally Posted by Sniper_swe (Post 1283784)
I'm on open mode and if i run it as user the game freeze at loading image. As root i get passed it and are able to play game. Zooming seem to work.

edit:fruit ninja runs both as user and root.

would you mind if you could verify having /dev/sequencer or /dev/snd/seq file or folder?

Kozzi 2012-10-22 09:45

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

Originally Posted by Sniper_swe (Post 1283784)
I'm on open mode and if i run it as user the game freeze at loading image. As root i get passed it and are able to play game. Zooming seem to work.

edit:fruit ninja runs both as user and root.

Please edit the wiki, what game supports multitouch using apkenv. Please do not hesitate in adding more than what is written in the wiki :)


I'm thinking of adding a desktop file to homescreen, anyone know of a right way to execute this in the Exec part ? I quickly made an icon for Fruit Ninja:
http://i.imgur.com/TmvG4.png

Wreck 2012-10-22 10:14

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

Originally Posted by Kozzi (Post 1283797)
I'm thinking of adding a desktop file to homescreen, anyone know of a right way to execute this in the Exec part ? I quickly made an icon for Fruit Ninja

I tried:

Code:

[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Terminal=true
Name=FruitNinja
Exec=/usr/bin/osso-xterm ./apkenv /home/user/apkenv/Fruit.apk
Icon=   
#X-Window-Icon=timerwidget
X-Window-Icon=   
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable

Didn't seem to work for me. Might need to cd to the correct path and then execute apkenv?

A .sh script like:

Code:

/usr/bin/osso-xterm 'cd /home/user/apkenv' &
/usr/bin/osso-xterm './apkenv /home/user/apkenv/Fruit.apk' &

But this will start up two xterminals right? Don't have my phone near me so can't test it.

FOR N900

thedead1440 2012-10-22 10:20

Re: [Announce] apkenv (N900, N950, N9)
 
Recently N9QTweak has changed to allow opening it without entering the root password...

The Exec you may be interested in:

Code:

Exec=invoker --splash=/opt/N9QTweak/Splashs/splash.orig.png --type=e /usr/bin/meego-terminal -n -e /opt/N9QTweak/START
I think you need to use the bold part with the /opt/ onwards being replaced by ./apkenv

Not sure but you can give it a try ;)


Edit: The above is for harmattan...

ibrakalifa 2012-10-22 10:22

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

Originally Posted by Sniper_swe (Post 1283767)
@ibra.
are you running it as root or user?:)

as user, :/

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

myname24 2012-10-22 10:29

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

[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Terminal=false
Name=Fruit Ninja
Exec= ./apkenv Fruit_Ninja_v1.5.4_2.apk
Icon=/home/user/FruitNinja.png
#X-Window-Icon=timerwidget
X-Window-Icon=   
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable

This worked for me

edit : i put fruit ninja icon in /home/user and i disabled show terminal :)

Artyom 2012-10-22 10:55

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

Originally Posted by coderus (Post 1283696)
and i'm in openmode. someone played Fruit Ninja at stock firmware?

I did actually. There is no need for Open mode or Inception. you just have o be root.

correction: you also don't need to be root ro open fruit ninja.


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

vBulletin® Version 3.8.8