Skip to content

Commit

Permalink
Added android code
Browse files Browse the repository at this point in the history
  • Loading branch information
abhilash1in committed Feb 19, 2016
1 parent df8e4bb commit 0501a93
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,14 @@ obj.save().then(function(obj) {
}, function(err) { console.log(err); });
```

Example using it on Android:
```
Parse.initialize(new Parse.Configuration.Builder(getApplicationContext())
.applicationId("myAppId")
.clientKey("myClientKey")
.server("http://myServerUrl/parse/") // '/' important after 'parse'
.build());
```

You can change the server URL in all of the open-source SDKs, but we're releasing new builds which provide initialization time configuration of this property.

0 comments on commit 0501a93

Please sign in to comment.