You are not logged in.

  • "santiago.barreiro" is male
  • "santiago.barreiro" started this thread

Posts: 14

Date of registration: Jan 29th 2010

Location: Guayaquil, Ecuador

Occupation: Manager of a software company

Hobbies: Music player

  • Send private message

1

Friday, August 19th 2011, 5:40pm

Can my Jabaco code work in Android?

Hello everyone!
Since my testing for serial communications did work, just recently, I restart working with Jabaco in a more intense way. The target environment did change though, directing towards the iPad like devices. Therefore I am wondering since the final code is java, have someone tested or experienced with resulting applications functioning in Android?
Regards

Prokli

Beginner

Posts: 2

Date of registration: Oct 28th 2011

  • Send private message

2

Tuesday, July 10th 2012, 6:31pm

Android is diffrenet to Windows

Hi!

Quite a long time ago, when U asked this question!
Android is a OS which is quite different to windows (and even to Java programs running on WIn).
I am quite sure that U can't run Jabaco programs on Android.


If you like to program VB on Android, see:
http://www.basic4ppc.com/
It's an excellent, easy to use and lowcost tool :rolleyes:
Cheers,
Harald

JasonS

Trainee

  • "JasonS" is male

Posts: 65

Date of registration: Feb 17th 2010

  • Send private message

3

Wednesday, July 11th 2012, 8:36am

Dalvik

Interestingly enough.. Android apps are actually Java applets or something similar. Ive read several places that you can convert Java code to Google's 'Dalvik' format, and compile and it will run on Android OS. Now, who can make a Jabaco to Dalvik converter? :p

Regards,
Jason

Prokli

Beginner

Posts: 2

Date of registration: Oct 28th 2011

  • Send private message

4

Wednesday, July 11th 2012, 9:17am

Dalvik Virtual Machine

You are right!

Android require all apps to run above its Dalvik Virtual Machine (DVM).

An application must first be compiled to bytecode, before the DVM will compile it into a Dalvik Executable (.dex) that the DVM can run.

Unfortunately, I am neither a Java programmer nor do I have much knowledge about DVM. :?:

theuserbl

Intermediate

Posts: 436

Date of registration: Dec 20th 2008

  • Send private message

5

Wednesday, July 11th 2012, 10:40am

One of the advantages of Jabaco is the GUI-designer and the framework. So you can "draw" your GUI-applications.
If you write for Android, then this advantage no longer exits. In this case, you have only the BASIC-language, without the other nice things.

But there existing Basic4Android. There you can "draw" Android-applications, and write the code in BASIC.

Greatings
theuserbl

This post has been edited 1 times, last edit by "theuserbl" (Jul 11th 2012, 10:51am)


JasonS

Trainee

  • "JasonS" is male

Posts: 65

Date of registration: Feb 17th 2010

  • Send private message

6

Thursday, July 12th 2012, 12:16am

theuserbl,

Awesome. Thank you for the link. Much appreciated. :)

Regards,
Jason

theuserbl

Intermediate

Posts: 436

Date of registration: Dec 20th 2008

  • Send private message

7

Thursday, July 12th 2012, 2:28am

Awesome.


Thats only the Basic, which is most similar to Jabaco, I think.

But there existing more programs, with which you can develop for Android in Basic,
For example
- Monkey (created by the developer of BlitzBasic)
- GLBasic
- etc.

Greatings
theuserbl

JasonS

Trainee

  • "JasonS" is male

Posts: 65

Date of registration: Feb 17th 2010

  • Send private message

8

Friday, July 13th 2012, 9:07pm

Android Apps / Basic

So I trialed 'monkey'--syntax is way different than VB or basic style. I also trialed Basic4Android--and I was quite impressed, The abstract designer and B4a-bridges are VERY COOL. I will be purchasing that one soon so I can utilize all the libraries (sockets, etc. :) Your pretty limited as to what you can do in the trial, and its also only for 30 days. $50 or $100 isnt bad for this. Its syntax is slightly different than VB or Jabaco, but it will do. :p


~Jason

JasonS

Trainee

  • "JasonS" is male

Posts: 65

Date of registration: Feb 17th 2010

  • Send private message

9

Monday, July 16th 2012, 2:26am

'Jabaco(JavaApplet)-VBServer-B4A(AndroidDex) Connecting' Sources ('AuthIT Source Code' )

The short answer is, not directly. There is no coverter/reflector (yet)--but it would be REALLY cool if someone made one. Jabaco to B4A reflector. Because once you have something made in Jabaco, you can paste over most of your code and, because things are a little different in B4A vs Jabaco or VB, you have to learn about all the things you have to do differently, and change them in your code. But this could all be setup to be automated I am sure. It would be hard, but could be done (Making a converter). But its really not *that* hard to splice and dice and rebuild your app from jabaco to B4A. For me its easiest to take something I already have working in Jabaco, open up B4A and connect the wireless bridge to my android tablet. I am also going to try the android x86 emulator to test my multi user interactive Jabaco And Dex apps ('virtual android') via virtual box, tonight. The B4A forums have a lot of good samples and help, and now I have also provided a decent sample for your use. It is so nice to be able to live on different platforms with your apps based off of the same code :) See thread with source samples for Jabaco and B4A (Android) A login form that connects to a database

Regards,
Jason

JasonS

Trainee

  • "JasonS" is male

Posts: 65

Date of registration: Feb 17th 2010

  • Send private message

10

Saturday, July 21st 2012, 12:17am

Back to the Basics

Well.. I bought B4A PPC. Its great. Jabaco is great. I just love the fact that VBr's can now write apps for java .. native vb6 executables still work on Win7, Server 2008, and has anybody tried VB6 on Win8? (I still use VB6 execlusivly for the server portions of my server/client apps..) now basic4android... now someone somehow just needs to make an iBasic.. lol... which I think apple would prevent from ever happening, but I am uneducated in that topic right now and have some research to do! I remember using basic on old apple computers as a child... so.. I have to wonder how that would work out...

Regards,
Jason

Dani

Intermediate

Posts: 325

Date of registration: Nov 19th 2009

Location: GERMANY

  • Send private message

11

Saturday, July 21st 2012, 7:49pm

Hey there Jason,

me too...
I remember programming a little green worm crawling across the screen on an apple II
That must have been the late 80'ies ... California High School! lol...

Basic on Mac

I still have some 5,25″ floppy disks ... probably worthless by now ...


Dani

JasonS

Trainee

  • "JasonS" is male

Posts: 65

Date of registration: Feb 17th 2010

  • Send private message

12

Sunday, July 22nd 2012, 5:58am

The coolest thing were the 'light pens' ... you could draw on the screen w/ it... lol..

woz

Beginner

Posts: 7

Date of registration: Oct 11th 2012

  • Send private message

13

Friday, October 12th 2012, 4:39pm

hope so....


Rate this thread
WoltLab Burning Board