Question: [![http://i.imgur.com/UL62rAd.png](https://i.stack.imgur.com/nFwWo.png)](https://i.stack.imgur.com/nFwWo.png)

I'm facing a problem in starting an activity in Android.

**What am i doing?**

I have a setOnClickListner in *SignUpActivity.class* which calls a method called "DoSignUp" located in *MethodsParse.class.*

**What does this "DoSignUp" do?**

It literally does the signUp using the values receveid from parameters.
But, as i'm using Parse library and Parse has an exclusive method to do SignUps: "signUpInBackground()", i don't know what to do.

**What trouble am i facing?**

When i try to do the signUp as an existing User, it works fine (shows me the Toast with: Something went wrong...)!

When i try to do the signUp as a new User, it shows me a error: 
[![http://i.imgur.com/swFdzcl.png](https://i.stack.imgur.com/zHAlm.png)](https://i.stack.imgur.com/zHAlm.png)

**But**, I tried to debug my app, and when i tried to do the signUp as a new User, the data from it goes to Database, it means, my problem is on startActivity... but i don't know why.

Answer: 
Try including other activity inside application in manifest file like this

```
<application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" >
    <activity
        android:name=".MainActivity"
        android:label="@string/app_name" >

        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
   <activity
    android:name=".informacion2"
    android:label="@string/app_name">
</activity>

</application>

```
setClassName takes a Package Context as first param setClassName(Context packageContext, String className):

In Android manifest

`<activity android:name="co.edu.unimagdalena.projecto.informacion2">`

And while starting the activity from your main activity

```
intent.setClassName("co.edu.unimagdalena.projecto","co.edu.unimagdalena.projecto.informacion2");

```