Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

undroidwish + AsteroidOS = tcl smartwatch

163 views
Skip to first unread message

bill...@gmail.com

unread,
Nov 18, 2017, 2:02:26 AM11/18/17
to
https://asteroidos.org/wiki/graphic-stack/
states:
"This means that user apps don’t necessarily have to be developed with Qt as long as the library supports the Wayland protocol."
and
http://www.androwish.org/index.html/wiki?name=undroidwish
states:
"Wayland. Another build script is provided which allows building undroidwish with the SDL2 Wayland video driver."

Does this mean it should be simple to port undroidwish to AsteroidOS?

Any takers?

For $? (If so how much?)

Also the tcl event loop has the word loop in it. Is the design a natural battery killer?

Bill

Gerald Lester

unread,
Nov 18, 2017, 2:42:30 AM11/18/17
to
Bill,

The Tcl event loop makes a system call that blocks until one or more
events are queued for the process, when the system call returns it pulls
an event off the queue, processes it then loops back to the system call.

So no battery killer.

As to parting to AsteroidOS, I'd suggest asking the Androwish author.

--
+----------------------------------------------------------------------+
| Gerald W. Lester, President, KNG Consulting LLC |
| Email: Gerald...@kng-consulting.net |
+----------------------------------------------------------------------+

undro...@gmail.com

unread,
Nov 18, 2017, 11:49:05 AM11/18/17
to
> Does this mean it should be simple to port undroidwish to AsteroidOS?

Might be possible, although my Wayland feelings are rather mixed since the advent of Fedora 27. undroidwish is known to run on Debian 9.0 and Fedora 25/26 but is currently borked on Fedora 27.

> Any takers?
>
> For $? (If so how much?)

Hmm, for a supported smart watch plus a larger amount of booze, mabye?

> Also the tcl event loop has the word loop in it. Is the design a natural battery killer?

Depends. On Android there's a defined App life-cycle with a designated suspend state. OTOH, the SDL-X11 emulation layer has an SDL timer running which is always on. The Tcl event loop as Gerald answered is not the problem.

All the best,
Christian

bill...@gmail.com

unread,
Nov 19, 2017, 11:01:44 PM11/19/17
to
Supported watches are:
Asus Zenwatch 1
LG G Watch Urbane
LG G Watch
LG G Watch R
Asus Zenwatch 2
Samsung Gear Live
Asus Zenwatch 3
Sony Smartwatch 3

I priced one used in Seattle at $60 for the LG Urbane. This one looks nice. A lot like my G Watch R but silver instead of black. I'm purchasing it now as a second for me if we can't work out a deal.

Seattle...to Germany...long ship time? No idea how long it takes to mail.
"larger amount of booze"? Not sure how that works either. Perhaps a rough idea in price.

So I guess the stack is tcl->sdl->X11 emulation layer->Wayland? It'd be interesting if we could just do tcl->wayland->OpenGL-ES. Perhaps skipping the SDL-X11 stuff. Loose all of tk but still have OpenGL. My ideas about smartwatch GUI are probably simple enough to implement in raw...I don't want a Tk Button or list box. Canvas would be nice but I'd rather ditch everything than get everything.

Nice to keep technical/project details here. My direct follows:
bi
ll
s2
002
@
that google place.

Bill

undro...@gmail.com

unread,
Nov 21, 2017, 4:00:43 AM11/21/17
to
Am Montag, 20. November 2017 05:01:44 UTC+1 schrieb bill...@gmail.com:

Bill,

> ...
> So I guess the stack is tcl->sdl->X11 emulation layer->Wayland? It'd be interesting if we could just do tcl->wayland->OpenGL-ES. Perhaps skipping the SDL-X11 stuff. Loose all of tk but still have OpenGL. My ideas about smartwatch GUI are probably simple enough to implement in raw...I don't want a Tk Button or list box. Canvas would be nice but I'd rather ditch everything than get everything.

still have to think over it. IMO there's no way to leave SDL2 out of the equation, since it does many things more than only provide a wrapper to EGL/OpenGLES. It does a very well job in unifying event handling of (virtual) keyboards, mice, touch, joystick, and the subtleties of the windowing system.

And then there ain't no OpenGLES binding for Tcl yet. Right or wrong?

Best,
Christian

undro...@gmail.com

unread,
Nov 25, 2017, 12:14:41 PM11/25/17
to
Bill,

meanwhile I got a cheap used LG G Watch, updated it to Android 6.0.1, enabled adb debugging, and was able to install a stock AndroWish on it. I think now, that bringing a Wayland based undroidwish on AsteroidOS is not yet worth the effort, simply due to the fact, that much more OS/system integration is already available in AndroWish, e.g. BlueTooth, sensors, app life cycle and much more.

Best,
Christian

bill...@gmail.com

unread,
Nov 26, 2017, 7:05:38 PM11/26/17
to
Awesome about getting AndroWish to work on Android Wear. I'll check the website if I decide to go that way.

(Rant mode on (directed at corporations): I really want a pure linux phone. Unfortunately even though in America, the cell companies have to allow non-branded phones on their network, they work around the issue. One company selling "extended range" is using VoLTE and saying phones have to be certified so that 911 emergency calls can go over VoLTE. Unfortunately, that means the ROMs on the phone cant really be modified. Though things like fdroid exist so I can get open source on my phone there isn't much to replace the AndroidWear interface to my watch. So 1- my phone has to basically be stock, 2- though I can get rid of Play and mail and replace those with fdroid, I cannot get rid of the Wear app on the phone to talk to my watch. Of course the wear app requires the play store to install. 3- I'm stuck with borg. I was hoping I could strip my phone of all borg software, (root and remove most manufacturer software), install AsteroidOS on my watch, install undroidwish, and have a platform semi-free of borg. Oh well. rant mode off)

I appreciate the advice on SDL2/OpenGLES. I'll look at it a little bit more.
0 new messages