By joining our free community you will have access to post topics, communicate privately with other sprint users (PM), download custom made ring tones, use our custom uploader (FOCUS), see LESS forum advertisements, upload photos in your own photo album and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!
unfortunately i suck at perl :( but i got a friend working on a script for my site to do jad files along with jars and themes but i cant seem to find much on the net on the protocols on how this works. hes looking at the rumkin script for the basics but since it doesnt send both jar and jad at once its hard tosee how to send both files at once. anyone able to point me in the right direction for more info?
donblay
12-19-2007, 08:06 AM
i've written uploaders for ringers, images, and themes before but not java stuff. i could be wrong but i'm pretty sure you just send a link to the JAD to the phone. The JAD is a discriminator file about the JAR and one of the items it has in there is a link to the JAR (much like a GCD file has a link that points to the ringer or image it's for).
hope that helps
grrmisfit
12-19-2007, 08:21 AM
i've written uploaders for ringers, images, and themes before but not java stuff. i could be wrong but i'm pretty sure you just send a link to the JAD to the phone. The JAD is a discriminator file about the JAR and one of the items it has in there is a link to the JAR (much like a GCD file has a link that points to the ringer or image it's for).
hope that helps
if your uploading both at the same time how does the jad or gcd file know where the link is for the meat of the rest? i was told you once wrote a theme uploader how did you work it for the gcd and gc files?
cavendano
12-19-2007, 09:29 AM
don is right....
jad files are like the gcds of the sprint world. that is why you need both in the same directory for it to work. I know this isnt the case for gcds as you can link to a file on a different directory and it still will work. If I am not mistaken the jad will redirect to the jar in the same directory no linking required. similar to the include () in php...
put up some treo games lol
hope this helps
donblay
12-19-2007, 09:59 AM
if the pre-existing JAD you're uploading just uses the JAR's file name as its location parameter then you're ok, just put them in the same directory and don't rename them. Since you're allowed to use relative URLS in the descriptor files it should find the JAR its looking for in the same directory just based off the file name. it you want to put the JAR in a different location than the JAD though you'll have to update the JAD to use an absolute URL (http://wwww.myserver.com/myjarname.jar); which shouldn't be too hard to do in your script because a JAD is just a text file
SprintUsers.com was created in January 2002 as a resource for users of Sprint PCS products and services to learn about and share information. We have cll phone reviews, Cellular Accessories, Downloads, PDA reviews, Ringtones, all of the latest Sprint PCS news and information, an area where you can find help in creating a ring tone or custom image for you phone, and so much more. The most popular section is the message board where visitors can read and write messages, ask questions, and get advice about their cellular phone from other users.