User avatar
CyaNn
Posts: 23
Joined: Fri May 17, 2013 11:59 am

Algoid on Raspberry

Fri May 17, 2013 12:06 pm

Hello everyone.

I am actually developping an educational language and its ide called Algoid on android platform.
You can find description here : http://www.algoid.net
And app (if you want to test it) here : https://play.google.com/store/apps/deta ... ann.algoid

My question is, do you think it is a good ide to translate my app to raspberry ?
In fact, Algoid language is written in java and is compatible with JVM but a new IDE must be written again.
It represent some month of working, then my question to see if it should be interestin for rPI users.

Thanks in advence for your replie(s).
Best, Yann
Last edited by CyaNn on Sat May 18, 2013 11:58 am, edited 2 times in total.
My web site : www.algoid.net

User avatar
CyaNn
Posts: 23
Joined: Fri May 17, 2013 11:59 am

Re: Algoid on Raspberry

Sat May 18, 2013 6:51 am

Sorry for the first link. I made a mistake. It is ok now.
So website is http://www.algoid.net :geek: :geek: :geek: :geek:
My web site : www.algoid.net

User avatar
CyaNn
Posts: 23
Joined: Fri May 17, 2013 11:59 am

Re: Algoid on Raspberry

Sun May 19, 2013 4:17 pm

Nobody think it should be a good idea ?
It represent a great amount of developpement. That's why my question. Is it worth ? :?: :?: :?: :?:
My web site : www.algoid.net

User avatar
CyaNn
Posts: 23
Joined: Fri May 17, 2013 11:59 am

Re: Algoid on Raspberry

Sat May 25, 2013 4:32 am

Well, after all work must go on !
It is beautifull ^_^

Image

full screen here
My web site : www.algoid.net

User avatar
CyaNn
Posts: 23
Joined: Fri May 17, 2013 11:59 am

Re: Algoid on Raspberry

Sat May 25, 2013 4:45 am

Well you can follow the work in progress here

If someone follow it. :cry: :cry: :cry: :cry:
My web site : www.algoid.net

User avatar
CyaNn
Posts: 23
Joined: Fri May 17, 2013 11:59 am

Re: Algoid on Raspberry

Sun Jun 30, 2013 9:02 am

Hello everybody,

Some improvement on the desktop application.
Image

You can find the jar here http://www.algoid.net/downloads/AlgoIDE-release.jar

Unfortunately the IDE performances are very slow on the PI. It is due to several factor : java is not totally optimized for rPI and the source editor I use is not optimized too....
After my holiday I will work around IDE performances.
In the meantime, I hope you will like this application. Keep in mind it is an Alpha version....
My web site : www.algoid.net

NathanBookham
Posts: 64
Joined: Sat Dec 15, 2012 9:18 am

Re: Algoid on Raspberry

Sun Jun 30, 2013 9:17 am

Looks nice. I had a little go at the web demo, IDE looks nice.

I|f you want some publicity, put it on the Pi Store, as people are likely to notice it there.
This account is now inactive.
I am now known as 'InverseSandwich'

User avatar
xranby
Posts: 539
Joined: Sat Mar 03, 2012 10:02 pm
Contact: Website

Re: Algoid on Raspberry

Sun Jun 30, 2013 9:24 am

It may eventually be possible to speed-up the Algoid IDE without a total GUI rewrite by using the GLG2D project to accelerate Java2D rendering using OpenGL. ... yet GLG2D may need to be extended to support your look and feel & OpenGL ES... Also AWT + OpenGL ES integration inside the JOGL has to be improved for use on the Pi ... well :)
http://brandonborkholder.github.io/glg2d/

I think you should try put your application into the Raspberry Pi store to let Algoid reach the target audience.
http://store.raspberrypi.com/projects

A stop gap may be to write a Raspberry Pi optimized runtime that you may use to run Algoid applications written using the IDE on a regular Desktop PC to be launched from the console on the Pi.

Why port Algoid to the Raspberry Pi ?
I think you answered the question yourself :
"Why Algoid ?

One day my 10 years old son asked me what was my job.
I am engineer in computer development, but how to explain?"

Keep up the good work! :D

Cheers
Xerxes
Xerxes Rånby @xranby I once had two, then I gave one away. Now both are in use every day!
twitter.com/xranby

User avatar
CyaNn
Posts: 23
Joined: Fri May 17, 2013 11:59 am

Re: Algoid on Raspberry

Sun Jun 30, 2013 5:00 pm

Nathan > Thanks a lot. Encouragements are appreciated.

XRamby > Ok I will try this library. I song good.
For Rpi Store, how to publish a java application ?
How to create and executable app from java -jar command line ?

Thank a lots for your replies. It make me happy.
My web site : www.algoid.net

User avatar
xranby
Posts: 539
Joined: Sat Mar 03, 2012 10:02 pm
Contact: Website

Re: Algoid on Raspberry

Sun Jun 30, 2013 5:54 pm

CyaNn wrote: For Rpi Store, how to publish a java application ?
Read the following help pages:
http://www.raspberrypi.org/phpBB3/viewt ... 83&t=26297 - How to upload content
and https://s3-eu-west-1.amazonaws.com/ie-l ... index.html

The pi store require you to create a zip file containing:
All files needed by your application, a start file & (optional) an install file.
The optional install file may pull in dependencies using apt-get such as OpenJDK.

You may choose to distribute an re-distributable jvm inside the zip file with your application.
http://www.puppygames.net/blog/?p=1282 - you may get inspired how puppygames include an OpenJDK JRE when they deploy using the steam store... that technically work similar to the raspberry pi store. The store is after all foremost a deployment tool for your content!

If you prefer to use javaws to install your application then let the zip file only contain two bash script files
1. a start file "run.sh" containing
javaws -J-cacao http://www.algoid.net/downloads/AlgoIDE.jnlp
2. a install file "install.sh" containing all commands needed to install the icedtea-web javaws launcher
# this will install openjdk and
# the icedtea-web netx javaws aluncher
apt-get install icedtea-netx
CyaNn wrote: How to create and executable app from java -jar command line ?

Thank a lots for your replies. It make me happy.
The easiest is to create bash file containing the the command needed to start your application

Code: Select all

 java -cacao -jar AlgoIDE-release.jar
OpenJDK is easily installed on the Pi using the icedtea packages from the Raspbian package repository.
icedtea builds are re-distributable, and this makes it suitable for use by application in the Pi store.
The openjdk-7-jre or openjdk-7-jre package will install OpenJDK + several additional JVM such as zero, cacao and jamvm
you activate the jvm by passing the jvm name on the command line
java -version
java -jamvm -version
java -cacao -version

Cheers
Xerxes
Xerxes Rånby @xranby I once had two, then I gave one away. Now both are in use every day!
twitter.com/xranby

User avatar
CyaNn
Posts: 23
Joined: Fri May 17, 2013 11:59 am

Re: Algoid on Raspberry

Mon Jul 01, 2013 9:24 am

Well..... wit openjdk it is slower than with jdk8....
My web site : www.algoid.net

User avatar
jackokring
Posts: 818
Joined: Tue Jul 31, 2012 8:27 am
Location: London, UK
Contact: ICQ

Re: Algoid on Raspberry

Mon Jul 01, 2013 12:01 pm

You may already have a JVM installed if you have installed LibreOffice.
Pi[NFA]=B256R0USB CL4SD8GB Raspbian Stock.
Pi[Work]=A+256 CL4SD8GB Raspbian Stock.
My favourite constant 1.65056745028

User avatar
CyaNn
Posts: 23
Joined: Fri May 17, 2013 11:59 am

Re: Algoid on Raspberry

Wed Jul 03, 2013 7:37 pm

Thank you xerces for all your precious help.
I am trying to add gl2g on my project, but it is a bit complicated to find the good dependencies.

I had think to create a standalone runtime that execute script (like python console) but it lose the benefit of step by step and debugger.

thanks again, I will work around a bit and will work more seriously at my vacation return.
best regards.
Yann
My web site : www.algoid.net

User avatar
CyaNn
Posts: 23
Joined: Fri May 17, 2013 11:59 am

Re: Algoid on Raspberry

Wed Jul 03, 2013 8:12 pm

xerces !!! I am a stupid man.... I have found, it came from the look and feel....
Pfff..... lol.... :lol: :lol: :lol: :lol:
It is usable now, I will follow your post to create a packaged app. ;-)
My web site : www.algoid.net

User avatar
CyaNn
Posts: 23
Joined: Fri May 17, 2013 11:59 am

Re: Algoid on Raspberry

Thu Aug 29, 2013 7:37 pm

xranby, I have forgot to thank you..... well.... thanks a lot for your precious help.
I am trying to create the zip package right now....
thanks again sir.
My web site : www.algoid.net

User avatar
CyaNn
Posts: 23
Joined: Fri May 17, 2013 11:59 am

Re: Algoid on Raspberry

Mon Sep 02, 2013 9:01 am

Well !!!!
Pi-store integration is in progress. I hope finish that at the middle of the week.....

Little question, is it necessary to create two version (one for hardfloat and one for soft) or juste hard float is necessary (knowing that the most current version it the hard one) ?

Another question :
Which person should I contact to make some anouncment of my release ?
My web site : www.algoid.net

User avatar
CyaNn
Posts: 23
Joined: Fri May 17, 2013 11:59 am

Re: Algoid on Raspberry

Thu Sep 05, 2013 9:06 am

Yeah, AlgoIDE is now available on the Pi Store :
Image

Thanks to xranby and xerces for their precious helps.
Enjoy it ;-)
My web site : www.algoid.net

User avatar
CyaNn
Posts: 23
Joined: Fri May 17, 2013 11:59 am

Re: Algoid on Raspberry

Sun Sep 15, 2013 6:18 pm

AlgoIDE v0.2.4 (beta) is out on PC, Java's Applet and Raspberry PI
http://download.algoid.net

Release note :
- algo.getX() / algo.getY / algo.getAngle.
- OBJECT.clone, automatic assignment.
- plugins ready.
- correct algo.removeLast and algo.removeFirst if algo's shapes are empty.
- auto completion (hit ctrl + space) and help for control structures.
- algo.onKey to manage keyboard events
- algo.onWheel to manage mouse wheel events
- algo.onTouch / algo.onTap / algo.onUp compatibility
- remove algo.import

Image

Always here :
Image
My web site : www.algoid.net

S0AndS0
Posts: 6
Joined: Thu Mar 12, 2015 6:47 am
Contact: Website

Re: Algoid on Raspberry

Thu Mar 12, 2015 7:03 am

So I ran across this forum post while on the hunt for running ~jnlp files on ARM CPUs... I tried running the ~jar file provided in your site's download section; WOW :-D it works on my Android's Linux OS with very little lag!

Here's the screen shots
Screenshot_2015-03-11-23-44-37.png
Screenshot_2015-03-11-23-44-37.png (37.92 KiB) Viewed 5774 times
Screenshot_2015-03-11-23-44-51.png
Screenshot_2015-03-11-23-44-51.png (37.59 KiB) Viewed 5774 times
~ and yeah I know there's an Android 'app' available; like I said I was brought by a search engine. But figured it would be nice to let the dev know that it's compatible for Android in two ways now.

Return to “Staffroom, classroom and projects”