Opened 7 years ago

Closed 5 years ago

#998 closed enhancement/feature request (fixed)

Search button on the device should start search menu

Reported by: me.yahoo.com/a/t8pxanggmzrce9fscf2wgwk_ozmtbyifgarr#f3b4e Owned by: kamikaaze
Priority: major Milestone: version 0.5.1
Component: port/android Version: git master
Severity: normal Keywords: search button, input, button, patches
Cc:

Description

  • Navit version: navit-svn-4879
  • Device: Samsung Galaxy Tab P1000
  • OS: Android 2.2
  • latest map from planet extractor

Many Android devices have a search button. Nothing happens when pressing this button, except that the device vibrates. Device vibrating is nice, but Navit should also do something. When this button is pressed, Navit should start search menu.

Other device buttons are working correctly. I am referring to menu and back buttons.

Ciprian Alexan.

Attachments (2)

search_button.diff (1.4 KB) - added by kamikaaze 6 years ago.
search_button-v2.diff (1.6 KB) - added by kamikaaze 5 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 6 years ago by usul

  • Component changed from core to port/android
  • Keywords input added
  • Milestone set to version 0.5.1
  • Owner changed from KaZeR to cp15

As this is very unexpected behaviour, I schedule it for next hotfix

comment:2 Changed 6 years ago by kamikaaze

  • Owner changed from cp15 to kamikaaze
  • Status changed from new to assigned

Changed 6 years ago by kamikaaze

comment:3 Changed 6 years ago by kamikaaze

The supplied Patch adds this functionality. ( Opens the Android search Activity )

comment:4 Changed 6 years ago by tryagain

Is it expected behaviour to have this hook active when we're inside internal gui?

Menu key is disabled during that time.

Changed 5 years ago by kamikaaze

comment:5 Changed 5 years ago by kamikaaze

  • Severity set to normal

So next try :-) now the search Activity is only launched while on map

comment:6 Changed 5 years ago by kamikaaze

  • Keywords patches added

comment:7 Changed 5 years ago by tryagain

  • Resolution set to fixed
  • Status changed from assigned to closed

Thank you, patch is applied with r5711.

Note: See TracTickets for help on using tickets.