瀏覽代碼

Added android code equivalent of Parse.initialize()

abhilash2in 9 年之前
父節點
當前提交
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")
         .server("http://myServerUrl/parse/")   // '/' important after 'parse'
         .build());
+        
+  ParseObject testObject = new ParseObject("TestObject");
+  testObject.put("foo", "bar");
+  testObject.saveInBackground();
 
 ```