TO make a popup window, use the PopupWindow class http://developer.android.com/reference/android/widget/PopupWindow.html
To see if a touch is 3 seconds, override the view's onTouch and store when a touch_down occurs and when a touch_up occurs check how long ago that down was.