Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I know the feeling. Even when knowing JS rather well, creating a frontend can become a tedious task wo using some kind of templating framework. But these tend to come with a learning curve too...
-
Having same problems with my server (meizu m2, Android phone)
It worked for a week, even if just in port 8090 (can't make android use port 80, even with root)
Because meizu OS is crap and bugland it terminates the server and backup app even when the server has options to now allow wifi to turn off or the app to be terminated...
So I automated that with Tasker... Problems plugged
One day to find out how to open ports in router... OK at least now I know how
Worked fine for a week
Stopped working outside the network for no reason... Can access inside the network but won't work outside... Not with no-ip, not with the ip:8090...
Checked everything... Nothing.
Fk -
@RodrigoF Android is a bad choice for running a server. Unless you run it as a foreground service, the os will kill the process after a while to free up memory.
-
@DevMode That is the foreground service that I was mentioning. I have to admit that I didn't know the accessibility trick though, but it makes sense.
-
@hash-table do you happen to have a tutorial for that? The last time I tried that i fucked up my Pi's is (actually I need it to be a WiFi repeater)
-
Problem with android : each brand has his custom rom with bugs.
Meizu sucks as server because terminates apps even on the front ground, even with a active notification.
Android 4 is great, with root you have absolute control and the shit that is happening to me won't happen (that's why I'm downgrading, just waiting for my old phone to be returned)
It is actually a good OS for severs as long as you have root...
Check servers ultimate (or ultimate servers) you can pick from 70+ servers, from web, php, mysql, ftp, e-mail, ddns, webdav and lots that I never heard off.
And arm tec handles servers quite well...
You can also have a full blown Linux installed on an android phone...
Make a manager app to control arduino /raspberry by Bluetooth...
Basicly anything you can do in a computer it's simpler on Android, someone already made the apps you need and there is lots of free servers for android.
Oh and making an app for android is simple with some basic programming knowledge.
App inventor 2 and thunkable are visual IDEs and very powerful, you can make an app in hours that would take weeks to program with Java /python /c#...
Be me, making a self hosted website-blog thing because why not
making the backend: yeah cool, easy, ive been doing this stuff for a while
making a frontend: ehh, some template will do fine, im not that great at js
making an admin page: yay this is actually fun
setting up portforwarding on my router to my pi: fucking piece of shit work already dammit
rant