BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 05-12-2008, 03:28 AM   #1 (permalink)
New Member
 
Join Date: May 2008
Model: 8810
PIN: N/A
Carrier: n/a
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Alternative entry points

Please Login to Remove!

I'm trying to automate a build process, so I need for my application to buld completely from a build script (in this case using Ant). I'm using the bb-ant-tools task and I'm struggling to find a way to specify an alternative entry point into my application.

My code is very simliar to the example;

Livelink - Redirection

Then in my script;

<rapc output="${cod.name}" srcdir="${temp.src}" destdir="${unobf.folder.path}">
<jdp icon="i.png" runonstartup="true" desc="${midlet.vendor}" vendor="${midlet.vendor}" version="${midlet.version}" title="${application.name}" arguments="gui" type="cldc"/>
</rapc>

I can get the autostarting and icon swapping fine, but I can't find the correct way to specify my entry point for running the application when selecting it from the menu.

Any help or pointing at a decent tutorial appreciated. I've google'd loads but can't find anything...

sjeps.
Offline  
Old 05-12-2008, 05:58 AM   #2 (permalink)
New Member
 
Join Date: May 2008
Model: 8810
PIN: N/A
Carrier: n/a
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Figured it out, needed a nested <entry> attribute with a different arguement to the main entry point.
Offline  




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