16 พฤษภาคม 2024, 06:19:27 *
ยินดีต้อนรับคุณ, บุคคลทั่วไป กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน

เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น
 
  หน้าแรก   เว็บบอร์ด   ช่วยเหลือ ซื้อขายสินค้า Shop เข้าสู่ระบบ สมัครสมาชิก  
หน้า: [1]   ลงล่าง
  พิมพ์  
ผู้เขียน หัวข้อ:  Project: starter  (อ่าน 3975 ครั้ง)
0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้
ที-เร็กซ์
Web Editor
Team & Developers
*


ออฟไลน์ ออฟไลน์

เพศ: ชาย
รางวัล:
meetingx1x1...
ID number: 1
กระทู้: 13119
$1000.15 credits

View Inventory
Send Money to ที-เร็กซ์

Referrals: 1
คำขอบคุณ
-ได้ให้: 2565
-ได้รับ: 72133



พลังชีวิต
3.33%


navthaicom
« เมื่อ: 19 สิงหาคม 2010, 13:02:52 »


rpul » Mon Aug 02, 2010 3:05 am

Credit : rpul


Project: starter
Requirements: device with WinCE
Operating System: WinCE
Overview: Configurable startup utility

More Info:
โค๊ด:
http://www.mybecker.com/
I wrote this small utility for my Becker z103, but it can be used on any other WinCE device.

What it does?
It will search for the applications from the provided list, and run the first found.

In other words I use it to do the following - if SD card is inserted it will start the software from the SD card. If no card is inserted - it will run original Becker soft from the internal memory.
I replaced the original Becker's NNGStart.exe with this one, so that the device will run this automatically at start up.

Application consists from two files - one exe (name of the exe does not matter, and you will probably adapt it to your needs), and starter.ini file.
All the settings are to be done in starter.ini file.
There are two sections in the file.

In
โค๊ด:
[list]
section you can provide the list of apps to be run by this program.
App0 is the one with highest priority, App9 is the one with the lowest priority.
Starter will look for App0. If found it will run it and it will quit it self from the memory.
If App0 is not found, it will search for App1 and so on.

If you need to run 2 or 3 apps in parallel (e.g. GPSGate + Navigation app) you can specify App0 , App0a and App0b if needed.

Example starter.ini:
โค๊ด:
[list]
App0=\Storage Card\x103.exe
App1=\Storage Card\PMB\SystemInformation.exe
App2=\Storage Card\navigation\menu\shell.exe
App3=\Storage Card\Navigator\FalkNavigator.exe
App4=\Storage Card\tc\cecmd.exe
App5=
App6=
App7=
App8=
App9=\My Flash Disk\iGO8\iGO8.exe
This is my current starter.ini
It is configured for different SD cards.
So, it will search for x103.exe on the SDcard. If found - it will run it and quit itself.
If not found, it will search for the next item from the list, try to run it etc. etc.
At the end, if none found, it will run original Becker software ( App9 ).

Example with parallel runs:
โค๊ด:
[list]
App0=\Storage Card\GPSGate.exe
App0a=\Storage Card\VolumeControl.exe
App0b=\Storage Card\x103.exe
App1=
App2=
App3=
App4=
App5=
App6=
App7=
App8=
App9=\My Flash Disk\iGO8\iGO8.exe
In this example, starter will search for GPSGate.exe on the SDCard. If found it will run it and search further for VolumeControl.exe and x103.exe and run these too.
If the App0 item is not found, no further search is done for App0a and App0b items.
Subitems are supported for other items too (App1 + App1a + App1b etc.)

Next section in the starter.ini file is [Delay]
section. It specifies the delay to run the Application from
โค๊ด:
[list]
section. This was (at least for me) needed. Some software will not start immediately after turning on the device. E.g. MN 7.4.x will not run on Becker z103 without a delay from 2-3 seconds after the device start. It will give application error.
Probably some part of the system needs some time to initialize, dunno..
The syntax of [Delay]
section is as following:
[Delay]
App0=1
App0a=0
App0b=3
App1=
.
.
.
App9
So, it is the same like for
โค๊ด:
[list]
section. Value is the delay in seconds.
For subitems the delay is counted one after another. App0a=2 means it will run 2 seconds after App0, App0b=1 means 1 second after App0a.

Download Links/Instructions:
http://www.m.../?d=P3O79Y13
บันทึกการเข้า

เพิ่มเพื่อน
 
ที-เร็กซ์
Web Editor
Team & Developers
*


ออฟไลน์ ออฟไลน์

เพศ: ชาย
รางวัล:
meetingx1x1...
ID number: 1
กระทู้: 13119
$1000.15 credits

View Inventory
Send Money to ที-เร็กซ์

Referrals: 1
คำขอบคุณ
-ได้ให้: 2565
-ได้รับ: 72133



พลังชีวิต
3.33%


navthaicom
« ตอบ #1 เมื่อ: 19 สิงหาคม 2010, 13:24:55 »

อธิบาย สิ่งนี้คืออะไร

เท่าที่ทดลองใช้ และเล่นดูได้ตามนี้ครับ

Util ตัวนี้สามารถกำหนดความสำคัญของ exe แต่ละตัวได้ครับ โดยกำหนดใน ini

1. เช่นถ้าหา exe ของ App0 ไม่เจอ ก็จะวิ่งไปรัน App1 แทนครับ

2. สามารถรัน App หลาย ๆ ตัวได้โดยรันทีละลำดับ

3. สามารถหน่วงเวลาการรัน App ได้ครับว่าต้องการให้รัน App ตัวใหน หน่วงเวลาเท่าไร

ผมว่าเล็กดี มีประโยชน์ครับ

 Smiley
บันทึกการเข้า

เพิ่มเพื่อน
หน้า: [1]   ขึ้นบน
  พิมพ์  
 
กระโดดไป:  


กระทู้ที่คุณอาจสนใจ
หัวข้อ เริ่มโดย ตอบ อ่าน กระทู้ล่าสุด
Next Project: Calibate GPS less than 5 meter error
PNA, PND, Handhelds
มด [tewbc] 8 5462 กระทู้ล่าสุด 29 ตุลาคม 2009, 17:48:56
โดย thinkthank
NEW PROJECT ICON POI AMIGO 37x37px - ฝากให้ช่วยกันทำต่อ
Custom POI
nomneow 0 2936 กระทู้ล่าสุด 14 มกราคม 2010, 23:05:58
โดย nomneow
ขาย Kanger CUPTI ALL in ONE Starter Kit มือสองครับ
คลองถม - Navthai
ที-เร็กซ์ 0 948 กระทู้ล่าสุด 17 กรกฎาคม 2017, 16:48:05
โดย ที-เร็กซ์
Powered by MySQL Powered by PHP

Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
SimplePortal 2.3.5 © 2008-2012, SimplePortal | Thai language by ThaiSMF

SMFAds for Free Forums
© Copyrights 2010 navthai.com mod by trex_ln
Valid XHTML 1.0! Valid CSS!
หน้านี้ถูกสร้างขึ้นภายในเวลา 0.133 วินาที กับ 38 คำสั่ง