what language to use for Android/iOS versions of our PB apps

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
Keya
Addict
Addict
Posts: 1891
Joined: Thu Jun 04, 2015 7:10 am

what language to use for Android/iOS versions of our PB apps

Post by Keya »

i know next to nothing about mobile phone development, and actually have no interest in it myself, but if you were to get somebody to make an iOS and Android version of your PB app what language or compiler (not necessarily the same for each OS like PB is, but thatd probably be a nice bonus) would you hope to get a coder in? Java? Xamarin? ..... ??? and why?
User avatar
TI-994A
Addict
Addict
Posts: 2512
Joined: Sat Feb 19, 2011 3:47 am
Location: Singapore
Contact:

Re: what language to use for Android/iOS versions of our PB

Post by TI-994A »

Keya wrote:...to make an iOS and Android version of your PB app what language or compiler ... would you hope to get a coder in?
IMO, the best approach would be to use the native development languages for each of them; meaning Java for Android, and Objective-C for iOS. While Swift is regarded as a better and easier language for development on Apple platforms, I have no experience with which to comment.
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel :D
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3870
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: what language to use for Android/iOS versions of our PB

Post by wilbert »

Making an iOS or Android version of a PB app is probably a waste of time.
There are a few million apps in the app stores for iOS and Android. If you code for those mobile platforms, you better make sure your user interface is easy to use.
So start over, rethink everything and code something new that fits a mobile OS.

I had a few apps in the iOS app store a few years ago (not anymore) which I coded using Objective-C. If I had to code something for Android, I would probably choose Java.
Windows (x64)
Raspberry Pi OS (Arm64)
es_91
Enthusiast
Enthusiast
Posts: 242
Joined: Thu Jan 27, 2011 12:00 pm
Location: DE

Re: what language to use for Android/iOS versions of our PB

Post by es_91 »

It should also be possible to use SpiderBasic sites in a web viewer kind-of application ...

otherwise if you want to use BASIC, xojos BASIC should be the only larger choice APART from Visual Studio.
User avatar
Danilo
Addict
Addict
Posts: 3037
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: what language to use for Android/iOS versions of our PB

Post by Danilo »

es_91 wrote:otherwise if you want to use BASIC, xojos BASIC should be the only larger choice APART from Visual Studio.
And B4X? Supports Windows, Linux, Mac, iOS, Android, Arduino, Raspberry Pi, ...
Joris
Addict
Addict
Posts: 885
Joined: Fri Oct 16, 2009 10:12 am
Location: BE

Re: what language to use for Android/iOS versions of our PB

Post by Joris »

I have no experience with http://www.lazarus-ide.org/
Yeah I know, but keep in mind ... Leonardo da Vinci was also an autodidact.
User avatar
tj1010
Enthusiast
Enthusiast
Posts: 621
Joined: Mon Feb 25, 2013 5:51 pm
Location: US or Estonia
Contact:

Re: what language to use for Android/iOS versions of our PB

Post by tj1010 »

Most Economical Solution: LiveCode 8

Everything else: No UI, No sensors, No device keystore, or just buggy with a small and slow dev team.

I used my own libs in android-studio and xcode till I moved to the Intel solution and then LiveCode. Never seen anything better than LiveCode. I need UI so I'm pretty bias.
Last edited by tj1010 on Sun Sep 11, 2016 10:14 am, edited 1 time in total.
The truth hurts.
User avatar
TI-994A
Addict
Addict
Posts: 2512
Joined: Sat Feb 19, 2011 3:47 am
Location: Singapore
Contact:

Re: what language to use for Android/iOS versions of our PB

Post by TI-994A »

Danilo wrote:B4X? Supports Windows, Linux, Mac, iOS, Android, Arduino, Raspberry Pi, ...
It should be noted that the code base is not fully portable across platforms, and the licence fee includes only limited-time upgrades. Also, like with any other cross-platform RAD tool, a considerable runtime is bundled with every binary.

Nevertheless, it's a solid product backed by a dedicated developer, who's been at it since the PocketPC era.
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel :D
User avatar
the.weavster
Addict
Addict
Posts: 1537
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: what language to use for Android/iOS versions of our PB

Post by the.weavster »

es_91 wrote:otherwise if you want to use BASIC, xojos BASIC should be the only larger choice APART from Visual Studio.
You can use Xojo for iOS but not Android.
User avatar
Keya
Addict
Addict
Posts: 1891
Joined: Thu Jun 04, 2015 7:10 am

Re: what language to use for Android/iOS versions of our PB

Post by Keya »

tj1010 wrote:Most Economical Solution: LiveCode 8
$699/yr basic license is economical?
User avatar
tj1010
Enthusiast
Enthusiast
Posts: 621
Joined: Mon Feb 25, 2013 5:51 pm
Location: US or Estonia
Contact:

Re: what language to use for Android/iOS versions of our PB

Post by tj1010 »

Keya wrote:
tj1010 wrote:Most Economical Solution: LiveCode 8
$699/yr is economical?
$700/yr is cheap if you're even making $3,000 or 2,800€ a year.. Know something else with UI and realistic patch cycles?

The Intel, C#, Python, Pascal, and Android Studio and Xcode workflows are nightmares. Especially on deadlines. I know I've had to learn them all during <2-month deadlines for complex commercial products. All my current mobile projects are on LiveCode do to lack of alternatives and from my experience managing projects as a single-person team.

One exception is some security stuff I do through Android Studio CLI.
The truth hurts.
User avatar
the.weavster
Addict
Addict
Posts: 1537
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: what language to use for Android/iOS versions of our PB

Post by the.weavster »

I just remembered: Godot has a set of UI widgets and can create apps for Android and iOS.

It's something I've been meaning to try for a while.


It's also worth noting Fred and Freak are working on Android and iOS as targets for SpiderBasic.
Last edited by the.weavster on Sun Sep 11, 2016 10:55 am, edited 1 time in total.
User avatar
tj1010
Enthusiast
Enthusiast
Posts: 621
Joined: Mon Feb 25, 2013 5:51 pm
Location: US or Estonia
Contact:

Re: what language to use for Android/iOS versions of our PB

Post by tj1010 »

the.weavster wrote:I just remembered: Godot has a set of UI widgets and can create apps for Android and iOS.

It's something I've been meaning to try for a while.

Haven't seen it. It has a pseudo-oop syntax. It has networking and accelerator, but I don't see bluetooth-services or crypto,

Development and support look slow. This brings up the question -how do I do updates a year from now if the language is abandoned?-

I'll probably try it.
Last edited by tj1010 on Sun Sep 11, 2016 11:05 am, edited 1 time in total.
The truth hurts.
User avatar
Keya
Addict
Addict
Posts: 1891
Joined: Thu Jun 04, 2015 7:10 am

Re: what language to use for Android/iOS versions of our PB

Post by Keya »

many thanks to everyone for suggestions so far!! very helpful :) :)
tj1010 wrote:$700/yr is cheap if you're even making $3,000 or 2,800€ a year.. Know something else with UI and realistic patch cycles?
im not sure about patch cycles but B4X seems to be WYSIWYG GUI. Of all the suggestions so far i'm leaning towards B4X as its pseudo-VB6 nature means ill probably be able to get a handle on the freelance programmers code quicker than any others, so i could learn enough to do minor updates myself then once they write the main app for me. Spiderbasic unfortunately isnt an option because my app isn't Javascript/HTML-based, and B4X compiles to native (or at least java, but says "native") on iOS and Android. But hopefully this will be my first and last app idea that requires mobile apps, lol - desktop for me.

Does anyone have any thoughts on Xamarin?
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: what language to use for Android/iOS versions of our PB

Post by J. Baker »

Use SpiderBasic. You can then convert your HTML5 to a mobile app. There are services that provide this on the net. Or just code your own. ;)
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
Post Reply