![]() |
liar,can you do a video? ;) hope you are not what your username is..
|
Re: ApkEnv support module development
Quote:
|
Re: ApkEnv support module development
I've sent in a pull request. i hope there isn't much i need to change before it goes in :)
|
Re: ApkEnv support module development
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 |
Re: ApkEnv support module development
I wrote this command :
Code:
apkenv --install /home/user/MyDocs/Apkenv/wogoo.apk |
Re: ApkEnv support module development
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 :) |
Re: ApkEnv support module development
Quote:
i've used version 1.3.16 iirc |
Re: ApkEnv support module development
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 |
Re: ApkEnv support module development
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) |
Re: ApkEnv support module development
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..
|
All times are GMT. The time now is 12:16. |
vBulletin® Version 3.8.8