Parcourir la source

Added android code equivalent of Parse.initialize()

abhilash2in il y a 9 ans
Parent
commit
0a55fa1857
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      README.md

+ 4 - 0
README.md

@@ -111,6 +111,10 @@ Parse.initialize(new Parse.Configuration.Builder(getApplicationContext())
         .clientKey("myClientKey")
         .server("http://myServerUrl/parse/")   // '/' important after 'parse'
         .build());
+        
+  ParseObject testObject = new ParseObject("TestObject");
+  testObject.put("foo", "bar");
+  testObject.saveInBackground();
 
 ```