Android Question how do i use the RDC with an App from my Device?

persianpowerman1

Active Member
Licensed User
Longtime User
hey guys... RDC is working jus fine.. infact brilliantly!
that is..
I access my MySQL DB on another server via the RDC and my Emulator

NOW, what if i make this into an App for my phone... My PC is off... im out with friends... wana run a Query from my phone through my App.. and access my MySQL db... how can that work?
cz theres no RDC server running on my phone..

or...is this where Server side scripts comes into play.. like PHP... ASP??

thanx,
Yo!han
.... or is it.. if i still wana use RDC(which i really do)... then i have to have that server running somewhere.. like my computer... etc etc... otherwise my only option is .. i might have to use Server side scripts???
 

DonManfred

Expert
Licensed User
Longtime User
RDC must be running on an Computer which is ALWAYS connected to Internet.
If RDC runs on your Computer and the PC is not running then you cannot access RDC cause the RDC is not running.

Serversidescripts can be used if you have access to an webserver.
You can create an RDC with php and use the url for this php-script as RDC-adress. There must be somewhere an example or tutorial with a php-based RDC. Maybe is is not declared directly as "RDC". Search for examples here in forum.

See this example
 
Upvote 0

persianpowerman1

Active Member
Licensed User
Longtime User
ok.. great... got it! Not the 2nd part very well...
Yeah did see that example... and i did see that PHP script... but never followed it cz i kept getting some error to do with JSON

So from what i understand,
if i ever need to make an App that requires to access a DB on a server... all i need to do is copy that same small PHP script and run it on that server.. and follow the example?!.. thats it!!??
really?

YO!han
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…