answered
2015-12-09 18:55:57 +0200
EDIT 3 / Update
Auto detect/fix way
Try this script (may not work though):
devel-su python -c "$(curl -fsSL https://raw.githubusercontent.com/TylerTemp/fix-jolla-desktop/master/fix.py)" smartbanking
This will generate an icon on desktop.
If the generated icon does not work actually, remove the icon by
devel-su rm /usr/share/applications/apkd_launcher_fix_smartbanking.desktop
I don't have a Jolla C device so I can't re-produce this issue. The reason might be the location or name changing of
the apk
file. This script will try to find the new apk
file if the old one does not exist.
Also, everytime the device gets reboot it will clean the generated icon. If it happens, run the script again.
Manual way
If the script above do not work, try this:
cd /usr/share/applications
ls | grep bank
If it print filename which looks like smartbank:
apkd_launcher_com_zentity_sbank_csobsk-com_csobsk_smartbankingv2_activity_SplashActivity.desktop
then edit it by:
nano apkd_launcher_com_zentity_sbank_csobsk-com_csobsk_smartbankingv2_activity_SplashActivity.desktop
In my case it looks like this:
[Desktop Entry]
Exec=apkd-launcher /data/app/com.zentity.sbank.csobsk-1.apk com.zentity.sbank.csobsk/com.csobsk.smartbankingv2.activity.SplashActivity
Icon=/var/lib/apkd/apkd_launcher_com_zentity_sbank_csobsk-com_csobsk_smartbankingv2_activity_SplashActivity.png
Name=Smart
Banking
Type=Application
Version=1.0
X-Nemo-Application-Type=no-invoker
X-Nemo-Single-Instance=no
X-apkd-apkfile=/data/app/com.zentity.sbank.csobsk-1.apk
X-apkd-packageName=com.zentity.sbank.csobsk
MimeType=text/html;x-maemo-urischeme/http;x-maemo-urischeme/https;
X-Maemo-Service=org.coderus.aliendalvikcontrol
X-Maemo-Object-Path=/
X-Maemo-Method=com.zentity.sbank.csobsk.com_2Ecsobsk_2Esmartbankingv2_2Eactivity_2ESplashActivity
The issue here is
Name=Smart
Banking
Change it to Name=Smart Banking
, then keyboard ctrl+x
-> y
-> Enter
, it should be fixed.
Plz also update/comment here if this command does not work.
Original Anwser:
OK I found out the reason.
I'll explain in details since you're not an expert :D
- Enable the developer mode (You can easily Google it out)
- Download this file: https://tomorrow.comes.today/static/upload/TylerTemp/file/apkd_launcher_com_zentity_sbank_csobsk-com_csobsk_smartbankingv2_SplashActivity.desktop
- Upload this file to your Jolla phone, put it under your
Downloads
folder (you can use File Browser
) - Open the
Terminal
app (It's auto-installed after you active the developer mode) - Input
devel-su
, hit enter - When screen display
Password:
, input the password you filled when you active the developer mode in step 1. The screen should display [root@jolla nemo]#
(Note it will not display "*" when you enter the password) - Input
cp /home/nemo/Downloads/apkd_launcher_com_zentity_sbank_csobsk-com_csobsk_smartbankingv2_SplashActivity.desktop /usr/share/applications/
, hit enter. - If it ask for override, input
yes
and hit enter. - If the icon still not appear, input
chmod 777 /usr/share/applications/apkd_launcher_com_zentity_sbank_csobsk-com_csobsk_smartbankingv2_SplashActivity.desktop
, if still not appears, try rebooting your phone.
It works on my phone: Sailfish OS 1.0.0.11, SmartBanking: 4.2, Android support: 0.17.27
EDIT
This also happens on the new TaoBao app (android app). Hope Jolla can fix it.
NOTE: Every time you update this app, you need to do step 2-9 again.
EDIT 2
How to enable developer mode:
- Go to settings-developer mode
light up the Developer mode
, light up the Remote connection
, input your password in the Set password for SSH and root ac...
, hit save
Open terminal
, input devel-su
, hit the enter. After Password:
shows up, input your password you filled in step 2, hit enter. Your screen should looks like this:
That's all.
I have the same issue with an Android game apk here: https://minecraftapk.xyz
sophia93 ( 2018-05-25 21:38:34 +0200 )edit