<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Android Development Forum - Basic4android</title>
		<link>http://www.basic4ppc.com/forum</link>
		<description>Basic4android online user community provides programming tutorials to Android application developers.</description>
		<language>en</language>
		<lastBuildDate>Sat, 04 Feb 2012 15:15:24 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.basic4ppc.com/forum/images/misc/rss.jpg</url>
			<title>Android Development Forum - Basic4android</title>
			<link>http://www.basic4ppc.com/forum</link>
		</image>
		<item>
			<title>async streams and bluetooth ?</title>
			<link>http://www.basic4ppc.com/forum/basic4android-updates-questions/14677-async-streams-bluetooth.html</link>
			<pubDate>Sat, 04 Feb 2012 14:52:26 GMT</pubDate>
			<description>I have managed to communicate with a bluetooth device using serial (BTserial.zip). The sending  device sends 6LOOPnnCRLF every second where nn goes...</description>
			<content:encoded><![CDATA[<div>I have managed to communicate with a bluetooth device using serial (BTserial.zip). The sending  device sends 6LOOPnnCRLF every second where nn goes from 10 to 99. 6 is the prefix (# of chars). But Erel says that we should use async streams instead of the timer. I cannot get the async program to run (main_activity_create java.lang.Nullpointerexception at line 218). The async program is BTasync.zip.  As usual it is probably something stupid, but a nudge in the right direction would help.</div>


	<br />
	<div style="padding:6px">
	
	

	
	
	
	
	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<tr>
	<td><img class="inlineimg" src="http://www.basic4ppc.com/forum/images/attach/zip.gif" alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://www.basic4ppc.com/forum/attachments/basic4android-updates-questions/10320d1328367055-async-streams-bluetooth-btserial.zip">BTSerial.zip</a> (6.9 KB)</td>
</tr><tr>
	<td><img class="inlineimg" src="http://www.basic4ppc.com/forum/images/attach/zip.gif" alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://www.basic4ppc.com/forum/attachments/basic4android-updates-questions/10321d1328367060-async-streams-bluetooth-btasync.zip">BTAsync.zip</a> (6.9 KB)</td>
</tr>
			</table>
		</fieldset>
	
	
	</div>
]]></content:encoded>
			<category domain="http://www.basic4ppc.com/forum/basic4android-updates-questions/">Basic4android Updates and Questions</category>
			<dc:creator>DrWave</dc:creator>
			<guid isPermaLink="true">http://www.basic4ppc.com/forum/basic4android-updates-questions/14677-async-streams-bluetooth.html</guid>
		</item>
		<item>
			<title>Can you have a primary and a secondary Yaxis on a graph?</title>
			<link>http://www.basic4ppc.com/forum/basic4android-updates-questions/14676-can-you-have-primary-secondary-yaxis-graph.html</link>
			<pubDate>Sat, 04 Feb 2012 14:29:40 GMT</pubDate>
			<description>I have two data series such as PRESSURE and TEMPERATURE that need plotted on the same graph versus the same Xaxis. The plot will look a lot more...</description>
			<content:encoded><![CDATA[<div>I have two data series such as PRESSURE and TEMPERATURE that need plotted on the same graph versus the same Xaxis. The plot will look a lot more readable and professional looking if I can make 2 Yaxis ; one the left to represent the pressure and the second on the right to represent the temperature. In the charts module, I could not find a way to insert more than one Yaxis. Any bright ideas or workarounds will really enhance the charting feature of B4A.<br />
Also, it would be nice to to be able to insert a legend on the plot to distinguish between the 2 data series.<br />
Thank you</div>

]]></content:encoded>
			<category domain="http://www.basic4ppc.com/forum/basic4android-updates-questions/">Basic4android Updates and Questions</category>
			<dc:creator>Mahares</dc:creator>
			<guid isPermaLink="true">http://www.basic4ppc.com/forum/basic4android-updates-questions/14676-can-you-have-primary-secondary-yaxis-graph.html</guid>
		</item>
		<item>
			<title>How to connect to big .db database on pc-disk</title>
			<link>http://www.basic4ppc.com/forum/basic4android-updates-questions/14675-how-connect-big-db-database-pc-disk.html</link>
			<pubDate>Sat, 04 Feb 2012 14:28:05 GMT</pubDate>
			<description>Pleas help me about get data from pc how to connect
Thanks</description>
			<content:encoded><![CDATA[<div>Pleas help me about get data from pc how to connect<br />
Thanks</div>

]]></content:encoded>
			<category domain="http://www.basic4ppc.com/forum/basic4android-updates-questions/">Basic4android Updates and Questions</category>
			<dc:creator>zoran035</dc:creator>
			<guid isPermaLink="true">http://www.basic4ppc.com/forum/basic4android-updates-questions/14675-how-connect-big-db-database-pc-disk.html</guid>
		</item>
		<item>
			<title>Updataing Database Remotely</title>
			<link>http://www.basic4ppc.com/forum/basic4android-updates-questions/14674-updataing-database-remotely.html</link>
			<pubDate>Sat, 04 Feb 2012 14:27:51 GMT</pubDate>
			<description>When my app is all said and done. I wish to be able to update the sql .db file without having to connect to a pc. Basically, I am updating the master...</description>
			<content:encoded><![CDATA[<div>When my app is all said and done. I wish to be able to update the sql .db file without having to connect to a pc. Basically, I am updating the master database on a pc, then exporting to .csv, then importing to sqlite. When complete, I want to send the updated database to the tablet (actually, there will be numerous tablets), so connecting each one to the pc to accomplish this will be quite cumbersome.<br />
<br />
Thanks,<br />
Bill</div>

]]></content:encoded>
			<category domain="http://www.basic4ppc.com/forum/basic4android-updates-questions/">Basic4android Updates and Questions</category>
			<dc:creator>Bill Norris</dc:creator>
			<guid isPermaLink="true">http://www.basic4ppc.com/forum/basic4android-updates-questions/14674-updataing-database-remotely.html</guid>
		</item>
		<item>
			<title>Get PhoneId.GetDeviceId from server</title>
			<link>http://www.basic4ppc.com/forum/basic4android-updates-questions/14673-get-phoneid-getdeviceid-server.html</link>
			<pubDate>Sat, 04 Feb 2012 14:10:06 GMT</pubDate>
			<description>Hi do anyone know how I fix his Please , Thanks

I am try to get textfile with same name and DeviceId and save it to my mobile
it save the name on my...</description>
			<content:encoded><![CDATA[<div>Hi do anyone know how I fix his Please , Thanks<br />
<br />
I am try to get textfile with same name and DeviceId and save it to my mobile<br />
it save the name on my mobile = &amp; PhoneId.GetDeviceId  &amp; .txt<br />
not like = 000000000000000.txt<br />
<br />
Regards<br />
Sigster<br />
<br />
This is in button in LoadLayout(&quot;getfile&quot;)	<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><span style="color: #000000;">&nbsp;&nbsp;&nbsp;&nbsp;DownloadService.URL&nbsp;=&nbsp;</span><span style="color: #800000;">"</span><span style="color: #800000;">http://URL/</span><span style="color: #800000;">"</span><span style="color: #000000;">&nbsp;&amp;&nbsp;</span><span style="color: #008B8B;">PhoneId</span><span style="color: #000000;">.GetDeviceId&nbsp;&nbsp;&amp;&nbsp;</span><span style="color: #800000;">"</span><span style="color: #800000;">.txt</span><span style="color: #800000;">"</span><span style="color: #000000;"><br /><br />DownloadService.Target&nbsp;=&nbsp;</span><span style="color: #0000FF;">File</span><span style="color: #000000;">.OpenOutput(</span><span style="color: #0000FF;">File</span><span style="color: #000000;">.DirDefaultExternal,</span><span style="color: #800000;">"</span><span style="color: #800000;">&amp;&nbsp;PhoneId.GetDeviceId&nbsp;&nbsp;&amp;&nbsp;.txt</span><span style="color: #800000;">"</span><span style="color: #000000;">,&nbsp;</span><span style="color: #0000FF;">False</span><span style="color: #000000;">)<br /></span><span style="color: #0000FF;">StartService</span><span style="color: #000000;">(DownloadService)</span></code><hr />
</div>this is when form start to check if I have the file or not<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><span style="color: #000000;"><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">If</span><span style="color: #000000;">&nbsp;</span><span style="color: #0000FF;">File</span><span style="color: #000000;">.Exists(</span><span style="color: #0000FF;">File</span><span style="color: #000000;">.DirDefaultExternal,</span><span style="color: #800000;">"</span><span style="color: #800000;">&amp;&nbsp;PhoneId.GetDeviceId&nbsp;&nbsp;&amp;&nbsp;.txt</span><span style="color: #800000;">"</span><span style="color: #000000;">)&nbsp;</span><span style="color: #0000FF;">Then</span><span style="color: #000000;"><br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">ToastMessageShow</span><span style="color: #000000;">(</span><span style="color: #800000;">"</span><span style="color: #800000;">the&nbsp;file&nbsp;is&nbsp;on&nbsp;your&nbsp;Mobile</span><span style="color: #800000;">"</span><span style="color: #000000;">,&nbsp;</span><span style="color: #0000FF;">True</span><span style="color: #000000;">)<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">Else</span><span style="color: #000000;"><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">ToastMessageShow</span><span style="color: #000000;">(</span><span style="color: #800000;">"</span><span style="color: #800000;">No&nbsp;file</span><span style="color: #800000;">"</span><span style="color: #000000;">,&nbsp;</span><span style="color: #0000FF;">True</span><span style="color: #000000;">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RemoveViews<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Activity.LoadLayout(</span><span style="color: #800000;">"</span><span style="color: #800000;">getfile</span><span style="color: #800000;">"</span><span style="color: #000000;">)&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">End</span><span style="color: #000000;">&nbsp;</span><span style="color: #0000FF;">If</span></code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.basic4ppc.com/forum/basic4android-updates-questions/">Basic4android Updates and Questions</category>
			<dc:creator>sigster</dc:creator>
			<guid isPermaLink="true">http://www.basic4ppc.com/forum/basic4android-updates-questions/14673-get-phoneid-getdeviceid-server.html</guid>
		</item>
		<item>
			<title>Bookmarks Easy Import (Easily Import Pc Browsers Favorites)</title>
			<link>http://www.basic4ppc.com/forum/basic4android-share-your-creations/14672-bookmarks-easy-import-easily-import-pc-browsers-favorites.html</link>
			<pubDate>Sat, 04 Feb 2012 14:08:51 GMT</pubDate>
			<description>Tired of being forced to use Opera to synchronize the bookmarks with the desktop version of the browser instead of the Galaxy S2 Browse but did not...</description>
			<content:encoded><![CDATA[<div>Tired of being forced to use Opera to synchronize the bookmarks with the desktop version of the browser instead of the Galaxy S2 Browse but did not find anything like it in the market - some applications do not care about the folders, other programs require you to upload your bookmarks on the developers's server ...-, I developed &quot;Bookmarks Easy Import&quot; with Basic4Android.<br />
<br />
This program allows you to import your Browser Favorites (Bookmarks) - INCLUDING FOLDERS - from a &quot;.Htm&quot; file  (Example: you exported from Google Chrome, Opera, Microsoft Internet Explorer and Mozilla Firefox) into Android bookmarks.<br />
<br />
No upload required (privacy guaranteed).<br />
<br />
With the Lite version (free) you can import bookmarks without any limitation in the Stock Android Browser Database (the browser pre-installed), to do this is necessary Root permissions.<br />
<br />
With PRO version you can import, without limitation and without the need of Root permissions, the Bookmarks in a proprietary database of the program through which you can then open the links in your favorite browser.<br />
<br />
The PRO version includes additional features.<br />
<br />
This program was tested on Samsung S2 Galaxy, the import function in the Stock Android Browser Database could not run on other devices.<br />
<br />
<div align="center"><br />
<img src="http://img812.imageshack.us/img812/7456/sc20120102105923.png" border="0" alt="" /><br />
<br />
<img src="http://img831.imageshack.us/img831/9989/sc20120102105930.png" border="0" alt="" /><br />
<br />
<img src="http://img860.imageshack.us/img860/2841/sc20120102105951.png" border="0" alt="" /><br />
<br />
<img src="http://img341.imageshack.us/img341/3171/sc20111224214057.png" border="0" alt="" /><br />
<br />
<img src="http://img195.imageshack.us/img195/7108/sc20120102110045.png" border="0" alt="" /><br />
<br />
<img src="http://img141.imageshack.us/img141/6201/sc20120115174952.png" border="0" alt="" /><br />
<br />
<img src="http://img856.imageshack.us/img856/6467/sc20120115150723.png" border="0" alt="" /><br />
</div><br />
Market Link: <a href="https://market.android.com/details?id=cb56.BookmarksEasyImport" target="_blank">Bookmarks Easy Import Lite 1.8</a><br />
<br />
cb56</div>


	<br />
	<div style="padding:6px">
	
	
		<fieldset class="fieldset">
			<legend>Attached Thumbnails</legend>
			<div style="padding:3px">
			<a href="http://www.basic4ppc.com/forum/attachments/basic4android-share-your-creations/10318d1328364816-bookmarks-easy-import-easily-import-pc-browsers-favorites-sc20120102-105923.jpg"><img class="thumbnail" src="http://www.basic4ppc.com/forum/attachments/basic4android-share-your-creations/10318d1328364816t-bookmarks-easy-import-easily-import-pc-browsers-favorites-sc20120102-105923.jpg" border="0" alt="Click image for larger version

Name:	SC20120102-105923.jpg
Views:	N/A
Size:	10.7 KB
ID:	10318" /></a>
&nbsp;
			</div>
		</fieldset>
	

	
	
	
	
	
	
	</div>
]]></content:encoded>
			<category domain="http://www.basic4ppc.com/forum/basic4android-share-your-creations/">Basic4android Share Your Creations</category>
			<dc:creator>cb56</dc:creator>
			<guid isPermaLink="true">http://www.basic4ppc.com/forum/basic4android-share-your-creations/14672-bookmarks-easy-import-easily-import-pc-browsers-favorites.html</guid>
		</item>
		<item>
			<title>ListView modifying views</title>
			<link>http://www.basic4ppc.com/forum/basic4android-updates-questions/14671-listview-modifying-views.html</link>
			<pubDate>Sat, 04 Feb 2012 13:56:33 GMT</pubDate>
			<description>Hello,
I know I am doing something unorthodox here, (but what can I do I cannot get rid of this idea from my head!)

I was thinking if there is some...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
I know I am doing something unorthodox here, (but what can I do I cannot get rid of this idea from my head!)<br />
<br />
I was thinking if there is some way of modifying a listview to add a checkbox in there (and toggle whether it is shown or not)...however I failed at the first hurdle.<br />
<br />
I cannot remove a label from the listview<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><span style="color: #000000;">customlv.TwoLinesAndBitmap.Label.RemoveView</span></code><hr />
</div>I know people will suggest me to use a scrollview etc (i will end up doing that eventually)...but I just to know if it is possible to replace one label with a checkbox...with a quick and dirty hack.<br />
<br />
Here is the entry in the SDK docs: <a href="http://developer.android.com/reference/android/widget/TwoLineListItem.html" target="_blank">TwoLineListItem | Android Developers</a><br />
<br />
It says, and I quote:<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				Android supplies a standard layout resource for TwoLineListView (which does not include a selected item icon), but you can design your own custom XML layout for this object.
			
			<hr />
		</td>
	</tr>
	</table>
</div>...and so I stumbled on: <a href="http://developer.android.com/reference/android/R.layout.html#two_line_list_item" target="_blank">R.layout | Android Developers</a><br />
<br />
...wondering if I can replace:<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				public static final int two_line_list_item<br />
Since: API Level 1 <br />
<br />
Constant Value: 17367053 (0x0109000d)
			
			<hr />
		</td>
	</tr>
	</table>
</div>with:<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				public static final int simple_selectable_list_item<br />
Since: API Level 11<br />
<br />
A simple ListView item layout which can contain text and support (single or multiple) item selection.<br />
Constant Value: 17367061 (0x01090015)
			
			<hr />
		</td>
	</tr>
	</table>
</div>Or even:<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				public static final int simple_list_item_checked<br />
Since: API Level 1<br />
<br />
Constant Value: 17367045 (0x01090005)
			
			<hr />
		</td>
	</tr>
	</table>
</div>Or:<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				public static final int simple_expandable_list_item_1<br />
Since: API Level 1<br />
<br />
Constant Value: 17367046 (0x01090006)
			
			<hr />
		</td>
	</tr>
	</table>
</div>I have looked at the ListViewWrapper and understand nothing! But I do think that the wrapper is not using these layouts and creating them in the wrapper.<br />
<br />
...so I do not think this will work. But I thought I should throw it out there :sign0163:</div>

]]></content:encoded>
			<category domain="http://www.basic4ppc.com/forum/basic4android-updates-questions/">Basic4android Updates and Questions</category>
			<dc:creator>thedesolatesoul</dc:creator>
			<guid isPermaLink="true">http://www.basic4ppc.com/forum/basic4android-updates-questions/14671-listview-modifying-views.html</guid>
		</item>
		<item>
			<title>Usar base de datos SQL</title>
			<link>http://www.basic4ppc.com/forum/spanish-forum/14670-usar-base-de-datos-sql.html</link>
			<pubDate>Sat, 04 Feb 2012 11:32:50 GMT</pubDate>
			<description>Buenos dias compañeros, tras terminar mi aplicacion que no es mas que algo parecido a una agenda con fotos, quisiera practicar con bases de datos...</description>
			<content:encoded><![CDATA[<div>Buenos dias compañeros, tras terminar mi aplicacion que no es mas que algo parecido a una agenda con fotos, quisiera practicar con bases de datos SQL. Mi idea es solo leer de la base de datos, donde habria archivos txt y fotos en JPG. Me echais una mano para empezar? con que creo la base de datos? y luego se agradeceria un pequeño ejemplo de como leer desde ella.<br />
<br />
Muchas gracias por vuestra ayuda.</div>

]]></content:encoded>
			<category domain="http://www.basic4ppc.com/forum/spanish-forum/">Spanish Forum</category>
			<dc:creator>psdos</dc:creator>
			<guid isPermaLink="true">http://www.basic4ppc.com/forum/spanish-forum/14670-usar-base-de-datos-sql.html</guid>
		</item>
		<item>
			<title>RIM offers free playbooks to submit Android apps</title>
			<link>http://www.basic4ppc.com/forum/android-job-offers/14669-rim-offers-free-playbooks-submit-android-apps.html</link>
			<pubDate>Sat, 04 Feb 2012 10:39:33 GMT</pubDate>
			<description>https://twitter.com/#!/asaunders/status/165097598624075777

Anyone figure out how to get this working, can you please tell the rest of us?</description>
			<content:encoded><![CDATA[<div><a href="https://twitter.com/#!/asaunders/status/165097598624075777" target="_blank">https://twitter.com/#!/asaunders/sta...97598624075777</a><br />
<br />
Anyone figure out how to get this working, can you please tell the rest of us?</div>

]]></content:encoded>
			<category domain="http://www.basic4ppc.com/forum/android-job-offers/">Android Job Offers</category>
			<dc:creator>NeoTechni</dc:creator>
			<guid isPermaLink="true">http://www.basic4ppc.com/forum/android-job-offers/14669-rim-offers-free-playbooks-submit-android-apps.html</guid>
		</item>
		<item>
			<title>Select Case Problem</title>
			<link>http://www.basic4ppc.com/forum/basic4android-updates-questions/14668-select-case-problem.html</link>
			<pubDate>Sat, 04 Feb 2012 07:27:41 GMT</pubDate>
			<description><![CDATA[<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="alt2" dir="ltr"...]]></description>
			<content:encoded><![CDATA[<div><div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><span style="color: #008000;">'</span><span style="color: #008000;">Activity&nbsp;module</span><span style="color: #008000;"><br /></span><span style="color: #0000FF;">Sub&nbsp;</span><span style="color: #000000;">Process_Globals<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #008000;">'</span><span style="color: #008000;">These&nbsp;global&nbsp;variables&nbsp;will&nbsp;be&nbsp;declared&nbsp;once&nbsp;when&nbsp;the&nbsp;application&nbsp;starts.</span><span style="color: #008000;"><br /></span><span style="color: #000000;">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #008000;">'</span><span style="color: #008000;">These&nbsp;variables&nbsp;can&nbsp;be&nbsp;accessed&nbsp;from&nbsp;all&nbsp;modules.</span><span style="color: #008000;"><br /></span><span style="color: #000000;">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">Dim</span><span style="color: #000000;">&nbsp;Timer_Test&nbsp;</span><span style="color: #0000FF;">As</span><span style="color: #000000;">&nbsp;</span><span style="color: #008B8B;">Timer</span><span style="color: #000000;"><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">Dim</span><span style="color: #000000;">&nbsp;DataType&nbsp;</span><span style="color: #0000FF;">As</span><span style="color: #000000;">&nbsp;</span><span style="color: #008B8B;">String</span><span style="color: #000000;"><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">Dim</span><span style="color: #000000;">&nbsp;NumberType&nbsp;</span><span style="color: #0000FF;">As</span><span style="color: #000000;">&nbsp;</span><span style="color: #008B8B;">Int</span><span style="color: #000000;"><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">Dim</span><span style="color: #000000;">&nbsp;ColorType&nbsp;</span><span style="color: #0000FF;">As</span><span style="color: #000000;">&nbsp;</span><span style="color: #008B8B;">Int</span><span style="color: #000000;"><br />&nbsp;&nbsp;&nbsp;&nbsp;<br /></span><span style="color: #0000FF;">End&nbsp;Sub</span><span style="color: #000000;"><br /><br /></span><span style="color: #0000FF;">Sub&nbsp;</span><span style="color: #000000;">Globals<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #008000;">'</span><span style="color: #008000;">These&nbsp;global&nbsp;variables&nbsp;will&nbsp;be&nbsp;redeclared&nbsp;each&nbsp;time&nbsp;the&nbsp;activity&nbsp;is&nbsp;created.</span><span style="color: #008000;"><br /></span><span style="color: #000000;">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #008000;">'</span><span style="color: #008000;">These&nbsp;variables&nbsp;can&nbsp;only&nbsp;be&nbsp;accessed&nbsp;from&nbsp;this&nbsp;module.</span><span style="color: #008000;"><br /></span><span style="color: #000000;"><br /></span><span style="color: #0000FF;">End&nbsp;Sub</span><span style="color: #000000;"><br /><br /></span><span style="color: #0000FF;">Sub&nbsp;</span><span style="color: #000000;">Activity_Create(FirstTime&nbsp;</span><span style="color: #0000FF;">As</span><span style="color: #000000;">&nbsp;</span><span style="color: #008B8B;">Boolean</span><span style="color: #000000;">)<br />&nbsp;&nbsp;&nbsp;&nbsp;Timer_Test.Initialize(</span><span style="color: #800000;">"</span><span style="color: #800000;">Timer_Test</span><span style="color: #800000;">"</span><span style="color: #000000;">,&nbsp;</span><span style="color: #800080;">1000</span><span style="color: #000000;">)<br /><br /></span><span style="color: #0000FF;">End&nbsp;Sub</span><span style="color: #000000;"><br /><br /></span><span style="color: #0000FF;">Sub&nbsp;</span><span style="color: #000000;">Activity_Resume<br />&nbsp;&nbsp;&nbsp;&nbsp;Timer_Test.Enabled&nbsp;=&nbsp;</span><span style="color: #0000FF;">True</span><span style="color: #000000;"><br />&nbsp;&nbsp;&nbsp;&nbsp;DataType&nbsp;=&nbsp;</span><span style="color: #800000;">"</span><span style="color: #800000;">Test1</span><span style="color: #800000;">"</span><span style="color: #000000;"><br />&nbsp;&nbsp;&nbsp;&nbsp;NumberType&nbsp;=&nbsp;</span><span style="color: #800080;">0</span><span style="color: #000000;"><br />&nbsp;&nbsp;&nbsp;&nbsp;ColorType&nbsp;=&nbsp;</span><span style="color: #800080;">1</span><span style="color: #000000;"><br /></span><span style="color: #0000FF;">End&nbsp;Sub</span><span style="color: #000000;"><br /></span><span style="color: #0000FF;">Sub&nbsp;</span><span style="color: #000000;">Activity_KeyPress&nbsp;(KeyCode&nbsp;</span><span style="color: #0000FF;">As</span><span style="color: #000000;">&nbsp;</span><span style="color: #008B8B;">Int</span><span style="color: #000000;">)&nbsp;</span><span style="color: #0000FF;">As</span><span style="color: #000000;">&nbsp;</span><span style="color: #008B8B;">Boolean</span><span style="color: #000000;">&nbsp;</span><span style="color: #008000;">'</span><span style="color: #008000;">return&nbsp;true&nbsp;if&nbsp;you&nbsp;want&nbsp;to&nbsp;consume&nbsp;the&nbsp;event</span><span style="color: #008000;"><br /></span><span style="color: #000000;"><br /></span><span style="color: #0000FF;">End&nbsp;Sub</span><span style="color: #000000;"><br /></span><span style="color: #0000FF;">Sub&nbsp;</span><span style="color: #000000;">Activity_Pause&nbsp;(UserClosed&nbsp;</span><span style="color: #0000FF;">As</span><span style="color: #000000;">&nbsp;</span><span style="color: #008B8B;">Boolean</span><span style="color: #000000;">)<br />&nbsp;&nbsp;&nbsp;&nbsp;Timer_Test.Enabled&nbsp;=&nbsp;</span><span style="color: #0000FF;">False</span><span style="color: #000000;"><br /></span><span style="color: #0000FF;">End&nbsp;Sub</span><span style="color: #000000;"><br /></span><span style="color: #0000FF;">Sub&nbsp;</span><span style="color: #000000;">Timer_Test_Tick<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">Select</span><span style="color: #000000;">&nbsp;</span><span style="color: #0000FF;">Case</span><span style="color: #000000;">&nbsp;DataType<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">Case</span><span style="color: #000000;">&nbsp;</span><span style="color: #800000;">"</span><span style="color: #800000;">Test1</span><span style="color: #800000;">"</span><span style="color: #000000;"><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">ToastMessageShow</span><span style="color: #000000;">(</span><span style="color: #800000;">"</span><span style="color: #800000;">Test1</span><span style="color: #800000;">"</span><span style="color: #000000;">,&nbsp;</span><span style="color: #0000FF;">False</span><span style="color: #000000;">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">Select</span><span style="color: #000000;">&nbsp;</span><span style="color: #0000FF;">Case</span><span style="color: #000000;">&nbsp;NumberType&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">Case</span><span style="color: #000000;">&nbsp;</span><span style="color: #800080;">0</span><span style="color: #000000;">:&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">ToastMessageShow</span><span style="color: #000000;">(</span><span style="color: #800000;">"</span><span style="color: #800000;">NumberType&nbsp;0</span><span style="color: #800000;">"</span><span style="color: #000000;">,&nbsp;</span><span style="color: #0000FF;">False</span><span style="color: #000000;">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">Case</span><span style="color: #000000;">&nbsp;</span><span style="color: #800080;">1</span><span style="color: #000000;">:&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">ToastMessageShow</span><span style="color: #000000;">(</span><span style="color: #800000;">"</span><span style="color: #800000;">NumberType&nbsp;1</span><span style="color: #800000;">"</span><span style="color: #000000;">,&nbsp;</span><span style="color: #0000FF;">False</span><span style="color: #000000;">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">End</span><span style="color: #000000;">&nbsp;</span><span style="color: #0000FF;">Select</span><span style="color: #000000;"><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">Select</span><span style="color: #000000;">&nbsp;</span><span style="color: #0000FF;">Case</span><span style="color: #000000;">&nbsp;ColorType&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">Case</span><span style="color: #000000;">&nbsp;</span><span style="color: #800080;">0</span><span style="color: #000000;">:&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">ToastMessageShow</span><span style="color: #000000;">(</span><span style="color: #800000;">"</span><span style="color: #800000;">ColorType&nbsp;0</span><span style="color: #800000;">"</span><span style="color: #000000;">,&nbsp;</span><span style="color: #0000FF;">False</span><span style="color: #000000;">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">Case</span><span style="color: #000000;">&nbsp;</span><span style="color: #800080;">1</span><span style="color: #000000;">:&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">ToastMessageShow</span><span style="color: #000000;">(</span><span style="color: #800000;">"</span><span style="color: #800000;">ColorType&nbsp;1</span><span style="color: #800000;">"</span><span style="color: #000000;">,&nbsp;</span><span style="color: #0000FF;">False</span><span style="color: #000000;">):&nbsp;DataType&nbsp;=&nbsp;</span><span style="color: #800000;">"</span><span style="color: #800000;">Test2</span><span style="color: #800000;">"</span><span style="color: #000000;"><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">End</span><span style="color: #000000;">&nbsp;</span><span style="color: #0000FF;">Select</span><span style="color: #000000;"><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">Case</span><span style="color: #000000;">&nbsp;</span><span style="color: #800000;">"</span><span style="color: #800000;">Test2</span><span style="color: #800000;">"</span><span style="color: #000000;"><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">ToastMessageShow</span><span style="color: #000000;">(</span><span style="color: #800000;">"</span><span style="color: #800000;">Test2</span><span style="color: #800000;">"</span><span style="color: #000000;">,&nbsp;</span><span style="color: #0000FF;">False</span><span style="color: #000000;">)<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000FF;">End</span><span style="color: #000000;">&nbsp;</span><span style="color: #0000FF;">Select</span><span style="color: #000000;"><br /></span><span style="color: #0000FF;">End&nbsp;Sub</span></code><hr />
</div>I don't know what the deal is with Select case.  How many are you allowed to have inside a select case?  That above code will not work properly.  ToastMessageShow(&quot;Test2&quot;, False) will not get raised.  B4A does not detect this error.  Does Java allow this kind of coding?</div>

]]></content:encoded>
			<category domain="http://www.basic4ppc.com/forum/basic4android-updates-questions/">Basic4android Updates and Questions</category>
			<dc:creator>Scantech</dc:creator>
			<guid isPermaLink="true">http://www.basic4ppc.com/forum/basic4android-updates-questions/14668-select-case-problem.html</guid>
		</item>
		<item>
			<title>Msgbox() Function</title>
			<link>http://www.basic4ppc.com/forum/basic4android-updates-questions/14667-msgbox-function.html</link>
			<pubDate>Sat, 04 Feb 2012 06:59:08 GMT</pubDate>
			<description><![CDATA[I think Msgbox() Function look fix only English Language. "OK" ,"NO","Cancel"
How can I change in my language?:sign0163:]]></description>
			<content:encoded><![CDATA[<div>I think Msgbox() Function look fix only English Language. &quot;OK&quot; ,&quot;NO&quot;,&quot;Cancel&quot;<br />
How can I change in my language?:sign0163:</div>

]]></content:encoded>
			<category domain="http://www.basic4ppc.com/forum/basic4android-updates-questions/">Basic4android Updates and Questions</category>
			<dc:creator>Theera</dc:creator>
			<guid isPermaLink="true">http://www.basic4ppc.com/forum/basic4android-updates-questions/14667-msgbox-function.html</guid>
		</item>
		<item>
			<title><![CDATA[Budhism's Canlendar]]></title>
			<link>http://www.basic4ppc.com/forum/basic4android-updates-questions/14666-budhisms-canlendar.html</link>
			<pubDate>Sat, 04 Feb 2012 06:54:26 GMT</pubDate>
			<description><![CDATA[I'm live in Thailand,My Year is 2555 is not 2012 ,I'm tried use Basic4PPC for WindowsMobile. When I click date ,It will be shown 04/02/2012 ,I need...]]></description>
			<content:encoded><![CDATA[<div>I'm live in Thailand,My Year is 2555 is not 2012 ,I'm tried use Basic4PPC for WindowsMobile. When I click date ,It will be shown 04/02/2012 ,I need to be 04/02/2555 ,How can I do? Please answer the both Basic4Android and Basic4PPC (I have ready to buy Basic4Android)<br />
Best Regards<br />
Theera<br />
:signOops:</div>

]]></content:encoded>
			<category domain="http://www.basic4ppc.com/forum/basic4android-updates-questions/">Basic4android Updates and Questions</category>
			<dc:creator>Theera</dc:creator>
			<guid isPermaLink="true">http://www.basic4ppc.com/forum/basic4android-updates-questions/14666-budhisms-canlendar.html</guid>
		</item>
		<item>
			<title><![CDATA[B4A &#24590;&#20040;&#35753;PANEL&#25511;&#20214;&#24102;ScrollView&#21151;&#33021;]]></title>
			<link>http://www.basic4ppc.com/forum/chinese-forum/14665-b4a-panel-scrollview.html</link>
			<pubDate>Sat, 04 Feb 2012 04:55:18 GMT</pubDate>
			<description><![CDATA[B4A &#24590;&#20040;&#35753;PANEL&#25511;&#20214;&#24102;ScrollView&#21151;&#33021;

&#27714;&#23436;&#25972;&#35821;&#21477;

dim panel1 as panel
dim scrollview1 as scrollview
..
..
..
..]]></description>
			<content:encoded><![CDATA[<div>B4A &#24590;&#20040;&#35753;PANEL&#25511;&#20214;&#24102;ScrollView&#21151;&#33021;<br />
<br />
&#27714;&#23436;&#25972;&#35821;&#21477;<br />
<br />
dim panel1 as panel<br />
dim scrollview1 as scrollview<br />
..<br />
..<br />
..<br />
..<br />
..<br />
scrollview.panel.addview(panel1,0,0,320,600)<br />
<br />
&#36825;&#26679;&#19981;&#34892;&#12290;&#12290;&#12290;<br />
panel&#21644;ScrollView&#22312;&#23454;&#38469;&#36816;&#34892;&#20013;&#36824;&#26159;&#20998;&#24320;&#30340;&#12290;</div>

]]></content:encoded>
			<category domain="http://www.basic4ppc.com/forum/chinese-forum/">Chinese Forum</category>
			<dc:creator>Fling</dc:creator>
			<guid isPermaLink="true">http://www.basic4ppc.com/forum/chinese-forum/14665-b4a-panel-scrollview.html</guid>
		</item>
		<item>
			<title>video camera - get it to stay open</title>
			<link>http://www.basic4ppc.com/forum/basic4android-updates-questions/14664-video-camera-get-stay-open.html</link>
			<pubDate>Sat, 04 Feb 2012 04:09:15 GMT</pubDate>
			<description><![CDATA[I am working on a very simple dash camera video camera app, I want to get the camera app to stay open on "standby" so I can keep the preview open and...]]></description>
			<content:encoded><![CDATA[<div>I am working on a very simple dash camera video camera app, I want to get the camera app to stay open on &quot;standby&quot; so I can keep the preview open and start recording when I click on record.  The stock video camera app defaults to shutting off about every minute or so and loses the preview on the screen.<br />
<br />
I was thinking of maybe setting a timer and having it re initialize the camera every 30 seconds or so, but thought I would ask if anyone has a better method?  Or if anyone has a method to reset the default time to remain open on the android camera app itself.<br />
<br />
<br />
Michael</div>

]]></content:encoded>
			<category domain="http://www.basic4ppc.com/forum/basic4android-updates-questions/">Basic4android Updates and Questions</category>
			<dc:creator>sheriffporter</dc:creator>
			<guid isPermaLink="true">http://www.basic4ppc.com/forum/basic4android-updates-questions/14664-video-camera-get-stay-open.html</guid>
		</item>
		<item>
			<title>Pause help</title>
			<link>http://www.basic4ppc.com/forum/basic4android-updates-questions/14663-pause-help.html</link>
			<pubDate>Sat, 04 Feb 2012 01:33:03 GMT</pubDate>
			<description><![CDATA[Hi!!!

I need help...
i'm new here so please forgive me...
I am writing a program where I need a hard pause....
to stop program execution for a...]]></description>
			<content:encoded><![CDATA[<div>Hi!!!<br />
<br />
I need help...<br />
i'm new here so please forgive me...<br />
I am writing a program where I need a hard pause....<br />
to stop program execution for a sirten amount of time before continuing...<br />
I have tryed to find an &quot;pause&quot; or &quot;delay&quot; or anything but i don't have enough<br />
know how about this basic to know what to use or how to use it<br />
<br />
please help<br />
<br />
thank you in advance<br />
Jose<br />
<br />
<a href="mailto:Jose_m@comcast.net">Jose_m@comcast.net</a><br />
<br />
:BangHead:</div>

]]></content:encoded>
			<category domain="http://www.basic4ppc.com/forum/basic4android-updates-questions/">Basic4android Updates and Questions</category>
			<dc:creator>moreno911</dc:creator>
			<guid isPermaLink="true">http://www.basic4ppc.com/forum/basic4android-updates-questions/14663-pause-help.html</guid>
		</item>
	</channel>
</rss>

