ruch ruch - 1 year ago 102
Android Question

Where is application class for a project in Android Studio?

I want to integrate my android application with Parse SDK. for that I need to include my parse account credentials in application class onCreate() method.

Answer Source

Just create another class and extend Application:

public class App extends Application {    
    public void onCreate() {
        //Parse SDK stuff goes here

Then add extended class name to <application> tag in the manifest file :

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download