BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-05-2005, 10:04 AM   #1 (permalink)
Thumbs Must Hurt
 
chris5h's Avatar
 
Join Date: Feb 2005
Model: 7100i
Carrier: Nextel
Posts: 78
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Guide To Uploading Converted Java Apps Thru Desktop Manager

Please Login to Remove!

This guide is going to assume you already know how to use the guide on how to convert Nokia and Motorola MIDlets for the blackberry.

If you have not seen this walkthough before, you need to read that, and get comfortable using this before you can continue with this guide.
http://www.blackberryclub.com/viewtopic.php?p=5339

This is a great guide, and is awesome, ecept for when you load the apps through the javaloader.exe like it dictates, the apps are reased every time you add/remove modules, such as loading a new app thought the "Application Loader" though desktop manager.

I figured out a way around this.

First you must have a converted application. For laughs, I used an Asteroids clone that I already converted from my old nextel phone to the COD and other files for the Blackberry.

You need to have a downloaded app to work with, somehting specifically for the blackberry. I used blackberry411. Extract the .alx file, and open it with Wordpad (this will NOT work with Notepad). All you have to do is replace the name of the application you got the alx file from, in this caes BB411, and replcxe it with the name of the app you want to put on yoru blackberry, in this case called Asteroids.

The real key is the line of the file that says :

<Files>
Whatever.cod
</Files>

You need to make sure that says the name of the COD file of the app you are going to use.

Finally save it and rename the .ALX file to what ever the name of the .COD file is, just leaving the .ALX extension in tact.

So, for Blackberry411 I started with
Quote:
<loader version="1.0">
<application id="berry411">
<name >
Berry 411 Search
</name>
<description >
Free mobile 411 service for your blackberry
</description>
<version >
2.1.0
</version>
<vendor >
www.thebogles.com
</vendor>
<copyright >
Copyright (c) 2005 www.thebogles.com
</copyright>
<fileset Java="1.5">
<directory >

</directory>
<files >
berry411.cod

</files>

</fileset>

</application>

</loader>
and changed it to match my Asteroids file, which was named Asteroids.cod:

Quote:
<loader version="1.0">
<application id="Asteroids">
<name >
Asteroids
</name>
<description >
Freeware Asteroids Game
</description>
<version >
2.1.0
</version>
<vendor >
Yup
</vendor>
<copyright >
Copyright (c) 2005 Yuppers
</copyright>
<fileset Java="1.5">
<directory >

</directory>
<files >
Asteroids.cod

</files>

</fileset>

</application>

</loader>
Then just run the Application Loader on the desktop managed and point it to your new app and's ALX file, making sure the ALX and the COD file are in the same directory, and you are good to go. Now whenever you add new applications, or anything like that, the program wont dissapear.

On a lst note, some people might think tha editing a file that was packaged with another application is wrong, but the ALX file is not a application-specific file, its more of like a Blackberry-batch file. No coding involved, just the info about the app its loading.

The end.
This was my first walkthough/guide so be nice..
Hey Magmic, so can I get a fre gmae now. :D

Just kidding, unless the answer is yes, and in that case I am being completely serious.
Offline  
Old 03-05-2005, 10:55 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
thriller's Avatar
 
Join Date: Dec 2004
Location: Toronto, ON
Model: 7100r
Carrier: Rogers
Posts: 245
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

awsome guid i have always wonder how to mess with the alx file now i can have my fun with it
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





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