Android Open Source - PhotoShare Prs Application






From Project

Back to project page PhotoShare.

License

The source code is released under:

MIT License

If you think the Android project PhotoShare listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.example.parse;
/*  www  . j a  v  a2s .  c  o m*/
import android.app.Application;

import com.parse.Parse;
import com.parse.ParseACL;
import com.parse.ParseObject;
import com.parse.ParseUser;

public class PrsApplication extends Application {

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

    ParseObject.registerSubclass(PrsPhoto.class);

    /*
     * Fill in this section with your Parse credentials
     */
    Parse.initialize(this, "VgUmqfwmveatEK77VKqejESUi9g2YTiLd5ARi5Zv", "rZOccIO0y35BMrfv599RyclrNo5QT308WRCLkTnY");

    // annonymous user
    ParseUser.enableAutomaticUser();

    /*
     * For more information on app security and Parse ACL:
     * https://www.parse.com/docs/android_guide#security-recommendations
     */
    ParseACL defaultACL = new ParseACL();

    defaultACL.setPublicReadAccess(true);

    ParseACL.setDefaultACL(defaultACL, true);
  }

}




Java Source Code List

com.example.parse.PrsApplication.java
com.example.parse.PrsPhoto.java
com.example.photoshare.CameraActivity.java
com.example.photoshare.CameraPreview.java
com.example.photoshare.PhotoBrowse.java
com.example.photoshare.PhotoListAdapter.java