Page 1 of 1
Connection failed..!
Posted: Sun Feb 09, 2014 9:19 am
by snop21
hi guys,
I have a problem of connecting my sample app on my Server online.
When I tested it with my Desktop it's working and also in android emulator but when I tested on my android tab problem occurred I can't connect.
I attached the sample script along with my credentials of my database since this is only for testing.
Thank you guys..
-snop21
Re: Connection failed..!
Posted: Sun Feb 09, 2014 10:05 am
by bangkok
I'm afraid you hit the same problem you've had in january !
http://forums.runrev.com/viewtopic.php?f=53&t=18838&p
Re: Connection failed..!
Posted: Sun Feb 09, 2014 10:19 am
by snop21
-bangkok
yah..! That's for LAN now is for Online Server.
-having a hard time for this one.. Not bad for a beginner to this PL..

)
Hoping I can solve this soon of course with the help you guys here in the forum.
Regards
-snop21
Re: Connection failed..!
Posted: Sun Feb 09, 2014 11:17 am
by Simon
hee heee heee
You don't have "Internet" selected in your standalone setting
Simon
Re: Connection failed..!
Posted: Sun Feb 09, 2014 2:36 pm
by snop21
-Simon,
Olrights..

) Thank you..! I got it working..
I am connected now to my database..! But what's wrong with my code I can't insert data to it...

(
I double check it my code there's nothing's wrong with it but Can't insert..

(
I attached it the stack..
-snop21
Re: Connection failed..!
Posted: Sun Feb 09, 2014 3:32 pm
by Klaus
HI snop21,
snop21 wrote:I double check it my code there's nothing's wrong with it but Can't insert..
come on, BOTH button groups "connect" and "save" have the SAME (sic!) script,
which only connects to the database, so what did you exspect!
Best
Klaus
Re: Connection failed..!
Posted: Sun Feb 09, 2014 3:59 pm
by snop21
Klaus,
never mind the connect button, I just place the connection script and the sql statement for insert to the save button.
regards
-snop21
Re: Connection failed..!
Posted: Sun Feb 09, 2014 4:06 pm
by snop21
klaus,
I am sorry I think I attached the wrong file.. My bad..
here's the right one.
Thanks
-snop21
Re: Connection failed..!
Posted: Sun Feb 09, 2014 6:01 pm
by Klaus
I guessed
Sorry, don't have an Android device at hand.
No idea what is happening, works fine on desktop!?
You can add this line right after the "revexecute..." statement to get a clue (hopefully):
...
revexecute...
answer the result
...
Best
Klaus