Author Topic: Programming on the Android smartphone  (Read 14948 times)

0 Members and 1 Guest are viewing this topic.

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Programming on the Android smartphone
« on: April 17, 2011, 04:04:14 pm »
Did you know that you can program and run Python on nearly any Android smartphone?
You can literally whip out your phone and start programming on the run -- it's like a calculator on steroids! (although support for graphics is nearly nonexistant, as far as I can tell, so games are out)

http://code.google.com/p/android-scripting/

You can also do Lua, Perl, jRuby, and a few other languages, I think.

This is so awesome: I just had to share.
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Programming on the Android smartphone
« Reply #1 on: April 17, 2011, 04:04:38 pm »
That's because it's linux :P It rocks, right?

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Programming on the Android smartphone
« Reply #2 on: April 17, 2011, 04:25:53 pm »
Yeah, Linux is awesome.

I really need to install a Linux distribution someday.
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Programming on the Android smartphone
« Reply #3 on: April 17, 2011, 04:46:57 pm »
Thanks for the link! This looks real awesome :)

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: Programming on the Android smartphone
« Reply #4 on: April 17, 2011, 04:51:37 pm »
If someone could wrap the core Android GUI libraries with Python, it could work :)
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline tloz128

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 324
  • Rating: +58/-6
  • I feel asleep.
    • View Profile
Re: Programming on the Android smartphone
« Reply #5 on: April 17, 2011, 05:31:46 pm »
Wow, I only thought you could program Java for it. I might want to look into this.
Naaa... Na Nah Na Nana Na Nah... Hey Jude!

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Programming on the Android smartphone
« Reply #6 on: April 17, 2011, 05:37:24 pm »
Well yeah, since Android is some sort of Linux distro, you can pretty much do anything with it.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline tloz128

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 324
  • Rating: +58/-6
  • I feel asleep.
    • View Profile
Re: Programming on the Android smartphone
« Reply #7 on: April 17, 2011, 05:41:37 pm »
Well yeah, since Android is some sort of Linux distro, you can pretty much do anything with it.
It actually runs on top of the Linux distro.
Naaa... Na Nah Na Nana Na Nah... Hey Jude!

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Programming on the Android smartphone
« Reply #8 on: April 17, 2011, 07:32:03 pm »
Nice. I'm gonna have to look at that.
I did manage to setup a rudimentary Java programming environment on my Droid, through the use of an online IDE and an online compiler. Link that with my Dropbox, and I think it works quite nicely.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Re: Programming on the Android smartphone
« Reply #9 on: April 17, 2011, 07:40:01 pm »
I remember looking at this a while ago when beginning to mess around with Android development.

I wish there was a full port of the Android API to Python (or one of these other languages): this, and like the Jythonroid project which it seems to have supplanted, are really only for making scripts, not full-fledged applications.

Well yeah, since Android is some sort of Linux distro, you can pretty much do anything with it.
It actually runs on top of the Linux distro.

To be technical, it runs on top of the Linux kernel (Or at least a version of the Linux kernel modified by Google). It's not considered a Linux distro (at least, not by Google).



The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Programming on the Android smartphone
« Reply #10 on: April 18, 2011, 05:51:35 am »
Python? Me too thought it was Java only. They're introducing Flash on 3.2.

Offline PeonHero

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +13/-5
  • Coder of Tomorrow, Coding Today.
    • View Profile
Re: Programming on the Android smartphone
« Reply #11 on: April 19, 2011, 07:33:22 pm »
Is there any other device that can do this? What other devices are there that a person can program on the run, I only know two things you can program on, TI calculators and android smart phones, any others?
« Last Edit: April 19, 2011, 07:33:57 pm by PeonHero »
There are a lot of<a href="http://justmegawatt.com/images/youdidntknow"> Things you didn't know </a>about until you clicked that link.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Programming on the Android smartphone
« Reply #12 on: April 19, 2011, 08:26:05 pm »
Other calcs, laptops :P The pandora. Netbooks too, but I guess they're laptops :P

@tloz "on top of" means it runs on linux. Same thing as saying Fedora runs on Linux, or Ubuntu. They just made a Java-centered Linux OS.
« Last Edit: April 19, 2011, 08:27:13 pm by willrandship »

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: Programming on the Android smartphone
« Reply #13 on: April 19, 2011, 09:17:47 pm »
I personally prefer working on my laptop, although the testing is a little annoying as if the emulator crashes, it takes a little while to start it up again.
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Offline PeonHero

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +13/-5
  • Coder of Tomorrow, Coding Today.
    • View Profile
Re: Programming on the Android smartphone
« Reply #14 on: April 19, 2011, 11:09:45 pm »
So far nothing beats the calculator for programming on the go I guess. Laptops are great but not as portable (you can't take them everywhere like calculators), but the TI calculators are amazingly well designed, the buttons are so easy to get used to yet it looks complicated, I love it. It's looks like what a real professional programmer would use on the go, I think people also look smarter / nerdier while they're using it. If they had cell phone capability, web browsing capabilities, able to take pictures and videos, were in color, and you could program in more than just TI-Basic, it would be the best thing ever made (in my opinion).

Maybe it will be made in the future, something like "The Pandora," it would be the size of 2 TI-83s held sideways (like a ds) and you can open it up to reveal a full sized screen as big as a ti-83 and a keyboard as big as a ti-83. It wouldn't have a QWERTY keyboard though because that would take up too much important button space. you would have to alpha-lock just like in the TI calculators to use it, but it would be in QWERTY to make it easier. There would be two analog arrow keys for games (I guess like "The Pandora" except it would be normally hidden under regularly used buttons, and you can flip it from beneath some buttons when you're playing games, and it'll have other buttons under than flip too).

Sounds cool right? I want to make this someday, when I'm in college (I'm gonna start during the summer right before my Sophomore year). In the meantime, I'm going to master learning how to program in PHP, java, axe and ruby (C++ too?) first. I think I'm dreaming too much, but I still think it's possible. I'm just not knowledgeable enough at the moment, I don't feel ready to make something like this, this very second. We'll see what happens 3 years into the future, hopefully the world doesn't end next year though, but then again, a lot of people are going to throw parties... and you know, can't wait for that either...
There are a lot of<a href="http://justmegawatt.com/images/youdidntknow"> Things you didn't know </a>about until you clicked that link.