[Solved] Android App crashed with parse in a for loop

Make a check for parseObjects == null as i believe you are getting parseObjects as null. qp.findInBackground(new FindCallback<ParseObject>() { @Override public void done(List<ParseObject> parseObjects, ParseException e) { if (e != null) e.printStackTrace(); if(parseObjects!=null) { for (int i = 0; i < parseObjects.size(); i++) { Photo pp = new Photo(); ParseObject o = parseObjects.get(i); pp.isActive = … Read more

[Solved] What is the code in android studio [closed]

if you use SOAP do sth like this : String namespace = “http://tempuri.org/” ; String soapAction = “http://tempuri.org/MyMethod”; String methodName = “MyMethod”; String url = “http://192.168.1.2:8686/WebService/MyWebService.asmx” ; // my local or valid ip for webservice location SoapObject request = new SoapObject(namespace, methodName); // your webservice argument String username = “your username”; PropertyInfo usernameProp = new … Read more