webOS Nation Forums >  Homebrew >  webOS homebrew apps > preCaching
preCaching

  Reply
Like Tree3Likes

 
LinkBack Thread Tools Display Modes
Old 01/03/2010, 12:38 PM   #141 (permalink)
Member
 
Georgo10's Avatar
 
Join Date: Nov 2009
Location: Prague, Czech republic
Posts: 191
Likes Received: 1
Thanks: 16
Thanked 60 Times in 19 Posts
Default Inside look

preCaching inside look - Caches are sort by distance

Attached Images
File Type: png precaching-inside-favourites.png (44.5 KB, 136 views) Email Attachment
__________________
Georgo

Where do you want to Geocaching today?
Georgo10 is offline   Reply With Quote
Old 01/03/2010, 03:44 PM   #142 (permalink)
Member
 
MetaView's Avatar
 
Join Date: Mar 2006
Location: Berlin, Germany, Europe
Posts: 1,457
Likes Received: 50
Thanks: 85
Thanked 608 Times in 256 Posts
Default

It's done. Just download the latest MapTool (0.9.3) and you can call it with the JSON object as defined in your post.
__________________
Paid Apps: UberRadio, Match This! Pro, TravelGuide, Wikay and more.
Grab ImageWorker Pro while it's on sale!
MetaView is offline   Reply With Quote
Old 01/04/2010, 03:19 AM   #143 (permalink)
Member
 
Georgo10's Avatar
 
Join Date: Nov 2009
Location: Prague, Czech republic
Posts: 191
Likes Received: 1
Thanks: 16
Thanked 60 Times in 19 Posts
Default

Quote:
Originally Posted by MetaView View Post
It's done. Just download the latest MapTool (0.9.3) and you can call it with the JSON object as defined in your post.
Hi, sweet!
I tried it, but it doesn't work. I figure out, why.

I'm sending string with JSON:
Code:
var params = [
	{
		lat: this.parameters['latitude'].toFixed(5),
		lon: this.parameters['longitude'].toFixed(5),
		name: this.parameters['title'],
		image: "http://www.geocaching.com/images/WptTypes/sm/3.gif"
	}
];
this.controller.serviceRequest('palm://com.palm.applicationManager', {
	method: 'launch',
	parameters: {
		id: 'de.metaviewsoft.maptool',
		params: Object.toJSON(params)
	}
});
I expect, Mojo.getLaunchParameters() will return string too. But it return JSON. So, you will not make Object.toJSON(params), but only:
Code:
var params = Mojo.getLaunchParameters();
gblLaunchParams = params;
(Or first check, if params is JSON).
And also it failed, when Maptool are open already. It doesn change layout.
Attached Images
File Type: png mappingtool-with-geocache.png (164.5 KB, 15 views) Email Attachment
__________________
Georgo

Where do you want to Geocaching today?
Georgo10 is offline   Reply With Quote
Old 01/04/2010, 03:55 AM   #144 (permalink)
Member
 
MetaView's Avatar
 
Join Date: Mar 2006
Location: Berlin, Germany, Europe
Posts: 1,457
Likes Received: 50
Thanks: 85
Thanked 608 Times in 256 Posts
Default

Ok, when you already send with Object.toJSON, then I can skip it. I will change it tonight and also check what happens if MapTool is already running.
__________________
Paid Apps: UberRadio, Match This! Pro, TravelGuide, Wikay and more.
Grab ImageWorker Pro while it's on sale!
MetaView is offline   Reply With Quote
Old 01/04/2010, 04:17 AM   #145 (permalink)
Member
 
Georgo10's Avatar
 
Join Date: Nov 2009
Location: Prague, Czech republic
Posts: 191
Likes Received: 1
Thanks: 16
Thanked 60 Times in 19 Posts
Default

Quote:
Originally Posted by MetaView View Post
Ok, when you already send with Object.toJSON, then I can skip it. I will change it tonight and also check what happens if MapTool is already running.
Great. If you like, I can send you development version of preCaching with Mapping Tool integration. (Or you can download latest git version and make it yourself).
__________________
Georgo

Where do you want to Geocaching today?
Georgo10 is offline   Reply With Quote
Old 01/04/2010, 07:25 AM   #146 (permalink)
Member
 
MetaView's Avatar
 
Join Date: Mar 2006
Location: Berlin, Germany, Europe
Posts: 1,457
Likes Received: 50
Thanks: 85
Thanked 608 Times in 256 Posts
Default

Would be cool, if you could just send me the dev version of preCaching. Then I can truly test it. Do you know by heart how to check for being already a JSON object? Would save me the search at google (or prototype website). Thx
__________________
Paid Apps: UberRadio, Match This! Pro, TravelGuide, Wikay and more.
Grab ImageWorker Pro while it's on sale!
MetaView is offline   Reply With Quote
Old 01/04/2010, 07:29 AM   #147 (permalink)
Member
 
Georgo10's Avatar
 
Join Date: Nov 2009
Location: Prague, Czech republic
Posts: 191
Likes Received: 1
Thanks: 16
Thanked 60 Times in 19 Posts
Default

Quote:
Originally Posted by MetaView View Post
Would be cool, if you could just send me the dev version of preCaching. Then I can truly test it. Do you know by heart how to check for being already a JSON object? Would save me the search at google (or prototype website). Thx
Try simple:
Code:
var params = Mojo.getLaunchParameters();
if (typeof(params) == 'object') {
  gblLaunchParams = params;
}
Could you provide me (via PM) your Email address? I don't want to publish here link to dev version.
__________________
Georgo

Where do you want to Geocaching today?
Georgo10 is offline   Reply With Quote
Old 01/07/2010, 03:15 PM   #148 (permalink)
Member
 
Join Date: Aug 2009
Posts: 103
Likes Received: 0
Thanks: 15
Thanked 1 Time in 1 Post
Default

Feature request:

'Current Location' button: Used for when you are placing a new cache and need the exact coordinates. Also if this could be presented in the standard Geocaching coordinate style of Degrees minutes.seconds (117 34.339 for example) that would be even better.

Currently I could use ##GPS# but having it as a choice on the front page of the app would be a lot easier.

Thanks again for the great app and I cant wait to try the MapTool integration.
ocard is offline   Reply With Quote
Old 01/07/2010, 03:18 PM   #149 (permalink)
Member
 
Georgo10's Avatar
 
Join Date: Nov 2009
Location: Prague, Czech republic
Posts: 191
Likes Received: 1
Thanks: 16
Thanked 60 Times in 19 Posts
Default

Quote:
Originally Posted by ocard View Post
Feature request: 'Current Location' button
Hi,
thanks. Good idea!
__________________
Georgo

Where do you want to Geocaching today?
Georgo10 is offline   Reply With Quote
Old 01/08/2010, 12:22 PM   #150 (permalink)
Member
 
Join Date: Aug 2009
Posts: 103
Likes Received: 0
Thanks: 15
Thanked 1 Time in 1 Post
Default

Another feature request: Ability to view the cache logs. not sure if thats possible.
ocard is offline   Reply With Quote
Old 01/08/2010, 12:28 PM   #151 (permalink)
Member
 
Taurec's Avatar
 
Join Date: Oct 2009
Location: Germany
Posts: 443
Likes Received: 28
Thanks: 49
Thanked 88 Times in 46 Posts
Default

Quote:
Originally Posted by ocard View Post
Another feature request: Ability to view the cache logs. not sure if thats possible.
Jep I would like that too.

Also nice would be the last found date and the Attributes (expecialy the "Needs Maintenance" one).

Something that is also usfull is to see the Spoiler Pictures.
Taurec is offline   Reply With Quote
Old 01/13/2010, 03:39 AM   #152 (permalink)
Member
 
Georgo10's Avatar
 
Join Date: Nov 2009
Location: Prague, Czech republic
Posts: 191
Likes Received: 1
Thanks: 16
Thanked 60 Times in 19 Posts
Exclamation Geocaching.com update

Hi,

maybe you're already know, Groundspeak change Geocaching.com layout, so most of preCaching functions doesn't work. I'm working on fix, some draft is emulator for testing. I will release new version (originally planned to January 15th) in next 8 hours.

Stay in touch.
__________________
Georgo

Where do you want to Geocaching today?
Georgo10 is offline   Reply With Quote
Old 01/13/2010, 03:44 AM   #153 (permalink)
Member
 
Taurec's Avatar
 
Join Date: Oct 2009
Location: Germany
Posts: 443
Likes Received: 28
Thanks: 49
Thanked 88 Times in 46 Posts
Default

Damn.

BTW since Geocaching.com was Down yesterday you should also build something in to test this and report back a correct error message.
Taurec is offline   Reply With Quote
Old 01/13/2010, 04:27 AM   #154 (permalink)
Member
 
Georgo10's Avatar
 
Join Date: Nov 2009
Location: Prague, Czech republic
Posts: 191
Likes Received: 1
Thanks: 16
Thanked 60 Times in 19 Posts
Default

Quote:
Originally Posted by Taurec View Post
you should also build something in to test this and report back a correct error message.
I hope I'll figure out how to detect some types of errors.
__________________
Georgo

Where do you want to Geocaching today?
Georgo10 is offline   Reply With Quote
Old 01/13/2010, 04:32 AM   #155 (permalink)
Member
 
Taurec's Avatar
 
Join Date: Oct 2009
Location: Germany
Posts: 443
Likes Received: 28
Thanks: 49
Thanked 88 Times in 46 Posts
Default

Quote:
Originally Posted by Georgo10 View Post
I hope I'll figure out how to detect some types of errors.
Nice.. i hope you will be finished today.. I have a date this evening for going Geocaching. Without your tool I'm screwed.

BTW any announce what new Features your update will have?
Taurec is offline   Reply With Quote
Old 01/13/2010, 04:36 AM   #156 (permalink)
Member
 
Georgo10's Avatar
 
Join Date: Nov 2009
Location: Prague, Czech republic
Posts: 191
Likes Received: 1
Thanks: 16
Thanked 60 Times in 19 Posts
Exclamation 0.2.1 released

New version, working with new geocaching.com layout is out:
  • Parsing fix (geocaching.com's layout was changed)
  • Dark theme
  • Changed accuracy in "Nearby" location search
  • User waypoints can have user defined name
  • Recalculate distance and azimuth in cache list
  • Mapping Tool integration (beta)

Attention
New version of preCaching have another application ID than older ones. If you're upgrading, it's recommended to remove old preCaching application (in Launcher List press Orange button a tap on preCaching icon) and install new from Preware
__________________
Georgo

Where do you want to Geocaching today?
Georgo10 is offline   Reply With Quote
Thanked by Taurec, ttt_ttt
Old 01/13/2010, 04:44 AM   #157 (permalink)
Member
 
Taurec's Avatar
 
Join Date: Oct 2009
Location: Germany
Posts: 443
Likes Received: 28
Thanks: 49
Thanked 88 Times in 46 Posts
Default

Awesome!
Taurec is offline   Reply With Quote
Old 01/13/2010, 03:16 PM   #158 (permalink)
Member
 
Join Date: Aug 2009
Posts: 103
Likes Received: 0
Thanks: 15
Thanked 1 Time in 1 Post
Default

Preware feed not updated yet?
ocard is offline   Reply With Quote
Old 01/13/2010, 03:22 PM   #159 (permalink)
Member
 
Georgo10's Avatar
 
Join Date: Nov 2009
Location: Prague, Czech republic
Posts: 191
Likes Received: 1
Thanks: 16
Thanked 60 Times in 19 Posts
Default

Quote:
Originally Posted by ocard View Post
Preware feed not updated yet?
It is updated for hours... preCaching is not available as update, because application ID was changed.
__________________
Georgo

Where do you want to Geocaching today?
Georgo10 is offline   Reply With Quote
Old 01/13/2010, 03:23 PM   #160 (permalink)
Member
 
Join Date: Aug 2009
Posts: 103
Likes Received: 0
Thanks: 15
Thanked 1 Time in 1 Post
Default

arrrrrgh ... you said that before. I need to pay attention more closely.

Move along nothing to see here.

Thanks.
ocard is offline   Reply With Quote
Reply

 

Tags
geocaching, gps

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0