Introducing XDA:DevCon – A Conference For Developers By Developers
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 6
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:

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Forums Added for the LG Optimus G Pro and Sony Xperia Tablet Z

Not too long ago, we talked about how Sony was continuing its AOSP efforts on … more

Permanent Screen Off for the Visually Impaired

Most of us take the simple act of waking up our devices and having a quick glance at the … more

App Analytics, or the Death of the Independent App Developer

This is entry number one in a series of articles about tools for app developers, … more

Serajr Power Toggles Brings Settings to the Small App World

Ever since the introduction of multi-window with things like Cornerstone and … more