droidscript to the web

587 views
Skip to first unread message

Gergely Suto

unread,
Jun 16, 2016, 6:52:09 PM6/16/16
to DroidScript
Hello, 
I am new to Droidscript and blown away already. But I have spent quite some effort in the last months on learning how to create websites with creative javascript content, three.js, p5.js etc, so I'd rather stick to that plan for now. 
On the other hand Droidscript is mesmerizing. And since I have come across it in a quest for Javascript IDEs that allow you to code directly on a smartphone and since Droidscript <i>actually</i> has that functionality too, I dare to ask here:
Is there such a thing as a Droidscript.js, that contains the syntax and that could be used on a website? The "Molecules" examle contains a HTML file that has this line:
<script src=file:///android_asset/app.js></script>
Can this file be accessed?

Steve Garman

unread,
Jun 16, 2016, 11:46:24 PM6/16/16
to DroidScript
That file can only be accessed from within the DroidScript app.

It is mostly an access to a great deal of Java code included in DroidScript and has no meaning on its own.

BareK

unread,
Jun 17, 2016, 7:10:18 AM6/17/16
to DroidScript
From what I understand, you just want to develop mobile friendly websites and to get android apps out of them, right?

For this, app.js (used in DroidScript) will give you access to standard UI composant, popup messages, custom alerts and confirm dialogs, etc.
If you don't use them, you basically don't need app.js.

DroidScript can effectively provides you its IDE, and you can use its (paid) apk plugin to generate your applications.

Just create a "New HTML App" from DroidScript IDE and it will generate your "index.html" file (which will have the name of your project).
Place your code, and there you go :)

Do you need any specific functionality?

Dave Smart

unread,
Jun 18, 2016, 6:58:43 AM6/18/16
to DroidScript
Actually guys there is such a thing as droidscript.js but it is currently in early alpha.

It's a pure js library that allows you to use your familiar DroidScript syntax to create websites that work both on desktop and mobile. I'm using it to develop a commercial web site for a customer right now and hopefully it will soon be in a state for early preview.  It is built on top of JQuery Mobile and I may need to open source it because I'm struggling to find the time.  So if there are any JQM experts out there that want to help the please let me know :)

(It should also allow you to convert your DS apps to HTML quite easily)

Regards
David

Om Waghmode

unread,
May 3, 2017, 4:48:33 AM5/3/17
to DroidScript
I am learning jqm . I might help you. I am free this month.
Reply all
Reply to author
Forward
0 new messages