12/11/2012, 06:50 AM
|
#1161 (permalink) |
|
Homebrew Developer
![]()
Posts: 405
|
Pizza again
just for information, simple photos viewer is done, you can browse all available photos ....I think I can leave it in this simple form for this time and have to go to next big task - new external call and search behavior... |
12/11/2012, 07:14 AM
|
#1162 (permalink) | |
|
Member
![]() |
Quote:
![]() EDIT: Since the entire month of January is named in your honor, I'm ok with you taking the whole month...plus Christmas Day...unless you are celebrating Chanukah, then you should already be celebrating! Kwanza? Look, you can only take SO much time off!
__________________
Sent from my slowly diminishing intellect I'm just a soul who's intentions are good...oh Lord, please don't let me be misunderstood!
Last edited by Rockbeast; 12/11/2012 at 10:29 AM. |
|
12/11/2012, 07:56 AM
|
#1163 (permalink) |
|
Homebrew Developer
![]()
Posts: 405
|
Hi,
in short look into Bing maps code, the default Bing maps accepts these parameters: Code:
query: The query used to search for places or location. address: The address location used to center the map view. location: lat: The latitude of the location used to center the map view. lng: The longitde of the location used to center the map view. route: startAddress: The address of the starting waypoint for a route. endAddress: The address of the ending waypoint for a route. zoom: The zoom level of the map view. mapType: The map type of the map view. Valid map types are aerial, auto, birdseye, collinsBart, mercator, ordnanceSurvey and road. target: mapto or maploc with address in URL encoded format, e.g. mapto://303%20Second%20Street%2C%20San%20Francisco Correct? |
12/11/2012, 10:09 AM
|
#1164 (permalink) | |
|
Member
|
Quote:
Sounds good, even if it seems a bit too much having zoom and maptype. But if it's possible. But take a break from 20th Dec to at least 3rd Jan ![]() URL-Type registering: It seems there are only Luna getter methods for URL type handling: https://github.com/openwebos/luna-sy...ster/README.md com.palm.applicationManager/getHandlerForExtension com.palm.applicationManager/getHandlerForMimeType com.palm.applicationManager/getHandlerForMimeTypeByVerb com.palm.applicationManager/getHandlerForUrl com.palm.applicationManager/getHandlerForUrlByVerb com.palm.applicationManager/getResourceInfo com.palm.applicationManager/listAllHandlersForMime com.palm.applicationManager/listAllHandlersForMimeByVerb com.palm.applicationManager/listAllHandlersForMultipleMime com.palm.applicationManager/listAllHandlersForMultipleUrlPattern com.palm.applicationManager/listAllHandlersForUrl com.palm.applicationManager/listAllHandlersForUrlByVerb com.palm.applicationManager/listAllHandlersForUrlPattern Only for Filetypes like .mp3 or .avi there are setter methods, as it seems: com.palm.applicationManager/addRedirectHandler com.palm.applicationManager/addResourceHandler Resource handling for Filetypes: L\'Haut-Parleur » WebOS: register your own app as file handler L\'Haut-Parleur » An app to register another app for a certain file type… Which is done here e.g. http://mplayer-webos.googlecode.com/...ts/handling.sh
__________________
Patch Enhancing vCard Export -|- Your own cloud with Zarafa (EAS sync) -|- Tasks-app of 2.x on 3.x incl.EAS sync -|- SYM key in Enyo on phones -|- My hidden webOS Tips and Tricks - like it ?
Last edited by gizmo21; 12/11/2012 at 10:20 AM. |
|
12/11/2012, 10:18 AM
|
#1165 (permalink) | ||
|
Member
|
oops just found one source on Treo8:
Ë*ÄÜÍêÉÆÏÂregister appÐÞ¸ÄÎļþ¹ØÁªµÄ³ÌÐò - webOS¿ª·¢/ÉîÈëÌÖÂÛ - ´µÓѰÉ(Pre,Pixi,webOS) - Powered by Discuz! Could this do the trick registering the mapto/maploc-URLs, which together with cross app launch parameter would bring full map ccompatibility? Code:
MainAssistant.prototype.registerURL = function(app, url) {
this.controller.serviceRequest("palm://com.palm.applicationManager/", {
method: 'addResourceHandler',
parameters: {
"appId": app,
"url": url
},
onSuccess: function() {
Mojo.Log.error("Success");
}.bind(this),
onError: function(e) {
Mojo.Log.error("Error %j",e);
}.bind(this),
onFailure: function(e) {
Mojo.Log.error("Failure %j",e);
}.bind(this)
});
};
):/usr/bin/luna-send -n 1 palm://com.palm.applicationManager/listAllHandlersForUrl '{"url":"mapto:"}' It seems these values for mapto are already correct for your app (perhaps the systemdefault could be changed): Quote:
Here it seems these values aren't correct, as active handler is still the old palm.app.maps: Quote:
/usr/bin/luna-send -n 1 palm://com.palm.applicationManager/addResourceHandler '{"appId":"cz.72ka.googlemaps", "url":"mapto:"}' /usr/bin/luna-send -n 1 palm://com.palm.applicationManager/addResourceHandler '{"appId":"cz.72ka.googlemaps", "url":"maploc:"}' If all goes wrong i could remove it again /usr/bin/luna-send -n 1 palm://com.palm.applicationManager/removeHandlersForAppId '{"appId":"cz.72ka.googlemaps"}' [Updated several times ]
Last edited by gizmo21; 12/11/2012 at 11:44 AM. Reason: [Updated several times :D] |
||
12/11/2012, 10:21 AM
|
#1166 (permalink) |
|
Member
![]()
Posts: 876
|
(/me enjoys and feels lost at the same time) ;-)
__________________
Pre 3 on GSM Vodafone ES: UberKernel, Muffle logging & friends, Mode Switcher, Advanced System Menus & Prefs, and then some more. Proudly choosing the loser side since 1982: Commodore VIC-20, C-64, Amiga 1000 & 3000, bPlan Pegasos & MorphOS, Psion Revo, Palm Pre... |
12/12/2012, 11:46 AM
|
#1169 (permalink) |
|
Member
![]()
Posts: 1
|
Just found this great App, Thanks!
It would be nice to have it START even if NO internet connection, just like Google maps on Androids, simply with the last Maps when last exited. I have no data plan on my Pixi+, but like to drive around town and seeing the hills around me in Google Terrain. When I forget to start it before leaving my home I have no maps. When internet connection it works great. |
12/12/2012, 06:27 PM
|
#1170 (permalink) |
|
Member
|
as i saw in phx-map thread that they suffer from same touchui desaster in webkit webviews on 2.2.x devices, i thought perhaps it is just a parameter to be set in webos file:
/usr/palm/frameworks/webview/submission/23.11/javascript/widget_webview.js on webos 2.1 this one was still on framework 23.1 instead of 23.11, perhaps one could find differences. or perhaps fix by parameter set in app, like on android: javascript - Disable touch event on document in Firefox 4 for Android - Stack Overflow |
12/13/2012, 01:42 AM
|
#1171 (permalink) | |
|
Member
![]()
Posts: 876
|
Quote:
__________________
Pre 3 on GSM Vodafone ES: UberKernel, Muffle logging & friends, Mode Switcher, Advanced System Menus & Prefs, and then some more. Proudly choosing the loser side since 1982: Commodore VIC-20, C-64, Amiga 1000 & 3000, bPlan Pegasos & MorphOS, Psion Revo, Palm Pre... |
|
12/13/2012, 06:40 AM
|
#1172 (permalink) | |
|
Homebrew Developer
![]()
Posts: 405
|
Quote:
Code:
function isTouchDevice() {
return "ontouchstart" in window;
}
webOS 2.2.x fires only mousevents...
|
|
12/13/2012, 06:43 AM
|
#1173 (permalink) | |
|
Homebrew Developer
![]()
Posts: 405
|
Quote:
|
|
12/13/2012, 06:53 AM
|
#1174 (permalink) | |
|
Homebrew Developer
![]()
Posts: 405
|
Quote:
Maps on Android are based on different closed base.. not on the JS API, android maps are the leader in google maps evolution and they are every time one step ahead. |
|
12/13/2012, 09:22 AM
|
#1175 (permalink) |
|
Homebrew Developer
![]()
Posts: 405
|
Anyway, back to the reality (no vector, offline and smooth google maps on webOS)...
Two days of work on the app brings the first results:
The ToDo is still long... Last edited by 72ka; 12/13/2012 at 09:37 AM. |
12/13/2012, 10:57 AM
|
#1176 (permalink) | |
|
Member
![]()
Posts: 79
|
Quote:
![]() Damn this guy is good. |
|
12/19/2012, 07:09 AM
|
#1178 (permalink) |
|
Homebrew Developer
![]()
Posts: 405
|
Hi, Github stopped the downloads, more here:
https://github.com/blog/1302-goodbye-uploads I have to find some other place where to put the packages as backup storage... Anyway, the 0.2.9 has been released. I decided to release it, because it contains big changes. And I can continue in ToDo´s and wait for feedback, I´m expecting a many bugs.... So, this is probably the latest 2012 release, enjoy it, try the new search behavior, don´t hesitate to write anything to the search field, try to get some photos from your favorite places and I hope that you will never see "undefined" in search field. Enjoy the other minor improvements, no more overflowing texts and rating stars in infobubles etc... Despite of dying webOS, I´m still active and have some very nice new features in my mind, what I want to include next year... be surprised... Last edited by 72ka; 12/19/2012 at 07:20 AM. |
12/19/2012, 07:48 AM
|
#1179 (permalink) | |||
|
Member
![]()
Posts: 876
|
Quote:
Quote:
Quote:
__________________
Pre 3 on GSM Vodafone ES: UberKernel, Muffle logging & friends, Mode Switcher, Advanced System Menus & Prefs, and then some more. Proudly choosing the loser side since 1982: Commodore VIC-20, C-64, Amiga 1000 & 3000, bPlan Pegasos & MorphOS, Psion Revo, Palm Pre... |
|||
12/19/2012, 10:53 AM
|
#1180 (permalink) |
|
Member
|
ah well i know there a bunch of open feature requests by myself. But before i forget this one again, i'll add another one:
* can we get the route direction list sendable via mail/sms/clipboard (like the contacts in info markers)? Is usefull for someone asking for the way (transit options...) only having a dumbphone or not much network coverage atm (or just to put it on your next party invitation e-mail). Ah well you decide if it is worth doing. Or is it against the google terms? Ah and a long time request that is not on the first postings "to do"-list: route/directions in map view -> jump to end/beginning New Google Maps for WebOS - native javascript API and New Google Maps for WebOS - native javascript API
__________________
Patch Enhancing vCard Export -|- Your own cloud with Zarafa (EAS sync) -|- Tasks-app of 2.x on 3.x incl.EAS sync -|- SYM key in Enyo on phones -|- My hidden webOS Tips and Tricks - like it ?
Last edited by gizmo21; 12/19/2012 at 11:08 AM. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



