Thread
:
ApkEnv support module development
View Single Post
liar
2013-05-27 , 22:49
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
.
Quote & Reply
|
The Following 13 Users Say Thank You to liar For This Useful Post:
bandora
,
Bundyo
,
ck2nb
,
don_falcone
,
farfary
,
Kozzi
,
Leinad
,
Morpog
,
Mric
,
nice_2000
,
nokiabot
,
SSLMM
,
thp
liar
View Public Profile
Send a private message to liar
Find all posts by liar