maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [SFOS] [DEV] sfdroid: run android in a window (https://talk.maemo.org/showthread.php?t=95631)

mikecomputing 2016-08-27 19:31

Re: [DEV] sfdroid: run android in a window
 
Quote:

Originally Posted by nh1402 (Post 1505510)

....

Also I believe two people (locusf and possibly smurfynet) were looking into getting sfdroid working on the Fairphone 2, not sure if they still have time to work on it or not.
.

Someone willing to pay them a little time? I am willing...

marmistrz 2016-08-31 16:49

Re: [DEV] sfdroid: run android in a window
 
So,

sfdroid currently runs Android in a window. This is a great memory requirement, we all know.

But, as far as I understand, Android itself simply runs the Java apps in the VM, in this case: ART Dalvik VM.

Is there anything that prevents us from doing the same on Sailfish: setting up the ART and running the Android apps directly there?

liar 2016-08-31 16:58

Re: [DEV] sfdroid: run android in a window
 
Quote:

Originally Posted by marmistrz (Post 1513978)
So,

sfdroid currently runs Android in a window. This is a great memory requirement, we all know.

But, as far as I understand, Android itself simply runs the Java apps in the VM, in this case: ART Dalvik VM.

Is there anything that prevents us from doing the same on Sailfish: setting up the ART and running the Android apps directly there?

you can set up the dalvik vm and run basic command line apps. but without android services there would be no GUI

thp has managed to run the dalvik vm on his n9 and i replicated the same. i even implemented it in apkenv: apkenv now has a mode to support games running with some support for the dalvik vm. but there is lack of a java environment which the apps can call into so we still use modules for each game.

marmistrz 2016-08-31 17:13

Re: [DEV] sfdroid: run android in a window
 
Quote:

Originally Posted by liar (Post 1513979)
you can set up the dalvik vm and run basic command line apps. but without android services there would be no GUI

thp has managed to run the dalvik vm on his n9 and i replicated the same. i even implemented it in apkenv: apkenv now has a mode to support games running with some support for the dalvik vm. but there is lack of a java environment which the apps can call into so we still use modules for each game.

We had icedtea on N900, we could theoretically get the same on SFOS...

Assume we built the OpenJDK JRE. Any further problems?

liar 2016-08-31 19:48

Re: [DEV] sfdroid: run android in a window
 
Quote:

Originally Posted by marmistrz (Post 1513981)
We had icedtea on N900, we could theoretically get the same on SFOS...

Assume we built the OpenJDK JRE. Any further problems?

yes the android environment?

mscion 2016-08-31 20:00

Re: [DEV] sfdroid: run android in a window
 
Hi. Sorry if this question has already been asked but could sfdriod run on another linux distribution like debian or fedora?

liar 2016-08-31 20:45

Re: [DEV] sfdroid: run android in a window
 
Quote:

Originally Posted by mscion (Post 1513999)
Hi. Sorry if this question has already been asked but could sfdriod run on another linux distribution like debian or fedora?

TheKit has managed to do so with mesa

mscion 2016-08-31 20:48

Re: [DEV] sfdroid: run android in a window
 
Quote:

Originally Posted by liar (Post 1514004)
TheKit has managed to do so with mesa

Good to know. Would you please provide a link. Thanks!

marmistrz 2016-08-31 20:52

Re: [DEV] sfdroid: run android in a window
 
Quote:

Originally Posted by liar (Post 1513998)
yes the android environment?

So basically, if we add all the services needed for the GUI, we end up with sfdroid?

liar 2016-09-01 15:58

Re: [DEV] sfdroid: run android in a window
 
Quote:

Originally Posted by marmistrz (Post 1514009)
So basically, if we add all the services needed for the GUI, we end up with sfdroid?

if we do it like i did then it would be sfdroid. if we do it a bit more sophisticated with more development hours it would be alien

kind of ;)


All times are GMT. The time now is 22:51.

vBulletin® Version 3.8.8