Android Open Source - Photochat Photo Chat Application






From Project

Back to project page Photochat.

License

The source code is released under:

This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a co...

If you think the Android project Photochat 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.navneet.photochat;
/*from www  .ja  v  a2s . co m*/
import android.app.Application;

import com.parse.Parse;
import com.parse.ParseInstallation;
import com.parse.ParseUser;
import com.parse.PushService;

public class PhotoChatApplication extends Application {

  @Override
  public void onCreate() {
    super.onCreate();
    // For creating the parse backend
    // Refer to parse docs
    Parse.initialize(this, "oQd6qUkCFtmFJdARTufcyctRAACDrhoSbSRFn2XK",
        "fH0mDVS5iIBRvNmz8CBCfgXTJD6JSPCjGOL9AXdj");
    // For Push Notification
    PushService.setDefaultPushCallback(this, MainActivity.class);
  }

  // Declaring the updateParseInstallation method
  public static void updateParseInstallation(ParseUser user) {
    // Declare a parse installation variable
    ParseInstallation intst = ParseInstallation.getCurrentInstallation();
    intst.put(ParseConstants.KEY_USER_ID, user.getObjectId());
    // save this installation to parse backend
    intst.saveInBackground();
  }
}




Java Source Code List

com.navneet.photochat.EditFriendsActivity.java
com.navneet.photochat.FileHelper.java
com.navneet.photochat.FriendsFragment.java
com.navneet.photochat.ImageResizer.java
com.navneet.photochat.InboxFragment.java
com.navneet.photochat.LoginActivity.java
com.navneet.photochat.MD5Util.java
com.navneet.photochat.MainActivity.java
com.navneet.photochat.ParseConstants.java
com.navneet.photochat.PhotoChatApplication.java
com.navneet.photochat.RecipientsActivity.java
com.navneet.photochat.SectionsPagerAdapter.java
com.navneet.photochat.SignUpActivity.java
com.navneet.photochat.UserAdpater.java
com.navneet.photochat.ViewImagesActivity.java
com.navneet.photochat.messageAdapter.java