BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 09-04-2009, 04:03 PM   #1 (permalink)
New Member
Join Date: Aug 2009
Model: n/a
Carrier: Rogers
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default how to access logic of the jad file download page?

Please Login to Remove!


You know when you download an app, click on a download link from some anonymous site that links to a jad finds the jad file, and then you see a page with a 'Download' and 'Cancel' button, along with other information like application vendor, version, name, description (all the stuff it picks up from the jad file) this page always generated everytime a jad file is downloaded? is it impossible to add functionality to what would happen if the user clicked download, or if he clicked cancel?

basically, say I had a site that took off credits from a user's account when he downloads an app. The way I can set it up is the user clicks on the download link for an app on my site, and I deduct credits from him. But now when he goes to that jad file page, and clicks cancel....the user didnt download the app, but the credits are already deducted. This is why I'm wondering if its possible to manipulate the logic on this jad file page, so I can deduct credits only when the user hits download on that jad file page.

Dont know if this makes sense. Please let me know and I can clarify, and Id be even more grateful if you guys could help me out with this concern.
Old 09-04-2009, 05:10 PM   #2 (permalink)
BlackBerry Extraordinaire
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts

See the answer to your post the on RIM Java forum.

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.