Active Topics

 


Reply
Thread Tools
santiago's Avatar
Posts: 518 | Thanked: 334 times | Joined on Mar 2010 @ italy
#1
THE Colf
hi guys, i'm creating a new app that can play videos and sounds during the purge of the system files. I'm totally noob about the bash, but i don't surrender

i need help to create a string to execute:

1) play a video file using the media player (default)

i did this but it sometimes works... Not every times i'm able to run it in the right setup

#Promo
/usr/bin/dbus-send --print-reply --dest=com.nokia.mediaplayer /com/nokia/mediaplayer com.nokia.mediaplayer.mime_open string:/home/LINKS/promo.avi && sleep 26
Maybe is the sleep?? I tryed to delete the sleep but it doesn't work at all...


2) i need a value or a command line to keep the light on, in the LCD i mean...
gconftool -s -t bool /system/osso/dsm/locks/touchscreen_keypad_autolock_enabled false
this one doesnt work too...


3) i need a command line to Kill a Script.sh, becouse of errors, the script can be pressed more times and the sounds effects aren't good to hear

4) I wanna have a command line to use the led patterns
(dbus)??? i'm noob, i'll be happy to find a dummy Guide about that....

Have a good year, sorry for my english i'm italian (the true is that i did'nt study it very well, i hated my teacher becouse she given me very bad Votes ) thanks again, i leave you a video promo about what i wanna do.

Last edited by santiago; 2011-01-02 at 10:34.
 
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#2
not sure what lanuage you are using but check the healthcheck(python version in extras/testing) as it does the led's and sound playing...
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 
santiago's Avatar
Posts: 518 | Thanked: 334 times | Joined on Mar 2010 @ italy
#3
Originally Posted by noobmonkey View Post
not sure what lanuage you are using but check the healthcheck(python version in extras/testing) as it does the led's and sound playing...
i think that the python cose is different. I'm starting to create it using simple calls with bash scripting. i'm scared becous the only guide that i found, it's 680 pages
 
Posts: 4 | Thanked: 8 times | Joined on Dec 2010 @ Kronstadt , Romania
#4
Regarding the bash part I can't help you if you give me more details about the project.
 
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#5
Originally Posted by santiago View Post
i think that the python cose is different. I'm starting to create it using simple calls with bash scripting. i'm scared becous the only guide that i found, it's 680 pages
hehe i'm not the greatest bash expert, but really do check the python code - 90% of it is terminal code - (ie run from within x-terminal) and the dbus calls should be easy enough to turn back into standard dbus calls.
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:20.