Alternate Entry in Blackberry JDE Projects
Hi BB developers,
I think you created, at least one time, an alternate entry point project on JDE editor following step by step instructions reported on BB site.
Results ??? A good rapc compilation but, of course, your .cod file still don’t run like expected
You ask: “Why why why why why why why ?!?!?!?!?!?”
Simple answer: “It’s a BUG !!!!!”.
You need to manually modify your alternate entry point project file (.jdp file) and insert this string:
EntryFor=Your_CDLC_Project_Name
After this change, your alternate entry point applcation work like a charm…
Enjoy !!!!
Blackberry & Call Blocking
Buongiorno a tutti,
giovani segugi del WEB
Ieri sera non sapevo cosa fare e non mi andava di coricarmi moltissimo prestissimo, quindi ho pensato fra me e me: “Perchè non facciamo qualcosa di moltissimo utilissimo per la vita di tutti i giorni… come ad esempio un sistema che mi eviti i rompiballe sul cellulare…
”
Detto fatto !!!!!
In meno di 5 minuti fra codice e test, ecco qualcosa che è nato per il mio fantastico Blackberry 8700 “taroccato” alla versione OS 4.2
Ovviamente non impasto tutto il codice possibile ed immaginabile, ma vi do in assaggio soltanto un TIP (quello base). Per il resto divertitevi VOI
CIRICIAUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
package CallBlock; import net.rim.blackberry.api.phone.*; class CallBlock extends AbstractPhoneListener { private boolean doLoop=true; CallBlock() { Phone.addPhoneListener(this); while (doLoop) {}; } public static void main(String argv[]) { new CallBlock(); } public void callIncoming(int callID) { PhoneCall pc = Phone.getCall(callID); String phoneNumber = pc.getDisplayPhoneNumber(); System.out.println(phoneNumber); if (phoneNumber.equals("NUMERO_DA_BLOCCARE")) { System.out.println("Blocked!!!!!"); BloccamiTutto(); } } } |


