title: how to customize parse push notification to send uri in android application?
body: <p>I want to use parse push notification feature in my android application.
  I put my parse push notification code in my first activity (splash activity).</p>
  
  <pre><code>import android.app.Activity;
  import android.content.Intent;
  import android.os.Bundle;
  import android.os.Handler;
  import com.parse.ParseAnalytics;
  import com.parse.ParseInstallation;
  import com.parse.PushService;
  
  public class SplashActivity extends Activity {
  
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.splash);
      ParseAnalytics.trackAppOpened(getIntent());
  
      // inform the Parse Cloud that it is ready for notifications
      PushService.setDefaultPushCallback(this, HomeActivity.class);
      ParseInstallation.getCurrentInstallation().saveInBackground();
      new Handler().postDelayed(new Runnable() {
          @Override
          public void run() {
              Intent intent = new Intent(SplashActivity.this, HomeActivity.class);
              startActivity(intent);
              SplashActivity.this.finish();
          }
      }, 1000);
  }
  public void onBackPressed() {
  
  }
  }
  </code></pre>
  
  <p>and here is my ParseApplication :</p>
  
  <pre><code>import com.parse.Parse;
  import com.parse.ParseACL;
  
  import com.parse.ParseUser;
  
  import android.app.Application;
  
  public class ParseApplication extends Application {
  
  @Override
  public void onCreate() {
      super.onCreate();
  
      // Add your initialization code here
      Parse.initialize(this, " id", "id");
  
  
      ParseUser.enableAutomaticUser();
  ParseACL defaultACL = new ParseACL();
  
  // If you would like all objects to be private by default, remove this line.
  defaultACL.setPublicReadAccess(true);
  
  ParseACL.setDefaultACL(defaultACL, true);
  }
  
   }
  </code></pre>
  
  <p>and here is my manifest:</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
  &lt;uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /&gt;
  &lt;uses-permission android:name="android.permission.VIBRATE" /&gt;
  
  &lt;application
      android:name="ParseApplication"
      android:icon="@drawable/icon"
      android:label="@string/app_name" &gt;
      &lt;activity
          android:name=".SplashActivity"
          android:label="@string/app_name" &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
  
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  
       &lt;activity android:name=".HomeActivity" &gt;&lt;/activity&gt;
  
      &lt;service android:name="com.parse.PushService" /&gt;
  
      &lt;receiver android:name="com.parse.ParseBroadcastReceiver" &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.BOOT_COMPLETED" /&gt;
              &lt;action android:name="android.intent.action.USER_PRESENT" /&gt;
          &lt;/intent-filter&gt;
      &lt;/receiver&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p></p>
  
  <p>now I can easily send push notification in application with json like this:</p>
  
  <pre><code>   {"title" : "my title",
      "alert" : " my alert text",
      "uri" :"http://Google.com"
      }
  </code></pre>
  
  <p>here I can easily get my title &amp; my alert but the problem is that it doesn't my uri at all when I click on it and it goes to my home activity.
  what's my problem? I want to open my uri.</p>