ComputerCraft app [Android]/[iPhone]
Cranium 18 Oct 2012
I have never worked with making apps, but I get the feeling that at least SOMEONE in this community has. I propose making a ComputerCraft app for Android/iPhone. At the very least it would be nice to have a decent Lua interpreter on the mobile platform.
I think it would be nice to have, and although probably difficult, I think I can make some suggestions:
I think it would be nice to have, and although probably difficult, I think I can make some suggestions:
- Add a built in memory manager. For things that have the potential to crash a server, we wouldn't want something like that to brick our phones, right? Simply have a trigger that trips if the memory being used exceeds a certain amount.
- Add the ability to input/output redstone signals, which can be displayed on a status indicator.
- Due to memory limitations, rednet and multiple terminals may not be a good idea. Not everyone has a superphone.
- Support for the HTTP API already existing in ComputerCraft. That way, you don't have to copy/paste your huge code into your phone, or to a notepad. Upload and download your scripts!
D3matt 18 Oct 2012
lieudusty 19 Oct 2012
This is a nice idea! I would love to code in CC on my phone while I'm bored on the car and have nothing to do />
chiloxsan 19 Oct 2012
I don't know if you'll be able to get it past Apple's approval process. They're pretty strict about running user code (emulator or not) on their devices.
matejdro 19 Oct 2012
So you basically want CC emulator on phones?
I don't think that memory is the issue. Most smartphones today have at least 512 MB of RAM, lets say that at least 100 MB is always free for user programs. If you manage to fill up that with lua program, then you are crazy. Also I don't know for iPhone, but there is no way to brick Android phone just by filling its memory.
If you ask me, programming is not for mobile phones unless you use bluetooth keyboard or something like that. Maybe for short programs, but I can't see me writing large programs on phone.
I don't think that memory is the issue. Most smartphones today have at least 512 MB of RAM, lets say that at least 100 MB is always free for user programs. If you manage to fill up that with lua program, then you are crazy. Also I don't know for iPhone, but there is no way to brick Android phone just by filling its memory.
If you ask me, programming is not for mobile phones unless you use bluetooth keyboard or something like that. Maybe for short programs, but I can't see me writing large programs on phone.
Cloudy 19 Oct 2012
chiloxsan, on 19 October 2012 - 07:42 AM, said:
I don't know if you'll be able to get it past Apple's approval process. They're pretty strict about running user code (emulator or not) on their devices.
Lua is allowed under app store guidelines - many apps utilise it now, some dedicated to Lua, others games (e.g Angry Birds).
Hackingroelz 19 Oct 2012
Cloudy, on 19 October 2012 - 09:44 AM, said:
chiloxsan, on 19 October 2012 - 07:42 AM, said:
I don't know if you'll be able to get it past Apple's approval process. They're pretty strict about running user code (emulator or not) on their devices.
Lua is allowed under app store guidelines - many apps utilise it now, some dedicated to Lua, others games (e.g Angry Birds).
"They're pretty strict about running user code"
He's talking about code written by users. It is allowed, altough they don't seem to like it that much. (Codea)
Cloudy 19 Oct 2012
Hackingroelz, on 19 October 2012 - 03:27 PM, said:
Cloudy, on 19 October 2012 - 09:44 AM, said:
chiloxsan, on 19 October 2012 - 07:42 AM, said:
I don't know if you'll be able to get it past Apple's approval process. They're pretty strict about running user code (emulator or not) on their devices.
Lua is allowed under app store guidelines - many apps utilise it now, some dedicated to Lua, others games (e.g Angry Birds).
"They're pretty strict about running user code"
He's talking about code written by users. It is allowed, altough they don't seem to like it that much. (Codea)
What? I know what he was saying - but Lua is allowed, and there are already apps out there which utilise it - which was my point. Even ones which allow user code. For example: https://itunes.apple...d398073834?mt=8
And if they didn't like it, it wouldn't be allowed - this is Apple we're talking about.
ChunLing 19 Oct 2012
Isn't there already a CC emulator online somewhere? You can just access the webpage and...hmm, I must be mistaking another online lua interpreter and the CC emulator someone made.
Tiin57 19 Oct 2012
I have actually been working to port an old open source version of ccemu to Android. Objective C is not my forte, though. Someone else can deal with Apple.
Cranium 22 Oct 2012
I looked around for some Lua interpreters on the Android, but I didn't find anything that I wouldn't have to hack into my phone. I was just at the least hoping for some tiny support, just to pass the time while riding the bus or on a long flight. Angry Birds is not my cup of tea....
Creeper32605 20 Dec 2013
ok.. I found this http://www.computerc...ow/page__st__80 emulator, and it runs with love (available for android too)! But I couldn't get further than this: http://imgur.com/WlvQwiz
M4sh3dP0t4t03 20 Dec 2013
I have a little bit of experience with developing iOS apps with Xamarin(a cross platform C# framework), but I'm not sure wether it is possible to use Java on iOS.
Engineer 20 Dec 2013
M4sh3dP0t4t03, on 20 December 2013 - 01:57 PM, said:
I have a little bit of experience with developing iOS apps with Xamarin(a cross platform C# framework), but I'm not sure wether it is possible to use Java on iOS.
Please don't say cc, because you simply cannot use that, like at all.
Symmetryc 20 Dec 2013
There is an app called TouchLua for iPhone that I've been using for quite some time, it has indent adjustment (fixes your indentation!), syntax highlighting, code completion, free , and has some built in libraries too.
M4sh3dP0t4t03 20 Dec 2013
Engineer, on 20 December 2013 - 02:45 PM, said:
You obviously don't need Java, at all. The original Lua compiler is already in c++.. so yeah.. why do you need java again?
Please don't say cc, because you simply cannot use that, like at all.
Please don't say cc, because you simply cannot use that, like at all.
Edit: btw the original Lua compiler isn't in C++ but in C(although that doesn't really make a difference)
Edited by M4sh3dP0t4t03, 20 December 2013 - 06:02 PM.
Buho 27 Dec 2013
What's wrong with opening http://turtle.ryazanez.com/ in your phone's browser? It's pure HTML5 and works great on Chrome (webkit). (I haven't tried on a mobile device.) See this thread for more info.
3dsboy08 30 Dec 2013
I don't want to be mean, but I think someone will find a exploit in the app and just use it as a jailbreak tool.
H4X0RZ 30 Dec 2013
There is an app called SigmaScript for Android.
Edited by Freack100, 30 December 2013 - 04:19 PM.
Edited by Freack100, 30 December 2013 - 04:19 PM.