BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-31-2009, 04:34 PM   #1 (permalink)
New Member
 
Join Date: Jul 2009
Model: 8100
PIN: N/A
Carrier: Telstra
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Real OTA Challenge!

Please Login to Remove!

Hi - newbie here

Hoping someone can help with my first attempt at OTA.

I have an app that has been developed and it has 1 x JAD and 3 x COD files. If I upload the relevant files to a folder on my server, then point my BB to the JAD file, all installed (via OTA) brilliantly.

The trouble has come when I have tried to align it with my standard download process.

In order to try desperately to provide some level of security for the app, and other apps that I have for Nokia and Windows Mobile, I do not store my files under the domain URL.

For example, typically, files would be in [ttp://myurl.com/OTA/]myurl.com (without the [] and with a h! - don't want to post links) and the filelist would be here. What I do with my apps is put them in [ttp://myurl.com/../files/BB/OTA] and there is a nice little PHP script that redirects the browser to the correct file.

For .SISX and .CAB files, this works well - there is only a single file involved in these installs.

For BlackBerry devices, it will find the .JAD file, no worries, but it cannot then find the .COD files! I have tried to change the COD URL paths to:

[ttp://myurl.com/../files/BB/OTA/]codfilename.cod

but it still cannot find them (as it is not really a valid URL call).

Has anyone done anything like this before?
Is there a way to distribute apps (for OS 4.2 and above) with a single file that will autoinstall as opposed to saving locally?
Any tricks for telling the device to look in the same place as the .JAD? (and I have tried a ./ path as well...at least I got a 403 error then instead of a 404!)

Hope you can help!

Thanks,
Chris
Offline  




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