Primo 2.0 : Panic Button without skin Possible?   

Primo 2.0 : Panic Button without skin Possible?

Postby nabilone » Tue Jan 17, 2012 1:23 pm

Dear all,

Since 1st january, speedcams alerts are forbidden in France. I think, this will become forbidden in all Europe (or almost).
I would like to know, from developpers, if it's possible to add a panic feature wich disable speedcam alert (by modifying "speedcam_warning entry in sys.txt+reboot, for example).
This feature could be available by a long clic on an existing button (long clic on "Quick menu icon, for example).

I know this feature is available on some skins, is it possible to add it on a "non-skinned" Primo?

Thanks for reading.
nabilone offline


Junior Member



 
Joined: Thu May 20, 2010 6:31 pm
Posts: 64
Has thanked: 0 time
Been thanked: 0 time

Postby Fatboyfun » Tue Jan 17, 2012 1:34 pm

If you can call an external application from within Primo, then it's not difficult to create a script to rename the speedcam folder and restart Primo, Then I could make it so running the app again would restore the folder and restart Primo, It could be mapped to the bluetooth button available with some skins, Without a skin involved then you would need to have some way to start the script, a hardware button or some sort of button overlay app.
Fatboyfun offline


User avatar Ex Moderator



 
Joined: Mon May 17, 2010 5:34 pm
Posts: 5782
Has thanked: 2 times
Been thanked: 408 times

Postby nabilone » Tue Jan 17, 2012 2:48 pm

Great!

But is there a way to "assign" this script to an existing button?
nabilone offline


Junior Member



 
Joined: Thu May 20, 2010 6:31 pm
Posts: 64
Has thanked: 0 time
Been thanked: 0 time

Postby Fatboyfun » Tue Jan 17, 2012 5:49 pm

There are applications to map programmes to hardware buttons but it depends on the device whether the buttons are 'mappable'

I'm going to sort out a script for this later...
Currently sleeping...
Fatboyfun offline


User avatar Ex Moderator



 
Joined: Mon May 17, 2010 5:34 pm
Posts: 5782
Has thanked: 2 times
Been thanked: 408 times

Postby nabilone » Tue Jan 17, 2012 5:56 pm

My Primo runs on a Chinese HU with no physical button assigned to the Navi part. Everything is done through the touch screen.
nabilone offline


Junior Member



 
Joined: Thu May 20, 2010 6:31 pm
Posts: 64
Has thanked: 0 time
Been thanked: 0 time

Postby Fatboyfun » Tue Jan 17, 2012 6:01 pm

Miopocket has a 'floating button', I'm sure i could extract and adapt it for this purpose, It would be easier to use a skin though.

I'll look into it later tonight.
Currently sleeping...
Fatboyfun offline


User avatar Ex Moderator



 
Joined: Mon May 17, 2010 5:34 pm
Posts: 5782
Has thanked: 2 times
Been thanked: 408 times

Postby nabilone » Tue Jan 17, 2012 6:16 pm

Thanks you!
nabilone offline


Junior Member



 
Joined: Thu May 20, 2010 6:31 pm
Posts: 64
Has thanked: 0 time
Been thanked: 0 time

Postby Fatboyfun » Tue Jan 17, 2012 11:02 pm

OK, My first go at this...

Download this -> 3722
Extract all the files and copy all the individual files into the iGO/Primo directory.

Use the external programmes or Bluetooth button features of the dimka skin to run HYSC.exe (Hide Your Speed Cams)

The first time it's run a window appears with a list of executables in the directory, Choose the iGO executable and tap OK.

Now the next time it's run iGO will be closed, The speedcam directory renamed to Datastore and iGO is restarted without the speedcams.

NOTE: iGO will create a new speedcam directory.

When it's run again, iGO is closed and the newly created speedcam directory is removed and Datastore is renamed back to Speedcam, Then iGO is restarted with the speedcams.

NOTE: As iGO is killed you may lose any recently changed settings, iGO ignores the Windows CE Close command.

QUICKLAUNCH.exe There is a Quick Launch app included which places a triangular button in the lower right corner which, when tapped starts HYSC.exe, Only use this if you don't have access to the external programmes feature within iGO.

Image

You can change the size, colour and location of the triangle in QuickLaunch.ini

[Settings]
Width=32
Height=32
Position=BottomRight, TopRight, TopLeft, BottomLeft
Color=0000FF
Command=\Storage Card\MobileNavigator\HYSC.exe

You must edit the path to HYSC.exe to match your setup.

Please provide feedback...
Currently sleeping...
Fatboyfun offline


User avatar Ex Moderator



 
Joined: Mon May 17, 2010 5:34 pm
Posts: 5782
Has thanked: 2 times
Been thanked: 408 times

Postby Fatboyfun » Fri Jan 20, 2012 10:22 pm

Anyone try this..? I'm curious to see if it works.
Currently sleeping...
Fatboyfun offline


User avatar Ex Moderator



 
Joined: Mon May 17, 2010 5:34 pm
Posts: 5782
Has thanked: 2 times
Been thanked: 408 times

Postby nabilone » Sat Jan 21, 2012 9:29 am

Hi Fatboyfun,

First, I'm sorry to having been so long too answer. Indeed, I didn't use my car this week.
So, I tried your solution yesterday, with both Primo 2.0 and 1.2 and it works almost perfectly (at 95%).

I used QuickLaunch Button because I don't have any physical button. I tried it many times (about 30 times) to see if it's sure and it succeeds almost all the times except twice, i got an HYSC error and igo didn't restarts. I don't know what is this error because it was in chinese (my Wince is in chinese).

Btw, I'm very satisfacted with this solution, so thank you very much!
nabilone offline


Junior Member



 
Joined: Thu May 20, 2010 6:31 pm
Posts: 64
Has thanked: 0 time
Been thanked: 0 time

Postby Fatboyfun » Sat Jan 21, 2012 11:47 am

Without knowing what the error is, i don't know where to begin fixing it, But i'll play with it for a while and then post an updated version...
Currently sleeping...
Fatboyfun offline


User avatar Ex Moderator



 
Joined: Mon May 17, 2010 5:34 pm
Posts: 5782
Has thanked: 2 times
Been thanked: 408 times

Postby nabilone » Sat Jan 21, 2012 6:18 pm

Here is the error message.
Perhaps, someone who speaks chinese can help us:)

3731
nabilone offline


Junior Member



 
Joined: Thu May 20, 2010 6:31 pm
Posts: 64
Has thanked: 0 time
Been thanked: 0 time

Postby Fatboyfun » Sat Jan 21, 2012 7:17 pm

Using your image, [Please Register or Login to download file] and [Please Register or Login to download file] , I got this

3733

Shrews absurd line `HYSC nine Fu Huang vector awakened fresh lost due to insufficient memory insects Wang method E
Currently sleeping...
Fatboyfun offline


User avatar Ex Moderator



 
Joined: Mon May 17, 2010 5:34 pm
Posts: 5782
Has thanked: 2 times
Been thanked: 408 times

Postby nabilone » Sat Jan 21, 2012 7:36 pm

OK:clap:

So I'll try to recuperate some memory by disabling 3D building and more.

Or maybe I'll try to insert some insects in my GPS :)
nabilone offline


Junior Member



 
Joined: Thu May 20, 2010 6:31 pm
Posts: 64
Has thanked: 0 time
Been thanked: 0 time

Postby Fatboyfun » Sat Jan 21, 2012 7:43 pm

nabilone wrote:Or maybe I'll try to insert some insects in my GPS :)


Using Wang method E mind :lol:
Currently sleeping...
Fatboyfun offline


User avatar Ex Moderator



 
Joined: Mon May 17, 2010 5:34 pm
Posts: 5782
Has thanked: 2 times
Been thanked: 408 times

Next

Return to General Discussions about iGO core

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 57 guests