Reputation: 25
I have a simple piece of code:
ParseObject testobject = new ParseObject("Test");
testobject.put("customerName", "John");
testobject.saveInBackground();
If I run this on my emulator, it works, a Test class is made in my Parse project and the value John is added to the Row customername.
If I run this on my mobile phone the result is also succesful.
But if I run the exact same program on my Tablet, nothing happens.
(the callback = null, .getResult() and .getError() are also null)
Any idea where the problem lies?
Upvotes: 1
Views: 738
Reputation: 75
Are you using Wi-fi on your phone or using mobile internet? Depending on where you are (Home, School/University) they may have blocked some ports which stop the service from running.
Something I saw is, you've got spaces between 'testobject .put' and 'testobject .saveInBackground();', that may be your issue?
Upvotes: 1