Reply
Thread Tools
Posts: 210 | Thanked: 841 times | Joined on Feb 2013
#101
http://www.youtube.com/watch?v=Mc_09JYd9hM
works
(sound was cheated by using mplayer , this still needs a bit of work)
 

The Following 12 Users Say Thank You to liar For This Useful Post:
Posts: 74 | Thanked: 77 times | Joined on Mar 2012 @ Bavaria
#102
awesome!!!!!
 
b-rockSA's Avatar
Posts: 52 | Thanked: 16 times | Joined on Mar 2012
#103
Excited!

-via Maemo Talk app
 
Posts: 25 | Thanked: 99 times | Joined on Apr 2013
#104
Originally Posted by thp View Post
You mean that the +/- buttons are used for volume control? Should be possible by setting a resource application class. Patches welcome.
I gave it a shot and this was actually very easy to implement following to the Resource Policy docs. You only need to place a single file at /usr/share/policy/etc/syspart.conf.d/apkenv.conf with the following contents:

Code:
[classify gaming]
/usr/bin/apkenv
Afterwards, everything started with apkenv is handled as a game and the +/- keys handle the volume when it is in the foreground.

I sent a pull request to Thomas' repository on github.
 

The Following 4 Users Say Thank You to Raim For This Useful Post:
Posts: 7 | Thanked: 3 times | Joined on Apr 2013
#105
Sky Force Reloaded:
Code:
Not supported yet, but found JNI methods:
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeLoadPanel
Java_pl_idreams_skyforcereloaded_game_nativeTouch
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeInit
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeInitPathForSave
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeSave
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativePause
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeDone
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeGetAchievement
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeGetLeaderboard
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeGetScore
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeCheckURL
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeClearURL
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeCheckVibraDuration
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeSetAccelerometer
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeScreenLightState
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeMenuMode
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeProcess
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeSoundInit
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeSoundUpdate
Which functions must be ported to run the game?
there are no nativeRender and nativeResize functions.

Java_pl_idreams_skyforcereloaded_MySurfaceView_nat iveInit:
Code:
private static native void nativeInit(ByteBuffer paramByteBuffer, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5);
What is this?
Sorry for my bad english :|

Last edited by nice_2000; 2013-04-17 at 14:25.
 
Posts: 210 | Thanked: 841 times | Joined on Feb 2013
#106
Originally Posted by nice_2000 View Post
Sky Force Reloaded:
Code:
Not supported yet, but found JNI methods:
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeLoadPanel
Java_pl_idreams_skyforcereloaded_game_nativeTouch
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeInit
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeInitPathForSave
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeSave
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativePause
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeDone
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeGetAchievement
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeGetLeaderboard
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeGetScore
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeCheckURL
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeClearURL
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeCheckVibraDuration
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeSetAccelerometer
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeScreenLightState
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeMenuMode
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeProcess
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeSoundInit
Java_pl_idreams_skyforcereloaded_MySurfaceView_nativeSoundUpdate
Which functions must be ported to run the game?
there are no nativeRender and nativeResize functions.

Java_pl_idreams_skyforcereloaded_MySurfaceView_nat iveInit:
Code:
private static native void nativeInit(ByteBuffer paramByteBuffer, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5);
What is this?
Sorry for my bad english :|
search the code where nativeInit is called and look how the bytebuffer is filled (maybe look up ByteBuffer if you don't know what it is, i found: http://docs.oracle.com/javase/6/docs...yteBuffer.html)
you should also find there what paramInt2-5 should be, probably screen size and stuff...
if there is no update function look up in the code how the game's main loop works (i'd first look at nativeProcess, that seems suspicious)
 

The Following User Says Thank You to liar For This Useful Post:
Posts: 7 | Thanked: 3 times | Joined on Apr 2013
#107
@liar
Where is the code?
in Java Decompiler there is only one line:
Code:
private static native void nativeInit(ByteBuffer paramByteBuffer, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5);

Last edited by nice_2000; 2013-04-19 at 23:22.
 
Posts: 117 | Thanked: 59 times | Joined on Nov 2012
#108
Hey everyone,
I'm writing this little message to encourage the developers working on apkenv. I truly find it incredible how some Android applications can run (very smoothly) on our beloved N9 and N900. It's like having the best of two worlds ...
I have to do some exams in the next few weeks, but when I have free time I will definitely try to help this project.
Lets keep up the incredible work
 

The Following 5 Users Say Thank You to Mric For This Useful Post:
Ta76eem's Avatar
Posts: 157 | Thanked: 36 times | Joined on Mar 2013
#109
can Subway Surfers added ??
 

The Following 2 Users Say Thank You to Ta76eem For This Useful Post:
Posts: 3 | Thanked: 16 times | Joined on Apr 2013
#110
There is a pull request for SuperHexagon waiting for several days now. I've also fixed World of Goo, but waiting for thp to handle pending pull requests first, hopefully he can handle them soon.
 

The Following 11 Users Say Thank You to notaz For This Useful Post:
Reply

Tags
apkenv

Thread Tools

 
Forum Jump


All times are GMT. The time now is 02:31.