Trying to make Parse work on Android, but I'm having some problems with the build path while trying to upload some Data and/or trying to add a user to loggin. Probably something to do with the *.jar. Spent hours Trying to find a solution. In fact, tried most of the solutions on both these threads:
Getting Error in using parse SDK library in sample Android App
Libraries do not get added to APK anymore after upgrade to ADT 22
But none seem to work.
package com.testingparse;
import android.app.Application;
import android.net.ParseException;
import com.parse.Parse;
import com.parse.ParseException;
import com.parse.ParseObject;
import com.parse.ParseUser;
import com.parse.SignUpCallback;
public class ChatApp extends Application {
@Override
public void onCreate() {
super.onCreate();
Parse.initialize(this, "ID#1", "ID#2");
ParseObject testObject = new ParseObject("TestObject");
testObject.put("foo", "bar");
testObject.saveInBackground();
}
}
P.S.: ID#1 and ID#2 are actually the right numbers of my application at the Parse site at Settings>Keys of my application.
Any help at all would be appreciated. Thanks in advance.
2 SS of the problem (notification and solution suggested by Eclipse): http://imageshack.com/a/img673/4706/vjcgYK.png