Passing data intent to fragment to activity : In my getview it already can intent to my second activity but it still cant passing the value for second activity. Is it the problem in my passing data or my receive data

**First Fragment**

     @Override
        public View getView(final int position, View convertView, ViewGroup parent) {

            if (convertView == null) {
                convertView = mInflater.inflate(R.layout.detailsitem, null);
            }

            if(position ==0) {
            }else {
                final Product myObj = DetailList.get(position);

                final TextView Detailtext = (TextView) convertView.findViewById(R.id.detailsitem);
                Detailtext.setText("" + myObj.getProductName());

                final TextView Detailsprice= (TextView)convertView.findViewById(R.id.detailsprice);
                Detailsprice.setText("" + myObj.getProductPrice());


                preview = (ImageButton) convertView.findViewById(R.id.preview);
                preview.setOnClickListener(new View.OnClickListener() {
                    @Override
                    public void onClick(View view) {
                        Intent intent=new Intent(getActivity().getApplicationContext(),details_gridview_view.class).setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                        intent.putExtra("title", "1");
                        getActivity().getApplicationContext().startActivity(intent);


                        startActivity(intent);
                    }
                });

            }
            return convertView;
        }

**Second Activity**

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.details_gridview_view);

        String name = getIntent().getStringExtra("title");
        String price =getIntent().getStringExtra("price");
        String qty =getIntent().getStringExtra("qty");

        TextView titleTextView = (TextView) findViewById(R.id.title);
        titleTextView.setText(name);
        TextView priceTextView = (TextView) findViewById(R.id.price);
        titleTextView.setText(price);
        TextView qtyTextView = (TextView) findViewById(R.id.qty);
        titleTextView.setText(qty);
