Kaynağa Gözat

Added android code equivalent of Parse.initialize()

abhilash2in 9 yıl önce
ebeveyn
işleme
0a55fa1857
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  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();
 
 ```