Reply
Thread Tools
Posts: 30 | Thanked: 22 times | Joined on Dec 2009
#1
I'm puzzled, my app doesn't show up on the device menu. I've made own uri scheme handler, and by using that does open my app.

This is myapp_harmattan.desktop file placed in /usr/share/applications:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name=myApp
Exec=/usr/bin/invoker --single-instance --type=d -s /opt/myapp/bin/myapp
Icon=/usr/share/icons/hicolor/80x80/apps/myapp80.png
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
MimeType=x-maemo-urischeme/myapp

with dpkg -L it seems that all the files are correct.
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#2
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name=myApp
Exec=/usr/bin/invoker --single-instance --type=d -s /opt/myapp/bin/myapp
Icon=/usr/share/icons/hicolor/80x80/apps/myapp80.png
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
MimeType=x-maemo-urischeme/myapp;
-------------------------------------------------------^

Last edited by nicolai; 2012-02-05 at 12:37.
 
Posts: 30 | Thanked: 22 times | Joined on Dec 2009
#3
Err what? You cant have uri scheme in desktop file?
Seems to be like it was from harmattan docs. Urgh.
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#4
No I meant you missed a ";" at the end of the MimeType line.
 
Posts: 30 | Thanked: 22 times | Joined on Dec 2009
#5
Oh yeah. I havent noticed that. Thanks!
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:51.