1
0
mirror of https://github.com/mbirth/tcl_update_db.git synced 2024-12-25 12:04:07 +00:00

Added list of apps supported by BlackBerry Hub. (thanks @thurask)

This commit is contained in:
Markus Birth 2018-10-03 23:52:36 +02:00
parent 427441282d
commit c26c49575e
Signed by: mbirth
GPG Key ID: A9928D7A098C3A9A
45 changed files with 122 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -142,3 +142,26 @@ td.fullonly {
.release-card .lastreleased { .release-card .lastreleased {
} }
.app-main {
text-align: center;
}
.app-card {
background-color: white;
width: 200px;
margin: 20px 10px;
padding: 12px;
text-align: center;
display: inline-block;
word-break: break-word;
}
.app-card .app-name {
font-weight: bold;
}
.app-card .app-name a {
text-decoration: none;
color: black;
}

97
hubapps.php Normal file
View File

@ -0,0 +1,97 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>BlackBerry Hub Supported Apps</title>
<meta name="viewport" content="width=device-width, initial-scale=0.8"/>
<meta name="theme-color" content="#1b5e20"/>
<link rel="stylesheet" href="node_modules/material-components-web/dist/material-components-web.css"/>
<link rel="stylesheet" href="assets/material-icons.css"/>
<link rel="stylesheet" href="assets/style.css"/>
<script type="text/javascript" src="node_modules/material-components-web/dist/material-components-web.js"></script>
<script type="text/javascript" src="assets/menu.js"></script>
</head>
<body class="mdc-typography timeline">
<?php
$appsList = [
'com.google.android.apps.messaging' => 'Android Messages',
'com.bbm' => 'BlackBerry Messenger',
'com.contapps.android' => 'Contacts+',
'com.discord' => 'Discord',
'com.facebook.katana' => 'Facebook',
'com.facebook.orca' => 'Facebook Messenger',
'com.facebook.lite' => 'Facebook Lite',
'com.facebook.mlite' => 'Facebook Messenger Lite',
'com.google.android.talk' => 'Google Hangouts',
'com.groupme.android' => 'GroupMe',
'com.instagram.android' => 'Instagram',
'kik.android' => 'Kik',
'com.kakao.talk' => 'KakaoTalk',
'jp.naver.line.android' => 'LINE',
'com.linecorp.linelite' => 'LINE Lite',
'com.linkedin.android' => 'LinkedIn',
'com.microsoft.teams' => 'Microsoft Teams',
'com.pinterest' => 'Pinterest',
'com.tencent.mobileqq' => 'QQ',
'com.tencent.mobileqqi' => 'QQ International',
'com.tencent.qqlite' => 'QQ Lite',
'com.qzone' => 'QQ 空间',
'com.reddit.frontpage' => 'Reddit',
'com.remind101' => 'Remind',
'org.thoughtcrime.securesms' => 'Signal',
'com.skype.raider' => 'Skype',
'com.skype.rover' => 'Skype (CN)',
'com.skype.m2' => 'Skype Lite',
'com.microsoft.office.lync15' => 'Skype for Business',
'com.Slack' => 'Slack',
'org.telegram.messenger' => 'Telegram',
'com.enflick.android.TextNow' => 'TextNow',
'com.tumblr' => 'Tumblr',
'com.twitter.android' => 'Twitter',
'com.viber.voip' => 'Viber Messenger',
'com.tencent.mm' => 'WeChat',
'com.whatsapp' => 'WhatsApp Messenger',
'com.whatsapp.w4b' => 'WhatsApp Business',
'com.xing.android' => 'XING',
'com.yahoo.mobile.client.android.mail' => 'Yahoo Mail',
'com.zing.zalo' => 'Zalo',
];
natsort($appsList);
?>
<header class="mdc-toolbar mdc-toolbar--fixed">
<div class="mdc-toolbar__row">
<section class="mdc-toolbar__section mdc-toolbar__section--shrink-to-fit mdc-toolbar__section--align-start">
<button class="material-icons mdc-toolbar__menu-icon">menu</button>
<span class="mdc-toolbar__title">BlackBerry Hub Supported Apps (October 2018)</span>
</section>
</div>
</header>
<?php include 'menu.php'; ?>
<main>
<div class="mdc-toolbar-fixed-adjust"></div>
<div class="app-main">
<?php
foreach ($appsList as $id => $name) {
$appIcon = 'assets/app_icons/no_icon.png';
if (file_exists('assets/app_icons/' . $id . '.png')) {
$appIcon = 'assets/app_icons/' . $id . '.png';
}
echo '<div class="mdc-card app-card">';
echo '<div class="mdc-typography--body1">';
echo '<div class="app-icon"><a href="https://play.google.com/store/apps/details?id=' . rawurlencode($id) . '"><img src="' . $appIcon . '" width="128" height="128" /></a></div>';
echo '<div class="app-name"><a href="https://play.google.com/store/apps/details?id=' . rawurlencode($id) . '">' . $name . '</a></div>';
echo '</div></div>';
}
?>
</div>
</main>
</body>
</html>

View File

@ -4,6 +4,8 @@ $menu_items = array(
array('timeline.php', 'view_list', 'Version Timeline'), array('timeline.php', 'view_list', 'Version Timeline'),
array('rss.php', 'rss_feed', 'RSS Feed'), array('rss.php', 'rss_feed', 'RSS Feed'),
'---', '---',
array('hubapps.php', 'apps', 'Hub Supported Apps'),
'---',
array('https://github.com/mbirth/tcl_update_db', 'code', 'GitHub Source'), array('https://github.com/mbirth/tcl_update_db', 'code', 'GitHub Source'),
); );
$this_page = basename($_SERVER['SCRIPT_NAME']); $this_page = basename($_SERVER['SCRIPT_NAME']);