Reply
Thread Tools
Akkumaru's Avatar
Posts: 694 | Thanked: 619 times | Joined on Nov 2011
#121
liar,can you do a video? hope you are not what your username is..
__________________
Still learning on geeky knowledge
N9 *stolen*N900 *died*N900 *on hiatus* OnePlus X
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#122
Originally Posted by Akkumaru View Post
liar,can you do a video? hope you are not what your username is..
He has contributed previously as well as developing the N64 emulator for us so just be patient for him to push his changes to thp
 

The Following 3 Users Say Thank You to thedead1440 For This Useful Post:
Posts: 210 | Thanked: 841 times | Joined on Feb 2013
#123
I've sent in a pull request. i hope there isn't much i need to change before it goes in
 

The Following 5 Users Say Thank You to liar For This Useful Post:
Posts: 210 | Thanked: 841 times | Joined on Feb 2013
#124
EDIT:
i have managed to launch dalvikvm on my nokia n9 using a few hacks here and there, but most importantly: i can do this without openmode (i am running inception, but it should be possible in a standard installation too)
i am able to execute basic jar files now, and i've managed to initialize some internal stuff, like preloading classes:
...preloaded 2297 classes in 5637ms.

i still cannot launch activities though because i am lacking the knowledge on how to use some of the internal android classes.

what i can do so far is:
load the dalvikvm
initialize native methods (located in libandroid_runtime.so) and redirect then to harmattan native calls (all functions which apkenv supports until now and a few more)
preload some android classes
> until here everything is going the way it's supposed to be but thats it
i've tried manually loading activities from an apk file using dalvik.system.PathClassLoader and it works, i can call methods, but most of them fail (java exceptions) because this is not the way activities are supposed to be loaded

if somebody knows how it works please let me know
i am currently experimenting with ActivityThread

Last edited by liar; 2013-05-31 at 22:16.
 

The Following 13 Users Say Thank You to liar For This Useful Post:
Ta76eem's Avatar
Posts: 157 | Thanked: 36 times | Joined on Mar 2013
#125
I wrote this command :
Code:
apkenv --install /home/user/MyDocs/Apkenv/wogoo.apk
how to uninstall the game ?
__________________
it is ok to go Sailing
but it is Forbidden to leave MeeGo on shore
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#126
Liar, can you please share further information about how to get Plants vs. Zombies work?
It uses an external data folder on Android. Where should we copy it?
Do we need anything else to launch the game?
Also, which version of the game are you able to execute?
(Or is the Humble Bundle version of PvZ completely different from other versions?)
Please give us, users some hint about it
 
Posts: 210 | Thanked: 841 times | Joined on Feb 2013
#127
Originally Posted by Just486 View Post
Liar, can you please share further information about how to get Plants vs. Zombies work?
It uses an external data folder on Android. Where should we copy it?
Do we need anything else to launch the game?
Also, which version of the game are you able to execute?
(Or is the Humble Bundle version of PvZ completely different from other versions?)
Please give us, users some hint about it
files go to: /home/user/.apkenv/<pvzapkfilename>
i've used version 1.3.16 iirc

Last edited by liar; 2013-06-01 at 18:20.
 

The Following User Says Thank You to liar For This Useful Post:
Guest | Posts: n/a | Thanked: 0 times | Joined on
#128
Thanky.
I tried various versions however, all of them skipping marmalade.apkenv.so and using the generic module instead.
I have
- marmalade.apkenv.so in /opt/apkenv/modules
- "files" folder in /home/user/.apkenv/pvz-test.apk
- pvz-test.apk (version 1.3.16, and others) in /MyDocs/Apkenv

and launching with code:

apkenv /home/user/MyDocs/Apkenv/pvz-test.apk

All I get is a "screenshot" of the last launched page (the terminal), and the log in terminal, claiming marmalade.apkenv.so (2) is loaded, but generic.apkenv.so (2) is being used.

Do you have any idea what am I doing wrong? (I also have the openframeworks.apkenv.so for Super Hexagon in /modules folder, if that counts.)

EDIT: If I remove generic.apkenv.so, it loads marmalade and gives the following info:
late-intializing errorcheck mutex (x3)
Segmentation fault

Last edited by Just486; 2013-06-01 at 17:15.
 
Posts: 210 | Thanked: 841 times | Joined on Feb 2013
#129
that probably means you're missing the data files
if pvz-test.apk is your apkfilename then they have to be in:
/home/user/.apkenv/pvz-test.apk/
(don't forget the dot)
 
bandora's Avatar
Posts: 1,338 | Thanked: 1,055 times | Joined on Oct 2009 @ California, USA / Jordan
#130
liar I suggeat PMing thp and collaborate with him.. He's the one to ask about this stuff.. Also this is exciting news.. Very exciting news!!! I am willing to donate some money for this to succeed.. I'm sure a lot of other people would do the same too! Best of luck..
__________________
FarahFa.com
 

The Following 2 Users Say Thank You to bandora For This Useful Post:
Reply

Tags
apkenv


 
Forum Jump


All times are GMT. The time now is 04:41.