{"id":8,"date":"2007-09-06T20:15:52","date_gmt":"2007-09-06T19:15:52","guid":{"rendered":"http:\/\/blogs.igalia.com\/jfernandez\/?p=7"},"modified":"2007-09-06T20:15:52","modified_gmt":"2007-09-06T19:15:52","slug":"working-an-learning-about-maemo","status":"publish","type":"post","link":"https:\/\/blogs.igalia.com\/jfernandez\/2007\/09\/06\/working-an-learning-about-maemo\/","title":{"rendered":"Working an learning about Maemo"},"content":{"rendered":"<p>This year i have been working quite a lot on Maemo platform to develop some GNOME applications into a cross-compile architecture. It&#8217;s being a very interesting experience, especially be part of GMAE and Maemo developer community and try to provide my experience in some projects.<\/p>\n<p>This kind of development its oriented to mobile devices, which requires a different kind of applications and development strategy. As most of you know, mobile devices frequently needs some kind of external device to store data, cause internal memory is very expensive and therefore limited.<\/p>\n<p>Scratchbox (www.scratchbox.org) its a cross-compiling environment to develop applications oriented to mobile devices. However, its very difficult int this environment to develop functionalities which requires access to this kind of external memory devices.<\/p>\n<p>I found a simple way to emulate external memory devices using, for instance, a common usb key, to catch <em>gnome-vfs<\/em> events and handle them as it were emitted from an external memory card. From <em>GNomeVFS<\/em> point of view, these devices are managed in a similar way, so you cant test your uses cases in your PC.<\/p>\n<ul>\n<li>Install <strong>mount<\/strong> in <em>sbox.<\/em><\/li>\n<\/ul>\n<pre>apt-get install mount<\/pre>\n<ul>\n<li>Edit <em>\/etc\/fstab<\/em> file on <em>sbox<\/em>\n<pre>none      \/proc         proc   defaults       0 0\n\/dev\/sdb  \/media\/memory   vfat   user,noauto    0 0<\/pre>\n<\/li>\n<li>From host, set ownerships and permissions to sbox <em>mount<\/em> and <em>umount<\/em> commands<\/li>\n<\/ul>\n<pre>chown root:root \/scratchbox\/users\/jfernandez\/targets\/i386-2007-07-26\/bin\/mount\nchmod 4755 \/scratchbox\/users\/jfernandez\/targets\/i386-2007-07-26\/bin\/mount\nchown root:root \/scratchbox\/users\/jfernandez\/targets\/i386-2007-07-26\/bin\/umount\nchmod 4755 \/scratchbox\/users\/jfernandez\/targets\/i386-2007-07-26\/bin\/umount<\/pre>\n<ul>\n<li>Insert your USB key<\/li>\n<\/ul>\n<ul>\n<li>Mount your virtual file system<\/li>\n<\/ul>\n<pre>mount \/media\/memory<\/pre>\n<p>Now, gnome-vfs monitor could detect <em>mount<\/em> and <em>umount<\/em> events of your USB, emulating insertion of an external memory device.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This year i have been working quite a lot on Maemo platform to develop some GNOME applications into a cross-compile architecture. It&#8217;s being a very interesting experience, especially be part of GMAE and Maemo developer community and try to provide my experience in some projects. This kind of development its oriented to mobile devices, which &hellip; <a href=\"https:\/\/blogs.igalia.com\/jfernandez\/2007\/09\/06\/working-an-learning-about-maemo\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Working an learning about Maemo<\/span><\/a><\/p>\n","protected":false},"author":20,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-8","post","type-post","status-publish","format-standard","hentry","category-mobile"],"_links":{"self":[{"href":"https:\/\/blogs.igalia.com\/jfernandez\/wp-json\/wp\/v2\/posts\/8","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.igalia.com\/jfernandez\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.igalia.com\/jfernandez\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.igalia.com\/jfernandez\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.igalia.com\/jfernandez\/wp-json\/wp\/v2\/comments?post=8"}],"version-history":[{"count":0,"href":"https:\/\/blogs.igalia.com\/jfernandez\/wp-json\/wp\/v2\/posts\/8\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.igalia.com\/jfernandez\/wp-json\/wp\/v2\/media?parent=8"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.igalia.com\/jfernandez\/wp-json\/wp\/v2\/categories?post=8"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.igalia.com\/jfernandez\/wp-json\/wp\/v2\/tags?post=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}