Android Open Source - android-samples App






From Project

Back to project page android-samples.

License

The source code is released under:

Copyright (c) 2013-2014 Twitter, Inc Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the ...

If you think the Android project android-samples 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.twitterdev.parse_sample_app.app;
//from  w  ww  .ja va  2 s.c  o  m
/**
 * Created by gjones on 5/11/14.
 */
import android.app.Application;
import com.parse.Parse;
import com.parse.ParseTwitterUtils;

public class App extends Application {

    @Override public void onCreate() {
        super.onCreate();
        // Initialize Parse
        Parse.initialize(this, Constants.PARSE_APP_ID, Constants.PARSE_CLIENT_KEY);
        // Set Twitter Consumer Key and Secret
        ParseTwitterUtils.initialize(Constants.CONSUMER_KEY, Constants.CONSUMER_SECRET);
    }
}




Java Source Code List

com.twitterdev.hello_world.app.App.java
com.twitterdev.hello_world.app.LoggedIn.java
com.twitterdev.hello_world.app.MainActivity.java
com.twitterdev.hello_world.app.TweetAdapter.java
com.twitterdev.parse_sample_app.app.App.java
com.twitterdev.parse_sample_app.app.MainActivity.java
com.twitterdev.twitter4j_sample_app.app.LoggedIn.java
com.twitterdev.twitter4j_sample_app.app.MainActivity.java