OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Pretty full-featured BASIC interpreter for Android and other programming languages
KF6GPE
post Jun 30 2018, 07:37 PM
Post #1





Group: Members
Posts: 32
Joined: 26-May 18
Member No.: 823,299



This looks pretty cute.

RFO BASIC runs with an editor right on the device, and has a lot of hooks into the Android runtime stuff for things like networking, sound, and graphics. It's a semi-structured version of the language, it looks like.

My BASIC days are largely over, although I may dig out my 101 BASIC Computer Games book (or however many there were) out of the attic and port some over.

What other programming languages (besides what you find in termux!) have people come across that they like?
Go to the top of the page
 
+Quote Post
rubus-3.142
post Jun 30 2018, 11:05 PM
Post #2





Group: Members
Posts: 56
Joined: 15-June 18
From: Scotland, UK
Member No.: 824,531



Python is available via Qpython3 (as well as within Termux I think) includes a limited IDE with syntax highlihgting. Does nto include many of the libraries like numpy scipi etc but good for a bit of fun
Go to the top of the page
 
+Quote Post
Pete G.
post Jul 1 2018, 04:08 PM
Post #3





Group: Members
Posts: 62
Joined: 9-February 18
From: SF Bay Area, USA
Member No.: 817,659



I just installed python, ruby, and perl in termux. So far that's handled all my convenience scripts from my other machines (with a few needed path adjustments). I even installed clang so that I could compile a C++ utility of mine that I use a lot! Reasonably happy so far.
Go to the top of the page
 
+Quote Post
gidds
post Jul 2 2018, 12:15 AM
Post #4





Group: Members
Posts: 284
Joined: 13-January 18
From: UK
Member No.: 816,386



Other than bash and C, which Termux provides, the main languages I'd like to see are Kotlin and Java.

Given that those are the two official Android programming languages, I still find it bizarre that they're not available on the device itself...
Go to the top of the page
 
+Quote Post
shinkamui
post Jul 22 2018, 07:15 PM
Post #5





Group: Members
Posts: 43
Joined: 6-June 18
Member No.: 823,980



QUOTE(gidds @ Jul 2 2018, 03:15 AM) *
Other than bash and C, which Termux provides, the main languages I'd like to see are Kotlin and Java.

Given that those are the two official Android programming languages, I still find it bizarre that they're not available on the device itself...



I've put several hundred onboard hours of coding time in thanks to Aide and C4Droid (since 2010ish, authors are STILL active on both!). With root, they're an excellent combo of onboard development compiler/ide combos, with support for pretty much everything you need for building android apps, or just writing native code and building arm binaries on the fly...

Aide has full android sdk/ndk support, and can compile full publishable APKs on device. There's even an plugin for layout editing, and a full on tutorial for new devs.
C4Droid is an ARM C compiler, with several plugins including GCC, SDL, and more, that allows native onboard C/C++ development. Its quite extensible, and depending on how low level you want to get, a steal for the price. I used to use this to write and test exploits on the fly in another life. The C4Droid dev also has a full Pascal IDE and compiler called PascalGUI if you're really into classic dead languages! smile.gif I long abandoned Pascal for C in the early 90s (with a very brief delphi stint), so never bothered to look at it, but the OP wanted other languages, so I figured I'd throw it in as a bonus.

Two of the first apps I installled on the Gemini. Right off the bat, the function key mapping for some of the more common symbols is going to take some getting used to.


Aide:
https://play.google.com/store/apps/details?id=com.aide.ui

C4Droid:
https://play.google.com/store/apps/details?...m.n0n3m4.droidc
https://play.google.com/store/apps/details?...0n3m4.gcc4droid *gcc plugin*
Go to the top of the page
 
+Quote Post
KF6GPE
post Jul 22 2018, 07:25 PM
Post #6





Group: Members
Posts: 32
Joined: 26-May 18
Member No.: 823,299



Oooh! I will definitely have to check out Aide. That sounds really cool! Thanks.
Go to the top of the page
 
+Quote Post
Dixit
post Jul 22 2018, 08:34 PM
Post #7





Group: Members
Posts: 111
Joined: 19-June 18
Member No.: 824,751



Come on Planet. We should have OPL on the Gemini !
Go to the top of the page
 
+Quote Post
Eldkatten
post Jul 22 2018, 09:03 PM
Post #8





Group: Members
Posts: 88
Joined: 5-June 18
Member No.: 823,876



Hello,

QUOTE(gidds @ Jul 2 2018, 10:15 AM) *
(...)Given that those are the two official Android programming languages, I still find it bizarre that they're not available on the device itself...(...)

Since Assembler, C and C++ (and Pascal/Delphi) are the official DOS/Windows programming languages, you get a fully equipped SDK and IDE an every PC shipped? I find those expectations a bit bizarre.
I suggest to take down expectations some notches. Free WLan everywhere, free power to charge gadget everywhere, free software development kits on every gadget... What's next?

No offence. Kind regards
Go to the top of the page
 
+Quote Post
petefoth
post Jul 23 2018, 09:25 PM
Post #9





Group: Members
Posts: 40
Joined: 13-January 18
Member No.: 816,405



QUOTE(KF6GPE @ Jul 23 2018, 04:25 AM) *
Oooh! I will definitely have to check out Aide. That sounds really cool! Thanks.


I just did and it includes
QUOTE
- Git integration with Commit/Dicard/Push/Pull/Branch/Merge and SSH support.


biggrin.gif
Go to the top of the page
 
+Quote Post
Charlie Stross
post Jul 24 2018, 02:19 AM
Post #10





Group: Members
Posts: 42
Joined: 2-February 18
Member No.: 817,351



This isn't to all tastes, but:

1. Install Termux

2. pkg install tmux git nvim

3. Then go grab SpaceVim:



Voila: vim-based macro-driven multi-language IDE with git integration!

(Personally I find spacevim a bit much; I learned on old-school SysV vi, so I'm running on nvim and some hacked-up syntax colourizing for markdown in tmux — I'm not programming so much as writing copious text. But hey, if I want to roll up a perl script for old time's sake it's <em>all</em> there, and with clang and make installed I can add perl modules that include XS extensions as well.)
Go to the top of the page
 
+Quote Post
Daniel W
post Oct 21 2019, 03:20 PM
Post #11





Group: Members
Posts: 139
Joined: 22-May 18
From: Sweden
Member No.: 823,019



QUOTE(gidds @ Jul 2 2018, 10:15 AM) *
...I'd like to see are Kotlin and Java. Given that those are the two official Android programming languages, I still find it bizarre that they're not available on the device itself...

QUOTE(Eldkatten @ Jul 23 2018, 07:03 AM) *
Since Assembler, C and C++ (and Pascal/Delphi) are the official DOS/Windows programming languages, you get a fully equipped SDK and IDE an every PC shipped? I find those expectations a bit bizarre.
...
No offence. Kind regards
Okay, sorry... yes, this is an OLD thread. I just could not not say anything. No offense was taken or is intended. I think, however, that expecting a free IDE and SDK with every computer is far from bizarre.

DOS used to come with GW-Basic and, later, QBasic, so yep, we used to get a free SDK and IDE with every DOS PC. Nowadays, while Microsoft does not force its free Visual Studio Community Edition upon Windows users, I get a fully equipped SDK and IDE with every Windows PC, should I want to, supporting the languages Windows 10 is built with, and more. Linux tends to have free developer tools, included or as packages to download, so yes, I get a fully equipped SDK and IDE with every Linux PC, supporting the languages Linux is built with, and more. Apple developed, and offers for free, the language Swift and the IDE Xcode. Not sure if/what they may offer for the other languages MacOS is built with. Still, I get a fully equipped SDK and IDE with every Mac, should I want to. Google offers, for free, Android Studio, supporting both Java and Kotlin. That IDE, however, only runs on Androids sibling Chrome OS, the devices for which has real keyboards, much like devices from Planet Computers...

...so, where's my free Gemini/Cosmo IDE? ;-) No... I don't really expect to get one anytime soon, not because getting a free IDE in itself would be uncommon, but because Planet Computers is a small company with more pressing issues on its few hands. Perhaps, though, they could cooperate with some project to port a suitable IDE from Linux? Yes, there is a small IDE selection on Google Play, though they seem to lack support for making even the simplest of GUIs. Pascal N-IDE and RFO Basic seems to support graphics, so one can sort-of draw a GUI it seems. For the latter, there appears to be add-ons that can generate code to draw a GUI, which is still quite some way away from drag-n-dropping "real" controls. No, I'm not complaining, just observing that I would probably find it frustrating. Hm... maybe I should try to run some Linux IDE in UserLAnd? And then run the compiled programs in UserLAnd too... Oh, well. Time to go to bed now.
Go to the top of the page
 
+Quote Post
graynada
post Oct 21 2019, 11:12 PM
Post #12





Group: Members
Posts: 118
Joined: 27-April 18
Member No.: 821,829



QUOTE(Daniel W @ Oct 22 2019, 12:20 AM) *
...so, where's my free Gemini/Cosmo IDE? ;-)


When I had my Gemini I did have Android Studio running inside UserLAnd on Android. I didn't do much with it in that environment but seemed to run OK and I don't see why you couldn't do some app development in there. I can't remember if I tried Eclipse or not but no reason to suspect it won't work either. Hope this helps.
Go to the top of the page
 
+Quote Post
Charlie Stross
post Oct 22 2019, 04:07 AM
Post #13





Group: Members
Posts: 42
Joined: 2-February 18
Member No.: 817,351



QUOTE(Charlie Stross @ Jul 24 2018, 11:19 AM) *
This isn't to all tastes, but:

1. Install Termux

2. pkg install tmux git nvim

3. Then go grab SpaceVim:


SpaceVim is massive overkill on the Gemini, in my opinion and for what I need, but I kinda went overboard with nvim, vimplug, and a bunch of plugins for near-enough WYSIWYG markdown editing and casual perl support for the small amount of text munging I need.

In particular: I'd recommend installing vim-plug as a plugin manager; then adding in NERDTree (hierarchical file browser).

Then, from my init.vim, because I'm into writing lots of markdown, the following plugins, all off GitHub ...

CODE
Plug 'scrooloose/nerdtree'
Plug 'nelstrom/vim-markdown-folding'
Plug 'reedes/vim-pencil'
" Plug 'reedes/vim-litecorrect'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'xolox/vim-misc'
Plug 'xolox/vim-session'
Plug 'https://github.com/edkolev/tmuxline.vim'


(vim-litecorrect is commented out because it slowed everything down unreasonably on the Gemini—it's a pure vimscript autocorrector for common typos.)

Go to the top of the page
 
+Quote Post
Eldkatten
post Oct 22 2019, 11:49 PM
Post #14





Group: Members
Posts: 88
Joined: 5-June 18
Member No.: 823,876



Hello graynada,

thanks for the hint to UserLAnd. I tried Gimp, but it said "unable to open display". Also "Idle" seems to have problems with the display and doesn't run.
Anyway, could you perhaps direct me to some intsructions on how to get "Android Studio" into UserLAnd and how to run it?

Kind regrads
Go to the top of the page
 
+Quote Post
graynada
post Oct 23 2019, 10:53 PM
Post #15





Group: Members
Posts: 118
Joined: 27-April 18
Member No.: 821,829



QUOTE(Eldkatten @ Oct 23 2019, 08:49 AM) *
Hello graynada,

thanks for the hint to UserLAnd. I tried Gimp, but it said "unable to open display". Also "Idle" seems to have problems with the display and doesn't run.
Anyway, could you perhaps direct me to some intsructions on how to get "Android Studio" into UserLAnd and how to run it?

Kind regrads


Hi,

I'm pretty sure I did nothing more complicated than download the Linux zip from the Android Studio website and run it as per the instructions. The trick I found to make things easy to navigate from the UserLAnd file system to the device and and SD card file system is to set up some bookmarks in the file manager to get to them. This is because permissions deny access to some of the parent directories but you can access them if you know the file path.

If I get time later I will install UserLAnd on my latest device (Asus Zenfone 6 (which is fantastic BTW wink.gif )) and see if that jogs my memory more.

Hope this helps
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 8th December 2019 - 02:20 AM