<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DoK - Where Dreams Come From &#187; blackberry</title>
	<atom:link href="http://ansani.it/tag/blackberry/feed/" rel="self" type="application/rss+xml" />
	<link>http://ansani.it</link>
	<description>C'è chi vede il bicchiere mezzo pieno e chi lo vede mezzo vuoto... Per me, l'acqua che manca, è traboccata fuori ;)</description>
	<lastBuildDate>Fri, 06 Apr 2012 06:11:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<image>
<link>http://ansani.it</link>
<url>http://ansani.it/wp-content/plugins/maxblogpress-favicon/icons/favicon-21.ico</url>
<title>DoK - Where Dreams Come From</title>
</image>
		<item>
		<title>Alternate Entry in Blackberry JDE Projects</title>
		<link>http://ansani.it/2008/03/18/alternate-entry-in-blackberry-jde-projects/</link>
		<comments>http://ansani.it/2008/03/18/alternate-entry-in-blackberry-jde-projects/#comments</comments>
		<pubDate>Tue, 18 Mar 2008 16:50:28 +0000</pubDate>
		<dc:creator>Salvatore Ansani</dc:creator>
				<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[devel]]></category>

		<guid isPermaLink="false">http://ansani.it/?p=445</guid>
		<description><![CDATA[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&#8217;t run like expected You ask: &#8220;Why why why why why why why ?!?!?!?!?!?&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Hi <strong>BB developers</strong>,<br />
I think you created, at least one time, an <em>alternate entry point</em> project on <em><strong>JDE editor</strong></em> following step by step instructions reported on <a href="http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/796557/800738/800901/How_To_-_Setup_an_alternate_entry_point_for_my_application.html?nodeid=800820" target="_blank">BB site</a>.</p>
<p style="text-align: justify;">Results ??? A good <em>rapc</em> compilation but, of course, your <strong><em>.cod</em></strong> file still don&#8217;t run like expected <img src='http://ansani.it/wp-includes/images/smilies/icon_sad.gif' alt="icon sad Alternate Entry in Blackberry JDE Projects" class='wp-smiley' title="Alternate Entry in Blackberry JDE Projects" /> </p>
<p style="text-align: justify;"><strong>You ask:</strong> <em>&#8220;Why why why why why why why ?!?!?!?!?!?&#8221;</em><strong><br />
Simple answer:</strong> <em>&#8220;It&#8217;s a BUG !!!!!&#8221;</em>.</p>
<p style="text-align: justify;">You need to <em>manually modify</em> your <em>alternate entry point project file</em> (<strong>.jdp file</strong>) and insert this string:</p>
<p style="padding-left: 30px;"><strong>EntryFor=Your_CDLC_Project_Name</strong></p>
<p><em>After this change, your alternate entry point applcation work like a charm&#8230;</em> <img src='http://ansani.it/wp-includes/images/smilies/icon_smile.gif' alt="icon smile Alternate Entry in Blackberry JDE Projects" class='wp-smiley' title="Alternate Entry in Blackberry JDE Projects" /> </p>
<p><strong><em>Enjoy !!!!</em></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://ansani.it/2008/03/18/alternate-entry-in-blackberry-jde-projects/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Blackberry &amp; Call Blocking</title>
		<link>http://ansani.it/2007/09/11/blackberry-call-blocking/</link>
		<comments>http://ansani.it/2007/09/11/blackberry-call-blocking/#comments</comments>
		<pubDate>Tue, 11 Sep 2007 10:15:11 +0000</pubDate>
		<dc:creator>Salvatore Ansani</dc:creator>
				<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[devel]]></category>

		<guid isPermaLink="false">http://ansani.it/2007/09/11/blackberry-call-blocking/</guid>
		<description><![CDATA[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: &#8220;Perchè non facciamo qualcosa di moltissimo utilissimo per la vita di tutti i giorni&#8230; come ad esempio un sistema che mi eviti i rompiballe sul cellulare&#8230; &#8221; [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Buongiorno a tutti,<br />
giovani segugi del WEB <img src='http://ansani.it/wp-includes/images/smilies/icon_smile.gif' alt="icon smile Blackberry & Call Blocking" class='wp-smiley' title="Blackberry & Call Blocking" /> </p>
<p style="text-align: justify;">Ieri sera non sapevo cosa fare e non mi andava di coricarmi moltissimo prestissimo, quindi ho pensato fra me e me: <em>&#8220;Perchè non facciamo qualcosa di moltissimo utilissimo per la vita di tutti i giorni&#8230; come ad esempio un sistema che mi eviti i rompiballe sul cellulare&#8230; <img src='http://ansani.it/wp-includes/images/smilies/icon_smile.gif' alt="icon smile Blackberry & Call Blocking" class='wp-smiley' title="Blackberry & Call Blocking" /> &#8221;</em></p>
<p style="text-align: justify;"><strong>Detto fatto !!!!!</strong></p>
<p style="text-align: justify;">In meno di 5 minuti fra codice e test, ecco qualcosa che è nato per il mio fantastico <em>Blackberry 8700</em> <strong>&#8220;taroccato&#8221;</strong> alla versione <em>OS 4.2</em> <img src='http://ansani.it/wp-includes/images/smilies/icon_wink.gif' alt="icon wink Blackberry & Call Blocking" class='wp-smiley' title="Blackberry & Call Blocking" /> </p>
<p style="text-align: justify;">Ovviamente non impasto tutto il codice possibile ed immaginabile, ma vi do in assaggio soltanto un TIP (quello base). Per il resto divertitevi VOI <img src='http://ansani.it/wp-includes/images/smilies/icon_smile.gif' alt="icon smile Blackberry & Call Blocking" class='wp-smiley' title="Blackberry & Call Blocking" /> </p>
<p style="text-align: justify;"><strong>CIRICIAUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU</strong></p>

<div class="wp_codebox"><table><tr id="p3972"><td class="code" id="p397code2"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">package</span> <span style="color: #006699;">CallBlock</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">net.rim.blackberry.api.phone.*</span><span style="color: #339933;">;</span> 
&nbsp;
<span style="color: #000000; font-weight: bold;">class</span> CallBlock <span style="color: #000000; font-weight: bold;">extends</span> AbstractPhoneListener <span style="color: #009900;">&#123;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000066; font-weight: bold;">boolean</span> doLoop<span style="color: #339933;">=</span><span style="color: #000066; font-weight: bold;">true</span><span style="color: #339933;">;</span>
&nbsp;
	CallBlock<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		Phone.<span style="color: #006633;">addPhoneListener</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000000; font-weight: bold;">while</span> <span style="color: #009900;">&#40;</span>doLoop<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> main<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> argv<span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000000; font-weight: bold;">new</span> CallBlock<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> callIncoming<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">int</span> callID<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		PhoneCall pc <span style="color: #339933;">=</span> Phone.<span style="color: #006633;">getCall</span><span style="color: #009900;">&#40;</span>callID<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #003399;">String</span> phoneNumber <span style="color: #339933;">=</span> pc.<span style="color: #006633;">getDisplayPhoneNumber</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span>phoneNumber<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>phoneNumber.<span style="color: #006633;">equals</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;NUMERO_DA_BLOCCARE&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Blocked!!!!!&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			BloccamiTutto<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>	 
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://ansani.it/2007/09/11/blackberry-call-blocking/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

