hehheehe... come to think of it makes me want to laugh... why? at first i think i want to clean up your code and try it but instead it goes to this...
:P :P
Led are blinking about 4 sec when a Neo/mpkg App starts by tap on the icon.
i already had this on my old e680(not i/g), now on e680i.
it needs the lin-loader, NEO or/and mpkg. (perfectly all of them).
copy the LED(top led) and PMD(e680 bottom Led) files in
cd /diska/.system/led
i maded a startapp.lin for every NEO and MPKG app folder that contains this:
#!/bin/bash
cd /diska/.system/led
./pmd &
./led &
./led 1
sleep $delay
./led 2
sleep $delay
./led 3
sleep $delay
./led 4
sleep $delay
./led 5
sleep $delay
./led 6
sleep $delay
./led 7
sleep $delay
./led 0
delay=.5s
sleep $delay
./led 0
sleep $delay
./led 0
sleep $delay
./led 6
sleep $delay
./led 0
sleep $delay
./led 6
sleep $delay
./led 0
sleep $delay
./led 6
sleep $delay
./led 0
sleep $delay
./led 6
sleep $delay
./led 6
sleep $delay
./led 6
sleep $delay
./led 6
sleep $delay
./led 0
--------------------
example for mp3Player and camcap
when you use the mp3player that start without a .lin script then just make one, same for camcap.
1. rename the mp3player -> mp3player2
2. make a new .lin file with mp3player (without the .lin ending)
3 edit the new mp3player file and put in this code and save itit will start the LED and mp3Player at same time.)
#!/bin/bash
cd /diska/.system/QTDownLoad/mp3player
./startapp.lin &
./mp3player2 &
------------------------------
example on jPlayer and other .lin-script file starting apps:
jplayer.lin file put ./startapp.lin & like this.
(maybe its not clean programming/scripting style but works for me)
#!/bin/bash
export QTDIR=/usr/lib/ezx
export EZX_RES_FONT_PATH=$QTDIR/lib/fonts
myfile=`basename $0`
mypath=`echo $0 | sed -e 's/'$myfile'//g'`
cd $mypath
./startapp.lin &
export HOME=$mypath
start-stop-daemon -S -c root -x /tmp/stopfire.lin
start-stop-daemon -S -c root -x ${mypath}jplayer-phone.lin &
start-stop-daemon -S -c root -x ./mount.lin
start-stop-daemon -S -c root -x ./JPlayer
start-stop-daemon -S -c root -x ./umount.lin
start-stop-daemon -S -c root -x /tmp/stopplayer.lin
start-stop-daemon -S -c root -x /bin/kill `pidof phoneshell`
rm /tmp/stopplayer.lin
if [ -f /tmp/stopfire.lin ]
then
rm /tmp/stopfire.lin
cd /diska/.system/QTDownLoad/firewall/
start-stop-daemon -S -c root -x /diska/.system/QTDownLoad/firewall/firewall.lin &
fi
------------------------------
hehheehe... come to think of it makes me want to laugh... why? at first i think i want to clean up your code and try it but instead it goes to this...
:P :P
OS: Windows Vista Ultimate RC1 Build 5600
CPU: Intel Pentium 4 2.40GHz overclocked to 2.47GHz
http://www.motorolafans.com/MotoFile.../montage01.gif
lol.. you make an auto-startup script instead of blinking LED start app system...
i still have a startup script in my phone..
Motorola e680 (flashed to e680i) + 4Gb SD card + HT820 Stereo BT Hedphones,
Ubuntu 6.10 + 7.04,
Nokia N95 + 8Gb microSD
however the led start script still in confirm folder... if you tap the combine.lin file... it would run... it is already preset... you can use it to be included in apps lin script...
if you want... start sound also can be put into the script...![]()
OS: Windows Vista Ultimate RC1 Build 5600
CPU: Intel Pentium 4 2.40GHz overclocked to 2.47GHz
http://www.motorolafans.com/MotoFile.../montage01.gif