dimanche 26 octobre 2014

Can't get Parse.com framework to work


Vote count:

0




I've been trying to put data to Parse Cloud for days and I can't really figure out why it is not working.


I included both libs (Parse and bolts-android) and followed several tutorials on the web. My code is as following:



package com.dannyvdz.testapp2;

import android.app.Activity;
import android.os.Bundle;

import com.parse.Parse;
import com.parse.ParseObject;


public class ParseApplication extends Activity{
@Override
public void onCreate(Bundle savedInstanceState){
super.onCreate(savedInstanceState);
setContentView(R.layout.parseapplication);
Parse.initialize(this, "************", "************");
// Test creation of object
ParseObject testObject = new ParseObject("TestObject");
testObject.put("foo", "bar");
testObject.saveInBackground();
}
}


The app compiles and runs without errors but no code is being sent to Parse.com. I tried both running the app from Android studio and running it after building it installing it using adb.



asked 26 secs ago







Can't get Parse.com framework to work

Aucun commentaire:

Enregistrer un commentaire