It is currently Sat Mar 25, 2017 12:36 pm



Welcome
Welcome to rfobasic

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today. **You are not required to provide truthful information to any registration questions. Be whomever you wish to be.!


Post new topic Reply to topic  [ 179 posts ]  Go to page 1, 2, 3, 4, 5 ... 18  Next
Author Message
 Post subject: RFO-BASIC! Launcher (develop on PC, type F5, see it run!)
Unread postPosted: Sun Jun 02, 2013 6:58 am 
Offline
User avatar

Joined: Tue Jan 03, 2012 9:31 am
Posts: 5447
Location: Paris, France
Download the BASIC! Launcher at mougino.free.fr

Following discussion in this thread: viewtopic.php?f=4&t=1516

I am happy to report that I have implemented a client-server solution as well as a launcher in order for people to develop their BASIC! program on their computer (with a standard keyboard and an advanced code editor on a big screen) then on a press of a key (F5) test it instantly on their cellphone:

Image

The pre-requisite are quite simple: have both the computer and cellphone connected on the same home network (aka LAN).

So far my solution is still at an alpha stage but it works, and more importantly it works in a very transparent manner for the user:

  • you install the package on the computer
  • you install and run the APK counterpart on the cellphone (it will launch itself at next phone startups and reside in background)
  • on your computer, you write PRINT "Hello, world!" then hit F5 and it runs on cellphone!

No advanced setting to set, no IP address to report from server program to client program, I played with UDP sockets and broadcasting in order for client to find server transparently thus making it really easy to the end-user :mrgreen:

While continuing to work on it, I'd like to ask the community for a name for this solution. While the Basic4Android (B4A) guys called it a "bridge" I thought of other possible names that could be nice. Also, depending on the name the whole graphics, icons and all would have to be made. If ppl are interested to help me, they are welcome to contact me in this topic or via PM.

Cheers and long live BASIC!
Nicolas

_________________
- Creator of the Android BASIC! Compiler


Report this post
Top
 Profile  
 
 Post subject: Re: RFO-BASIC! bridge (develop on PC, type F5, see it run!)
Unread postPosted: Sun Jun 02, 2013 11:00 am 
Offline

Joined: Sat Mar 02, 2013 11:04 am
Posts: 794
Location: France
Excellent Nicolas !!!
You'll make a lot of happy ;)
I don't realy understand how to link F5 and the content of the editor on the PC but... I can not wait ;)
All this seems to me very complicated, but have you an idea of when it will be downloadable ?

Best regards.

Gilles.

_________________
"It is better to mobilize intelligence for stupid things, rather than mobilizing stupidity for intelligent things."
Galaxy TAB S 8.4, 2560x1600, Marshmallow 6.0.1
Galaxy Note II, 1280x720, JB4.1.2
Galaxy A3, 1280x720, Android 6.0.1


Report this post
Top
 Profile  
 
 Post subject: Re: RFO-BASIC! bridge (develop on PC, type F5, see it run!)
Unread postPosted: Sun Jun 02, 2013 11:41 am 
Offline
User avatar

Joined: Tue Jan 03, 2012 9:31 am
Posts: 5447
Location: Paris, France
I can release something for beta testers as soon as I have a name for the program :D
I would like it if we diferentiated ourselves from the B4A "bridge" as it's slightly different (it will be able to be launched from any editor, not a specifically designed one). Sorry.. I'm a perfectionist :oops: I'd like to propose a beta package with at least a good name and icon to the testers. First feeling is very important.

_________________
- Creator of the Android BASIC! Compiler


Report this post
Top
 Profile  
 
 Post subject: Re: RFO-BASIC! bridge (develop on PC, type F5, see it run!)
Unread postPosted: Sun Jun 02, 2013 12:20 pm 
Offline
User avatar

Joined: Mon Oct 17, 2011 9:34 am
Posts: 891
Image Image Image
Shouldn't this be easier implementing connection with a simple USB cable?

What about "RFO-Basic! PC Shell" or "RFO-Basic! PC Development Kit" ? :mrgreen:

_________________
Check out my RFO Basic! apps & games: Image, on Google Play Store! Slide me!, Amazon, or AppsLib!


Report this post
Top
 Profile  
 
 Post subject: Re: RFO-BASIC! bridge (develop on PC, type F5, see it run!)
Unread postPosted: Sun Jun 02, 2013 2:30 pm 
Offline
User avatar

Joined: Tue Mar 05, 2013 5:19 am
Posts: 572
Location: Netherlands
Wow, Mougino,

that would be great ! :lol:
I would also prefer the USB-cable option, though.

My suggestion for a name : RFO-Basic! Plug!

I realize if you get to much suggestions it will be very difficult to make a choice, so I will vote for Launcher.....

thanks for your excellent work !

Regards, Aat

_________________
To view all my Apps in the BASIC! repository: http://laughton.com/basic/programs/Author_Index/Aat.pdf

When Sod's Law equals Murphy's Law you are bound to be on the right track....!


Last edited by Aat on Sun Jun 02, 2013 2:35 pm, edited 1 time in total.

Report this post
Top
 Profile  
 
 Post subject: Re: RFO-BASIC! bridge (develop on PC, type F5, see it run!)
Unread postPosted: Sun Jun 02, 2013 2:32 pm 
Offline

Joined: Sat Jun 04, 2011 2:29 pm
Posts: 184
Hi...

Ha hahahaha :lol:
I knew, I knew , I knew
mr. Mougino, I knew you were preparing a big surprise.

I told to myself days ago. He will surprise us....
Congratulations!!!
Excellent Mougino!!!


Report this post
Top
 Profile  
 
 Post subject: Re: RFO-BASIC! bridge (develop on PC, type F5, see it run!)
Unread postPosted: Mon Jun 03, 2013 3:15 pm 
Offline
Site Admin
User avatar

Joined: Fri May 06, 2011 1:33 am
Posts: 2012
Nice!


Report this post
Top
 Profile  
 
 Post subject: Re: RFO-BASIC! bridge (develop on PC, type F5, see it run!)
Unread postPosted: Mon Jun 03, 2013 3:33 pm 
Offline
User avatar

Joined: Tue Sep 13, 2011 4:58 am
Posts: 718
Location: Sao Paulo, Brasil
Since I was not able to run Vovkak's editor (some problem with Java 64bit), I hope this one helps.
Tks, Mougino!

_________________
Alfredo Peine

-------------

Hisense Sero 7 Pro (Tegra 3 7" rooted tablet - Android 4.4.4) / Moto G 3rd Gen (5" quad core rooted phone - Android 6.0).


Report this post
Top
 Profile  
 
 Post subject: Re: RFO-BASIC! bridge (develop on PC, type F5, see it run!)
Unread postPosted: Wed Jun 05, 2013 2:34 am 
Offline
User avatar

Joined: Tue Jan 03, 2012 9:31 am
Posts: 5447
Location: Paris, France
Just to keep everyone updated: I didn't release anything yet because I met an incredibly annoyable regression at the moment of putting all the pieces of software together.. the UDP broadcasting that allows to detect the server seems not not work anymore and I've been strugling with the code for 2 days.

As soon as I find where the regression is and I fix it I'll release RFO-BASIC! Launcher v0.1

Image

There will be 3 components needed in order for the solution to work:
  • The BASIC! Launcher APK on the Android device
  • A version of RFO-BASIC! on your device that supports the registration of the .bas file extension (will be in v01.75 but I'll provide an intermediate release for beta testers of BASIC! Launcher)
  • Finally the Launcher package on the computer, containing the editor, some config files and the .exe of the Launcher (there will be an installer for all that)

To keep you waiting, here are some screenshots of the real solution to date:
Image Image Image

Finally, just to say that I took feedback about usage with a USB cable and that after v0.1 is released I will be investigating how to make it happen (most probably with adb commands)

Cheers,
Nicolas

_________________
- Creator of the Android BASIC! Compiler


Report this post
Top
 Profile  
 
 Post subject: Re: RFO-BASIC! Launcher (develop on PC, type F5, see it run!
Unread postPosted: Wed Jun 05, 2013 8:49 am 
Offline

Joined: Tue Apr 23, 2013 1:54 am
Posts: 23
This sounds really neat!

I currently save my code file to a DropBox folder on my PC that sync's with my device using DropSync. I usually need to click "Sync Now" on the DropSync drop-down menu for it to happen immediately.

Works well but your new development is even better!

Regards,

Tinine


Report this post
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 179 posts ]  Go to page 1, 2, 3, 4, 5 ... 18  Next


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred