New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
SkizZO
Old
#1  
SkizZO's Avatar
Senior Member - OP
Thanks Meter 0
Posts: 642
Join Date: Nov 2005
Location: .:NeaPoliS:.
Default VJDialer & TomTom menu

Hello! if you create in \TomTom\SdkRegistry\ 2 files called, for example, mortplayer.bmp and mortplayer.cap, and edit this with notepad as follow:

AppName|MortPlayer.exe|
AppPath|\Scheda di memoria\Mort's MortPlayer\|
AppbmpnFile|mortplayer.bmp|
AppMainTitle|Avvia MortPlayer|
COMMAND|CMD||mortplayer.bmp|MortPlayer|


Tomtom will show a 4th menu with your bmp (72x48, 24 bit, 72dpi) and the link to the application.

Now i want to insert a link to VJDialer and dial a number with one click.

Here is, for example, the code:

AppName|VJDialer.exe 0123456789|
AppPath|\Storage\|
AppbmpnFile|vjdialer.bmp|
AppMainTitle|Avvia VJDialer|
COMMAND|CMD||vjdialer.bmp|FRIEND_NAME|


Now... this method does not work.

Vijay Help ME! can i do this?
 
SkizZO
Old
#2  
SkizZO's Avatar
Senior Member - OP
Thanks Meter 0
Posts: 642
Join Date: Nov 2005
Location: .:NeaPoliS:.
I halso have tried to create a link to vjdialer, put it into sdkregistry dir, and execute it from .cap file:

AppName|VJDialer.lnk|
AppPath|\TomTom\SdkRegistry\|
AppbmpnFile|vjdialer.bmp|
AppMainTitle|Avvia VJDialer|
COMMAND|CMD||vjdialer.bmp|Friend|

and



AppName|VJDialer.lnk|
AppPath|\Storage\|
AppbmpnFile|vjdialer.bmp|
AppMainTitle|Avvia VJDialer|
COMMAND|CMD||vjdialer.bmp|Friend|



But with no results.
 
vijay555
Old
#3  
vijay555's Avatar
Retired Moderator
Thanks Meter 20
Posts: 5,772
Join Date: Jun 2005
Location: Witch Space
SkizZO: I'm afraid I don't use TomTom (find the poll I'm running to decide if I should buy the Mio with built in GPS!).

However, check your .lnk file. If it launches correctly when run, then I would try copying it into your MortPlayer folder, and editing the entry you know works for mortplayer, and just make it launch your VJDialer.lnk instead (since you know the other settings work).

Perhaps TomTom can't run command lines? That'd be a pain and require some thinking about?

This wasn't too helpful:
http://www.opentom.org/Menu_structure

V
releases: www.vijay555.comtwitterdonatefrappr
 
jpiek
Old
#4  
Senior Member
Thanks Meter 7
Posts: 260
Join Date: Nov 2003
You can't use links and you can't use parameters....

You can only start a exe file, that's it...

What you could do :

- Create a mortscriptfile TTdial.mscr
run vjdialer.exe 0123456789

make a copy of the autorun.exe that comes with mortscript, rename it TTdial.exe

Make the .CAP file as you wish and make it run TTdial.exe

The mortscript autorun.exe always starts a .mscr scriptfile with the same name, so you can have TTdial1.mscr + TTdial1.exe, TTdial2.mscr + TTdial2.exe etc.
Johan Piek
 
SkizZO
Old
#5  
SkizZO's Avatar
Senior Member - OP
Thanks Meter 0
Posts: 642
Join Date: Nov 2005
Location: .:NeaPoliS:.
WoW Thnx to aLL!

Hemm... wich is the exact shyntax of the mscr script?

...and.. can i use Onlu Autorun.exe (and autorun.mscr) without install anything?
 
vijay555
Old
#6  
vijay555's Avatar
Retired Moderator
Thanks Meter 20
Posts: 5,772
Join Date: Jun 2005
Location: Witch Space
SkizZO: I've made an app just for you, to make this a lot easier, I hope!

VJBrisk - http://forum.xda-developers.com/view...asc&highlight=

Basically, setup your VJDialer shortcut, rename it to VJTarget.lnk, and copy the file VJBrisk.exe into the same folder.

Get TomTom to launch VJBrisk, and VJBrisk will launch VJTarget.

Let me know if that makes sense. But the autorun solution is still very neat.

V
releases: www.vijay555.comtwitterdonatefrappr
 
SkizZO
Old
#7  
SkizZO's Avatar
Senior Member - OP
Thanks Meter 0
Posts: 642
Join Date: Nov 2005
Location: .:NeaPoliS:.
oops double post
 
SkizZO
Old
#8  
SkizZO's Avatar
Senior Member - OP
Thanks Meter 0
Posts: 642
Join Date: Nov 2005
Location: .:NeaPoliS:.
Thanx for all. In order:

Mortscript works well, the exact shyntax is (in mscr file):

run [PATH]\VJDialer.exe , 0123456789

Thanx vijay, i will try NOW your app.... only a question:
VJbrisk.exe launch only one vjtarget.lnk or just rename it (exe) with the same name of the link to have more than 1 phone link?

(es Vjbrisk1.exe call Vjbrisk1.lnk, Vjbrisk2.exe call VJbrisk2.lnk etc ?
sorry 4 my english ops:


XDA PORTAL POSTS

What’s Possible with CASUAL & How to Make Your Own CASUAL – XDA Developer TV

XDA Elite Recognized Developer AdamOutler is known … more

Pearl Chen to Talk NFC Development at XDA:DevCon 2013

From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more

Avoid Framework Bootloops on Xperias Running Jelly Bean

If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more

Forum Added for the Samsung Galaxy Mega

What do you do when the Galaxy Note line is simply not big enough? You get theSamsung Galaxy Mega. … more