SA-MP Forums Archive
Idea: Is it possible?! (Compiling scripts on android) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: Idea: Is it possible?! (Compiling scripts on android) (/showthread.php?tid=612780)



Idea: Is it possible?! (Compiling scripts on android) - FailerZ - 21.07.2016

Hey guys,
I have recently got an idea which we might be able to script and compile on android..
So here is the idea:
First, There is a way to compile scripts on linux using QuickPawn as they stated there
And recently I have found an application for android called Linux Deploy which can install a specific linux OS on your android
But the real question is..
Are we able to somehow "install/run" this program (QuickPawn) on the linux OS we just created on our android device?
I don't know, I can't tell because I have never worked with a linux OS before


Re: Idea: Is it possible?! (Compiling scripts on android) - WhiteGhost - 21.07.2016

I dont think so,am sure it cant be done...Think about it


Re: Idea: Is it possible?! (Compiling scripts on android) - Luicy. - 21.07.2016

It takes years to type on phones, specially those symbols, get a laptop or pc and script there.
Or just get some sort of teamviewer for phone.


Re: Idea: Is it possible?! (Compiling scripts on android) - FailerZ - 21.07.2016

Quote:
Originally Posted by Meller
View Post
It takes years to type on phones, specially those symbols, get a laptop or pc and script there.
Or just get some sort of teamviewer for phone.
I mostly want to know this for the sake of knowledge


Re: Idea: Is it possible?! (Compiling scripts on android) - SickAttack - 21.07.2016

It is if there's like an online pawn compiler, a website that sends the .pwn file, compiles it and returns the .amx file; otherwise, the errors and warnings. It could be your own website if you're afraid of getting your gamemode stolen, you just gotta build it.


Re: Idea: Is it possible?! (Compiling scripts on android) - FailerZ - 21.07.2016

Quote:
Originally Posted by SickAttack
View Post
It is if there's like an online pawn compiler, a website that sends the .pwn file, compiles it and returns the .amx file; otherwise, the errors and warnings. It could be your own website if you're afraid of getting your gamemode stolen, you just gotta build it.
Oh you are giving an idea? I know someone once did that (Slice i guess)
thanks for your replies anyway, but I am still looking if someone knows anything about my idea


Re: Idea: Is it possible?! (Compiling scripts on android) - SickAttack - 21.07.2016

Quote:
Originally Posted by FailerZ
View Post
Oh you are giving an idea? I know someone once did that (Slice i guess)
thanks for your replies anyway, but I am still looking if someone knows anything about my idea
Try it out and find out.


Re: Idea: Is it possible?! (Compiling scripts on android) - FailerZ - 21.07.2016

I can't right now for a couple of reasons:
1) I am still to buy my smartphone in the next months cuz the current one is too slow to do this.
2) The OS needs to be downloaded from the internet which mine is very very slow.
3) I don't know how this linux os works, like I don't know how I am supposed to run the QuickPawn on it.


Re: Idea: Is it possible?! (Compiling scripts on android) - DRIFT_HUNTER - 21.07.2016

Under Android OS, there is linux kernel, so that does not allow me to say no, its not possible.

So how about these:
http://geeknizer.com/install-run-lin...ns-on-android/
and then just downloading pawn compiler for linux by Zeex? https://github.com/Zeex/pawn/releases

EDIT: Please note, in that tutorial he is demonstrating g++ installation and usage from step 3 and forward. You dont need g++ unless you are planing to compile C++ code to...


Re: Idea: Is it possible?! (Compiling scripts on android) - Chilli9434 - 21.07.2016

I honestly don't understand why you would want to in the first place, it seems entirely pointless unless you're just doing this as a proof of concept thing which I guess is kind of cool, so good luck! But to me its not practical at all.


Re: Idea: Is it possible?! (Compiling scripts on android) - BlackBank - 21.07.2016

It could be possible, maybe, but it depends on how closed Android is. I know that i can use apt-get and install openssh, to use the command ssh... And for some reason it worked on stock Android OS. :P
So maybe you can install the right packages and pawn compiler(that works on Linux), and try compile it.


Re: Idea: Is it possible?! (Compiling scripts on android) - Crayder - 21.07.2016

Yes, it is VERY possible!

In fact I planned on making an app to do so a while back. It would be more of a personal app at first.

The way I would do it is run a linux VPS with the pawn compiler on it. Then the app would basically just be an IDE with pawn specific features. When the compile button is pressed you would see a progress dialog with three parts: uploading pwn (percent bar), compiling (please wait and then the compiler messages), and downloading amx (percent bar). The downloaded amx will be allowed to run within the app too.

People could easily buy a full size bluetooth keyboard to make typing easier. And the app will be mouse capable, so bluetooth mice will be great too.


Re: Idea: Is it possible?! (Compiling scripts on android) - Crystallize - 21.07.2016

1.Buy a windows vps
2.Download your server files and your source
3.Download remote desktop connection app in your phone
4.Compile through phone
This is the only way I can think off since compiling in a phone needs way high specs


Re: Idea: Is it possible?! (Compiling scripts on android) - Crayder - 21.07.2016

Quote:
Originally Posted by Wizzard2H
Посмотреть сообщение
1.Buy a windows vps
2.Download your server files and your source
3.Download remote desktop connection app in your phone
4.Compile through phone
This is the only way I can think off since compiling in a phone needs way high specs
My way is better...

And no it doesn't take much to compile. If anybody would know that, it's my shitty computers.


Re: Idea: Is it possible?! (Compiling scripts on android) - SickAttack - 21.07.2016

Quote:
Originally Posted by Crayder
Посмотреть сообщение
My way is better...

And no it doesn't take much to compile. If anybody would know that, it's my shitty computers.
Pretty much the same things as a website.