![]() |
2010-12-02
, 15:38
|
|
Posts: 560 |
Thanked: 423 times |
Joined on May 2010
@ Switzerland
|
#2
|
[Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=YOURAPP Exec=/usr/bin/YOURAPP X-Osso-Service=org.maemo.YOURAPP
[D-BUS Service] Name=org.maemo.YOURAPP Exec=/usr/bin/YOURAPP
The Following User Says Thank You to caco3 For This Useful Post: | ||
![]() |
2011-05-07
, 15:40
|
Posts: 291 |
Thanked: 398 times |
Joined on Jan 2011
@ USA
|
#3
|
![]() |
2011-05-07
, 16:18
|
|
Posts: 1,030 |
Thanked: 792 times |
Joined on Jun 2009
|
#4
|
![]() |
2011-05-07
, 16:27
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#5
|
Thanks MohammadAG for this trick to get a false instant startup feel. I used this trick on my PyQt4 application but dbus service terminate my app after a couple mins running, unless I either have to use run-standalone.sh to start up my app or include import osso and self.osso_c = osso.Context("com.myapp.app", "0.0.1", False). Any reason why? or other any other right way to do it?
I just noticed that the same thing happened to your apps as well.
![]() |
2011-05-07
, 16:35
|
Posts: 291 |
Thanked: 398 times |
Joined on Jan 2011
@ USA
|
#6
|
Which apps? I'm pretty sure DBus launching works fine.
Also, here's a method to do it in C++/Qt:
https://gitorious.org/qt-mediaplayer...ow.cpp#line539
![]() |
2011-05-07
, 17:21
|
Posts: 2,225 |
Thanked: 3,822 times |
Joined on Jun 2010
@ Florida
|
#7
|
![]() |
2011-05-07
, 17:34
|
|
Posts: 1,030 |
Thanked: 792 times |
Joined on Jun 2009
|
#8
|
The Following 3 Users Say Thank You to hawaii For This Useful Post: | ||
![]() |
2011-05-07
, 17:44
|
Posts: 291 |
Thanked: 398 times |
Joined on Jan 2011
@ USA
|
#9
|
The Following User Says Thank You to khuong For This Useful Post: | ||
![]() |
2011-05-08
, 00:13
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#10
|
The Following User Says Thank You to MohammadAG For This Useful Post: | ||
This is a quick app that allows you to create PVR images, they will be saved in /home/user/.cache/launch/org.maemo.pvrcreator.pvr.
After an image is created, rename it to match the service name of the application you want to use it for from /usr/share/dbus-1/services/
Use this command:
Example:
Take a screenshot of the media player.
Trim the top title bar (including status menu etc...).
Place the edited screenshot somewhere on the device.
Use the application to create a pvr file.
Rename the file to com.nokia.mediaplayer.pvr
Thanks to thp, Jaffa, and frals, their source codes really helped in this app
Package name is pvrcreator, should be in devel in less than half an hour.