Re: gtk apps on iOS/Android?

2012-09-10 Thread Patrick Shirkey

On Mon, September 10, 2012 3:40 pm, Tristan Van Berkom wrote:
 On Mon, Sep 10, 2012 at 3:15 AM, Michael Torrie torr...@gmail.com wrote:
 On 09/07/2012 07:40 AM, Allin Cottrell wrote:
 I'm contemplating trying to produce a version of my gtk app
 for tablet use. Can anyone point me to relevant resources or
 examples? At this point I'm totally clueless about porting to
 tablets (though I'm able to build my app for OS X OK), and I
 haven't found googling to be very useful.

 Basically you'll want to get a book on developing android apps, download
 the sdk, and go to town.  All in Java of course.  And using the Android
 UI toolkit.  GTK+ is not available on Android or iOS, nor will it likely
 ever be.  Use the native toolkits.

 interesting, wouldnt the quartz backend for osx build for iOS ?

 not exactly sure but I think the NSView and highlevel cocoa stuff
 is built upon the same low level windowing apis that are available
 on osx...



You can compile other languages on android and ios. I'm not sure that
anyone has tried to port gtk to android or ios yet.

probably inevitable though so if it's your thing than I'm sure you will be
able to make something happen.



--
Patrick Shirkey
Boost Hardware Ltd
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: gtk apps on iOS/Android?

2012-09-10 Thread Michael Torrie
On 09/09/2012 11:40 PM, Tristan Van Berkom wrote:
 interesting, wouldnt the quartz backend for osx build for iOS ?
 
 not exactly sure but I think the NSView and highlevel cocoa stuff
 is built upon the same low level windowing apis that are available
 on osx...

I'm sure it could be ported of course.  But there's really no point.
Apple is unlikely to allow a GTK+ app in the app store anyway, as they
require apps to use the native UI toolkit as part of their brand image.

As well, porting an app to mobile platforms is more than just simply
recompiling.  The UI principles on a phone or tablet are different than
a desktop (despite Unity and Gnome 3's belief to the contrary).  Even
with GTK+ supporting touch and other mobile things, it's the widget
layout that is going to be different.  So an application's UI really
needs to be redesigned from scratch on the mobile anyway.

GTK+ could be ported to Android of course, but again, but that would
require considerable effort.  Laying aside Java for a moment, Android
apps are built and run very differently than desktop apps.  The
application life cycle is quite different.

There is/was an attempt to port Qt to iOS, but it wouldn't have been a
real port.  Rather it would be a thin layer over cocoa, using the
underlying Cocoa UI widgets, file APIs, and network APIs.

I am not involved with either iOS or Android development, so I stand
corrected if my thinking is in error.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: gtk apps on iOS/Android?

2012-09-10 Thread Ardhan Madras
On Mon, Sep 10, 2012 at 8:42 PM, Michael Cronenworth m...@cchtml.com wrote:
 Michael Torrie wrote:

 Not to mention Android does NOT use X11. You will also have to port
 Glib, Pango, etc. to Android.


Actually, there is a Java based X11 Server running on Android and was
available in Play Store (Android Market). The  X11's commands are
implemented by using the Android API. It said only bare bones X
commands and protocols are currently implemented. So, creating
application on top of this  X11 need complete porting with Xlib. And
from GTK+ side: every component must also to be ported to Java.

http://code.google.com/p/android-xserver/
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: gtk apps on iOS/Android?

2012-09-10 Thread Michael Cronenworth
Ardhan Madras on 09/10/2012 11:08 AM wrote:
 Actually, there is a Java based X11 Server running on Android and was
 available in Play Store (Android Market).

Yes, I am fully aware of this app. However, it is not a usable solution.
It was written from the ground up so who knows what part of the X11 spec
is missing from it or how stable it is.

It's best to write native iOS or Android apps. Please don't waste your
time trying to port Qt or GTK+. There was a perfectly good mobile Linux
distribution, but unfortunately it was killed off when Microsoft bought
the company.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: gtk apps on iOS/Android?

2012-09-10 Thread Michael Cronenworth
Tomaz Canabrava on 09/10/2012 11:27 AM wrote:
 Well, actually there's an working Qt version for Android, called Necessitas.
 so, there's no need to 'waste your time porting', it's already ported.

Wow! Everyone is an expert! @kde.org! Sweet!

/sarcasm

Anyone else want to tell me something I already know?
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: gtk apps on iOS/Android?

2012-09-09 Thread Michael Torrie
On 09/07/2012 07:40 AM, Allin Cottrell wrote:
 I'm contemplating trying to produce a version of my gtk app 
 for tablet use. Can anyone point me to relevant resources or 
 examples? At this point I'm totally clueless about porting to 
 tablets (though I'm able to build my app for OS X OK), and I 
 haven't found googling to be very useful.

Basically you'll want to get a book on developing android apps, download
the sdk, and go to town.  All in Java of course.  And using the Android
UI toolkit.  GTK+ is not available on Android or iOS, nor will it likely
ever be.  Use the native toolkits.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: gtk apps on iOS/Android?

2012-09-09 Thread Tristan Van Berkom
On Mon, Sep 10, 2012 at 3:15 AM, Michael Torrie torr...@gmail.com wrote:
 On 09/07/2012 07:40 AM, Allin Cottrell wrote:
 I'm contemplating trying to produce a version of my gtk app
 for tablet use. Can anyone point me to relevant resources or
 examples? At this point I'm totally clueless about porting to
 tablets (though I'm able to build my app for OS X OK), and I
 haven't found googling to be very useful.

 Basically you'll want to get a book on developing android apps, download
 the sdk, and go to town.  All in Java of course.  And using the Android
 UI toolkit.  GTK+ is not available on Android or iOS, nor will it likely
 ever be.  Use the native toolkits.

interesting, wouldnt the quartz backend for osx build for iOS ?

not exactly sure but I think the NSView and highlevel cocoa stuff
is built upon the same low level windowing apis that are available
on osx...
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list