yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV General] low.flying.pigs:
Hello WolWer,

I had intended to update post 2030 but in the interim you have added further information before I had opportunity. To address now your feedback arising in posts 2025, 2027 and 2031:

If the issue remains using 4.12 beta 3, then feel free to provide your file if you wish. An easy way is to upload as an attachment to a post. However, if concerned with privacy, upload within a passworded zip file, and send the password by private message to whomever you wish to have access. After confirmation of receipt, edit the post and delete the attachment.

Regarding GPS errors, if GPS when configured correctly works properly and without any 'Cant open GPS port' message boxes, there is nothing to be concerned with. It is normal operation to warn in this manner when GPS is unconfigured or in usage by another application if not shared.

Regarding 'Error! An unexpected error occurred in GpsCycleComputer.exe. DirectoryNotFoundException' if it does not occur when running 4.12 beta 3, there is nothing to be concerned with.

Your feedback regarding 4.12 Beta 3 essentially matches that observed in the Windows CE 5 Emulated Environment, but to address some comments therein:

In order for full screen and context menus to function correctly, they have to be implemented correctly in the first instance in the source code. Windows CE and Windows Mobile require different techniques as previously detailed. As and when these functions are working properly in the emulator, but not on any given specific device, issues such as .dll files if necessary can be investigated. Regarding these, when a required .dll is missing, an error to that effect is ordinarily displayed. A .dll if present in the Windows directory is available to all applications that require it. A .dll present in a program directory is available to that program only.

Context menus are accessed by tap and hold, not double tap. It would be of interest if you clarified, and provided a screen grab, of what you are reffering to with your initial comment regarding context menu.

low.flying.pigs
[Touch Diamond, MDA Compact IV General] WolWer:
I'll check that track again as soon as weather improves!

I know, but I listed all pop ups - also those who are selfexplaining

As indicated in my previous post on installing beta3 there's no DirNotFound Exc.

I tried both double click and hold tap: no reaction.

cu - WolWer

p. s.: Tx for your advise regarding aygshell.dll.
[Touch Diamond, MDA Compact IV General] low.flying.pigs:
Hello WolWer

I had though that may be the case. However, often responses are not intended just for those addressed, but to the wider readership generally that includes readers and users across the full spectrum of experience, ability, and understanding.

Unfortunately there was in fact no such indication or mention in your last post 2031 regarding 4.12 Beta 3. Your comments in post 2027 were referring to 4.12 Beta 2, before 4.12 Beta 3 was released in post 2028. However, thank you for your confirmation now.

Thank you for your confirmation now that context menu is not working in 4.12 Beta 3 on Windows CE 5 when correctly accessed using press and hold.

I look forward to your future feedback with interest, as with that of all users that take the time to positively contribute.

low.flying.pigs
[Touch Diamond, MDA Compact IV General] WolWer:
Today I've tested beta_test.gpx (attached) again - the results are fortunately the same as wednesday:

- on a straight road direction arrow suddenly reverts backwards for about 100m (between track points 342 und 343)

- on left turn behind tp395 some advises "Rxxm" appeared, but direction arrow was ok

- on right turn behind tp414 some advises "Lxxm" appeared, but direction arrow was ok

I guess, quite a few owners of medion S3857/S3867 are interested in GCC, since GoPal-OD-SW supplied with these WIN-CE5-devices was rather poor and essential sw-amendments are pending for more than a year!

cu - WolWer

p. s. regarding context menus: I'll test context menu ability of one of low.flying.pigs examples on S3857!
[Touch Diamond, MDA Compact IV General] Blaustein:
Hello Wolfgang,

thank you for the gpx file. After point 343 there is a gap of about 400m but GCC should have no problems with it.

If you happen to drive the track one more time, it would help me very much if you log additionally the raw nmea data while you follow the track. To enable this feature GPS must be off, then select in context menu of GPS field "log raw nmea". Be aware that this option is not stored permanently, so don't exit GCC or you must reenable it again. With this option a file "\tmp.txt" is generated in the root of your device with the raw GPS data. Send me the file then I can reproduce your observations (use this file (renamed to nmea.txt) instad of the COM-port of GPS receiver) and improve GCC.

If this feature is enabled the file tmp.txt is new created every time GPS is opened (switched on), therefore:

1. switch on GPS _after_ enabling this feature. If GPS is open, close it and reopen.

2. after stop of track rename or copy the file, to prevent it from overwriting next time GPS is opened.

Attached beta4 where hopefully context menu is working (on first start (without GCC.dat) it may be not maximized).

Klaus
[Touch Diamond, MDA Compact IV General] low.flying.pigs:
Hello Blaustein / Klaus,

Many thanks for 4.12 Beta 4 and the source code. Appreciated as always.

Specifically regarding Windows CE functionality, as per screen grab.

Context Menus are now functional.

On first run in Windows CE 5 Emulated Environment having delete any existing .exe and .dat, and installing 4.12 beta 4.

Behaviour is as per 4.12 beta 3 until after exiting the second time. Upon the third and subsequent restarts without any message boxes, GCC main screen then displays portrait without any gap.

This should be satisfactory until implementation of correct Windows CE Full Screen without Titlebar and Taskbar (if ordinarily displayed, as detailed previously.

low.flying.pigs
[Touch Diamond, MDA Compact IV General] WolWer:
4.12 Beta 4 on S3857 works as described by low.flying.pigs - except of context menus. Thus I can't record raw NMEA-data from beta_test-track. Yesterday I've recorded track with android device - cu - WolWer

p. s.: Would list of *.exe and *.dll (and perhaps other files) in /windows help you to fix context menu prob?
[Touch Diamond, MDA Compact IV General] low.flying.pigs:
Hello WolWer,

GCC 4.12 Beta 4 under Windows CE implements Context Menus using aygshell.dll and specifically SHRecognizeGesture therein.

Running in the Windows CE 5 Emulated Environment, when accessed using Press and Hold on an area of screen from which a Context Menu is accessible, this is now working indicating correct implementation.

When a function operates in the emulated environment, but not on any given device, it is often indicative of device specific issues.

As with many .dll files in general, there are many versions of aygshell.dll.

Firstly it is important to have the correct version for the Operating System. Each Windows CE OS uses a different version. In some circumstances, an incorrect version can appear to work, whilst either only working in part, if actually at all.

Secondly, it is important the version chosen contains the desired functionality. Device manufactures sometimes include reduced functionality, customised, or dummy files. Doing so stops the function from operating, and also prevents a missing .dll message being displayed, as a file with the name is present. Only when not included at all is a .dll missing message ordinarily observed.

Thirdly, it is important that installation is in the correct location. Windows CE ordinarily will use a .dll in the installation folder with the .exe, before searching if it was not found with the .exe, in the /Windows folder.

Fourthly, some .dll files utilise other .dll files to which all the above constraints also apply.

If you wish to do so, simply extract the attached and place the aygshell.dll therein in the GCC installation folder. Before doing so, take a backup if desired and delete any existing file of the same name, having ensured GCC is not running. Then restart the device, start GCC, and test for Context Menu by Press and Hold on the main screen clock in the top right hand corner.

This can if necessary be further investigated. Your feedback is awaited with interest.

Hopefully Context Menu can be made to work on your device as above so you can activate 'log raw nmea' for diagnostic purposes. If needs be however, to progress this issue, a modified beta can be provided with 'log raw nmea' default on as a temporary workaround until device specific Context Menu access is resolved.

I note the first log has 470 points, and the second log 1151 points as more data was logged whilst travelling over the same route as before (in addition to which there are some extra parts travelled not of relevance).

It would be interesting to establish if GCC exhibits the same behaviour as you describe in post 2035, when at the same places / areas on the road, when the second GPX is used in GCC as the Track2Follow.

low.flying.pigs
[Touch Diamond, MDA Compact IV General] Blaustein:
Hello Wolfgang,

I'm looking forward to the result of aygshell.dll

If you have furthermore no context menus please answer the following questions (relating 4.12beta4):

- do you have context menus on desktop or file explorer?

- in GCC main screen if you tap and hold for 1s, do you see an animating dotted circle around the tap position? (use stylus to see better; it may be black on dark grey, so test on white letters or use white background).

- the same in menu page on button 'Recall 1'.

In beta5 I have bound temporarily for test the menu to normal single tap. To enable this feature check in Options Main screen "Single Tap for Config".

- does menu pop up on main screen?

- if yes, does menu selections have an effect?

(to dismiss the menu click on Info field)

4.12beta5 should now start correct in maximized mode.

I could partly repeat your issue with t2f.

There was a weakness in algorithm which caused in special cases the arrow to direct in wrong direction. It should now be solved.

Klaus
[Touch Diamond, MDA Compact IV General] WolWer:
Done (old aygshell.dll 10kb deleted, 42kb aygshell.dll copied to GCC-folder and \windows. Soft-reset, start GCC, click clock in main screen: "Error - An unexpected error has occurred in GCC.exe .... Can't find PInvoke DLL 'aygshell.dll' at GCC.Form1.Form1MouseDownCE()" - maybe due to file name in capitals(I didn't check for that matter)??? Thus I tested the other aygshell.dll I found somewhere - and the one (attached) makes context menu work! Thus there's no need of modified beta - raw NMEA data for that specific part of track will be provided within the next days. Many Tx!!!

The first gpx is no log, but track designed with radroutenplaner hessen (radroutenplaner.nrw is out of order at the moment) and number of trackpoints reduced by means of Reumann-Witkam-Algorithm (corridor 25m).

The second one is logged with my android smartphone, one trackpoint every 10-15m/2-4s, including time etc. data.

Result for following that specific part of logged track will be provided within the next days.

cu - WolWer
[Touch Diamond, MDA Compact IV General] low.flying.pigs:
Hello Blaustein / Klaus,

Many thanks for 4.12 Beta 5 and the source code. Appreciated as always.

Specifically regarding Windows CE functionality:

On first run in Windows CE 5 Emulated Environment having deleted any existing .exe and .dat, and installing 4.12 beta 5.

After any initial message boxes, GCC main screen then displays portrait without any gap, without requiring the restarts of 4.12 beta 4.

This should be satisfactory until implementation of correct Windows CE Full Screen without Titlebar and Taskbar (if ordinarily displayed, as detailed previously).

Ordinary Windows CE 5 context menu functionality, as per 4.12 beta 4 which is confirmed working when a suitable compatible aygshell.dll is used, can be restored in 4.12 beta 6.

To complement this, although not required at the moment, the 4.12 beta 5 temporary measure, when adapted accordingly, could perhaps be included as a permanent feature. 'Single Tap for Config' could be modified so that when selected, a single tap changes displayed information as at present, and double tap accesses Context Menu. This will be of particular use to Windows CE users unable to immediately determine the specific aygshell.dll required. If implemented, it would be logical to rename 'Single Tap for Config' in some way, perhaps to 'Change Tap Config' or something equally descriptive of the actual function of the feature.

Regarding aygshell.dll, a 'Can't find PInvoke DLL' usually means the file is missing, so that is interesting. The file provided most closely matches that provided with the emulator at 42Kb, so it was logical to try that first as a starting point, out of the 30 variations currently on hand to be tested in succession as required (not all of which would be found suitable candidates for testing after completion of initial sorting, some are obviously incompatible, others need deeper analysis). It also tests a theory whether it is necessary to have SHCreateContextMenu function within the file in addition to SHRecognizeGesture.

The 22Kb version WolWer confirms working with GCC 4.12 beta 4 implementation of Context Menu on Medion S3857, which was in line for testing either as second or third candidate, exactly matches one of those 30 .dll variants and does contain both functions, suggesting that at least on some devices in some circumstances, that is necessary.

low.flying.pigs
[Touch Diamond, MDA Compact IV General] WolWer:
Yes!

It does!

Would it be helpful to check this track with beta5 again?

Tx and good night - WolWer
[Touch Diamond, MDA Compact IV General] Blaustein:
Hello Wolfgang,

does menu pop up in beta5 immediately or also with wrong aygshell.dll? So we could have a workaround if right aygshell is not available.

In beta6 I have removed this test feature again.

I did some more tests with beta5 and discovered some problems with your track beta_tester.gpx. The track has several places with two consecutive points at exact the same coordinates and this lead to problems. Your Reumann-Witkam-Algorithm seems to be not perfect - the goal of this algorithm is to reduce data and the simplest reduction fails...:(

I have improved the t2f algorithm. It would be great if you could test beta6 again with this gpx file.

Klaus
[Touch Diamond, MDA Compact IV General] WolWer:
Yes, I've checked it with 4 different versions (1. 42kB/16.05.2007, 2. 10kB/16.09.2004, 3. 17kB/21.11.2004 4. 22kB/24.10.2013): #1 seeems to be no dll, since "PInvoke 'aygshell.dll' not found ..." on single tap, the others show context menu in GCC on single tap, but make problems with pop ups bigger than screen, which cannot be shifted.

R-W-method is the favorit reducing algortythm of GPS-Track-Analyse. But's really strange, that quite a few double track points are left. I tried it again with Douglas-Peucker: more than 400 Trackpoints (after single run of R-W) were reduced to 32 tps!!!

Delete double trackpoints in advance or leave it as it is for test with beta6? Tx & cu - WolWer
[Touch Diamond, MDA Compact IV General] Blaustein:
Hello Wolfgang,

leave it as it is. This track is a hardcore test for GCC. I want to see how good GCC can handle this track.

Klaus
[Touch Diamond, MDA Compact IV General] low.flying.pigs:
Hello Blaustein / Klaus,

The Windows CE environment, using only standard functions present in all builds, allows for Context Menu.

The Windows CE environment, using only standard functions present in all builds, also allows for correct display operation. That being actual Full Screen (without Titlebar or Taskbar), Maximised (with Titlebar and Taskbar), and Minimised (window reduced to Taskbar). Where Taskbar is not ordinarily displayed on a device, this gives rise to the possibility of it now being displayed when Maximised or Minimised as it should, if only hidden (the usual circumstance), and not actually removed from the build.

Utilising standard function techniques allows for screen and Context Menu features to function in all cases, and eliminates entirely usage of aygshell.dll and therefore dependency upon it. Furthermore, issues that would otherwise arise from aygshell.dll are eliminated, and in turn, so is any need for workarounds.

Development and testing would be facilitated as operation would be the same on device as in the emulated environment.

User friendliness of GCC on a Windows CE device would be aided, only requiring the user ensure Microsoft .Net Compact Framework 2.0 or above is installed, a standard prerequisite.

It seems apparent there are obvious advantages to implementation using standard function techniques.

Further information and coding examples of how this may be achievable will be forwarded by Private Message. Some adaptation, integration, and conversion as required of the relevant sections will obviously be needed for usage with GCC code.

low.flying.pigs
[Touch Diamond, MDA Compact IV General] WolWer:
Hi, Klaus! I've tested beta6 on the critical part of betatester.gpx today: No backward aiming direction arrow, and no confusion in turn advises: really perfect! Many tx and regards - Wolfgang

p. s.: Raw NMEA-file is attached, but I guess it's not required any more. Is it possibel to show turn instructions in bigger letters?
[Touch Diamond, MDA Compact IV General] WolWer:
Since beta6 really looks great, what's about maps? Creating maps is due to such many little files a very boring job, that may take quite a lot of computing hours. Meanwhile quite a few S38x7 owners try GCC, thus it would be appreciated to have download facility for ready to use maps anywhere as zip-archive. Is there any preference for a filehoster, perhaps dl-site of program files? regards - WolWer
[Touch Diamond, MDA Compact IV General] Blaustein:
Hello Wolfgang,

thank you for testing. I am happy that GCC now fits your needs. BTW: you attached the .gcc file, not raw nmea, but as you stated it is not necessary and I can convert gcc to gpx and gpx to nmea.

As stated in the Help file I propose to use MobileAtlasCreator MOBAC to download maps, see chapter 10.4.

I have made turn instructions bigger in beta7, but they were only provisionally anyway. I am thinking of symbols (different arrows and others) and only have the distance in letters (100m).

Regards - Klaus
[Touch Diamond, MDA Compact IV General] WolWer:
Hi, Klaus!

I guess I've forgotten to deactivate GPS, thus despite of activating "raw NMEA" normal gcc file has been recorded.

It's easy to generate maps with MobAC, but takes a long time (download and conversion) because of that much small files. Once converted and zipped download (and OSM server load) and conversion time could be minimized, thus simlyfying use of GCC for all users: An area like NRW (15) is about 600MB, but 127 folders and 14.625 jpg-files (db-Mapnik 552MB/59 files)!

Tx for bigger letters on turn advises - that will help farsighted people. Your idea of symbols instead of abrevations is the best solution for this purpose!

cu - Wolfgang
[Touch Diamond, MDA Compact IV General] Blaustein:
Hi Wolfgang,

"log raw nmea" is independant of logging or not normal gcc files. The nmea file tmp.txt is created in the root directory of the device since it is created directly by the GccGPS.dll which has no knowledge about the tracks directory and this function was created for debug purposes only.

Maps for download: the download site for GCC on dropbox is 2GB. With 3 maps in your size it would be full. But if you think you have a map which is of global interest you can use the space - or create your own box, this is probably the better solution in case the box is closed due to occupying lots of space without any advertising benefit for dropbox. Then the box with GCC can continue to exist. I can then place a link or a file with the link(s) in the GCC box.

Klaus
[Touch Diamond, MDA Compact IV General] low.flying.pigs:
Hello WolWer / WoWe,

Firstly:

In brief, ordinarily the usual method for end users to aquire wide area up to date OpenStreetMap mapping in bulk, that matches their needs whilst covering only the areas required, is to download raw OSM data, and then render this as tiles suitable for their intended purpose.

Geofabrik is an example of raw data for download of predefined wide areas (called extracts).

Maperitive is an example of suitable software for rendering this raw data.

The basic process using the above examples is as follows:

Download the required area from Geofabrik. Usage of osm.pbf format results in smaller download size.

Then within Maperitive:

File > Open > Select file downloaded from Geofabrik > Open

Tools > Generate Tiles

When finished, copy the Tiles folder from the Maperitive folder, to the device.

Within GCC, Menu > Options > Set maps file location > Select Tiles folder copied to the device (not any sub folders within) > Press the folder icon to confirm

Providing ready to use maps as a downloadable .zip file, from a technical aspect, is basically as simple as the above rendering of raw data and uploading the resultant folder compressed as a .zip archive. However, essentially the simplicity of end users generating their own up to date map to their own requirements is not fundamentally more difficult than a preprepared download. That might in some circumstances offer convinience, however the practicalities and logistics of providing it, for a range of areas and keeping that mapping up to date, are in the main generally the reasons it is not ordinarily done.

Secondly:

A general warning regarding usage of Mobile Atlas Creator (MobAC) or any application for bulk downloading of rendered OpenStreetMap tiles, that such activity is prohibited. Any individual or application deemed to be doing so will likely result in their personal banning and ultimately the banning of the application itself. Bulk mapping should be generated from raw data and rendered as above.

Thirdly:

Hello and welcome to all readers from gopal-navigator.de forums.

low.flying.pigs
[Touch Diamond, MDA Compact IV General] WolWer:
There's no tmp.txt - maybe I made any mistake.

ok

[MENTION=4474489]low.flying.pigs[/MENTION]: As recommended I used MobAC for dl and rendering of maps. I'll try Geofabrik and Maperitive, when I require other areas than those already locally available in MobAC. Tx - Wolfgang