<span style="border-collapse:collapse"><div>[apologies if this is a double posting... I didn&#39;t know I wasn&#39;t a member of sugar-devel]</div><div><br></div>The recently updated Map activity is tailored for the g1g1 xo.<br>
<br><div>Is there a way (and a guide) for how to write activities which can adapt themselves for whichever hardware, emulator (jhbuild), distribution, build number, and/or sugar os they are running on? &nbsp;It would be useful if activity authors could query this information. &nbsp;The alternative seems to be bundling activities for every&nbsp;variant.<br>

<br><div>For example, here are two bugs we&#39;ve encountered in making a &quot;write once, run anywhere&quot; sugar activity:<br><br></div><div>Bug one:</div><div>trac #1657 (scaling within an embedded browser component)<br>

<br></div><div>Bug two:<br>#joyride ...<br>#keyHash = util.sha_data(key)<br>#8.2...<br>keyHash = util._sha_data(key)</div></div></span>