USBtiny and Windows 8
To use the USBtiny AVR programming adapter under windows 8 you need to do the following steps:
1st get the driver from here: http://forums.adafruit.com/viewtopic.php?f=20&t=17112#p87192
2nd switch on installing unsigned drivers as explained here: http://www.nextofwindows.com/how-to-install-an-un-signed-3rd-party-driver-in-windows-8/
Related items
Mai 9, 2013
·
admin ·
No Comments
Posted in: Allgemein
Some little notes about BlackBerry debug token and stuff
Just stumbled upon:
The debug token of my Playbook was invalid and I had to renew it. Of course I have stored my BlackBerry keys (author.p12, barsigner.csk, barsigner.db) on a save place and I already wrote a handy little batch file to create and install the debug token:
REM Playbook
set OLDDIR=%CD%
cd C:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.4.7\dependencies\tools\bin
REM cd c:\Program Files (x86)\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2.2.0.5\bbwp\blackberry-tablet-sdk\bin
c:
call blackberry-debugtokenrequest -storepass xxx -devicepin 50209B1D d:\Dropbox\BB_Keys\debug_token_playbook.bar
call blackberry-deploy -installDebugToken d:\Dropbox\BB_Keys\debug_token_playbook.bar -device 169.254.219.125 -password yyy
chdir /d %OLDDIR% &rem restore current directory
But even if this whole setup worked for month before, it didn’t worked this time. The error I got was “Error: Not yet registered to request debug tokens”. This surprised me much as I was registered to request debug tokens and already did it successfully before with exactly the same command. So as always when BlackBerry puts some obstacles (here: confusing key magic) onto my developing road, ‘ve asked Google for help. Unfortunately not much help was discovered. Some suggest to reregister but I always fear of losing my publisher keys during this procedure.
After some thinking I found the solution: BlackBerry just disabled requesting debug token from old WebWorks SDK installations. As you can see in my script I used WebWorks SDK for TabletOS 2.2.0.5. After switching to the BlackBerry 10 WebWorks SDK path I was able to request and receive my debug token.
tl;dr Don’t give a damn on error messages (as they are mostly completely misleading) but keep your dev environment updated.
Singing key for release is a copy of your author.p12 file renamed to sigtool.p12. You need to copy into the %SDK%/bbwp/bin folder.
And now to something completely different. Get and save your current working directory from a windows batch file:
http://blogs.msdn.com/b/oldnewthing/archive/2005/01/28/362565.aspx
Related items
Februar 28, 2013
·
admin ·
No Comments
Posted in: Allgemein
Google and Nokia Maps in MapTool for webOS
Did you know that with the last update of MapTool and MapTool Pro you can use many new map providers like Nokia (Here) Maps and Google Maps on your webOS device? Let me tell you how:
First you need either the free MapTool app or even better you’ve purchased MapTool Pro. Launch it and tap an the 3-dots (…) in the bottom right corner. A menu will pop up. Select the latest item, it’s called settings in your locale language. It’s a webOS feature, any other item will appear in plain English, sorry.
After selecting the ‘settings’-item a new scene will pop up with a lot of options. One of the first options is the ‘Renderer’. The renderer is just the source of the map tiles you can see in MapTool. When you open the popup list you can see ‘Custom 1′ and ‘Custom 2′ at the bottom of the list. These are to select your own map tile sources.
To define your own map tile sources we need to scroll the settings scene just to the very bottom. One of the last entries are fields to enter map tile servers, called ‘Server 1′ and ‘Server 2′. Additional you have a selection for the image type the map tiles are stored: jpeg or png.
The latest MapTool versions support map tile urls with pattern for latitude, longitude, x coordinate, y coordinate and zoom value. This allows us for instance to define Google Map tile server as Custom map tile provider. Also the Nokia map tile server (known as Here map) could be used. If you just specify an URL without pattern the map tile url is created like this:
http://tile.opencyclemap.org/cycle/[z]/[x]/[y].png
with “Server 1″: http://tile.opencyclemap.org/cycle/ and “Extension”: PNG
Using pattern you can define urls like this:
http://maptile.maps.svc.ovi.com/maptiler/maptile/newest/normal.day/{z}/{x}/{y}/256/png8
Possible patterns are
{x} x – tile index
{y} y – tile index
{z} zoom value
{lat} latitude of center of map tile
{lon} longitude of center of map tile
{lng} longitude of center of map tile
Here is a list of possible map tile servers and there url pattern.
Please note that MapTool uses {} to separate patterns and that MapTool doesn’t support alternative servers.
As you can see in the list, there are urls given for Google Maps. they probably don#t work anymore. At the moment a valid Google Maps map tile url looks like this:
http://mt0.google.com/vt/lyrs=m@169000000&hl=en&x={x}&y={y}&z={z}&s=Ga
You can use it if you like. Please note that Google Maps forbids caching of map tile from their servers. Their servers send the no-caching attribute with each tile which is processed by webOS and therefore neither downloading nor smart-caching in MapTool will work. You need to switch smart-caching off to use Google Map tile servers.
For Nokia (Here) map tile servers you need your own app id registered. Go to here to read more about it. Once you did it you can specify a Server-URL like
http://m.nok.it/?nord&app_id=_appid&app_code=appcode&c={lat},{lng}&h=256&w=256&z={z}&i=0&nodot&t=8
Find here a list of parameters. You might especially have a look for the ml and t parameter.
Related items
Januar 16, 2013
·
admin ·
No Comments
Tags: o · Posted in: Allgemein
wxWidgets 2.8.12 and Visual Studio 2010 Express
Today I’ve tried to compile the latest stable wxWidgets (2.8.12) with the oldest Visual Studio Express edition one could download from Microsoft on my Windows 7 64 bit system. Using the wx.dsw (workspace) file I got an error about VS 2010 being unable to convert the dsp (project) files. I found a solution on this web site http://www.wildfiregames.com/forum/index.php?showtopic=15763: When building from command line using makefiles provided from wxWidgets it still works:
from Visual Studio folder C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC run vcvarsall.bat to setup VS for command line excution
from wxWidgets installation folder:
...\wxWidgets-2.8.12\build\msw>set WXWIN=...\wxWidgets-2.8.12
...\wxWidgets-2.8.12\build\msw>nmake -f makefile.vc UNICODE=1 USE_OPENGL=1 BUILD="debug"
Related items
September 26, 2012
·
admin ·
No Comments
Posted in: Allgemein, Developing
Sharepoint Workflowhistory wieder zuordnen
Wir setzen bei uns Microsoft Sharepoint als DMS ein. Ein von mir geschriebener Genehmigungsworkflow mit mehreren Prüfern, Genehmigern und Informierten soll die ISO-gerechte Nachverfolgung sichergestellt werden. Dabei fiel auf, das MS Sharepoint die Verknüpfung zwischen Workflowhistory und Dokument nach 60 Tagen löscht.
Wenn man im Netz danach sucht, gibt es mehrere Fundstellen dazu.
http://vspug.com/drewdevo/2008/08/27/workaround-for-missing-workflow-history/
http://jopx.blogspot.com/2008/04/sharepoint-workflow-history-cleanup.html
Die Informationen zum Workflowverlauf sind im System noch vorhanden:
http://server04/Lists/Workflowverlauf/AllItems.aspx
Man kann das Löschen unterbinden in dem man auf die “Sharepoint Zentraladministration” geht und dort unter “Vorgänge” bei “Globale Konfiguration” in “Zeitgeberauftragsdefinitionen” den Job “Automatischer Workflowcleanup” deaktiviert.
FĂĽr Workflows in der Vergangenheit kann man ĂĽber eine extra Ansicht die VerknĂĽpfung wieder herstellen. Das enspricht dem Vorgehen auf http://vspug.com/drewdevo/2008/08/27/workaround-for-missing-workflow-history/ nur auf eine deutsche Sharepointinstallation bezogen:
1. http://server04/Lists/Workflowverlauf/AllItems.aspx aufrufen
2. Neue Ansicht (AuditView) erstellen
3. Reihenfolge der Spalten: Benutzer-ID, Auftrittsdatum, Ereignistyp, Ergebnis, Beschreibung
4. Sortieren nach Auftrittsdatum
5. Filter “Listen-ID” nach der ID der Liste, die man in der Ansicht der Liste http://server04/Lists/Workflowverlauf/AllItems.aspx sieht
6. Gruppieren nach “ID fĂĽr primäres Element”, “Ăśbergeordnete Verlaufsworkflowinstanz”
Related items
September 26, 2012
·
admin ·
No Comments
Posted in: Allgemein
Was zum Thema Energiesicherheit und AKWs
Durch Zufall bin ich gerade über diesen schönen Artikel aus dem Focus vom letzten Spätsommer gestolpert:
http://www.focus.de/immobilien/energiesparen/tid-23469/stromversorgung-deutschland-sucht-das-reserve-kraftwerk_aid_660119.html
. Danke lieber Focus, selten so gelacht…
Related items
März 13, 2012
·
admin ·
No Comments
Posted in: Allgemein
Touchpad owner with some bucks to share? Look at this list of my Touchpad enhanced apps:
- A fast and comfortable access to the Wikipedia frontpage (news, on this day, article of the day etc.)
- An offline dictionary English/German
- Discover and explore interesting and curious places around you
|
|
|
![]() |
![]() |
|
![]() |
![]() |
|
Related items
August 10, 2011
·
admin ·
One Comment
Posted in: Allgemein
OfflineBrowser
I don’t know when it will appear in the preware feed. If you want to test it, here is the ipk:
de.metaviewsoft.offlinebrowser_1.0.3_all.ipk (567,6 KiB, 486 hits)
Please check Preware for the latest updates of OfflineBrowser.
As some of you might already read on Twitter, I wrote little Offline Browser app which tries to fix some annoyance with the original browser and the whole workflow during reading Twitter, Email or RSS feeds:
* new browser card pops up in the foreground
* sometimes you get a gray browser card with blinking icon
* sometimes you get an orphaned browser window which doesn’t go fullscreen anymore
* sometimes the browser forgets what he has and you have to reload
* some pages are very slow thanks to css/js/files which the browser needs to load before displayingOffline Browser will try to help you to avoid these annoying things. By catching URLs, storing them in a database, downloading the html in the background and storing it in the database too, showing a preview without CSS and JS, but mostly working links.
Discuss it here: http://forums.precentral.net/webos-homebrew-apps/288067-new-app-offline-browser.html
2011/07/30:
Fixed for webOS 1.4.5
Related items
Juli 16, 2011
·
admin ·
One Comment
Posted in: Allgemein, Developing, Palm
Precaching for webOS
After the last changes on geocaching.com website, the nice app “Geocaching for webOS” doesn’t work anymore. The developer of this open source app isn’t available right now (in fact he hasn’t answered any question etc. since month).
I started to fix the app, as it is a nice companion to MapTool for getting geocaches around you.
I’m not that far yet, login works, but no cache search atm. Geocaching.com switched from GET-based search url to a completely POST-based system.
I put my current state here to give other the possibility to do further work.
Related items
Mai 6, 2011
·
admin ·
No Comments
Posted in: Allgemein
MapTool Pro
Follow this link to download the latest version of MapTool Pro on your webOS device.
The main view is a map view with a top status layer and a bottom status layer and a standard command button menu on the very bottom.
The top status layer shows configurable values. The bottom status layer shows time of last fix, accuracy of last fix, current altitude (as reported from GPS), current elevation of ground (based on NASA data), current speed (as reported from GPS), current heading (as reported from GPS), track ID (if tracking is active) and current grid size of the displayed map.
There are 2 other views which you can access by swiping left or right on the touch area (also call forward and backward gesture).
The command button menu on the bottom gives you access to zoom in, map menu (tap on the current zoom number), zoom out, center and follow position, send current position or current track and tracking switch.
From the map menu you can access search, targets, tracks and the dashboard view which you also can access by forward gesture.
From the application menu (on the upper left corner of the screen) you can access the settings screen, a webpage with links for geotools, an option to open geocaching.com, a goto menu for manual entering coordinates, routing from your current position to your current target, cache area to download offline maps for your current position for certain zoom values, a refresh item, clear databases and an help item.
The settings are as follows:
Renderer: from which renderer to download prerendered map tiles
Coordinates: format to display and enter coordinates
Units: metric or imperial
Max. log error: every fix with an worse accuracy are not used for track display, calculations and export
Pos. update: interval to update and store current position
Elev. update: interval to query ground elevation from net
Draw Grid: draw the grid lines on map display
Force Email: exporting tracks or targets as (a couple of) emails instead of backend server use with local saving
Block Screen Timeout: screen stays on
Hide Greeting: hides popup window on start
Photos: Show geo-tagged photos from Flickr and Panoramio on the map: just a marker + name or a small or larger thumbnail
No Smart Caching: always retrieve map tiles from selected server, don’t cache them locally
Top Left: what to display in left part of upper status layer
Top Right: what to display in right part of upper status layer
Related items
April 15, 2011
·
admin ·
10 Comments
Posted in: Allgemein









