i amm trying to listen to the broadcast for LONG_TAP to override google search. I would like my application to define a LONG_TAP gesture. Please suggest an alternative method or a solution to this... Code:
@Override
public void onReceive(Context context, Intent intent) {
// TODO Auto-generated method stub
if (intent.getAction().equals("com.google.glass.action.LONG_TAP")) {
//abortBroadcast();
System.out.println("Yaay..!!! could listen to the long tap");
//abortBroadcast();
}
}