Skip to content Skip to sidebar Skip to footer

Open Activity From Overlayitem

How can I open an Activity from a OverlayItem: Here is my code now: @Override protected boolean onBalloonTap(int index) { if (index == 0) { c.startActivity(new Intent

Solution 1:

private Context c;    
@Override
    protected boolean onBalloonTap(int index) {

        if (index == 0) { 
    Intent intent = new Intent(c, QuoteDetail.class);
                    intent.putExtra("position", 1);
                    c.startActivity(intent); 
                  }
        }

Post a Comment for "Open Activity From Overlayitem"