Просмотр исходного кода

Added android code equivalent of Parse.initialize()

abhilash2in лет назад: 9
Родитель
Сommit
0a55fa1857
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      README.md

+ 4 - 0
README.md

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