<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><!-- generator="wordpress/2.2.2" --><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Start IT up</title>
	<link>http://www.techjini.com/blog</link>
	<description>The view from inside a startup...</description>
	<pubDate>Thu, 09 Jul 2009 08:24:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/techjini" type="application/rss+xml" /><feedburner:browserFriendly>This is an XML content feed. It is intended to be viewed in a newsreader or syndicated to another site, subject to copyright and fair use.</feedburner:browserFriendly><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Tools for iPhone UI (user interface) design, mockups, wireframes or just a sketch</title>
		<link>http://feedproxy.google.com/~r/techjini/~3/1BO9zREr6qk/</link>
		<comments>http://www.techjini.com/blog/2009/07/09/tools-for-iphone-ui-user-interface-design-mockups-wireframes-or-just-a-sketch/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 08:24:53 +0000</pubDate>
		<dc:creator>Shyamal</dc:creator>
		
		<category><![CDATA[iPhone]]></category>

		<category><![CDATA[Tech Tips]]></category>

		<guid isPermaLink="false">http://www.techjini.com/blog/2009/07/09/tools-for-iphone-ui-user-interface-design-mockups-wireframes-or-just-a-sketch/</guid>
		<description><![CDATA[We tried several tools and methods for user interface designing of iPhone applications. We now use a combination of these tools and our choice depends on what best suits the product as well as the customer. The key point is communicating the design clearly to both the customer and developers.
Before going into details, let me [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.techjini.com/blog/wp-content/uploads/2009/07/iphone-mockup.thumbnail.png" title="iphone-mockup.png" alt="iphone-mockup.png" vspace="2" align="left" hspace="5" />We tried several tools and methods for user interface designing of iPhone applications. We now use a combination of these tools and our choice depends on what best suits the product as well as the customer. The key point is communicating the design clearly to both the customer and developers.</p>
<p>Before going into details, let me just list the iPhone design and mockup (wireframe) tools/methods in no particular order:</p>
<ol>
<li>Use Interface Builder (Mac only)</li>
<li>Use Balsamiq mockup tool (Mac, windows, linux) - <a href="http://www.balsamiq.com">http://www.balsamiq.com</a> (<a href="http://www.balsamiq.com/blog/2009/03/01/iphone-controls-new-icons-and-much-more/">http://www.balsamiq.com/blog/2009/03/01/iphone-controls-new-icons-and-much-more/</a>)</li>
<li>Use Omnigraffle (Mac only) and import an iPhone stencil - (<a href="http://www.omnigroup.com/applications/omnigraffle/download/">http://www.omnigroup.com/applications/omnigraffle/download/</a> and <a href="http://www.graffletopia.com/search/iphone">http://www.graffletopia.com/search/iphone</a>)</li>
<li>Use paper and a stencil- <a href="http://www.designcommission.com/shop/iphone-stencil-kit/">http://www.designcommission.com/shop/iphone-stencil-kit/</a></li>
<li>Use a pre-printed sketch paper - <a href="http://labs.boulevart.be/index.php/2008/06/05/sketch-paper-for-the-mobile-designer/">http://labs.boulevart.be/index.php/2008/06/05/sketch-paper-for-the-mobile-designer/</a></li>
<li>Use photoshop and the iPhone PSD - <a href="http://www.teehanlax.com/blog/?p=1628">http://www.teehanlax.com/blog/?p=1628</a></li>
<li>Use Adobe Fireworks - <a href="http://blogs.adobe.com/fireworks/2008/08/iphone_gui_as_adobe_fireworks.html">http://blogs.adobe.com/fireworks/2008/08/iphone_gui_as_adobe_fireworks.html</a> and <a href="http://www.building43.com/videos/2009/06/23/mockup-iphone-app-adobe-fireworks/">http://www.building43.com/videos/2009/06/23/mockup-iphone-app-adobe-fireworks/</a></li>
<li>Although not there yet, you can try <a href="http://iphonemockup.lkmc.ch/">http://iphonemockup.lkmc.ch/</a></li>
<li>Use the stencil kit from Yahoo! which is available in a variety of formats - <a href="http://developer.yahoo.com/ypatterns/wireframes/">http://developer.yahoo.com/ypatterns/wireframes/</a></li>
</ol>
<p>Some bonus stuff</p>
<ul>
<li>For some great tips on designing iPhone apps, you can read <a href="http://www.mobileorchard.com/7-iphone-ui-user-interface-design-resources/">http://www.mobileorchard.com/7-iphone-ui-user-interface-design-resources/</a></li>
<li>A PSD for creating iPhone line icons <a href="http://www.keepthewebweird.com/iphone-icon-psd-template/">http://www.keepthewebweird.com/iphone-icon-psd-template/</a></li>
<li>Icons for tabbar and toolbar <a href="http://www.glyphish.com/">http://www.glyphish.com/</a> and <a href="http://eddit.com/shop/iphone_ui_icon_set/">http://eddit.com/shop/iphone_ui_icon_set/</a></li>
</ul>
<p>Lazy as I am, I decided to write details about each iPhone UI design tool later, so till then please use the list above and explore them.</p>
<p>If I missed your favorite tool, please let me know in comments and I will gladly add it here.</p>
<img src="http://feeds.feedburner.com/~r/techjini/~4/1BO9zREr6qk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techjini.com/blog/2009/07/09/tools-for-iphone-ui-user-interface-design-mockups-wireframes-or-just-a-sketch/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.techjini.com/blog/2009/07/09/tools-for-iphone-ui-user-interface-design-mockups-wireframes-or-just-a-sketch/</feedburner:origLink></item>
		<item>
		<title>Aw’ Shugs Free version now available</title>
		<link>http://feedproxy.google.com/~r/techjini/~3/ZL3_eFKU5EI/</link>
		<comments>http://www.techjini.com/blog/2009/07/01/aw-shugs-free-version-now-available/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 04:43:20 +0000</pubDate>
		<dc:creator>Shyamal</dc:creator>
		
		<category><![CDATA[Aw' Shugs]]></category>

		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.techjini.com/blog/2009/07/01/aw-shugs-free-version-now-available/</guid>
		<description><![CDATA[After 10 days in review, Aw&#8217; Shugs Free is now available on the iPhone App Store. The update to the paid version is still under review.
The only difference between the free and paid versions is that the paid version allows users to catch shugs anywhere and not just limited to a range around their current [...]]]></description>
			<content:encoded><![CDATA[<p>After 10 days in review, Aw&#8217; Shugs Free is now available on the iPhone App Store. The update to the paid version is still under review.</p>
<p>The only difference between the free and paid versions is that the paid version allows users to catch shugs anywhere and not just limited to a range around their current location.</p>
<p>Enjoy!!</p>
<p><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=320621141&amp;mt=8" title="Available on the iPhone App Store"><img src="http://awshugs.techjini.com/image/available_app_store.jpg" title="Available on the app store" alt="Available on the app store" vspace="20" width="186" height="63" /></a></p>
<img src="http://feeds.feedburner.com/~r/techjini/~4/ZL3_eFKU5EI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techjini.com/blog/2009/07/01/aw-shugs-free-version-now-available/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.techjini.com/blog/2009/07/01/aw-shugs-free-version-now-available/</feedburner:origLink></item>
		<item>
		<title>Aw’ Shugs Japanese version now available</title>
		<link>http://feedproxy.google.com/~r/techjini/~3/5ze6ZyOWsMs/</link>
		<comments>http://www.techjini.com/blog/2009/05/20/aw-shugs-japanese-version-now-available/#comments</comments>
		<pubDate>Wed, 20 May 2009 05:24:28 +0000</pubDate>
		<dc:creator>Shyamal</dc:creator>
		
		<category><![CDATA[Aw' Shugs]]></category>

		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.techjini.com/blog/2009/05/20/aw-shugs-japanese-version-now-available/</guid>
		<description><![CDATA[We just released the 1.1 update for Aw&#8217; Shugs with complete Japanese support in the application. Here&#8217;s what it looks like.

You can get your copy here from the Apple App Store.
]]></description>
			<content:encoded><![CDATA[<p>We just released the 1.1 update for Aw&#8217; Shugs with complete Japanese support in the application. Here&#8217;s what it looks like.</p>
<p><img src="http://www.techjini.com/blog/wp-content/uploads/2009/05/img_0018.PNG" alt="Aw’ Shugs Japanese Screenshot" /></p>
<p>You can get your copy <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=314242614&amp;mt=8&amp;s=143441">here from the Apple App Store</a>.</p>
<img src="http://feeds.feedburner.com/~r/techjini/~4/5ze6ZyOWsMs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techjini.com/blog/2009/05/20/aw-shugs-japanese-version-now-available/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.techjini.com/blog/2009/05/20/aw-shugs-japanese-version-now-available/</feedburner:origLink></item>
		<item>
		<title>Aw’ Shugs comic now available on slideshare</title>
		<link>http://feedproxy.google.com/~r/techjini/~3/jYo7ocqck0Y/</link>
		<comments>http://www.techjini.com/blog/2009/05/07/aw-shugs-comic-now-available-on-slideshare/#comments</comments>
		<pubDate>Thu, 07 May 2009 08:22:02 +0000</pubDate>
		<dc:creator>Shyamal</dc:creator>
		
		<category><![CDATA[Aw' Shugs]]></category>

		<category><![CDATA[iPhone]]></category>

		<category><![CDATA[fun]]></category>

		<guid isPermaLink="false">http://www.techjini.com/blog/2009/05/07/aw-shugs-comic-now-available-on-slideshare/</guid>
		<description><![CDATA[Comic strip for Aw&#39; Shugs - the iPhone application



View more presentations from techjini.

]]></description>
			<content:encoded><![CDATA[<div style="width:425px;text-align:left" id="__ss_1398483"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/techjini/comic-strip-for-aw-shugs-the-iphone-application-1398483?type=presentation" title="Comic strip for Aw&#39; Shugs - the iPhone application">Comic strip for Aw&#39; Shugs - the iPhone application</a><object style="margin:0px" width="425" height="355">
<param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=comicstrip-090507025321-phpapp01&#038;rel=0&#038;stripped_title=comic-strip-for-aw-shugs-the-iphone-application-1398483" />
<param name="allowFullScreen" value="true"/>
<param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=comicstrip-090507025321-phpapp01&#038;rel=0&#038;stripped_title=comic-strip-for-aw-shugs-the-iphone-application-1398483" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">presentations</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/techjini">techjini</a>.</div>
</div>
<img src="http://feeds.feedburner.com/~r/techjini/~4/jYo7ocqck0Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techjini.com/blog/2009/05/07/aw-shugs-comic-now-available-on-slideshare/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.techjini.com/blog/2009/05/07/aw-shugs-comic-now-available-on-slideshare/</feedburner:origLink></item>
		<item>
		<title>Democratic Company - everyone tells how their preformance should be evaluated.</title>
		<link>http://feedproxy.google.com/~r/techjini/~3/qcOHl4MBLW8/</link>
		<comments>http://www.techjini.com/blog/2009/01/23/democratic-company-everyone-tells-how-their-preformance-should-be-evaluated/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 06:48:20 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
		
		<category><![CDATA[human factor]]></category>

		<category><![CDATA[India]]></category>

		<category><![CDATA[Productivity]]></category>

		<category><![CDATA[General]]></category>

		<category><![CDATA[Startup]]></category>

		<guid isPermaLink="false">http://www.techjini.com/blog/2009/01/23/democratic-company-everyone-tells-how-their-preformance-should-be-evaluated/</guid>
		<description><![CDATA[We have these open sessions regularly in our company where everyone talks about why they chose TechJini, what they like here, what should be changed, we share company&#8217;s vision, goals and make everyone understand how they are part of it.
Today&#8217;s session was to decide &#8216;appraisal policy&#8217; i.e. on what criteria company should judge performance. Following [...]]]></description>
			<content:encoded><![CDATA[<p>We have these open sessions regularly in our company where everyone talks about why they chose TechJini, what they like here, what should be changed, we share company&#8217;s vision, goals and make everyone understand how they are part of it.<br />
Today&#8217;s session was to decide &#8216;appraisal policy&#8217; i.e. on what criteria company should judge performance. Following are the inputs and will form the basis of our policy.</p>
<ol>
<li><strong>Initiative / pro-activeness</strong> - Do I wait for work to be assigned to me? Even after seeing/knowing about a bug do I wait for someone to raise it?</li>
<li><strong>Following deadlines</strong> Following deadlines in itself is not a sign of &#8216;good performance&#8217; that&#8217;s what we are &#8217;supposed&#8217; to do anyways but its considered as good performance if you are given something completely new and you &#8216;learn and deliver&#8217; or you have a completely untrained team or in any other special scenario.</li>
<li><strong>Commitment / ownership</strong> - Accepting the bottom line of any work you do. One of the examples given was if I go on a leave I will ensure that none of my project/customers/work is affected, I will do the needful (without someone telling me) to transfer knowledge and if some urgency happens I will be taking out time from my vacation to help the new/replacement team.</li>
<li><strong>Doing more than what was assigned</strong> - Have I worked on projects/tasks which were not part of my regular work? Do I also participate in other activities which do not fall in my job description?</li>
<li><strong>Customer Oriented</strong> - Do I always think of what is best for the customer? Do I keep in mind which feature, technology, code will help improve performance and will benefit customer in long run? Do I always point out issues before customer does? Do I get nervous and excited with the customer?</li>
<li><strong>Domain Understanding</strong> - At the end of the project do I completely understand the domain?</li>
<li><strong>Knowledge sharing</strong> - Am I contributing to company&#8217;s body of knowledge? Am I taking sessions or writing articles to share my learning? Am I being approached by team members to solve issues?</li>
<li><strong>Acquiring knowledge</strong> - Am I learning only enough to finish the task or at the end of project I am capable of becoming a tech lead for similar technologies?</li>
<li><strong>Homework / spoon-feeding</strong> - Am I always finishing my homework before asking for help? Do I ask questions the smart way? Do I need spoon-feeding?</li>
<li>Then there are other good to have skills like general behavior with others, influencing/persuading skills, communication</li>
</ol>
<p>We also had very interesting discussion on what we think is &#8216;hard work&#8217;.</p>
<img src="http://feeds.feedburner.com/~r/techjini/~4/qcOHl4MBLW8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techjini.com/blog/2009/01/23/democratic-company-everyone-tells-how-their-preformance-should-be-evaluated/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.techjini.com/blog/2009/01/23/democratic-company-everyone-tells-how-their-preformance-should-be-evaluated/</feedburner:origLink></item>
		<item>
		<title>What we like and dislike about TechJini - Joys and pains of working with TechJini (a start up or small company)</title>
		<link>http://feedproxy.google.com/~r/techjini/~3/JTLS2vEM0H8/</link>
		<comments>http://www.techjini.com/blog/2009/01/20/what-we-like-and-dislike-about-techjini-joys-and-pains-of-working-with-techjini-a-start-up-or-small-company/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 04:33:54 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
		
		<category><![CDATA[human factor]]></category>

		<category><![CDATA[fun]]></category>

		<category><![CDATA[General]]></category>

		<category><![CDATA[Startup]]></category>

		<guid isPermaLink="false">http://www.techjini.com/blog/2009/01/20/what-we-like-and-dislike-about-techjini-joys-and-pains-of-working-with-techjini-a-start-up-or-small-company/</guid>
		<description><![CDATA[Right from the heart, this is what we &#8216;jinies&#8217; (I just invented that term  ) have to say about life at TechJini.
So here is what we like and what we would like to change:

Exposure - We get exposed to different kind of work, something we will get to do in 2 years in a [...]]]></description>
			<content:encoded><![CDATA[<p>Right from the heart, this is what we &#8216;jinies&#8217; (I just invented that term <img src='http://www.techjini.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ) have to say about life at TechJini.<br />
So here is what we like and what we would like to change:</p>
<ol>
<li><strong>Exposure</strong> - We get exposed to different kind of work, something we will get to do in 2 years in a big organization we get to do it in first few months only. - Nuwas</li>
<li><strong>Good Learning</strong> - With so many new projects and all with different technology there are new challenges and lot to learn almost every day. - Akshi</li>
<li><strong>More responsibility</strong> - Our work is not limited to what is assigned and just coding or testing or designing. We do almost everything and very early in our career. - Everyone</li>
<li><strong>Different technologies</strong> - Exposure to different technologies and very easy to shift/learn. We get all the help but are also encouraged and showed how to do quick self learning. This acts as a big confidence boost. - Vipindas</li>
<li><strong>Flexible timings</strong> - Flexible working hours in true sense. No enforcement of mandatory working hours, can work from home, if I work on holiday I am given a compensatory off or cash - Everyone</li>
<li><strong>Friendly environment -</strong> Very very friendly environment, there are no bosses (absolutely no hierarchy), feels like a small family, even policies are made after open discussions - Everyone</li>
<li><strong>Technical Challenges</strong> - We get to face more technical challenges which is making us better programmers. - Everyone</li>
<li><strong>Neelima</strong> - Very friendly and helpful person, someone we will not have anywhere else - Sapna</li>
<li><strong>No bureaucracy or politics</strong> - Cant be more democratic and fair then in TechJini - Everyone</li>
<li><strong>Open to do whatever I want</strong> - I get enough opportunity, time and space to do whatever I want other than my regular work. I was able to finish a certification (which company is happy to pay for) and I can interact with everyone in the company - Arun</li>
<li><strong>No bench</strong> - We have never seen anyone without work. There is absolutely no bench and so many product ideas to work on.</li>
<li><strong>My product</strong> - Only place where I am encouraged and given full opportunity to work on my own idea and the best part is I don&#8217;t have to work alone, everyone in the company will work on my idea.</li>
<li><strong>Formal corporate culture</strong> - Culture here is too relaxed, we are serious in what we do but we do not get to see a very formal corporate culture which also has lot to teach.</li>
<li><strong>Brand Name</strong> - All the benefits of working for a big brand name.</li>
<li><strong>Company conveyance</strong> - hmm&#8230;. <img src='http://www.techjini.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li><strong>6 days a week</strong> - Sometimes it pinches that our friends are having fun but we work on Saturdays too. Even though we do not do regular work (extra learning or activities) but still.</li>
<li><strong>Good Office building</strong> - We need to move to an attractive address soon, guys are finding it difficult to call prospective in-laws <img src='http://www.techjini.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
<li><strong>Website</strong> - NEED to change website.</li>
</ol>
<p>Update:<br />
- Website changed <img src='http://www.techjini.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
<img src="http://feeds.feedburner.com/~r/techjini/~4/JTLS2vEM0H8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techjini.com/blog/2009/01/20/what-we-like-and-dislike-about-techjini-joys-and-pains-of-working-with-techjini-a-start-up-or-small-company/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.techjini.com/blog/2009/01/20/what-we-like-and-dislike-about-techjini-joys-and-pains-of-working-with-techjini-a-start-up-or-small-company/</feedburner:origLink></item>
		<item>
		<title>Android tip #1 ContentProvider , Accessing local file system from WebView / showing image in webview using content://</title>
		<link>http://feedproxy.google.com/~r/techjini/~3/8o2NCD3WM4c/</link>
		<comments>http://www.techjini.com/blog/2009/01/10/android-tip-1-contentprovider-accessing-local-file-system-from-webview-showing-image-in-webview-using-content/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 08:08:54 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
		
		<category><![CDATA[android]]></category>

		<category><![CDATA[java]]></category>

		<category><![CDATA[software]]></category>

		<category><![CDATA[General]]></category>

		<category><![CDATA[Tech Tips]]></category>

		<guid isPermaLink="false">http://www.techjini.com/blog/2009/01/10/android-tip-1-contentprovider-accessing-local-file-system-from-webview-showing-image-in-webview-using-content/</guid>
		<description><![CDATA[ok, this was a tough one.
First be informed that this is something Google (Android people) are trying to prevent i.e. letting browser (WebView) have access to the local file system. In earlier releases of SDK you could access local files using &#8216;file://&#8217; but it is stopped now. Then there was an option where you can [...]]]></description>
			<content:encoded><![CDATA[<p>ok, this was a tough one.<br />
First be informed that this is something Google (Android people) are trying to prevent i.e. letting browser (WebView) have access to the local file system. In earlier releases of SDK you could access local files using &#8216;file://&#8217; but it is stopped now. Then there was an option where you can provide a WebViewClient and implement shouldOverrideUrlLoading to make it work. This was also removed.<br />
The way to make it work now is by implementing your own ContentProvider, there is lot of discussion and documentation on implementing ContentProvider but all that is completely redundant (not needed). The solution is very simple, create your own ContentProvider and only override </p>
<pre name="code" class="java">

public android.os.ParcelFileDescriptor openFile(android.net.Uri uri, java.lang.String mode) throws java.io.FileNotFoundException
</pre>
<p>Rest of the code in ContentProvder is not needed for this problem.</p>
<p>Step 1:<br />
Declare your Content Provider in <em>AndroidManifest.xml</em></p>
<pre name="code" class="xml">

&lt;provider android:name=&quot;MyDataContentProvider&quot;  android:authorities=&quot;com.techjini&quot; /&gt;
</pre>
<p>Step 2:<br />
Create your ContentProvider and implement <em>openFile </em><br />
All you have to do is get real path from uri, open it and return the descriptor</p>
<pre name="code" class="java">

URI uri = URI.create(&quot;file:///data/data/com.techjini/files/myImage.jpeg&quot;);
File file = new File(uri);
ParcelFileDescriptor parcel = ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_ONLY);
return parcel;
</pre>
<p>Step 3:<br />
(You need this step only if file is not already present on the device/sdcard)<br />
Save your content to the file. Following is an example to store a Bitmap</p>
<pre name="code" class="java">

FileOutputStream fos = openFileOutput(&quot;myImage.jpeg&quot;, Activity.MODE_WORLD_WRITEABLE);
imageView.getBitmap().compress(Bitmap.CompressFormat.JPEG, 100, fos);

fos.flush();
fos.close();
</pre>
<p>You can find out where your image is stored using </p>
<pre name="code" class="java">

System.out.println(getFilesDir().getAbsolutePath());
</pre>
<p>Step 4:<br />
Access the file in WebView</p>
<pre name="code" class="java">

myWebView.loadUrl(&quot;content://com.techjini/myImage.jpeg&quot;);
//com.techjini is what you mentioned in &#039;android:authorities&#039; in your AndroidManifest.xml
</pre>
<p>Looks simple <img src='http://www.techjini.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
<img src="http://feeds.feedburner.com/~r/techjini/~4/8o2NCD3WM4c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techjini.com/blog/2009/01/10/android-tip-1-contentprovider-accessing-local-file-system-from-webview-showing-image-in-webview-using-content/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.techjini.com/blog/2009/01/10/android-tip-1-contentprovider-accessing-local-file-system-from-webview-showing-image-in-webview-using-content/</feedburner:origLink></item>
		<item>
		<title>MySql tip #2 Taking backup ensuring multi byte characters does not become garbage</title>
		<link>http://feedproxy.google.com/~r/techjini/~3/x_feOEZkEBM/</link>
		<comments>http://www.techjini.com/blog/2008/12/29/mysql-tip-2-taking-backup-ensuring-multi-byte-characters-does-not-become-garbage/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 11:15:13 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
		
		<category><![CDATA[mysql]]></category>

		<category><![CDATA[software]]></category>

		<category><![CDATA[Tech Tips]]></category>

		<guid isPermaLink="false">http://www.techjini.com/blog/2008/12/29/mysql-tip-2-taking-backup-ensuring-multi-byte-characters-does-not-become-garbage/</guid>
		<description><![CDATA[If you have multi byte data in your tables its important to take backup in utf8 which can be done using the command below:

mysqldump -u root --default-character-set=utf8 DB_NAME &#124; gzip > DB_NAME-`date +%Y%m%d%H%M`.sql.gz

The date parameter simply appends date/time to the backup.
In order to restore the backup taken above use following command

gunzip < FILE_NAME.sql.gz &#124; mysql [...]]]></description>
			<content:encoded><![CDATA[<p>If you have multi byte data in your tables its important to take backup in utf8 which can be done using the command below:<br />
<code><br />
mysqldump -u root --default-character-set=utf8 DB_NAME | gzip > DB_NAME-`date +%Y%m%d%H%M`.sql.gz<br />
</code></p>
<p>The date parameter simply appends date/time to the backup.</p>
<p>In order to restore the backup taken above use following command<br />
<code><br />
gunzip < FILE_NAME.sql.gz | mysql --default-character-set=utf8 -u root DB_NAME<br />
</code></p>
<p>This will ensure that db is back up without affecting multi byte data.</p>
<img src="http://feeds.feedburner.com/~r/techjini/~4/x_feOEZkEBM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techjini.com/blog/2008/12/29/mysql-tip-2-taking-backup-ensuring-multi-byte-characters-does-not-become-garbage/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.techjini.com/blog/2008/12/29/mysql-tip-2-taking-backup-ensuring-multi-byte-characters-does-not-become-garbage/</feedburner:origLink></item>
		<item>
		<title>JBoss tip #5 Keeping the project in exploded  .war file in some other location other than deploy folder</title>
		<link>http://feedproxy.google.com/~r/techjini/~3/8CXB_LwlU-s/</link>
		<comments>http://www.techjini.com/blog/2008/12/25/jboss-tip-5-keeping-the-project-in-exploded-war-file-in-some-other-location-other-than-deploy-folder/#comments</comments>
		<pubDate>Thu, 25 Dec 2008 07:43:09 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
		
		<category><![CDATA[jboss]]></category>

		<category><![CDATA[java]]></category>

		<category><![CDATA[software]]></category>

		<category><![CDATA[General]]></category>

		<category><![CDATA[Tech Tips]]></category>

		<guid isPermaLink="false">http://www.techjini.com/blog/2008/12/25/jboss-tip-5-keeping-the-project-in-exploded-war-file-in-some-other-location-other-than-deploy-folder/</guid>
		<description><![CDATA[This is how you can increase your productivity while developing an app on Jboss, no need to package and deploy again and again, reduced development and testing time.
Open %JBOS_HOME%\server\default\conf\jboss-service.xml and add the new location


    &#60;attribute name=&#34;URLs&#34;&#62;
        deploy/, E:/ file:/var/opt/apps/
     &#60;/attribute&#62;

]]></description>
			<content:encoded><![CDATA[<p>This is how you can increase your productivity while developing an app on Jboss, no need to package and deploy again and again, reduced development and testing time.</p>
<p>Open <em>%JBOS_HOME%\server\default\conf\jboss-service.xml<em> and add the new location</p>
<pre name="code" class="xml">

    &lt;attribute name=&quot;URLs&quot;&gt;
        deploy/, E:/ file:/var/opt/apps/
     &lt;/attribute&gt;
</pre>
<img src="http://feeds.feedburner.com/~r/techjini/~4/8CXB_LwlU-s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techjini.com/blog/2008/12/25/jboss-tip-5-keeping-the-project-in-exploded-war-file-in-some-other-location-other-than-deploy-folder/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.techjini.com/blog/2008/12/25/jboss-tip-5-keeping-the-project-in-exploded-war-file-in-some-other-location-other-than-deploy-folder/</feedburner:origLink></item>
		<item>
		<title>JBoss tip #4 Increasing the jta time out from default 5 mins to more</title>
		<link>http://feedproxy.google.com/~r/techjini/~3/k7FBYImdcqU/</link>
		<comments>http://www.techjini.com/blog/2008/12/24/jboss-tip-4-increasing-the-jta-time-out-from-default-5-mins-to-more/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 06:07:42 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
		
		<category><![CDATA[jboss]]></category>

		<category><![CDATA[java]]></category>

		<category><![CDATA[software]]></category>

		<category><![CDATA[General]]></category>

		<category><![CDATA[Tech Tips]]></category>

		<guid isPermaLink="false">http://www.techjini.com/blog/2008/12/24/jboss-tip-4-increasing-the-jta-time-out-from-default-5-mins-to-more/</guid>
		<description><![CDATA[Open %JBOSS-HOME%\server\default\conf\jboss-service.xml
[sourcecode language=&#8217;xml&#8217;]
   
  
     3600
     ${jboss.server.data.dir}/tx-object-store
  
[/sourcecode language=&#8217;css&#8217;]
[sourcecode language=&#8217;xml&#8217;]
3600
[/sourcecode language=&#8217;css&#8217;] by default it would be 300,  here we changed it to 3600 which is 1 hr.
]]></description>
			<content:encoded><![CDATA[<p>Open <em>%JBOSS-HOME%\server\default\conf\jboss-service.xml</em><br />
[sourcecode language=&#8217;xml&#8217;]<br />
   <!-- JBoss Transactions JTA --><br />
  <mbean code="com.arjuna.ats.jbossatx.jta.TransactionManagerService"<br />
     name="jboss:service=TransactionManager"><br />
     <attribute name="TransactionTimeout">3600</attribute><br />
     <attribute name="ObjectStoreDir">${jboss.server.data.dir}/tx-object-store</attribute><br />
  </mbean><br />
[/sourcecode language=&#8217;css&#8217;]<br />
[sourcecode language=&#8217;xml&#8217;]<br />
<attribute name="TransactionTimeout">3600</attribute><br />
[/sourcecode language=&#8217;css&#8217;] by default it would be 300,  here we changed it to 3600 which is 1 hr.</p>
<img src="http://feeds.feedburner.com/~r/techjini/~4/k7FBYImdcqU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.techjini.com/blog/2008/12/24/jboss-tip-4-increasing-the-jta-time-out-from-default-5-mins-to-more/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.techjini.com/blog/2008/12/24/jboss-tip-4-increasing-the-jta-time-out-from-default-5-mins-to-more/</feedburner:origLink></item>
	</channel>
</rss>
