It would be great if we could target mobile devices from Jabaco.
B4J is a nice effort, and will probably be extremely popular as time goes on. But unfortunately, the ide was written in .net, and therefore isn't able to 'sense' Java class and methods from ordinary jars.Yes, this repeats info already here but there have been some developments:
As far as I know the only popular mobile platform supporting Java in any form is Android, and that uses a different runtime (Dalvik, not a JVM), libraries, and its own native widget/UI framework. So Jabaco is very unlikely to be useful for mobile device programming.
An alternative might be Basic4Android. There is also a new companion product B4J, highly compatible with Basic4Android at the source code syntax level. This creates generic JVM bytecode using JavaFX for GUIs.
B4J is free and might make a decent alternative to Jabaco if you need one. From there one might consider whether to invest in the (not free) Basic4Android product for Dalvik (Android) programming.
This is not exactly correct. The Java source code is not required. You do need to create a Java wrapper to wrap the jar file. In most cases it is quite simple. There is a tool named SLC (simple library compiler) that helps with the building step.Quoted
In order for an external jar to be accessible to B4J (at this time,
December 31st, 2013), you need to have the source code and prepare it in
different ways.
If it doesn't require the source code, then how come 1) Some of the instructions (trying to locate them) recommend that you inject annotations like @ShortName(module)? Are they referring to the wrapper code?This is not exactly correct. The Java source code is not required. You do need to create a Java wrapper to wrap the jar file. In most cases it is quite simple. There is a tool named SLC (simple library compiler) that helps with the building step.Quoted
In order for an external jar to be accessible to B4J (at this time,
December 31st, 2013), you need to have the source code and prepare it in
different ways.
Yes, they are referring the wrapper code.Quoted
If it doesn't require the source code, then how come 1) Some of the
instructions (trying to locate them) recommend that you inject
annotations like @ShortName(module)? Are they referring to the wrapper
code?
Ok, thanks Erel. Will stay tuned on B4A & B4J progress. Looks like you just posted a new version, will take a look.I'm not really familiar with Jabaco and I definitely don't intend to compare B4J to Jabaco on Jabaco forum. It looks like a great product.
I've just corrected the facts.
Yes, they are referring the wrapper code.Quoted
If it doesn't require the source code, then how come 1) Some of the
instructions (trying to locate them) recommend that you inject
annotations like @ShortName(module)? Are they referring to the wrapper
code?
98% of B4J (and B4A) developers will never write any library. They do not know Java and they don't need to know. Over time there will be more and more libraries available. In B4A there are probably several hundreds of libraries available.
When a library is wrapped we do our best to make the API more coherent with B4J concepts. Its not just about exposing the native API.
Beginner
Date of registration: Feb 27th 2014
Location: Supanburi ,Thailand
Occupation: Agric Chemical Seller
Hobbies: learning programming and English
This post has been edited 1 times, last edit by "rucksacktraeger" (Mar 25th 2014, 8:49am)
basic4android is great, but also not multiplatttform. But basic4android as a sub-product called B4J which is free and for writing Java Apps on 'Computers'.
Have a look at NSBasic.com There you can code in VB Syntax and the output is html5/javascript webapps. They run on every mobile device and you have access to acclerater, gps, camera, etc.
If you want to sell your app on iOS AppStore or GooglePlay you can wrap it to an native app using PhoneGap. NSBasic is not free, but you can test it and write at least webapps for free.
In conclusion - if you don't want to move away from VB Syntax (what you maybe should...)
VB6 only for Win Machines
Jabaco only for 'Computers'
NSBasic for all devices
BUT, I don't like NSBasic IDE and especcially the debugger! Jabaco is by far better. So I really hope Manuel is improving the IDE and I dream that in the future there is not only a Java Framework in jabaco, but also an Android Framework (which is slightly different to 'real' java Framework). I do not put my hope in that. I would be willing to help Improve the Jabaco Framework, but not in any Android Framework. But maybe YOU?