Add GPS reception test utility and OpenStreetMap GPS navigator plugin
This commit is contained in:
1 parent
be9ec9af0b
commit
35d90fb6f7
18 files changed
+1380
-5
No files matched your search
@@ -172,6 +172,9 @@ static const char *ICON_A2X = "\xe2\x87\x84";
|
||||
static const char *ICON_KBD = "\xef\x84\x9c";
|
||||
static const char *ICON_THM = "\xf3\xb0\x8f\x98";
|
||||
static const char *ICON_GAM = "\xf3\xb0\x8a\xb4";
|
||||
static const char *ICON_EML = "\xf3\xb0\x87\xae";
|
||||
static const char *ICON_GLB = "\xef\x82\xac";
|
||||
static const char *ICON_MAP = "\xf3\xb0\x8d\x8d";
|
||||
|
||||
static void drawmenu(void);
|
||||
static void show_menu(void);
|
||||
@@ -2111,6 +2114,18 @@ add_parsed_choice_line(const char *line)
|
||||
return;
|
||||
if (items[i].text && strstr(label, "ReMEdy") && strstr(items[i].text, "ReMEdy"))
|
||||
return;
|
||||
if (items[i].text && strstr(label, "SIP VoIP") && strstr(items[i].text, "SIP VoIP"))
|
||||
return;
|
||||
if (items[i].text && strstr(label, "Email") && strstr(items[i].text, "Email"))
|
||||
return;
|
||||
if (items[i].text && strstr(label, "IRC Chat") && strstr(items[i].text, "IRC Chat"))
|
||||
return;
|
||||
if (items[i].text && strstr(label, "Tox Messenger") && strstr(items[i].text, "Tox Messenger"))
|
||||
return;
|
||||
if (items[i].text && strstr(label, "Kopher") && strstr(items[i].text, "Kopher"))
|
||||
return;
|
||||
if (items[i].text && strstr(label, "GPS & Maps") && strstr(items[i].text, "GPS & Maps"))
|
||||
return;
|
||||
}
|
||||
int loop = (strchr(loop_str, '1') != NULL) ? 1 : 0;
|
||||
if (strncmp(cmd, "sxmo_appmenu.sh ", 16) == 0) {
|
||||
@@ -2398,6 +2413,24 @@ open_builtin_menu(const char *menu_name, int keep_idx)
|
||||
snprintf(label, sizeof(label), "%s Contacts", ICON_USR);
|
||||
add_menu_item(label, "@plugin:contacts", 0);
|
||||
|
||||
snprintf(label, sizeof(label), "%s SIP VoIP", ICON_PHN);
|
||||
add_menu_item(label, "@plugin:sip", 0);
|
||||
|
||||
snprintf(label, sizeof(label), "%s Email", ICON_EML);
|
||||
add_menu_item(label, "@plugin:email", 0);
|
||||
|
||||
snprintf(label, sizeof(label), "%s IRC Chat", ICON_MSG);
|
||||
add_menu_item(label, "@plugin:irc", 0);
|
||||
|
||||
snprintf(label, sizeof(label), "%s Tox Messenger", ICON_MSG);
|
||||
add_menu_item(label, "@plugin:tox", 0);
|
||||
|
||||
snprintf(label, sizeof(label), "%s Kopher (SmallWeb)", ICON_GLB);
|
||||
add_menu_item(label, "@plugin:smallweb", 0);
|
||||
|
||||
snprintf(label, sizeof(label), "%s GPS & Maps", ICON_MAP);
|
||||
add_menu_item(label, "@plugin:gps", 0);
|
||||
|
||||
if (bt_is_unblocked_fast()) {
|
||||
snprintf(label, sizeof(label), "%s Bluetooth", ICON_BTH);
|
||||
add_menu_item(label, "@plugin:networks:bluetooth", 0);
|
||||
@@ -2460,6 +2493,18 @@ open_builtin_menu(const char *menu_name, int keep_idx)
|
||||
snprintf(label, sizeof(label), "%s ReMEdy (J2ME)", ICON_GAM);
|
||||
add_menu_item(label, "remedy", 0);
|
||||
}
|
||||
snprintf(label, sizeof(label), "%s SIP VoIP", ICON_PHN);
|
||||
add_menu_item(label, "@plugin:sip", 0);
|
||||
snprintf(label, sizeof(label), "%s Email", ICON_EML);
|
||||
add_menu_item(label, "@plugin:email", 0);
|
||||
snprintf(label, sizeof(label), "%s IRC Chat", ICON_MSG);
|
||||
add_menu_item(label, "@plugin:irc", 0);
|
||||
snprintf(label, sizeof(label), "%s Tox Messenger", ICON_MSG);
|
||||
add_menu_item(label, "@plugin:tox", 0);
|
||||
snprintf(label, sizeof(label), "%s Kopher (SmallWeb)", ICON_GLB);
|
||||
add_menu_item(label, "@plugin:smallweb", 0);
|
||||
snprintf(label, sizeof(label), "%s GPS & Maps", ICON_MAP);
|
||||
add_menu_item(label, "@plugin:gps", 0);
|
||||
load_cache_or_hook("sxmo_apps.cache", "sxmo_hook_apps.sh");
|
||||
snprintf(label, sizeof(label), "%s Themes", ICON_THM);
|
||||
int has_themes = 0;
|
||||
|
||||
Reference in new issue
Block a user