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)

hedayat 2015-06-18 12:13

Re: Idea for an Android Compatibility Layer
 
Quote:

Originally Posted by liar (Post 1473952)
the chroot which i uploaded contains a bug which will make surfaceflinger crash (both on n9 and sailfish, i will update it sometime today)
i fear we wont get it to work on the n9 though, because the renderer requires some egl/gles features which we don't have on the n9

So, it is be binary compatible with N9 harmattan, right?
About the missing egl/gles features, isn't it possible to work around them somehow (e.g. providing a software implementation using available features?)?

liar 2015-06-18 12:31

Re: Idea for an Android Compatibility Layer
 
Quote:

Originally Posted by hedayat (Post 1473968)
So, it is be binary compatible with N9 harmattan, right?
About the missing egl/gles features, isn't it possible to work around them somehow (e.g. providing a software implementation using available features?)?

probably, if someone with more experience can do it

liar 2015-06-18 17:24

Re: Idea for an Android Compatibility Layer
 
i have updated the chroot, this one does not segfault anymore in surfaceflinger, and i have uploaded the renderer sources to github so you can contribute :)

liar 2015-06-18 18:07

Re: Idea for an Android Compatibility Layer
 
current issue (the eglCreateContext one is still there, but i think this one is more pressing):
rcFBPost is never called

EDIT: fixed, current issues:
1) how to create subwindows in wayland 1.3
2) how to make the wayland window appear on screen

liar 2015-06-18 19:19

Re: Idea for an Android Compatibility Layer
 
ok i updated the original post, there are two files which you can copy over the current chroot (if you have the most recent one) init.rc will fix usb problems and gralloc.default.so will make it use the correct gralloc version.

now we have to figure out why the sdl window does not appear

itdoesntmatt 2015-06-18 19:26

Re: Idea for an Android Compatibility Layer
 
sorry but i did not understood. it is a way to using android app on sailfish for nexus 5? is viable? have u tryed to suggest it on #sailfish-porters?

liar 2015-06-18 19:29

Re: Idea for an Android Compatibility Layer
 
Quote:

Originally Posted by itdoesntmatt (Post 1474072)
sorry but i did not understood. it is a way to using android app on sailfish for nexus 5? is viable? have u tryed to suggest it on #sailfish-porters?

yes i have suggested it in #sailfishos-porters, yes it can be used to start android apps on sailfishos, we have tested but it doesn't work on the nexus 5 yet, someone needs to dig into it and find the cause (i don't have a nexus 5)

itdoesntmatt 2015-06-18 19:34

Re: Idea for an Android Compatibility Layer
 
i have a n5, i m not skilled but if u tell me what to do i could try,maybe in next week

liar 2015-06-18 19:43

Re: Idea for an Android Compatibility Layer
 
Quote:

Originally Posted by itdoesntmatt (Post 1474077)
i have a n5, i m not skilled but if u tell me what to do i could try,maybe in next week

build the android_renderer sources and figure out why it crashes

itdoesntmatt 2015-06-18 20:12

Re: Idea for an Android Compatibility Layer
 
maybe u dont know with who u are speaking...i m completely noob,so u have to followme step by step..ahahhaah


All times are GMT. The time now is 07:34.

vBulletin® Version 3.8.8