<span style="border-collapse:collapse"><div>[apologies if this is a double posting... I didn't know I wasn'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? It would be useful if activity authors could query this information. The alternative seems to be bundling activities for every variant.<br>
<br><div>For example, here are two bugs we've encountered in making a "write once, run anywhere" 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>