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)

bikeza 2016-02-04 23:49

Re: [DEV] sfdroid: run android in a window
 
attempt to install Oneplus One failed. maybe I made the wrong order of installation. Who can ever boast of success?

jem555 2016-02-05 02:43

Re: [DEV] sfdroid: run android in a window
 
Hi! well, I've been trying it and so far the only problem i found is that from time to time the UI gets stuck. It enters in a kind of loop after an action (i.e. tap on a checkbox...so it starts checking, unchecking, and so on for a while). Then it stops responding and a bit later all taps done come together. Or if I restart sfdroid, then it gets normal again.
I flashed gapps nano and everything went fine. Installed apps ok.
Let me know if you need any specific data or test. Anyway, I'll keep testing it.
Great work, guys. Thanks!

jellyroll 2016-02-05 03:34

Re: [DEV] sfdroid: run android in a window
 
1 Attachment(s)
Quote:

Originally Posted by liar (Post 1497804)
did you execute the usermod command from the instructions?

After removing everything on the device I did a fresh install of CM11, SFO, the latest .zip file and followed the instructions. After running the 'sg graphics sfdroid' command via a ssh connection from my computer I could finally see the android window on the screen of the device.
I run the following commands on the device to start sfdroid.

Code:

$ ssh nemo@127.0.0.1
password:
[nemo@Jolla ~]$ sg graphics sfdroid

I don't know if this is the right way startup the application. Thanks again for your help and good work.

liar 2016-02-05 07:16

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

Originally Posted by jellyroll
I don't know if this is the right way startup the application. Thanks again for your help and good work.

Yes this is the correct way to launch it. But you can also start it via the icon in the app drawer :).

Quote:

Originally Posted by bikeza (Post 1497846)
attempt to install Oneplus One failed. maybe I made the wrong order of installation. Who can ever boast of success?

At the moment this is Nexus 4/5 only. Sorry.

piwadam 2016-02-05 18:06

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

Originally Posted by jem555 (Post 1497855)
Hi! well, I've been trying it and so far the only problem i found is that from time to time the UI gets stuck. It enters in a kind of loop after an action (i.e. tap on a checkbox...so it starts checking, unchecking, and so on for a while). Then it stops responding and a bit later all taps done come together. Or if I restart sfdroid, then it gets normal again.
I flashed gapps nano and everything went fine. Installed apps ok.
Let me know if you need any specific data or test. Anyway, I'll keep testing it.
Great work, guys. Thanks!

Try to run your phone while charging. It works much smoother while I charge my phone.

jollailija 2016-02-05 19:56

Re: [DEV] sfdroid: run android in a window
 
Hi guys! I couldn't find this from the thread so here's my suggestion:

Make SFdroid the "Partner-space app": that way you could literally run the two OSes side by side instead of in a window.

Here are some reasons:
1. Easier accessibility
2. No risk of closing by mistake
3. You could use the swipe gesture from the top of the screen
4. Just imagine swiping between the OSes (wait, would it work? Can you disable the carousel gesture while at the partner space? I hope so)

coderus 2016-02-05 20:04

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

Originally Posted by jollailija (Post 1497921)
Hi guys! I couldn't find this from the thread so here's my suggestion:

Make SFdroid the "Partner-space app": that way you could literally run the two OSes side by side instead of in a window.

Here are some reasons:
1. Easier accessibility
2. No risk of closing by mistake
3. You could use the swipe gesture from the top of the screen
4. Just imagine swiping between the OSes (wait, would it work? Can you disable the carousel gesture while at the partner space? I hope so)

it's not possible this way, you simply have no idea how partnerspaces works inside system.

nodevel 2016-02-05 20:12

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

Originally Posted by coderus (Post 1497922)
it's not possible this way, you simply have no idea how partnerspaces works inside system.

Actually, I don't think it's such a bad idea.

Of course, "partner space" is just an app pinned in the carousel (from what the videos have shown, you need to tap on it on the carousel and then exit it like any other app in the system), but until it is possible to have multiple sfdroid windows in the task switcher, it would make sense to have it pinned on the partner space screen.

nh1402 2016-02-05 21:53

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

Originally Posted by nodevel (Post 1497924)
Actually, I don't think it's such a bad idea.

Of course, "partner space" is just an app pinned in the carousel (from what the videos have shown, you need to tap on it on the carousel and then exit it like any other app in the system), but until it is possible to have multiple sfdroid windows in the task switcher, it would make sense to have it pinned on the partner space screen.

We're not commercial partners with Jolla, so we can't use the partner space.

EDIT: OTA's breaks the connection between Sailfish and Android reverting some of the changes (init.rc). Flashing sfdroid on top again rectifies that problem. I personally don't really see a way to get around that.

atbeyi 2016-02-05 22:09

Re: [DEV] sfdroid: run android in a window
 
Hello and thanks for all your efforts.

i have done everything and i got myself an android os in a window.

SailFish OS runs in the background and i have Android too.

was it supposed to be like this or somehow i managed to have an interesting thing?

:))


All times are GMT. The time now is 09:11.

vBulletin® Version 3.8.8