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: 1890
Joined: Thu Jun 04, 2015 7:10 am

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

Post by Keya »

Spiderbasic isn't an option as my native app isn't a web/HTML app and it isn't suitable for Javascript/HTMLizing
User avatar
J. Baker
Addict
Addict
Posts: 2181
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 »

Keya wrote:Spiderbasic isn't an option as my native app isn't a web/HTML app and it isn't suitable for Javascript/HTMLizing
Written in PureBasic?
www.posemotion.com

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


Even the vine knows it surroundings but the man with eyes does not.
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3942
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 »

Keya wrote:Does anyone have any thoughts on Xamarin?
It uses C# as programming language and the community edition is free.
I would say just give it a try. :)
Windows (x64)
Raspberry Pi OS (Arm64)
es_91
Enthusiast
Enthusiast
Posts: 298
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 »

Sorry if I'm wrong, but was not there a way to code android apps with VB in Visual Studio? I ain't got it installed just now, or else i would know ^^
:mrgreen:
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

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

Post by fsw »

I have worked with SwiftlyHybrid/AndyHybrid (GitHub/yenrab) in conjunction with jQuery/jQueryMobile.
It's the best of both worlds.
UI in JS with callbacks in native code (Java/Swift).

I am to provide the public with beneficial shocks.
Alfred Hitshock
tj1010
Enthusiast
Enthusiast
Posts: 716
Joined: Mon Feb 25, 2013 5:51 pm

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

Post by tj1010 »

A way to filter candidates:
  • Has UI
  • Has TLS-HTTP
  • Has 2D drawing primitives
  • Has Cross-Compile
  • At most 30% of your predicted revenue
  • Has TCP/UDP primitives
  • Has threads
  • Has encryption(extra points if it uses hardware keystore)
User avatar
Kukulkan
Addict
Addict
Posts: 1396
Joined: Mon Jun 06, 2005 2:35 pm
Location: germany
Contact:

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

Post by Kukulkan »

We use Apache Cordova and the app is developed using JavaScript, HTML and CSS (Cordova apps are mostly a webbrowser app running a JS application inside). There are a lot of plugins and mobile functions available but not all.

What we found positive:
- Fast development cycle
- JS is mostly well known
- UI design with HTML+CSS is easy and productive

The negative things:
- We needed to do our own platform specific plugin's for file association and other things that where not possible and, in my eyes, important and mandatory. So it is "incomplete".
- You really have to take care about the versions and compatibility between all the needed frameworks and libs
- Apps definitely starting and running slower than native apps

Kukulkan
tj1010
Enthusiast
Enthusiast
Posts: 716
Joined: Mon Feb 25, 2013 5:51 pm

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

Post by tj1010 »

Kukulkan wrote:We use Apache Cordova and the app is developed using JavaScript, HTML and CSS (Cordova apps are mostly a webbrowser app running a JS application inside). There are a lot of plugins and mobile functions available but not all.

What we found positive:
- Fast development cycle
- JS is mostly well known
- UI design with HTML+CSS is easy and productive

The negative things:
- We needed to do our own platform specific plugin's for file association and other things that where not possible and, in my eyes, important and mandatory. So it is "incomplete".
- You really have to take care about the versions and compatibility between all the needed frameworks and libs
- Apps definitely starting and running slower than native apps

Kukulkan

That's about how it is with Titanium and some others I used. If you have plenty of time to do a project the HTML+CSS UI/UX and rolling your own plugins for sensors and such is probably nice.

If you have extremely limited time then coding the app and doing plugins for different platforms is over-kill.. Unless you have a team of course.
User avatar
Keya
Addict
Addict
Posts: 1890
Joined: Thu Jun 04, 2015 7:10 am

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

Post by Keya »

Any thoughts on this? https://software.intel.com/en-us/multi-os-engine
Seems like a way - efficient too - to create one Java app and have it run on both Android and iPhone? if i was going to outsource my PB app do you think asking the developer to use this would be good? Ive got no idea if it requires a runtime or other bloat to go with it.
I'm still internally torn as to whether i should lean towards building Java or native apps on mobile devices. When i say I i mean that poor unfortunate coder i outsource to - i'm sticking with desktop dev :D
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

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

Post by IdeasVacuum »

Take a look at the free trial of Spider Basic 2. Spider Basic is very similar to Pure Basic, so I'm thinking that converting a PB App to SB is viable, but bear in mind that a Desktop PC GUI style is not viable on a mobile phone, so you may need to simplify your GUI.
http://www.spiderbasic.com/

Image
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
Keya
Addict
Addict
Posts: 1890
Joined: Thu Jun 04, 2015 7:10 am

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

Post by Keya »

Spiderbasic is Javascript though, not on my radar
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

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

Post by Fred »

Hybrid apps are very common on market place (CSS/JS contained in an very fast container like crosswalk). Depending of your use, it could be more than enough (probably very close to JAVA performance on Android). It also have hardware accelerated gfx like WebGL and access to the mobile API.
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

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

Post by Dude »

How safe are SpiderBasic apps from being stolen? Can a user just copy the source files of your webpage (like with HTTrack, or even with "View source" in any web browser) and get your apps for free? I'd want my apps to be protected against that before buying a SpiderBasic license.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

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

Post by Fred »

Even JAVA apk can be easily decompiled and snooped around. When optimized, a Spider app is hard to read and follow. You can still apply some JS obfuscator if you want to protect it a bit, but client side apps will never really be protected.
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

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

Post by IdeasVacuum »

Can a user just copy the source files of your web page (like with HTTrack, or even with "View source" in any web browser) and get your apps for free?
The User would have to have your app in their possession in order to do that - and they wouldn't bother, given that they can probably re-distribute your app package in any case.
So, market your app accordingly - "pile it high and sell it cheap" Tesco Supermarket founder Sir Jack Cohen.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Post Reply