package com.avos.demo;

import com.avos.avoscloud.*;


import android.app.Application;

public class ToDoListApplication extends Application {

	@Override
	public void onCreate() {
		super.onCreate();

        // Your application id and Application Key
		Parse.initialize(this, "gqd0m4ytyttvluk1tnn0unlvmdg8h4gxsa2ga159nwp85fks", "7gd2zom3ht3vx6jkcmaamm1p2pkrn8hdye2pn4qjcwux1hl1");
        Parse.useAVCloudCN();
		ParseUser.enableAutomaticUser();
		ParseACL defaultACL = new ParseACL();
		// Optionally enable public read access.
		// defaultACL.setPublicReadAccess(true);
		ParseACL.setDefaultACL(defaultACL, true);
	}

}

@@ -526,19 +526,16 @@
 cess.%0A%09%09
-// 
 defaultA
@@ -564,16 +564,63 @@
 (true);%0A
+        defaultACL.setPublicWriteAccess(true);%0A
 %09%09ParseA

enable public read write access.