<?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>TamsPalm - the Palm OS / web OS Blog &#187; Sample code</title>
	<atom:link href="http://tamspalm.tamoggemon.com/category/development/19/feed/" rel="self" type="application/rss+xml" />
	<link>http://tamspalm.tamoggemon.com</link>
	<description>Palm OS / web OS news and opinion source</description>
	<lastBuildDate>Tue, 07 Feb 2012 12:29:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Use C and C++ code together &#8211; undefined reference galore</title>
		<link>http://tamspalm.tamoggemon.com/2009/08/03/use-c-and-c-code-together-undefined-reference-galore/</link>
		<comments>http://tamspalm.tamoggemon.com/2009/08/03/use-c-and-c-code-together-undefined-reference-galore/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 03:15:34 +0000</pubDate>
		<dc:creator>Tam Hanna, Site Founder</dc:creator>
				<category><![CDATA[Sample code]]></category>

		<guid isPermaLink="false">http://tamspalm.tamoggemon.com/?p=4858</guid>
		<description><![CDATA[If word on the street is to be believed, C and C++ can coexist peacefully. Just include the C library< 's header into your C++ file, put them both in a project as seen on the left, and you are set to go. Unfortunately, this isn't the case - things like polymorphism and other properties <a href='http://tamspalm.tamoggemon.com/2009/08/03/use-c-and-c-code-together-undefined-reference-galore/'>[...]</a>


Related posts:<ol><li><a href='http://tamspalm.tamoggemon.com/2006/06/21/on-c-style-or-is-code-formatting-everything/' rel='bookmark' title='Permanent Link: On C style or is code formatting everything?'>On C style or is code formatting everything?</a></li>
<li><a href='http://tamspalm.tamoggemon.com/2010/03/17/code-bubbles-cool-new-ide-concept/' rel='bookmark' title='Permanent Link: Code Bubbles &#8211; cool new IDE concept'>Code Bubbles &#8211; cool new IDE concept</a></li>
<li><a href='http://tamspalm.tamoggemon.com/2008/03/22/beautiful-code-the-review/' rel='bookmark' title='Permanent Link: Beautiful Code &#8211; the review'>Beautiful Code &#8211; the review</a></li>
</ol>]]></description>
		<wfw:commentRss>http://tamspalm.tamoggemon.com/2009/08/03/use-c-and-c-code-together-undefined-reference-galore/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>PODS preprocessor trickery &#8211; raise errors from the preprocessor</title>
		<link>http://tamspalm.tamoggemon.com/2008/07/26/pods-preprocessor-trickery-raise-errors-from-the-preprocessor/</link>
		<comments>http://tamspalm.tamoggemon.com/2008/07/26/pods-preprocessor-trickery-raise-errors-from-the-preprocessor/#comments</comments>
		<pubDate>Sat, 26 Jul 2008 11:50:39 +0000</pubDate>
		<dc:creator>Tam Hanna, Site Founder</dc:creator>
				<category><![CDATA[Sample code]]></category>

		<guid isPermaLink="false">http://tamspalm.tamoggemon.com/?p=2808</guid>
		<description><![CDATA[I am currently hacking around on a new DRM system for my applications which &#8211; surprise, surprise &#8211; will include OTA wherever its possible (aka at MobiHand&#8217;s). As I need to use variable URL&#8217;s for each distributor, I felt like using the preprocessor. As I stumbled across a few interesting things, I felt like sharing <a href='http://tamspalm.tamoggemon.com/2008/07/26/pods-preprocessor-trickery-raise-errors-from-the-preprocessor/'>[...]</a>


Related posts:<ol><li><a href='http://tamspalm.tamoggemon.com/2006/05/02/pods-errors-cascaded/' rel='bookmark' title='Permanent Link: PODS errors-cascaded'>PODS errors-cascaded</a></li>
<li><a href='http://tamspalm.tamoggemon.com/2007/02/27/creating-multi-segment-applications-with-pods/' rel='bookmark' title='Permanent Link: Creating Multi-Segment applications with PODS'>Creating Multi-Segment applications with PODS</a></li>
<li><a href='http://tamspalm.tamoggemon.com/2007/04/05/alex-bloom-video-interview/' rel='bookmark' title='Permanent Link: Alex Bloom video interview'>Alex Bloom video interview</a></li>
</ol>]]></description>
		<wfw:commentRss>http://tamspalm.tamoggemon.com/2008/07/26/pods-preprocessor-trickery-raise-errors-from-the-preprocessor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Data encryption on Palm OS handhelds</title>
		<link>http://tamspalm.tamoggemon.com/2008/04/29/data-encryption-on-palm-os-handhelds/</link>
		<comments>http://tamspalm.tamoggemon.com/2008/04/29/data-encryption-on-palm-os-handhelds/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 08:46:40 +0000</pubDate>
		<dc:creator>Tam Hanna, Site Founder</dc:creator>
				<category><![CDATA[Sample code]]></category>

		<guid isPermaLink="false">http://tamspalm.tamoggemon.com/?p=2636</guid>
		<description><![CDATA[In case anyone of you frees like adding encryption to your applications, being a palm-dev-forum subscriber definitely pays out. The folks there currently discuss the various encryption options available to Palm OS developers &#8211; if your apps need a security improvement, click the link below to get to the first post: Data encryption Palm OS <a href='http://tamspalm.tamoggemon.com/2008/04/29/data-encryption-on-palm-os-handhelds/'>[...]</a>


Related posts:<ol><li><a href='http://tamspalm.tamoggemon.com/2005/12/31/data-security-on-palm-os-handhelds/' rel='bookmark' title='Permanent Link: Data security on Palm OS Handhelds'>Data security on Palm OS Handhelds</a></li>
<li><a href='http://tamspalm.tamoggemon.com/2009/06/30/palm-releases-webos-1-0-4/' rel='bookmark' title='Permanent Link: Palm releases webOS 1.0.4'>Palm releases webOS 1.0.4</a></li>
<li><a href='http://tamspalm.tamoggemon.com/2010/12/30/lawsuit-filed-re-passing-app-data-to-advertisers/' rel='bookmark' title='Permanent Link: Lawsuit filed re passing app data to advertisers'>Lawsuit filed re passing app data to advertisers</a></li>
</ol>]]></description>
		<wfw:commentRss>http://tamspalm.tamoggemon.com/2008/04/29/data-encryption-on-palm-os-handhelds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Invalid Insertion Point Position via FldSetFocus &#8211; what to do</title>
		<link>http://tamspalm.tamoggemon.com/2008/02/26/invalid-insertion-point-position-via-fldsetfocus-what-to-do/</link>
		<comments>http://tamspalm.tamoggemon.com/2008/02/26/invalid-insertion-point-position-via-fldsetfocus-what-to-do/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 13:22:00 +0000</pubDate>
		<dc:creator>Tam Hanna, Site Founder</dc:creator>
				<category><![CDATA[Sample code]]></category>

		<guid isPermaLink="false">http://tamspalm.tamoggemon.com/2008/02/26/invalid-insertion-point-position-via-fldsetfocus-what-to-do/</guid>
		<description><![CDATA[The code below has worked well on all handhelds I ever put my paws on &#8211; but failed miserably on the simulator: case frmOpenEvent: createLVL(); FrmDrawForm(pForm); StrCopy(vars.msg1,"Action!!"); vars.msg1_framestolive=MSG_LIFETIME; lasttic=TimGetTicks(); FrmSetFocus(pForm,FrmGetObjectIndex(pForm,FldShadow)); //allows GSPDA T9 keys to function handled = true; break; The simulator gave an alert along the lines of &#8220;Invalid insertion point&#8221; &#8211; WTF? The <a href='http://tamspalm.tamoggemon.com/2008/02/26/invalid-insertion-point-position-via-fldsetfocus-what-to-do/'>[...]</a>


Related posts:<ol><li><a href='http://tamspalm.tamoggemon.com/2006/09/08/how-to-print-integers-etc-into-a-field/' rel='bookmark' title='Permanent Link: How to print integers, etc into a field'>How to print integers, etc into a field</a></li>
<li><a href='http://tamspalm.tamoggemon.com/2006/09/08/finding-out-when-a-field-changes/' rel='bookmark' title='Permanent Link: Finding out when a field changes'>Finding out when a field changes</a></li>
<li><a href='http://tamspalm.tamoggemon.com/2007/02/17/a-very-strange-strprintf-crash/' rel='bookmark' title='Permanent Link: A very strange StrPrintF crash'>A very strange StrPrintF crash</a></li>
</ol>]]></description>
		<wfw:commentRss>http://tamspalm.tamoggemon.com/2008/02/26/invalid-insertion-point-position-via-fldsetfocus-what-to-do/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SDL beeing ported to Palm OS</title>
		<link>http://tamspalm.tamoggemon.com/2007/12/14/sdl-beeing-ported-to-palm-os/</link>
		<comments>http://tamspalm.tamoggemon.com/2007/12/14/sdl-beeing-ported-to-palm-os/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 20:52:58 +0000</pubDate>
		<dc:creator>Tam Hanna, Site Founder</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Palm News]]></category>
		<category><![CDATA[Sample code]]></category>

		<guid isPermaLink="false">http://tamspalm.tamoggemon.com/2007/12/14/sdl-beeing-ported-to-palm-os/</guid>
		<description><![CDATA[A library called SDL is at the core of many(if not most) OpenSource projects &#8211; they use the library&#8217;s functions for various tasks like graphics and sound. WikiPedia describes the library as following: Simple DirectMedia Layer (SDL) is a cross-platform, multimedia, free software library written in C that creates an abstraction over various platforms&#8217; graphics, <a href='http://tamspalm.tamoggemon.com/2007/12/14/sdl-beeing-ported-to-palm-os/'>[...]</a>


Related posts:<ol><li><a href='http://tamspalm.tamoggemon.com/2007/03/14/mobile-stream-releases-updated-version-of-sdk/' rel='bookmark' title='Permanent Link: Mobile Stream releases updated version of SDK'>Mobile Stream releases updated version of SDK</a></li>
<li><a href='http://tamspalm.tamoggemon.com/2009/06/13/doom-unofficially-ported-to-webos/' rel='bookmark' title='Permanent Link: Doom &#8211; unofficially ported to webOS'>Doom &#8211; unofficially ported to webOS</a></li>
<li><a href='http://tamspalm.tamoggemon.com/2006/06/28/seeking-palm-developers-for-wxwidgets-port/' rel='bookmark' title='Permanent Link: Seeking Palm developers for wxWidgets port'>Seeking Palm developers for wxWidgets port</a></li>
</ol>]]></description>
		<wfw:commentRss>http://tamspalm.tamoggemon.com/2007/12/14/sdl-beeing-ported-to-palm-os/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ZLauncher Plug-In API for OnBoardC</title>
		<link>http://tamspalm.tamoggemon.com/2007/10/22/zlauncher-plug-in-api-for-onboardc/</link>
		<comments>http://tamspalm.tamoggemon.com/2007/10/22/zlauncher-plug-in-api-for-onboardc/#comments</comments>
		<pubDate>Mon, 22 Oct 2007 11:49:59 +0000</pubDate>
		<dc:creator>Tam Hanna, Site Founder</dc:creator>
				<category><![CDATA[Sample code]]></category>

		<guid isPermaLink="false">http://tamspalm.tamoggemon.com/2007/10/22/zlauncher-plug-in-api-for-onboardc/</guid>
		<description><![CDATA[ZLauncher is a very popular launcher replacement for Palm OS handhelds &#8211; it can easily be expanded by third party developers using the ZLauncher plug-in API. A sample for the API is contained in the distribution file &#8211; however, getting it ready for OnBoardC usage is not exactly easy. This version of ZLPlugin.h has worked <a href='http://tamspalm.tamoggemon.com/2007/10/22/zlauncher-plug-in-api-for-onboardc/'>[...]</a>


Related posts:<ol><li><a href='http://tamspalm.tamoggemon.com/2006/07/01/the-onboardc-users-manual/' rel='bookmark' title='Permanent Link: The OnBoardC users manual'>The OnBoardC users manual</a></li>
<li><a href='http://tamspalm.tamoggemon.com/2009/05/30/onboardc-updated-to-version-260/' rel='bookmark' title='Permanent Link: OnBoardC updated to version 2.60'>OnBoardC updated to version 2.60</a></li>
<li><a href='http://tamspalm.tamoggemon.com/2005/11/22/arm-assembler-for-onboardc-is-now-available/' rel='bookmark' title='Permanent Link: ARM assembler for OnBoardC is now available'>ARM assembler for OnBoardC is now available</a></li>
</ol>]]></description>
		<wfw:commentRss>http://tamspalm.tamoggemon.com/2007/10/22/zlauncher-plug-in-api-for-onboardc/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sine/Cosine lookup table</title>
		<link>http://tamspalm.tamoggemon.com/2007/09/18/sinecosine-lookup-table/</link>
		<comments>http://tamspalm.tamoggemon.com/2007/09/18/sinecosine-lookup-table/#comments</comments>
		<pubDate>Tue, 18 Sep 2007 14:36:35 +0000</pubDate>
		<dc:creator>Tam Hanna, Site Founder</dc:creator>
				<category><![CDATA[Sample code]]></category>

		<guid isPermaLink="false">http://tamspalm.tamoggemon.com/2007/09/18/sinecosine-lookup-table/</guid>
		<description><![CDATA[After having followed a discussion about charting in the palm-dev-forum, I felt that the following lookup tables could potentially be useful for some of you. I generated them using SmallBASIC and use them in BallZ(the Palm OS JezzBall clone). Anyways, the input is in traditional degrees, and the output is a float value. If you <a href='http://tamspalm.tamoggemon.com/2007/09/18/sinecosine-lookup-table/'>[...]</a>


Related posts:<ol><li><a href='http://tamspalm.tamoggemon.com/2008/01/08/the-palm-table-cloth/' rel='bookmark' title='Permanent Link: The Palm table cloth'>The Palm table cloth</a></li>
</ol>]]></description>
		<wfw:commentRss>http://tamspalm.tamoggemon.com/2007/09/18/sinecosine-lookup-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CamLibControl &#8211; the call that doesn&#8217;t work</title>
		<link>http://tamspalm.tamoggemon.com/2007/09/02/camlibcontrol-the-call-that-doesnt-work/</link>
		<comments>http://tamspalm.tamoggemon.com/2007/09/02/camlibcontrol-the-call-that-doesnt-work/#comments</comments>
		<pubDate>Sun, 02 Sep 2007 21:46:29 +0000</pubDate>
		<dc:creator>Tam Hanna, Site Founder</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Sample code]]></category>

		<guid isPermaLink="false">http://tamspalm.tamoggemon.com/2007/09/02/camlibcontrol-the-call-that-doesnt-work/</guid>
		<description><![CDATA[Ever since the Palm Treo 600, Palm OS Treos contain integrated CMOS cameras that can produce decent images. Since the Treo 650, these cameras can be controlled via the so-called Camera Manager, an API that should let you control brightness, contrast and saturation comfortably&#8230; However, the API&#8217;s Palm itself provides do not work on any <a href='http://tamspalm.tamoggemon.com/2007/09/02/camlibcontrol-the-call-that-doesnt-work/'>[...]</a>


Related posts:<ol><li><a href='http://tamspalm.tamoggemon.com/2006/07/15/13-hints-for-using-a-camera-phone/' rel='bookmark' title='Permanent Link: 13 hints for using a camera phone'>13 hints for using a camera phone</a></li>
<li><a href='http://tamspalm.tamoggemon.com/2009/11/13/palm-last-call-for-early-access-developers/' rel='bookmark' title='Permanent Link: Palm: last call for early access developers'>Palm: last call for early access developers</a></li>
<li><a href='http://tamspalm.tamoggemon.com/2006/06/05/moceanwhy-it-doesnt-work-on-palm-tungsten-t3/' rel='bookmark' title='Permanent Link: mOcean..why it doesn&#8217;t work on Palm Tungsten T3'>mOcean..why it doesn&#8217;t work on Palm Tungsten T3</a></li>
</ol>]]></description>
		<wfw:commentRss>http://tamspalm.tamoggemon.com/2007/09/02/camlibcontrol-the-call-that-doesnt-work/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Globals in DAs</title>
		<link>http://tamspalm.tamoggemon.com/2007/08/29/globals-in-das/</link>
		<comments>http://tamspalm.tamoggemon.com/2007/08/29/globals-in-das/#comments</comments>
		<pubDate>Wed, 29 Aug 2007 16:27:54 +0000</pubDate>
		<dc:creator>Peter Thorstenson</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Sample code]]></category>

		<guid isPermaLink="false">http://tamspalm.tamoggemon.com/2007/08/29/globals-in-das/</guid>
		<description><![CDATA[Everybody who has tried to make DAs (Desk Accessories) knows you can&#8217;t use global variables in the code. There are ways to go around that problem, of course, but all I have seen are either slow, like reading and writing to databases, or complicated to use, like using Feature Memory (I never figured out how <a href='http://tamspalm.tamoggemon.com/2007/08/29/globals-in-das/'>[...]</a>


Related posts:<ol><li><a href='http://tamspalm.tamoggemon.com/2008/07/01/fix-padding-issues-in-structs/' rel='bookmark' title='Permanent Link: Fix padding issues in structs'>Fix padding issues in structs</a></li>
<li><a href='http://tamspalm.tamoggemon.com/2006/01/08/malloc-and-free-for-palm-os/' rel='bookmark' title='Permanent Link: malloc and free for Palm OS'>malloc and free for Palm OS</a></li>
<li><a href='http://tamspalm.tamoggemon.com/2006/05/29/with-the-speed-of-the-arm/' rel='bookmark' title='Permanent Link: With the Speed of the ARM'>With the Speed of the ARM</a></li>
</ol>]]></description>
		<wfw:commentRss>http://tamspalm.tamoggemon.com/2007/08/29/globals-in-das/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>C gotchas for free: CERT C Programming Language Secure Coding Standard</title>
		<link>http://tamspalm.tamoggemon.com/2007/08/13/c-gotchas-for-free-cert-c-programming-language-secure-coding-standard/</link>
		<comments>http://tamspalm.tamoggemon.com/2007/08/13/c-gotchas-for-free-cert-c-programming-language-secure-coding-standard/#comments</comments>
		<pubDate>Mon, 13 Aug 2007 20:05:29 +0000</pubDate>
		<dc:creator>Tam Hanna, Site Founder</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Sample code]]></category>

		<guid isPermaLink="false">http://tamspalm.tamoggemon.com/2007/08/13/c-gotchas-for-free-cert-c-programming-language-secure-coding-standard/</guid>
		<description><![CDATA[While googling for something more-less unrelated, I stumbled upon this link which really is worth its price in gold: https://www.securecoding.cert.org/confluence/display/seccode/CERT+C+Programming+Language+Secure+Coding+Standard To cut a long story short, the CERT has posted a list of common C gotchas there. No, not the kind of gotchas you can find in a beginner&#8217;s book&#8230;but real gotchas from everyday development/porting <a href='http://tamspalm.tamoggemon.com/2007/08/13/c-gotchas-for-free-cert-c-programming-language-secure-coding-standard/'>[...]</a>


Related posts:<ol><li><a href='http://tamspalm.tamoggemon.com/2006/09/19/the-programming-language-rankings/' rel='bookmark' title='Permanent Link: The programming language rankings'>The programming language rankings</a></li>
<li><a href='http://tamspalm.tamoggemon.com/2006/04/26/php-gotchas/' rel='bookmark' title='Permanent Link: PHP gotchas'>PHP gotchas</a></li>
<li><a href='http://tamspalm.tamoggemon.com/2006/07/05/the-beauty-of-a-standard/' rel='bookmark' title='Permanent Link: The beauty of a standard'>The beauty of a standard</a></li>
</ol>]]></description>
		<wfw:commentRss>http://tamspalm.tamoggemon.com/2007/08/13/c-gotchas-for-free-cert-c-programming-language-secure-coding-standard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.508 seconds -->

