I have followed this link below and I have generated 2 notifications that shows up at onCreate.
How to create a notification with NotificationCompat.Builder?
My question is, how can I open a web page in a web browser when you press on a notification ?
This is my code
Wait a seccond , i'm a newbie .. I have this code
public class MainActivity extends Activity {
private WebView mWebView;
NotificationCompat.Builder mBuilder =
        new NotificationCompat.Builder(this)
        .setSmallIcon(R.drawable.notif)
        .setContentTitle("Notification title1")
        .setContentText("Notification text1");
NotificationCompat.Builder pBuilder =
        new NotificationCompat.Builder(this)
        .setSmallIcon(R.drawable.photoline)
        .setContentTitle("Photoline Studio")
        .setContentText("App sponsorizate de Photoline Studio!");
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    getWindow().requestFeature(Window.FEATURE_NO_TITLE);
    NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
    notificationManager.notify(0, mBuilder.build());
    notificationManager.notify(1, pBuilder.build());
where should I put that intent ?
 
     
    