Try the following
NetworkManager.getInstance().addToQueue*AndWait*(con); and uncomment the
line
Connection also provides the addArgument method so instead of appending the
id to the url use the
ConnectionRequest con = new ConnectionRequest();
con.setUrl("http://localhost/piService/getUserById.php");
con.addArgument("userId",id);
On Wed, Apr 26, 2017 at 3:00 PM, b.wassim Rmd <[email protected]>
wrote:
> this is what i get when im testing
>
> Le mercredi 26 avril 2017 02:27:25 UTC+1, b.wassim Rmd a écrit :
>>
>> If you are experiencing an issue please mention the full platform your
>> issue applies to:
>> IDE: NetBeans
>> Simulator
>>
> --
> You received this message because you are subscribed to the Google Groups
> "CodenameOne Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> Visit this group at https://groups.google.com/
> group/codenameone-discussions.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/codenameone-discussions/679a6adc-944a-4245-8134-
> d0a4e060497d%40googlegroups.com
> <https://groups.google.com/d/msgid/codenameone-discussions/679a6adc-944a-4245-8134-d0a4e060497d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/CAOfyKqY5iMwKeXq3DPVAX29pVo%2B9Ho31bWBezvcDYA7%3DQYL8sg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.