Google
  Web www.gpspassion.com


GpsPasSion LIVE!
www.flickr.com
This is a Flickr badge showing public photos from GpsPasSion Live !. Make your own badge here.

www.NaviBlog.com



Versions

Links/Liens




Portal/Portail
Rechercher

- -

Polls/Sondages
Sondage
Pour vous guider sur la Route :
GPS Mobile (SEM)
GPS Intégré
Smartphone
Autre
Voter  -  Résultat des votes
Votes : 1355




Club GpsPasSion
Soutenez le site!

USA: (US$)
EUROPE: (€)
Guide Paypal


GpsPasSion Forums
Home | Profile | Register/Enregist. | Active Topics | Search/Recherche | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 English Forums - Hardware
 "All in One" Navigation Systems
 [TOPIC] Customizing the HP iPaq 310
 New Topic  Reply/Répondre
 Printer Friendly
Previous Page | Next Page
Author  Topic Next Topic
Page: of 244

lbendlin

USA
482 Posts

Posted - 29 avr. 2008 :  17:27:35  Show Profile  Visit lbendlin's Homepage  Reply with Quote
[SNIP]

it may be much easier. try renaming a .lnk file to .exe (and also add the .bmp)

Lutz
Go to Top of Page

Hagar

18 Posts

Posted - 29 avr. 2008 :  17:50:52  Show Profile  Reply with Quote
Thanks for the suggestion Lutz.
I tried it, but when I start the renamed 'app.lnk --> app.exe', I get a popup saying 'app.exe - Cannot find app (or one of its components). Make sure the path and filename are correct and that all the required libraries are available'.
Go to Top of Page

lucian77

10 Posts

Posted - 29 avr. 2008 :  20:23:16  Show Profile  Reply with Quote
quote:
Originally posted by Sancho1234

@misha_pr,

WOW! Respect!

The PAN Bluetooth connection is working with my HTC Kaiser HSDPA access! I could browse the internet with Opera on iPAQ 316!


Sancho can you please tell me, there are other settings to make in control panel or in the phone (my phone is a Htc wm 6.1) ?
THANKS!

Edited by - lucian77 on 29 avr. 2008 20:24:34
Go to Top of Page

Sancho1234

Hungary
254 Posts

Posted - 29 avr. 2008 :  22:02:53  Show Profile  Visit Sancho1234's Homepage  Reply with Quote
- pair the PDA with the iPAQ over Bluetooth
- create a COM port on PDA (Bluetooth Settings / COM port / New Incoming Port) I use the COM8 with HP iPAQ 316
- create the shortcut.ini PAN settings on iPAQ
- start Internet Sharing app on PDA
- use Bluetooth PAN and your network provider and connect
- connect the iPAQ to the PDA over Bluetooth


HTC Touch Pro2, HTC Kaiser TyTN II, TomTom Navigator 6, Nav N Go iGO 8.0, GIS Russa, HP iPAQ 316, HP iPAQ H3970, Garmin Nüvi 205, Garmin Oregon 400t, ASUS EeePC 901 XP, Leadtek BT GPS 9537, Motorola F3

blog.sancho.hu | igo.lap.hu | garmin.lap.hu | tmc.lap.hu
Go to Top of Page

miolover

529 Posts

Posted - 29 avr. 2008 :  23:30:20  Show Profile  Reply with Quote
why are you guys talking about BT and phone connections now? i thought you successfully connect SD wifi? u mean u prefer to pay internet connection rather than FREE internet? i don't get it. did u successfully connect SD wifi or NOT? and i was asking for the driver installation and the DLLs and registry keys if you can.
Go to Top of Page

raven2000

72 Posts

Posted - 30 avr. 2008 :  06:02:47  Show Profile  Reply with Quote
Wifi is not available everywhere so the places where its not available we can use mobile internet. Also, there are some mobile plans that have internet access included.
Go to Top of Page

Hagar

18 Posts

Posted - 30 avr. 2008 :  10:40:25  Show Profile  Reply with Quote
Is there anybody here who knows how to write such a little app (see posting above) ?

Edited by - Hagar on 30 avr. 2008 16:55:41
Go to Top of Page

Hagar

18 Posts

Posted - 30 avr. 2008 :  19:19:38  Show Profile  Reply with Quote
OK, I managed to compile a small application, using the MS eMBedded Visual C++ 3.0 compiler.
It generates a small .exe (the launch app) which you can name anything you like and put in the GAMES dir. The little app starts up another application (for the moment hardcoded) that resides on your SD card (we have more space on our SD card than on the internal flash).
The code was 'cut and paste' from MS samples (as I am not a CE programmer :-) ) :
---------------------------------------------------------
#include "stdafx.h"

int WINAPI WinMain( HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
LPTSTR Instr = _T("\\SDMMC\\Program Files\\whatevermap\\whateverapp.exe");
LPTSTR szVerb = _T("open");

SHELLEXECUTEINFO lpExecInfo;
memset(&lpExecInfo, 0, sizeof(SHELLEXECUTEINFO));
lpExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);

// MessageBox(0, Instr, _T("What will be opened :"), 0);

lpExecInfo.lpFile = Instr;
lpExecInfo.nShow = SW_SHOWNORMAL;
lpExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS;
lpExecInfo.lpVerb = szVerb ;
ShellExecuteEx(&lpExecInfo);

return(0);
}
---------------------------------------------------------

If anybody could extend this application, so that the external application name is not hardcoded, but read from a little text file, I'm sure that would make several people happy. This way, you wouldn't have to recompile the application everytime for different 'SD applications'.
Now put a little .bmp file in the GAMES submap with the same name as the launch app, and you can start any program on your SD card from within Oasis.

Edited by - Hagar on 30 avr. 2008 19:20:46
Go to Top of Page

lbendlin

USA
482 Posts

Posted - 30 avr. 2008 :  19:55:33  Show Profile  Visit lbendlin's Homepage  Reply with Quote
quote:
Originally posted by miolover

why are you guys talking about BT and phone connections now? i thought you successfully connect SD wifi? u mean u prefer to pay internet connection rather than FREE internet? i don't get it. did u successfully connect SD wifi or NOT? and i was asking for the driver installation and the DLLs and registry keys if you can.



ever heard of flat data rates? I pay 15 USD per month for unlimited data on T-Mobile US.

Lutz
Go to Top of Page

lbendlin

USA
482 Posts

Posted - 30 avr. 2008 :  20:02:38  Show Profile  Visit lbendlin's Homepage  Reply with Quote
quote:
Originally posted by Hagar

If anybody could extend this application, so that the external application name is not hardcoded, but read from a little text file, I'm sure that would make several people happy. This way, you wouldn't have to recompile the application everytime for different 'SD applications'.
Now put a little .bmp file in the GAMES submap with the same name as the launch app, and you can start any program on your SD card from within Oasis.


how about this - the program would look in the application folder for .lnk files and then execute the first one it finds?

Or - simply hardcode the lnk file name and then see if you can "open" (execute) a .lnk

Lutz
Go to Top of Page

rolfz

Switzerland
3 Posts

Posted - 30 avr. 2008 :  20:31:00  Show Profile  Reply with Quote
Question to Roeka

Am enjoing an IPAQ314 as well and very excited about the great work you did with jyqureshi. Am just confused if this are 2 separate setups or if you speak about the same. So do I need to follow all changes of both to make it work ? If I do yours I get still white text mixed with black.

Can you indicate what files or changes it needs, for example with your last EFM-2. And does this one include Speedlimit ? if I ready the script, I understand if does not.

Owner of Ipaq 314 since 2008, running OziExploere, Igo8 and BBO v 1.0

Edited by - rolfz on 30 avr. 2008 20:32:12
Go to Top of Page

Hagar

18 Posts

Posted - 30 avr. 2008 :  21:02:59  Show Profile  Reply with Quote
Lutz,
Some good news and some bad...
The good : Opening a .lnk file works. The remote app gets executed.
The bad : I have to specify the full path to the .lnk file (with double \\'s), so there is still a little programming effort to do.
(reading the current location path of the lauching .exe, double the '/''s and concatenating with the application.lnk file)

Go to Top of Page

lbendlin

USA
482 Posts

Posted - 30 avr. 2008 :  21:47:16  Show Profile  Visit lbendlin's Homepage  Reply with Quote
Hagar,
that's easy
In this example szAppFolder gets the complete path of the executable, and szIni will have the same with the .exe extension replaced by .lnk

You can adjust the offset (3) at will to give the link file an entirely different name etc.

//where do we come from?
GetModuleFileName(NULL, szAppFolder, MAX_PATH);
// strip out file extension
*(szAppFolder + wcslen(szAppFolder) - 3) = 0;
wsprintf(szIni, TEXT("%slnk"),szAppFolder);

Lutz
Go to Top of Page

Hagar

18 Posts

Posted - 30 avr. 2008 :  23:03:39  Show Profile  Reply with Quote
Thank you for the advice, Lutz !!
It works !
So now this 'universal' .exe can be copied (and renamed) in several GAMES\submaps and you only have to provide a .lnk to your actual application on SD. An extra .bmp and voila ;-)

The code now is :

#include "stdafx.h"

int WINAPI WinMain( HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
TCHAR szPath[128];
TCHAR Instr[128];
LPTSTR szVerb = _T("open");

SHELLEXECUTEINFO lpExecInfo;
memset(&lpExecInfo, 0, sizeof(SHELLEXECUTEINFO));
lpExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);

GetModuleFileName(hInstance, szPath, 128);
*(szPath + wcslen(szPath) - 3) = 0;
wsprintf(Instr, TEXT("%slnk"),szPath);

//MessageBox(0, Instr, _T("File that will be opened :"), 0);

lpExecInfo.lpFile = Instr;
lpExecInfo.nShow = SW_SHOWNORMAL;
lpExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS;
lpExecInfo.lpVerb = szVerb ;
ShellExecuteEx(&lpExecInfo);

return(0);
}
Go to Top of Page

misha_pr

Ukraine
7 Posts

Posted - 30 avr. 2008 :  23:52:41  Show Profile  Reply with Quote
I continue to inspect Ipaq310 BlueTooth.
You can activate BT OPP service. Add the key at file localservice.ini

[1636960]
svc_name=Bluetooth OPP
service_class=4357
security_level=1
author_method=1
status=1

Start BT. Try to send a small file from your phone. The file will put on root of Ipaq310 file system. Root is a RAM and has the limited size. Of course, You can temporarily extend the size of free space for download (Setting->Control Panel->System->Memory). I don`t know, how to set incoming folder. I can not operate with files having Cyrillic file name.

You can activate BT FTP service on Ipaq310. Add the key at file localservice.ini

[1632880]
svc_name=Bluetooth FTP
service_class=4358
security_level=1
author_method=1
status=1

Start BT. Refresh services and connect to Ipaq310 FTP from your device. You can see folder «\». It`s a root of Ipaq file system. Open it.
My phone browse Ipaq well. Not all phones have FTP client. Mine PC does not understand the title of a folder "\", but, understands, for example, «\SDMMC». I don`t know, how to set initial FTP root folder.

Note. After each start, bluesoleil adds 3 keys at the file localservice.ini and deletes only 2 at completion. The file permanently increase. Is it only my bug? I have deleted all (except for ftp, opp), and nothing happened.
Go to Top of Page
Page: of 244  Topic Next Topic  
Previous Page | Next Page
 New Topic  Reply/Répondre
 Printer Friendly
Jump To:
GpsPasSion Forums © 2002-2013_GpsPasSion/Manzanite Go To Top Of Page
This page was generated in 2,61 seconds. Powered By: Snitz Forums 2000 Version 3.4.05