tag:blogger.com,1999:blog-91110112147761530362024-03-13T07:31:55.142+05:30Tech CollectionsCollection of tips, tricks, how to about computers, electronics and my personal experience.Unknownnoreply@blogger.comBlogger68125tag:blogger.com,1999:blog-9111011214776153036.post-86257847752091657122015-08-04T22:21:00.001+05:302015-08-04T22:21:36.909+05:30Canon MP280 - Scanning at resolution 1200 dpi<div dir="ltr" style="text-align: left;" trbidi="on">
Recently, while trying to scan some of my coins using <a href="http://www.canon.co.in/personal/products/inkjet-printers/inkjet-multi-function/pixma-mp287?languageCode=EN" target="_blank">Canon MP287</a>, I noticed that all the windows applications like Scan app, Windows fax and scan and even in import option of Adobe photoshop, there is no option to select a scan resolution higher than 600 dpi.<br />
Though 600 dpi is good enough to scan photos, for some of my coins which measured few millimeters, this is not enough.<br />
From the specification of MP287, it is clear that it supports 1200 x 2400 dpi. So, I should be able to scan at 1200 dpi. After searching a lot, I found the answer.<br />
The 1200 dpi option will be available only from the scan dialog of the driver - ScanGear.<br />
For this<br />
<ul style="text-align: left;">
<li>update the drivers to latest version from the Canon support page.</li>
<li>download and install Canon MP Navigator EX(appropriate to windows version) from support page</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyc64gs4QgRUMOtn7b7CNLpCWhcaP47yh2W6Pmhe0Kpl0OgRAYRXN9L1wTgg5fQ9k91thJ8odVlCSw_5d8RO2EsSk_x-R7Tvfuidj_qSjBDKMjnx9k21PK-KiYbCHQXKp6JuTm1QyUVeU/s1600/Canon+MP+Navigator+EX+-+MP280+series.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="273" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyc64gs4QgRUMOtn7b7CNLpCWhcaP47yh2W6Pmhe0Kpl0OgRAYRXN9L1wTgg5fQ9k91thJ8odVlCSw_5d8RO2EsSk_x-R7Tvfuidj_qSjBDKMjnx9k21PK-KiYbCHQXKp6JuTm1QyUVeU/s320/Canon+MP+Navigator+EX+-+MP280+series.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxZFn2BjCxuPmWL-YPLJitbSIp5MvkmAySX9mMP1KIiGVUnWCf1_9RZaeC-xIhuF2FhsTMafNEzxYXpfcaWlODcQqTfpm89pnO4HjokZWjbzIAVW8YgK6JD0MaM_putbmtEe-OcMy5x6Q/s1600/Use+the+scanner+driver.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="241" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxZFn2BjCxuPmWL-YPLJitbSIp5MvkmAySX9mMP1KIiGVUnWCf1_9RZaeC-xIhuF2FhsTMafNEzxYXpfcaWlODcQqTfpm89pnO4HjokZWjbzIAVW8YgK6JD0MaM_putbmtEe-OcMy5x6Q/s320/Use+the+scanner+driver.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDkhUhpHGuxJYxtTONWEEU_tMoPs08aSkTEeSgMu_29s3saV5i2pWFZfCNQrnxG86LswA58yg3rbafRrjz-rqUy4FFXgPqGHXGBlit44v62kJWD7_I1fdVJZJy3JArhNzPbRKtXq41rds/s1600/ScanGear.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="192" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDkhUhpHGuxJYxtTONWEEU_tMoPs08aSkTEeSgMu_29s3saV5i2pWFZfCNQrnxG86LswA58yg3rbafRrjz-rqUy4FFXgPqGHXGBlit44v62kJWD7_I1fdVJZJy3JArhNzPbRKtXq41rds/s320/ScanGear.png" width="320" /></a></div>
<br /></div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9111011214776153036.post-19395170958138291252015-04-07T22:08:00.000+05:302015-04-07T22:08:56.755+05:30CUSAT exam result checker python script<div dir="ltr" style="text-align: left;" trbidi="on">
So, do you want to summarize your results for planning or just want to know the details about someone else? Or want to find an easy way to document the results instead of reading/copy the mark list to make a summary? <br />
Many times it is very time consuming task to go through each and every results. It becomes even difficult when we are checking the results of our friends or relatives and dose not know the exam dates or the semester.<br />
I had to check results of my brother who is finishing his Engineering course from <a href="http://www.cusat.ac.in/" target="_blank">Cochin University</a>(CUSAT) and all I had was his register number and not much information about when the exam was. So I made these python scripts.<br />
There are two parts in this script. First one will read all results from <a href="http://www.cusat.ac.in/" target="_blank">CUSAT</a> <a href="http://results.cusat.ac.in/regforms/exam.php" target="_blank">exam results page</a> and form a dictionary with all the available results including the previous attempts and creates a pickle dump of the same. The next script will then read the pickle and generate a report.<br />
In this script <a href="http://www.crummy.com/software/BeautifulSoup/" target="_blank">beautifulsoup4</a> library is used on <a href="https://www.python.org/" target="_blank">Python</a> 3+. Hence, it is necessary to install it first and then run.<br />
Note: Before use, open the results page, and check whether internet connection is available and the results portal is not down.<br />
You may download the scripts from here.<br />
<br />
Below you may find snapshot of tool output for a random registration id.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl8kaqhN2Nh2yyZ506PG_8WA1PmMxLi9FBITDTznbf7XpYn9fOFn1YcocLMb4BSAgne-p-2mpJGZy2n4fz3Sa9B9940Su0IO0XorzGpifdOmqL7iGI6QtA_t65usQm_xFnDl_d5-Cl7dk/s1600/results-python-dictionary-pprint.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl8kaqhN2Nh2yyZ506PG_8WA1PmMxLi9FBITDTznbf7XpYn9fOFn1YcocLMb4BSAgne-p-2mpJGZy2n4fz3Sa9B9940Su0IO0XorzGpifdOmqL7iGI6QtA_t65usQm_xFnDl_d5-Cl7dk/s1600/results-python-dictionary-pprint.png" style="height: auto; width: 100%;" /></a></div>
<br />
<pre>-------------------------------------------------------------------------
| Sem | Subject | Marks | Results |
|------|----------------------------------------------|-------|---------|
| I&II | A101 ENGINEERING MATHEMATICS-I | 87 | Passed |
| I&II | A102 ENGINEERING PHYSICS | 82 | Passed |
| I&II | A103 ENGINEERING CHEMISTRY | 79 | Passed |
| I&II | A104 ENGINEERING MECHANICS | 77 | Passed |
| I&II | A105 ENGINEERING GRAPHICS | 79 | Passed |
| I&II | A106 BASIC CIVIL & MECHANICAL | 84 | Passed |
| I&II | A107 BASIC ELEC. ENGG. AND ELE | 76 | Passed |
| I&II | A108 COMPUTER PROGRAMMING | 90 | Passed |
| I&II | A109 TECHNICAL COMMUNICATION | 88 | Passed |
| I&II | A180 COMPUTER PROGRAMMING LAB | 86 | Passed |
| I&II | A190 ELE. & MECHA. WORKSHOPS | 80 | Passed |
| III | B101 ENGGN MATHEMATICS II | 83 | Passed |
| III | B102 ELECTRICAL TECHNOLOGY | 75 | Passed |
| III | B103 NETWORK THEORY | 62 | Failed |
| III | B104 DIGITAL ELECTRONICS | 79 | Passed |
| III | B105 SOLID STATE ELECTRONICS | 65 | Failed |
| III | B106 ELECTRONIC CIRCUITS - I | 65 | Failed |
| III | B180 BASIC ELECTRONICS - LAB | 51 | Passed |
| III | B190 ELECTRICAL MACHINES LAB | 70 | Passed |
| IV | C101 ENGINERING MATHEMATICS-II | 60 | Failed |
| IV | C102 MICROPROCESSORS | 75 | Passed |
| IV | C103 ELECTRONICS CIRCUITS II | 67 | Failed |
| IV | C104 SIGNALS AND SYSTEMS | 62 | Failed |
| IV | C105 ANALOG COMMUNICATION | 64 | Failed |
| IV | C106 INDUSTRIAL AND POWER ELEC | 52 | Failed |
| IV | C180 DIGITAL ELECTRONICS LABOR | 50 | Passed |
| IV | C190 ELECTRONIC CIRCUITS LAB - | 53 | Passed |
| V | D101 ENGINEERING MATHEMATICS I | 97 | Passed |
| V | D102 ELECTROMAGNETIC THEORY | 63 | Failed |
| V | D103 DIGITAL SYSTEM DESIGN | 77 | Passed |
| V | D104 ADVANCED MICROPROCESSORS | 79 | Passed |
| V | D105 MICRO ELECTRONICS & INTEG | 56 | Failed |
| V | D106 DIGITAL SIGNAL PROCESSING | 76 | Passed |
| V | D180 MICROPROCESSOR LABORATORY | 60 | Passed |
| V | D190 ELECTRONIC CIRCUITS LABO | 71 | Passed |
| VI | E101 DIGITAL COMMUNICATION | 55 | Failed |
| VI | E102 MICROWAVE TECHNIQUES & DE | 62 | Failed |
| VI | E103 VLSI DESIGN | 62 | Failed |
| VI | E104 ELECTRONIC MEASUREMENTS | 86 | Passed |
| VI | E105 CONTROL SYSTEMS ENGINEERI | 77 | Passed |
| VI | E106 EMBEDDED SYSTEMS | 78 | Passed |
| VI | E180 COMMUNICATION LABORATORY | 64 | Passed |
| VI | E190 MINI PROJECT | 95 | Passed |
| VII | F101 INDUSTRIAL ORGANIZATION& MANAGEMENT | 87 | Passed |
| VII | F102 RADIO COMMUNICATION | 77 | Passed |
| VII | F103 COMPUTER COMMUNICATIONAND NETWORKS | 80 | Passed |
| VII | F104 ELECTRONIC PRODUCT DESIGN | 82 | Passed |
| VII | F106 SIGNAL PROCESSING LABORATORY | 71 | Passed |
| VII | F107 COMMUNICATION LABORATORY II | 88 | Passed |
| VII | F108 SEMINAR | 37 | Passed |
| VII | F109 PROJECT DESIGN | 46 | Passed |
| VII | F150 INTELLIGENT SYSTEMS | 83 | Passed |
| VIII | G101 AUDIO AND VIDEO ENGINEERING | 86 | Passed |
| VIII | G102 COMMUNICATION SYSTEMS | 71 | Failed |
| VIII | G103 OPTO ELECTRONICS &COMMUNICATION; | 66 | Failed |
| VIII | G105 PROJECT WORK | 286 | Passed |
| VIII | G106 VIVA - VOCE | 81 | Passed |
| VIII | G140 DIGITAL IMAGE PROCESSING | 85 | Passed |
-------------------------------------------------------------------------
Uncleared Subjects
----------------------------------------------------------
| Sem | Atmpt | Subjects |
|------|--------|----------------------------------------|
| III | 5 | B103 NETWORK THEORY |
| III | 5 | B105 SOLID STATE ELECTRONICS |
| III | 5 | B106 ELECTRONIC CIRCUITS - I |
| IV | 6 | C101 ENGINERING MATHEMATICS-II |
| IV | 6 | C103 ELECTRONICS CIRCUITS II |
| IV | 6 | C104 SIGNALS AND SYSTEMS |
| IV | 6 | C105 ANALOG COMMUNICATION |
| IV | 6 | C106 INDUSTRIAL AND POWER ELEC |
| V | 6 | D102 ELECTROMAGNETIC THEORY |
| V | 6 | D105 MICRO ELECTRONICS & INTEG |
| VI | 6 | E101 DIGITAL COMMUNICATION |
| VI | 6 | E102 MICROWAVE TECHNIQUES & DE |
| VI | 6 | E103 VLSI DESIGN |
| VIII | 4 | G102 COMMUNICATION SYSTEMS |
| VIII | 4 | G103 OPTO ELECTRONICS &COMMUNICATION; |
----------------------------------------------------------
Semister summary
III 3
IV 5
V 2
VI 3
VIII 2
cnt 43
tot 3493
Total arriears: 15
Pass %: 54.578125
</pre>
</div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9111011214776153036.post-50386687891077947012015-03-03T21:04:00.001+05:302015-03-06T22:22:09.734+05:30Running Google Cloud Messaging(GCM) XMPP server using python<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://developer.android.com/google/gcm/index.html" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img alt="Google Cloud Messaging logo" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8kUFLPllSwDnzSVXI-LTyRPAj4G989UvYjtGKaR6g5iEvQcZ3BSe3PK2mpb9Nii4CgVN164XIk-xtYPC3KYMw_rB-aBWvzC8iC-5HKF7PCnaEtQXu8E2X0q7gDYGVMEszYXzqAFvMOrE/s1600/gcm-logo.png" height="183" width="320" /></a></div>
Have you tried Running <a href="https://developer.android.com/google/gcm/index.html" target="_blank">Google Cloud Messaging</a>(GCM) <a href="https://en.wikipedia.org/wiki/XMPP" target="_blank">XMPP</a> <a href="https://developer.android.com/google/gcm/ccs.html" target="_blank">Cloud Connection Server (CCS)</a> using <a href="https://www.python.org/" target="_blank">Python</a> and disappointed?<br />
Some days before, I was reading about some project about using pushover service and pebble along with <a href="http://www.raspberrypi.org/" target="_blank">Raspberry Pi</a> to notify on a doorbell project. Idea of push notifications impressed me and I decided to try it out. However, the famous <a href="https://pushover.net/" target="_blank">pushover</a> service used for this purpose was not a free.<br />
While searching for alternate services to send push notifications, I stumbled upon the android developers guide about GCM. So, I thought of using it on my raspberry Pi based hobby projects.<br />
After finishing the android application, I started with server side and chose the XMPP since the upstream messages can be used for sending commands to Pi from android application. However, the Python sample code failed to run due to missing xmpp module. I thought the module must be a part of google's python sdk for cloud. However, the xmpp module from sdk did not even had client class used in the sample.<br />
Then I thought of trying other libraries. <a href="https://github.com/fritzy/SleekXMPP" target="_blank">sleekxmpp</a> did not work too and later the <a href="https://github.com/normanr/xmpppy" target="_blank">xmpppy</a> module give me successful result. So, the point is google is using the xmpppy for xmpp in the sample but it is not documented. Maybe it is known to may programmers with good experience progroamming in Python and these kind of libraries. I am writing it here so that if anyone else who is searching could benifit.<br />
So, go ahead install <a href="https://github.com/normanr/xmpppy" target="_blank">xmpppy</a> module and successfully run the python gcm xmpp server.<br />
<br /></div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9111011214776153036.post-64862750025131689002015-02-24T22:15:00.000+05:302015-02-25T21:08:44.881+05:30Transferring files between Windows and Raspberry Pi<div dir="ltr" style="text-align: left;" trbidi="on">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnyHYFQ-OBA9uM-REXgPmQ2e-Yx3xyipDZH0R6vqjVFG4eMBbOgtq_BomtVKI_2il20NOgFXTJ-Tat2BTwjOwQJ4gLwzKXMsbwF4bdUpyPcZ-UgdlQNZAfXUlyTgc-leOmZN8MQEUCmRQ/s1600/Explorer+like+view.png" style="margin-left: 1em; margin-right: 1em;"><img alt="Explorer view(WinSCP) - Transferring files between Windows 7 PC and Raspberry Pi" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnyHYFQ-OBA9uM-REXgPmQ2e-Yx3xyipDZH0R6vqjVFG4eMBbOgtq_BomtVKI_2il20NOgFXTJ-Tat2BTwjOwQJ4gLwzKXMsbwF4bdUpyPcZ-UgdlQNZAfXUlyTgc-leOmZN8MQEUCmRQ/s1600/Explorer+like+view.png" style="height: auto; width: 100%;" /></a><br />
<br />
Many times it is necessary to transfer files between <a href="http://www.raspberrypi.org/" target="_blank">Raspberry Pi</a> and Windows Desktop. I use my desktop to write code for Pi because of the availability of editors which I am familiar with; also I am running Pi in headless mode(ie. without monitor). So it is necessary to pull files from Pi for editing and later push it back to Pi.<br />
This possible by using either <a href="https://en.wikipedia.org/wiki/File_Transfer_Protocol" target="_blank">ftp</a>, <a href="https://en.wikipedia.org/wiki/SSH_File_Transfer_Protocol" target="_blank">sftp</a> or <a href="https://en.wikipedia.org/wiki/Secure_copy" target="_blank">scp</a>. This tool(<a href="http://winscp.net/eng/index.php" target="_blank">WinSCP</a>) is one of the easiest method which I found available to transfer files between Windows and Raspberry Pi. It also has options to sync files between both sides while we are busy coding and debugging using various editors on both sides.<br />
<h2 style="text-align: left;">
Follow these steps</h2>
<ol style="text-align: left;">
<li>Download and install the WinSCP software from <a href="http://winscp.net/eng/download.php" target="_blank">download page</a>. You may either use the windows installer or the portable version. I prefers portable versions. So if you downloaded the portable version, extract it to a folder.</li>
<li>When it is opened, enter the details</li>
<ol>
<li>File protocol: Most cases the sftp or scp or both will work. If not try ftp. If none are working, it is easy to install <a href="http://linux.die.net/man/8/sshd" target="_blank">sshd</a>(command: <span style="font-family: "Courier New",Courier,monospace;">sudo apt-get install sshd</span>) and use sftp. If you are able to connect using <a href="http://www.putty.org/" target="_blank">putty</a>, then sshd is already installed and sftp option should work.</li>
<li>Host name: You must be knowing this already if you connect using putty/ssh. But if you do not know, please <a href="https://www.google.co.in/search?q=find+ip+raspberry+pi" target="_blank">search in google</a> for articles on same.</li>
<li>Enter username and password of pi login.</li>
<li>Save, if necessary to connect later.</li>
</ol>
<li>Done! now the explorer window should be available. Explore the options. My favorite is Commands->Keep Remote Directory up to Date.</li>
</ol>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzqZ_du9fSPKRGnnzLlC4JVm8L8R6V9rpgG0b6SNMyFAi3uyIMBfrlADTDEfMEWS5TrTS407CgN7SLnp2pXW9JmZk4rw75-XjdlukmoNmG6FIwuAUoC9y5phNX_z-S-BclWZNGwH5FLbM/s1600/Initial+screen.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Initial login window" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzqZ_du9fSPKRGnnzLlC4JVm8L8R6V9rpgG0b6SNMyFAi3uyIMBfrlADTDEfMEWS5TrTS407CgN7SLnp2pXW9JmZk4rw75-XjdlukmoNmG6FIwuAUoC9y5phNX_z-S-BclWZNGwH5FLbM/s1600/Initial+screen.png" height="268" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieLZjWP8925vxTZPVsnndh_QbWMMYLOOLbth9l-8E5nfaRpCbBwpmTGd06Vkz6qiahvnJ3ykVsh38ABwxaKR0443YucPOcKm4sU2-FzClj14GC5uZEHZOx7UEwmKi2liUkjETChDi6BiY/s1600/Sync+folders.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieLZjWP8925vxTZPVsnndh_QbWMMYLOOLbth9l-8E5nfaRpCbBwpmTGd06Vkz6qiahvnJ3ykVsh38ABwxaKR0443YucPOcKm4sU2-FzClj14GC5uZEHZOx7UEwmKi2liUkjETChDi6BiY/s1600/Sync+folders.png" height="286" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMowGi6GTHsx5kXFKuUiZ3zkgV-UvFYK74GOd_lWT5Zcqdu1R8x7Q9mmVJtf8M_QSzf4VVzka0WJW0JBvtAKGv-lAQerSl5IFyj75RnzUYtcwXVO0Wwu7sTMXsDdAbpT7c9KfsGk6mhvo/s1600/Syncing+-+waiting+for+changes.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Keeping remote directory up to date" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMowGi6GTHsx5kXFKuUiZ3zkgV-UvFYK74GOd_lWT5Zcqdu1R8x7Q9mmVJtf8M_QSzf4VVzka0WJW0JBvtAKGv-lAQerSl5IFyj75RnzUYtcwXVO0Wwu7sTMXsDdAbpT7c9KfsGk6mhvo/s1600/Syncing+-+waiting+for+changes.png" height="398" width="400" /></a></div>
<br />
<br /></div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9111011214776153036.post-90665801937583258382015-02-18T21:31:00.000+05:302015-02-18T21:35:22.433+05:30Generating .pem from .p12 for google cloud applications<div dir="ltr" style="text-align: left;" trbidi="on">
Today I was trying to use the <a href="https://www.djangoproject.com/" target="_blank">django</a> app <a href="https://github.com/jleclanche/django-push-notifications" target="_blank">django-push-notifications</a> to work with <a href="https://developer.android.com/google/gcm/index.html" target="_blank">Google cloud messaging</a>. However, the app required .pem file as input. After some research, I found out how to get the file. Following are the steps.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQu1epzyLtjPl9bTQLpw-uInH0ymNL-fXtcXYE3dhakagt1QAxQpfjSzwJG0sOMr-ePL15vZ5KTGS_PZrTfOBLNl3c6C1arYjylegmX4kMtHUkTxRX8PpWM13e_zUX4xaEECkT2OAJu_g/s1600/creating+pem+file+from+p12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQu1epzyLtjPl9bTQLpw-uInH0ymNL-fXtcXYE3dhakagt1QAxQpfjSzwJG0sOMr-ePL15vZ5KTGS_PZrTfOBLNl3c6C1arYjylegmX4kMtHUkTxRX8PpWM13e_zUX4xaEECkT2OAJu_g/s1600/creating+pem+file+from+p12.png" height="168" width="320" /></a></div>
<ol style="text-align: left;">
<li>Create new client ID from respective project in <a href="https://console.developers.google.com/project" target="_blank">Google cloud console</a>.</li>
<li>Choose Service account and save the .p12 file.</li>
<li>While saving it will show the password, note it down. I guess default password key is 'notasecret'.</li>
<li> Now download <a href="https://www.openssl.org/related/binaries.html" target="_blank">openssl binary</a> from the openssl download page.</li>
<li>Depending on your operating system the files might vary. I am using openssl on windows x64 box.</li>
<li>Extract files to a folder.</li>
<li>Now from command line navigate to the folder and run <br /><pre class="prettyprint"><span class="pln">openssl pkcs12 </span><span class="pun">-</span><span class="kwd">in</span><span class="pln"> path</span><span class="pun">/</span><span class="pln">to</span><span class="pun">/</span><span class="pln">key</span><span class="pun">.</span><span class="pln">p12 </span><span class="pun">-</span><span class="pln">nodes </span><span class="pun">-</span><span class="pln">nocerts </span><span class="pun">></span><span class="pln"> path</span><span class="pun">/</span><span class="pln">to</span><span class="pun">/</span><span class="pln">key</span><span class="pun">.</span><span class="pln">pem</span></pre>
</li>
<li>You can find more information about authentication in <a href="https://cloud.google.com/storage/docs/authentication" target="_blank">this page</a>.</li>
</ol>
</div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9111011214776153036.post-52354086773015346202015-02-02T20:45:00.003+05:302015-02-02T20:45:48.860+05:30Raspberry Pi 2 on sale!!<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB2dWKQVx6dN9Zx-fCDbX8YUrkEW8k61GEqn0-lKIcawlDnJr5QIe3RUeM6NrRsHRoBRQ4OcMMHbqhtBRHYUfnV3OKXgXT3va2OvYhML7c8-t40W2AmysjU6DaOSjgG2XTvV9gznCMWmA/s1600/IoT-rpi2-board_InvariantCulture_Default.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB2dWKQVx6dN9Zx-fCDbX8YUrkEW8k61GEqn0-lKIcawlDnJr5QIe3RUeM6NrRsHRoBRQ4OcMMHbqhtBRHYUfnV3OKXgXT3va2OvYhML7c8-t40W2AmysjU6DaOSjgG2XTvV9gznCMWmA/s1600/IoT-rpi2-board_InvariantCulture_Default.png" height="230" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjDLg7mgonNc-B5eL-QqHKsYP7fpqjUUqy55fQfRtCmpyj_oB9wdSZ5SRl5yGFob_NPwDmdTyOpeHL1vxoRwSVVbvfGwgE9batPZ11Web4VZIGQba5WX0vo7xWbxFb3dn8cPo5f-XcWhg/s1600/raspberry+pi+2.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjDLg7mgonNc-B5eL-QqHKsYP7fpqjUUqy55fQfRtCmpyj_oB9wdSZ5SRl5yGFob_NPwDmdTyOpeHL1vxoRwSVVbvfGwgE9batPZ11Web4VZIGQba5WX0vo7xWbxFb3dn8cPo5f-XcWhg/s1600/raspberry+pi+2.jpg" height="181" width="320" /></a></div>
Today, I was searching for some electronic stuff on the Internet and stumbled upon <a href="http://www.raspberrypi.org/raspberry-pi-2-on-sale/" target="_blank">this webpage</a> of Raspberry Pi2 and later understood I happen to reach the site just when it was published.<br />
I am very much impressed with the new design and surprised to know that even Microsoft <a href="http://dev.windows.com/en-us/featured/raspberrypi2support" target="_blank">supports it with the windows 10</a>(<a href="https://www.windowsondevices.com/" target="_blank">Windows On Devices</a>) for free(for those who <a href="https://www.windowsondevices.com/signup.aspx" target="_blank">Joins</a> the Windows for their IoT Development program).<br />
Though Microsoft supports it. I think this is their step to capture a share in the new market of <a href="http://en.wikipedia.org/wiki/Internet_of_Things" target="_blank">Internet of Things</a> like all giants are trying now. I am not sure yet how much it will be beneficial for the Open community.<br />
Anyways, raspberry will still continue to grow as one of the first choice for enthusiasts and small business category of people due to it price $35. Old models are still available for the same price.<br />
I have a Model B board which I use for some automation of fish tank and door bell now. <br />
For me and this is the easiest option to do an embedded project because I am more comfortable with the programming part. Using a microcontroller will consume a lot of time for the initialization kind of stuff. Same project which can be made with Pi in an hour will take a week to do using a conventional microcontroller. Moreover, if we want to use WiFi/Ethernet connectivity it will cost further more time and money.<br />
Below attached a video from the release page.<br />
<iframe allowfullscreen="" frameborder="0" height="281" mozallowfullscreen="" src="//player.vimeo.com/video/118348505" webkitallowfullscreen="" width="500"></iframe> <br />
<a href="http://vimeo.com/118348505" target="_blank">BCM2836 silicon bringup</a> from <a href="http://vimeo.com/raspberrypi" target="_blank">Raspberry Pi Foundation</a> on <a href="https://vimeo.com/" target="_blank">Vimeo</a>.<br />
<br /></div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9111011214776153036.post-86180892067497955372015-01-31T18:09:00.000+05:302015-02-19T19:46:24.687+05:30Function pointers - The unconventional use<div dir="ltr" style="text-align: left;" trbidi="on">
In my <a href="https://www.blogger.com/2015/01/function-pointers-simple-use-without.html">previous post</a> about function pointers, I have written about the definition of function pointers. Which explains how to avoid confusions while defining. In this post, I will list some uses of the function pointer.<br />
<h2 style="text-align: left;">
The unconventional use</h2>
Usually function pointer are used in callbacks or some special cases. But, we can use it also to simplify code. Consider the below example<br />
<pre class="brush: cpp">void print_zero(void)
{
printf("Zero\n");
}
void print_one(void)
{
printf("One\n");
}
void print_two(void)
{
printf("Two\n");
}
void print_three(void)
{
printf("Three\n");
}
void print_four(void)
{
printf("Four\n");
}
void example_switch(void)
{
unsigned int number = 0;
switch(number)
{
case 0:
print_zero();
break;
case 1:
print_one();
break;
case 2:
print_two();
break;
case 3:
print_three();
break;
case 4:
print_four();
break;
default:
break;
}
}
</pre>
The snippet above is nothing but calling few functions in a switch case. Using function pointers, it can be simplified as below.<br />
<pre class="brush: cpp">void example_fPtr(void)
{
unsigned int number = 0;
void (*pFun[5])(void) = { /* Define and initialize function pointer */
print_zero, print_one, print_two, print_three, print_four
};
number = 4;
if(number < 5)
pFun[number](); /* Call function corresponding to number */
}
</pre>
</div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9111011214776153036.post-18582961406218521142015-01-27T22:08:00.000+05:302015-01-27T22:10:30.917+05:30Function pointers - Simple use without confusion in C Programming<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT_JDfORZfBzBEBvI84KH74OFxjoYXCbB_J2Sg5Sucd8JMFQh8ftQCad_EwFFvgKN9BvaN4fOuqRZWtemiAsffuvsL5yydZj7d587IFDjmvUU-JCMkFakww9ykABe-giJzsedHV1apl9A/s1600/C-Programming_Pointer_to+_a_function.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT_JDfORZfBzBEBvI84KH74OFxjoYXCbB_J2Sg5Sucd8JMFQh8ftQCad_EwFFvgKN9BvaN4fOuqRZWtemiAsffuvsL5yydZj7d587IFDjmvUU-JCMkFakww9ykABe-giJzsedHV1apl9A/s1600/C-Programming_Pointer_to+_a_function.png" height="251" width="320" /></a></div>
Pointer is one of the most used feature of C - Programming language. It gives us a lot of power to access and control. Function pointers are nothing but a pointer to a function. While learning the concept, it may seem a redundant feature to assign address of a function to a pointer and call the same function using the pointer. However, in simple programs, it is of no use. But, it make sense and it is the only way to achieve certain functionality using C-Programming language.<br />
<h2>
Good way to define function pointer</h2>
In an embedded project with different programs, pointer is of great use. For example, in an embedded project, one may want to do a soft reset. Which means nothing but jumping back to the starting address(most of the cases, the reset vector = address 0). In C program, this can be achieved by using a pointer, assign it to value 0 and call.
<br />
<pre class="brush: cpp">void (*pSoftReset)(void); /* Define a function pointer */
pSoftReset = (void (*)(void))0; /* Assign address 0 to pointer */
pSoftReset(); /* Function call using pointer */
</pre>
In the above snippet, in line 1, a function pointer is defined. In line 2, pointer is initialized with address. Note the typecasting. 0 integer is typecast-ed to a function pointer with address value 0. Then, the function is called. It will never return as the initialization routines will initialize all the variables, stack etc.
The same code can also be written in single line as
<br />
<pre class="brush: cpp">((void (*)(void))0)(); /* Typecast address 0 to pointer and call */
</pre>
Here integer is typecast-ed and called at the same time.
This function pointer definition, typecasting etc might be difficult to read for many. Because of this code may be less readable. To avoid this we may use the typedef functionality to define new types as below.
<br />
<pre class="brush: cpp">typedef void (*typFPtr)(void); /* Define new type typFPtr as pointer to a function */
typFPtr pSoftReset = (typFPtr)0; /* Assign address 0 */
pSoftReset(); /* Call using pointer */
</pre>
In order to avoid confusion and improve readability, it is better to define new types and use it instead of directly using the function prototype. However, please note that this may also cause some confusion as the '*' is missing in declaration of variable and typecast. Alternately, it can also be done as below.
<br />
<pre class="brush: cpp">typedef void (typFN)(void); /* Define new type typFN as pointer to a function */
typFN *pSoftReset = (typFN *)0; /* Define pointer to function and Assign address 0 */
pSoftReset(); /* Call using pointer */
</pre>
<br />
To conclude, definition and use of complex function pointers can be achieved by using typedef. Some examples are mentioned below.
<br />
<pre class="brush: cpp"> /* Below definiton is a function pointer fp which
* will accept a pointer to a function which takes
* pointer to int as argument, returns void and
* another int as second parameter and returns a
* function pointer which takes int as argument
* and returns pointer to int */
int *(*((*fp)(void (*)(int*), int *)))(int);
/* Uning typedef it can be simplified as below */
typedef int *typFun_pint_int(int);
typedef void typFun_void_pint_int(int*);
typFun_pint_int * fp_simplified(typFun_void_pint_int *, int *);
/* Here it is clear what is the return type
and what are the arguments */
</pre>
In my next post, I will list some examples of using function pointers. Initially, I thought of adding it here. But, it is too late for me now. So thought of writing it as another post.
</div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9111011214776153036.post-43358569935618178612015-01-24T20:10:00.001+05:302015-01-24T20:10:12.192+05:30Finding IMEI number if mobile is lost or stolen<div dir="ltr" style="text-align: left;" trbidi="on">
Normally, the <a href="http://en.wikipedia.org/wiki/International_Mobile_Station_Equipment_Identity" target="_blank">IMEI</a> number of a mobile is found by dialing *#06# on mobile. What if mobile is lost? and we haven't noted the IMEI number. We do not have mobile to dial and check. In this case, there are few places you could check for finding out the IMEI number.<br />
<ol style="text-align: left;">
<li>Mobile phone package: If you still have the mobile phone package/carton box in which the phone was shipped, It will have the IMEI number. </li>
<li>Mobile phone purchase bill/Invoice: Mobile phone purchase bill will have the IMEI number noted. If your bill is missing, then still you may get the duplicate bill/invoice from the retailer. If mobile is purchased from online retailer like <a href="http://www.flipkart.com/" target="_blank">Flipkart</a>, <a href="http://www.ebay.com/" target="_blank">EBay</a>, <a href="http://www.amazon.com/" target="_blank">Amazon</a>, <a href="http://www.snapdeal.com/" target="_blank">Snapdeal</a>, etc. It can be obtained from purchase history in the respective website.</li>
<li>In the warranty card or the user manual of the mobile. </li>
</ol>
So if you have any of the above options available, it is possible to obtain the IMEI number for reporting to the police. Below you can see my <a href="http://www.gsmarena.com/xiaomi_redmi_1s-6373.php" target="_blank">Xiaomi Redmi 1S</a>'s box with IMEI labels. I have masked it for privacy.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2AsocPAQ_EZyb_3BnpKJS24nBJqMb-TN0SbnPTNurjtuwxQXEYl8E6xx9s7c-7LkJfSvYQ-UnOSzoZ2hfbKezTRIeXiQlt9ZIcTT-OyxqpyOkLO-sSHVoynZPft5JP3Ds72Gsy1z8Yxc/s1600/IMEI+in+box+zoom.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2AsocPAQ_EZyb_3BnpKJS24nBJqMb-TN0SbnPTNurjtuwxQXEYl8E6xx9s7c-7LkJfSvYQ-UnOSzoZ2hfbKezTRIeXiQlt9ZIcTT-OyxqpyOkLO-sSHVoynZPft5JP3Ds72Gsy1z8Yxc/s1600/IMEI+in+box+zoom.jpg" height="217" width="400" /></a></div>
<br /></div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Arunhttp://www.blogger.com/profile/07230961862479221177noreply@blogger.com0tag:blogger.com,1999:blog-9111011214776153036.post-13315330611813318602015-01-23T21:57:00.001+05:302015-01-23T21:57:48.378+05:30Lost my mobile for second time<div dir="ltr" style="text-align: left;" trbidi="on">
This is the second time my mobile is lost. Well this time it is clearly a theft. I kept my <a href="http://www.gsmarena.com/xiaomi_redmi_1s-6373.php" target="_blank">Xiaomi Redmi 1S</a> for charging on a table nearby a window. Somebody somehow opened the window and picked the mobile during night when we were sleeping. Though we woke up hearing some sound, it was too late; the one who picked my mobile has left by then.<br />
Without wasting much time, I called the customer care center and requested for temporally blocking my mobile number which he accepted after verifying my personal details.<br />
Now, the next thing is to inform police. However, from my previous experience, I was sure that they will not help much. Maximum they will do is nothing but issue acknowledge for lost mobile reporting. They says, the <a href="http://en.wikipedia.org/wiki/International_Mobile_Station_Equipment_Identity" target="_blank">IMEI</a> number is added to the tracking system and if someone use the mobile it can be tracked. But, still there is no information about my <a href="http://www.gsmarena.com/sony_xperia_u-4437.php" target="_blank">Sony xperia U</a> which is in tracking system since two years. I have found the news <a href="http://www.mid-day.com/articles/mumbai-crime-mobile-shop-owner-held-for-changing-imei-number/15156084" target="_blank">here</a> about arrest of person who used to modify IMEI. So what I think is, the people who steals the mobile would approach such people, change the IMEI and then either use it or resell. So, the tracking systems will not be able to find the mobile phone. Below line is from the news source.<br />
<blockquote>
<span style="-webkit-text-stroke-width: 0px; background-color: white; color: #444444; display: inline !important; float: none; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 16px; font-style: italic; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 25px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;">Accused, who is a software engineer, was arrested and charged under the IT Act for using technology to change the unique IMEI number of mobile phones</span></blockquote>
Now, for getting a duplicate <a href="http://en.wikipedia.org/wiki/Subscriber_identity_module" target="_blank">Sim-card</a> also, acknowledge from police station is required. This is because, I have ported my number from <a href="https://www.vodafone.in/postpaid/plans" target="_blank">Vodafone postpaid</a> to <a href="http://www.bsnl.co.in/opencms/bsnl/BSNL/services/mobile/tariff_excel_pre.html" target="_blank">BSNL prepaid</a>. And for getting new sim for prepaid, acknowledge is must. Also I think it is necessary to report the loss to avoid any misuse/abuse of the device.<br />
While searching the Bangalore police website, I found this <a href="http://www.bcp.gov.in/" target="_blank">website</a> of Bangalore police. In the page, there is an option 'report lost'. A screenshot is pasted below.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKMaBKkIsP0PsY7h1twOwQ1ToHf3SxBfb3ynLcGRWWmvUB6chsNzqQh6oWxdHQtewoNGvmoHeVcWFhrdxv-FPWZ8UlRXgEMc3euRg2xqEysIk_O1EnJHWZEfzxzBYONbhqhdBSKZI7NOE/s1600/Report+Lost+Bangalore+city+poice.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKMaBKkIsP0PsY7h1twOwQ1ToHf3SxBfb3ynLcGRWWmvUB6chsNzqQh6oWxdHQtewoNGvmoHeVcWFhrdxv-FPWZ8UlRXgEMc3euRg2xqEysIk_O1EnJHWZEfzxzBYONbhqhdBSKZI7NOE/s1600/Report+Lost+Bangalore+city+poice.png" height="161" width="320" /></a></div>
For reporting, we will have to first search in their partner site <a href="http://www.lostclikfound.com/SearchLostitems" target="_blank">Lost Click Found</a>. If our mobile is not in the list, then it will give us option to reach this page(<a href="http://bcp.gov.in/report_lost_item.aspx" target="_blank">Police report of lost item</a>) finally report to Bangalore City Police site. Here there are lot of categories. After submitting we will get option to download the acknowledgement. I have pasted screenshot of my acknowledge below.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirWh_l8fT-w__6wd54DEI22gE23NRF6SWgLzLipWZMIYNeeH1nrpt-c4C08Te7KWcZ04R8rI5VkhHk8GRSPRRYwr7BsrjzW4XUIsjt28puYxyGvyWe0cMes1JhUSUpBIHKQ633JwmVmls/s1600/Lost+item+acknowledgement.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirWh_l8fT-w__6wd54DEI22gE23NRF6SWgLzLipWZMIYNeeH1nrpt-c4C08Te7KWcZ04R8rI5VkhHk8GRSPRRYwr7BsrjzW4XUIsjt28puYxyGvyWe0cMes1JhUSUpBIHKQ633JwmVmls/s1600/Lost+item+acknowledgement.png" height="320" width="243" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Acknowledgement downloaded</td></tr>
</tbody></table>
<br />
However, in the form, there is no option to enter IMEI number. So, I mentioned in the comments column. Since, the IMEI number is not specifically asked, I have also personally went to the nearby police station and informed so that they will add the IMEI number for tracking.</div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Arunhttp://www.blogger.com/profile/07230961862479221177noreply@blogger.com0tag:blogger.com,1999:blog-9111011214776153036.post-33603621913125264792015-01-17T21:13:00.002+05:302015-01-17T21:15:30.164+05:30Fluid width for facebook comment box<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
A page layout, which stretches or shrinks to fill the browser window according to its size, is called, fluid layout. Advantage the view will adjust according to the size of the screen, ie page will adjust itself to browser used in different devices like mobile, tablet, desktop etc.<br />
Usually, blog templates has fixed widths for most of the fields. But those who are using fluid layout may want the <a href="https://www.facebook.com/" target="_blank">facebook</a> comment box to be fluid too. Or those who does not know the width to be set can also try fluid width as it will fill the container. In blogger, filling the container will be nothing but taking the width of the side bar or body where the widget is placed.<br />
<h2 style="text-align: left;">
<span style="font-size: small;">Facebook comment box</span></h2>
<div style="text-align: left;">
If you are <a href="https://developers.facebook.com/docs/plugins/comments" target="_blank">generating the comment box</a>, just enter 100% in the Width field.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF1nrpNDTiXZnuziGEkkkhUi6RHrZ_zSAOWI56pQDS83GdPh0M_tItruUMo5FNon3dHugDJBNI2_7AD8XEPcou1cbWQNSIvkWDdQsn-aw8cY46iheAH0X9snFnOQJTiCvm1DyF-hKuHWs/s1600/facebox+comment+box+with+fluid+width.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF1nrpNDTiXZnuziGEkkkhUi6RHrZ_zSAOWI56pQDS83GdPh0M_tItruUMo5FNon3dHugDJBNI2_7AD8XEPcou1cbWQNSIvkWDdQsn-aw8cY46iheAH0X9snFnOQJTiCvm1DyF-hKuHWs/s1600/facebox+comment+box+with+fluid+width.png" height="276" width="640" /></a></div>
If you dont want to generate, then it is also possible to just edit the existing code and change the part.<br />
'data-width' to 100%<br />
<blockquote class="tr_bq">
<span style="font-family: "Courier New",Courier,monospace;"></span><br />
<div b="" class="fb-comments" data-href="http://developers.facebook.com/docs/plugins/comments/">
<span style="font-family: "Courier New",Courier,monospace;"><span style="color: red;">data-width="100%"</span></span></div>
<span style="font-family: "Courier New",Courier,monospace;">
</span></blockquote>
</div>
</div>
data-numposts="5" data-colorscheme="light"> This is documented in facebook developer <a href="https://developers.facebook.com/docs/plugins/comments" target="_blank">page</a> from where we generate the code for comment box.<br />
<blockquote class="tr_bq">
<i>The width of the plugin. Either a pixel value or the literal <code>100%</code> for fluid width. The mobile version of the Comments plugin ignores the width parameter, and instead has a fluid width of 100%.</i></blockquote>
</div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9111011214776153036.post-13468852639469542322015-01-16T14:07:00.001+05:302015-01-16T14:32:27.197+05:30How much power does my USB project/device/phone consume?<div dir="ltr" style="text-align: left;" trbidi="on">
Ever wondered how much power, a <a href="http://en.wikipedia.org/wiki/USB" target="_blank">USB</a> device consumes? Sometimes when mobile phone battery is deeply drained, mobile will not indicate whether it is charging or not. Is there a way to check current is really flowing and charging the battery? May be you are doing a USB powered electronics project and want to check how much current it draws.
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho7wL48OcGFMd1MsqTALrjG5Sy02xoLrfqBBykSWbKa0MF_rdVLLJZelj1WtNhBNpFIbZyonHnCAA3qj_39RIG5aPOLRWOxMk1mM-Pvw6RAFh-r8bvFB62-k9wY9azdYxjLPp9sH0xE6Q/s1600/USB+-+Currnet+reading+for+arduino.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="USB - Current reading for arduino" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho7wL48OcGFMd1MsqTALrjG5Sy02xoLrfqBBykSWbKa0MF_rdVLLJZelj1WtNhBNpFIbZyonHnCAA3qj_39RIG5aPOLRWOxMk1mM-Pvw6RAFh-r8bvFB62-k9wY9azdYxjLPp9sH0xE6Q/s1600/USB+-+Currnet+reading+for+arduino.JPG" style="height: auto; width: 100%;" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Current reading of Arduino</td></tr>
</tbody></table>
<br />
Well I found this nice little device(seen in the image above) from <a href="http://www.dx.com/?Utm_rid=42346186&Utm_source=affiliate" target="_blank">Deals Extreme</a> which is also very cheap. It shows the current and voltage of the USB device attached. All we have to do is add this device in between.<br />
<br />
Some uses for this are<br />
<ol style="text-align: left;">
<li>Find if a USB cable is complaint(Current will remain 0A).</li>
<li>Find if USB charger adapter is complaint.</li>
<li>Check if the USB device is drawing more current.</li>
<li>Check amount of current required used by <a href="http://www.arduino.cc/" target="_blank">arduio</a> or <a href="http://www.raspberrypi.org/" target="_blank">raspberry pi</a> or other embedded project boards which you are using.</li>
<li>Show off this cool gadget in-front of friends, etc.</li>
</ol>
Note: If you want to buy one like this, you may search for USB power measurement or USB current measurement. <br />
<ol style="text-align: left;">
</ol>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW1OGKEgyky8Nv6PIIAu2GGqykOJYctQTTfm3w5lppffLcl3OZ1t0l9lEf4i2-YOTYkud6OtOgXbTPYu-hoEobUzmNA-MhXpNWZDHLJ-Wkzt8PvGx1_B47yFbdXOShGi5JY5TJwR92qcQ/s1600/USB+-+Voltage+reading+for+arduino.JPG" style="margin-left: auto; margin-right: auto;"><img alt="USB - Voltage reading for arduino" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW1OGKEgyky8Nv6PIIAu2GGqykOJYctQTTfm3w5lppffLcl3OZ1t0l9lEf4i2-YOTYkud6OtOgXbTPYu-hoEobUzmNA-MhXpNWZDHLJ-Wkzt8PvGx1_B47yFbdXOShGi5JY5TJwR92qcQ/s1600/USB+-+Voltage+reading+for+arduino.JPG" style="height: auto; width: 100%;" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Voltage reading of Arduino</td></tr>
</tbody></table>
</div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9111011214776153036.post-9086825407825061472015-01-04T18:52:00.000+05:302015-01-04T18:52:05.405+05:30Pinguino on bread board<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwKJW2CyxENgR1gB1B5qTSgDIiYPqEwgm1DTobR0wR1TKMafgTe4-XevVYKmjVVxoge8ZN5hIsb3yKriDfKIcPVfAcs4j_ZZIhFjji9T3Ez7KPOmg5y3oyz2it8FDnsPSUKprjwlMjetc/s1600/logo_pinguino.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwKJW2CyxENgR1gB1B5qTSgDIiYPqEwgm1DTobR0wR1TKMafgTe4-XevVYKmjVVxoge8ZN5hIsb3yKriDfKIcPVfAcs4j_ZZIhFjji9T3Ez7KPOmg5y3oyz2it8FDnsPSUKprjwlMjetc/s1600/logo_pinguino.jpg" height="242" width="320" /></a></div>
I am a fan of <a href="http://en.wikipedia.org/wiki/PIC_microcontroller" target="_blank">PIC microcontroller</a>. Reason being the first one to use during my college/university time. <a href="http://www.microchip.com/wwwproducts/Devices.aspx?product=PIC16F84" target="_blank">Pic16f84</a> was one of the first microcontroller which I used as I started exploring the new world of micro-controllers. Those days programmers were very costly and there were no shops near the place I lived where I could take a microcontroller to program. But, the JDM programmer which can be constructed with some basic components made my life easy.<br />
Now a days, there are lot of cheap options, if we want to do some hobby projects using micro-controllers. <a href="http://www.arduino.cc/" target="_blank">Arduino</a> being one of the most popular which uses the self reprogramming feature to flash the new code, can be used even by people who does not know much about software or hardware programming.<br />
<a href="http://www.pinguino.cc/" target="_blank">Pinguino</a> is an arduino like hardware and IDE for PIC microcontroller. Its software is Free and <a href="http://code.google.com/p/pinguino32/source/checkout" target="_blank">Open Source</a>. And Pinguino boards are <a href="http://www.pinguino.cc/download/schematics" target="_blank">Open Hardware</a>. It is very much similar to arduino with additional <a href="http://en.wikipedia.org/wiki/USB" target="_blank">USB</a> features supported by PIC microcontrollers. So it does not need a USB to RS232 converter chip in the hardware which must make the hardware cheaper. Below is the description of Pinguino as published in Pinguino website.<br />
<blockquote class="tr_bq">
Pinguino is an Arduino-like electronics prototyping platform. It
supports different 8- and 32-bit ©Microchip microcontrollers, all with
built-in USB module (no FTDI chip !).<br />
Pinguino comes with a USB Bootloader. This small program running
inside the microcontroller is responsible for transferring your
application from your PC to the microcontroller memory and handing over
the control to this program afterwards.<br />
No programmer is needed(*), the microcontroller can be reprogrammed over USB with a PC.<br />
<ul class="point">
<li>8-bit : PIC18Fx550, PIC18Fx5K50, PIC18Fx6J50 and PIC18Fx7J53 family</li>
<li>32-bit : PIC32MX Mips family</li>
</ul>
Pinguino is an Integrated Development Environement (IDE) which gives
everyone the ability to write, compile and upload programs on a Pinguino
board.<br />
Pinguino's Language is an Arduino-like or Arduino-influenced rather
than Arduino-compatible Language. Users can use the same keywords but
can not include Arduino's libraries in their code. Adapted libraries are
listed <a href="http://wiki.pinguino.cc/index.php/Compatibility" target="_blank">here</a>.<br />
It makes you write easily your application without spending hours learning pragma, configuration bits or command line compiler.</blockquote>
However, due to lack of popularity the Pinguino boards are difficult to find and costlier than that of the Arduino boards. Hence I decided to try it using a <a href="http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en010280" target="_blank">PIC18f2550</a> on <a href="http://en.wikipedia.org/wiki/Breadboard" target="_blank">bread board</a>. It is very easy to construct as there is not much components. Firmware which is necessary to make the controller work with the Pinguino IDE is available at the Pinguino website. An image of final constructed circuit with an 8x8 led matrix display is below.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguNskr6IxwXG8H6QOU5uooL5Lf0_K4azRYISY7gjy-CDOrxLIJ-j8kgrK2EyJJTDUIwANfaEDby_zvQwR0B6ahXe7ASJlJVPNMgjMI8mVElOVCoW2MwxI46J21Qfhmu1KJUt0xjPJ1Ghc/s1600/IMG_20150104_132158.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguNskr6IxwXG8H6QOU5uooL5Lf0_K4azRYISY7gjy-CDOrxLIJ-j8kgrK2EyJJTDUIwANfaEDby_zvQwR0B6ahXe7ASJlJVPNMgjMI8mVElOVCoW2MwxI46J21Qfhmu1KJUt0xjPJ1Ghc/s1600/IMG_20150104_132158.jpg" height="236" width="320" /></a></div>
Following are steps to make it working.<br />
<ol style="text-align: left;">
<li>Download software(Pinguino IDE) and <a href="http://www.pinguino.cc/download/bootloader/8-bit/" target="_blank">Firmware/bootloader</a> for PIC18f2550.</li>
<li>Flash firmware to the controller. </li>
<li>Construct the Pinguino hardware on bread board as per the <a href="http://wiki.pinguino.cc/index.php/PIC18F2550_Pinguino" target="_blank">schematic</a>.</li>
<li>Install <a href="http://wiki.pinguino.cc/index.php/Windows_7_Drivers" target="_blank">drivers</a> for pinguino if using windows.</li>
<li>Connect hardware to PC using USB.</li>
<li>Open IDE and select the correct com port number for the pinguino.</li>
<li>Make sketches and enjoy.</li>
</ol>
I will soon add some posts on some of these stages since some problems might occur.</div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Arunhttp://www.blogger.com/profile/07230961862479221177noreply@blogger.com0tag:blogger.com,1999:blog-9111011214776153036.post-66042764691256347772014-01-22T23:05:00.000+05:302014-01-22T23:05:43.751+05:30Add mobile friendly Streaming Online Internet Radio using HTML5<div dir="ltr" style="text-align: left;" trbidi="on">
<link href="http://alexgorbatchev.com/pub/sh/current/styles/shCore.css" rel="stylesheet" type="text/css"></link>
<link href="http://alexgorbatchev.com/pub/sh/current/styles/shThemeDefault.css" rel="stylesheet" type="text/css"></link>
<script src="http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js" type="text/javascript"></script>
<script src="http://alexgorbatchev.com/pub/sh/current/scripts/shAutoloader.js" type="text/javascript"></script>
<script src="http://alexgorbatchev.com/pub/sh/current/scripts/shBrushXml.js" type="text/javascript"></script>
<script src="http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJScript.js" type="text/javascript"></script>
<script src="http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCss.js" type="text/javascript"></script>
<script src="http://alexgorbatchev.com/SyntaxHighlighter/scripts/main.js" type="text/javascript"></script>
I have already written about <a href="http://www.techcollections.co/2011/04/addembed-online-internet-radio-player.html" target="_blank">adding an internet radio</a> on to web page/blog. However it uses the <a href="http://windows.microsoft.com/en-IN/windows/windows-media-player-plug-ins" target="_blank">media player plugin</a>. Problem with the media player plugin is, it will not play on mobiles or PC/browsers without a media player plugin. In this post I will describe how to add an internet radio player <a href="http://www.w3schools.com/html/html5_audio.asp" target="_blank">HTML5 audio</a> tag.<br />
<div class="alert alert-warning">
<b>Note:</b> There is no one thing fits all solution available. <a href="http://www.w3.org/html/wg/drafts/html/master/" target="_blank">HTML5</a> also have limitations with respect to audio types supported by different browsers. There are custom libraries available which helps to play maximum formats using audio tags and alternate options such as <a href="http://get.adobe.com/flashplayer/" target="_blank">flash</a>, <a href="http://www.microsoft.com/silverlight/" target="_blank">silver-light</a>, etc(One of them is used here).
</div>
This method works best for <a href="http://www.w3schools.com/html/html5_audio.asp" target="_blank">mp3</a>/<a href="http://www.vorbis.com/" target="_blank">ogg</a> format radio streams which are widely supported by popular browsers like <a href="http://www.mozilla.org/en-US/firefox/new/" target="_blank">Mozilla Firefox</a>, <a href="https://www.google.com/intl/en/chrome/browser/" target="_blank">Google Chrome</a>, <a href="http://windows.microsoft.com/en-IN/internet-explorer/download-ie" target="_blank">Internet Explorer</a>, <a href="http://www.opera.com/" target="_blank">Opera</a> etc. However support can be extended using third party <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a>/addins.<br />
Well like I have <a href="http://www.techcollections.co/2011/04/addembed-online-internet-radio-player.html" target="_blank">written before</a>, first step is to find the streaming radio link. Please check my <a href="http://www.techcollections.co/2011/04/addembed-online-internet-radio-player.html" target="_blank">previous post</a> for how to find it.<br />
In this case we should also know what format the stream is. Most of the links are mp3. So I would take example of an mp3 <a href="http://www.shoutcast.com/" target="_blank">shoutcast</a> stream.<br />
<div class="alert alert-info">
http://viadj.viastreaming.net:7189/</div>
This stream can be embedded using the following code.<br />
<pre class="brush: xml"><audio controls="" preload="none" src="http://viadj.viastreaming.net:7189/;" type="audio/"></audio>
</pre>
Preview of the embedded html5 audio element below. This will not be visible if your browser does not support HTML5 audio element or mp3 format.
<audio controls="" preload="none" src="http://viadj.viastreaming.net:7189/;" type="audio/"></audio>
<br />
Now in this element there are following fields.
<ol>
<li>controls: This tells that the audio controls like play button, mute, seek etc should be visible. Without this noting will be visible.</li>
<li>preload: This is set to none as we are streaming a radio and not an audio file.</li>
<li>src: Streaming radio link. The semicolon <strong>;</strong> is important, without which streaming will not happen.(here link is not the link to the website, it is the stream link, see <a href="http://www.techcollections.co/2011/04/addembed-online-internet-radio-player.html" target="_blank">this post</a>)</li>
<li>type: This tells that the stream is mp3 format. Without this the stream may not play.</li>
</ol>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWfVk17ugt_qVPiXAkw5MOpD7hUyLJQnHjHXHZxFez9ALAdprWQb3-trRuuxfcBB5H62GABDaaQ3CjY33IugT225ciJZ9hH1HP5T2G9BDzmLUPXXI07EMBEC0tDunsk04Z5Sqy2GFkyaU/s1600/audio-control-html5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;">
<figure><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWfVk17ugt_qVPiXAkw5MOpD7hUyLJQnHjHXHZxFez9ALAdprWQb3-trRuuxfcBB5H62GABDaaQ3CjY33IugT225ciJZ9hH1HP5T2G9BDzmLUPXXI07EMBEC0tDunsk04Z5Sqy2GFkyaU/s320/audio-control-html5.png" /> <figcaption>HTML5 audio player as rendered by Mozilla Firefox.</figcaption></figure></a></div>
<script type="text/javascript">
window.onload = function(e){
SyntaxHighlighter.config.bloggerMode = true;
SyntaxHighlighter.all();
}
</script></div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Unknownnoreply@blogger.com20tag:blogger.com,1999:blog-9111011214776153036.post-73747534397437395962014-01-10T20:56:00.000+05:302014-12-15T20:51:08.160+05:30Add/Embed online internet radio player on your blog/website<div dir="ltr" style="text-align: left;" trbidi="on"><div align="center"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDj2ThfP9qB92X2rWMdg4Oj-zRZSqukf9QUcv3fgoa7oWisku0_KOm94-Rb-pIoUfvxX9YxBvva46OsRvRlKk0x_Dj__dttFf7O2XpXAk1Oyv4yd5-oRH5CY9387P_PRLme12NCEY4VoU/s1600/radio.jpg" imageanchor="1" ><img border="0" alt="Add online radio on blog or website" style="width: 30%; height: auto;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDj2ThfP9qB92X2rWMdg4Oj-zRZSqukf9QUcv3fgoa7oWisku0_KOm94-Rb-pIoUfvxX9YxBvva46OsRvRlKk0x_Dj__dttFf7O2XpXAk1Oyv4yd5-oRH5CY9387P_PRLme12NCEY4VoU/s320/radio.jpg" /></a></div>In my <a href="http://collectns.blogspot.com/2011/04/malayalam-online-internet-radio-player.html">previous post</a> I have listed some radio stations which can be played online using the embedded player. In this post I will explain how to embed an online internet radio player on a blog/website.<br />
<ol>
<li>Get the link to the station. This can be extracted from the website of the respective station or a playlist file which is used to play the station or by searching in google.<br/>
Search for the link to station which you want to embed.<br />
Some examples are<br/>
<ul>
<li>http://87.76.29.145:8400/</li>
<li>http://radio2.simple-url.com:8169/</li>
<li>http://50.7.96.138:8173/radioasiab</li>
<li>mms://212.72.165.19/radiodumdum1</li>
</ul>
Some sites/radio also provides playlist files such as .pls, .asx, .ram etc. Try to use these links directly, or download(use a download manager) these files and open using notepad to get the stream.<br/>
Some sites/radio will not have these playlist files, but just the player embedded. In this case use the view source or inspect element option in browser to examine the web page source and find the stream link.</li>
<li>Go to the html view of the blog/website and past the following code at the place where you want the player to appear.</li>
</ol>
<div style="background: none repeat scroll 0% 0% white; border-color: gray; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; color: black; overflow: auto; padding: 0.2em 0.6em; width: auto;"><table><tbody>
<tr><td><pre style="line-height: 125%; margin: 0pt;"><span style="color: dodgerblue; font-weight: bold;"><div</span> <span style="color: dodgerblue;">id=</span><span style="color: #aa5500;">"movId"</span> <span style="color: dodgerblue;">name=</span><span style="color: #aa5500;">"movId"</span> <span style="color: dodgerblue;">align=</span><span style="color: #aa5500;">center</span><span style="color: dodgerblue; font-weight: bold;">></span>
<span style="color: dodgerblue; font-weight: bold;"><object</span> <span style="color: dodgerblue;">id=</span><span style="color: #aa5500;">"MediaPlayer1"</span> <span style="color: dodgerblue;">classid=</span><span style="color: #aa5500;">"CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"</span> <span style="color: dodgerblue;">codebase=</span><span style="color: #aa5500;">"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902"</span> <span style="color: dodgerblue;">standby=</span><span style="color: #aa5500;">"Loading Microsoft Windows Media Player components..."</span> <span style="color: dodgerblue;">type=</span><span style="color: #aa5500;">"application/x-oleobject"</span> <span style="color: dodgerblue;">width=</span><span style="color: #aa5500;">"400"</span> <span style="color: dodgerblue;">height=</span><span style="color: #aa5500;">"300"</span><span style="color: dodgerblue; font-weight: bold;">></span>
<span style="color: dodgerblue; font-weight: bold;"><param</span> <span style="color: dodgerblue;">id=</span><span style="color: #aa5500;">"FileName"</span> <span style="color: dodgerblue;">name=</span><span style="color: #aa5500;">"FileName"</span> <span style="color: dodgerblue;">value=</span><span style="color: #aa5500;">""</span><span style="color: dodgerblue; font-weight: bold;">></span>
<span style="color: dodgerblue; font-weight: bold;"><param</span> <span style="color: dodgerblue;">name=</span><span style="color: #aa5500;">"animationatStart"</span> <span style="color: dodgerblue;">value=</span><span style="color: #aa5500;">"true"</span><span style="color: dodgerblue; font-weight: bold;">></span>
<span style="color: dodgerblue; font-weight: bold;"><param</span> <span style="color: dodgerblue;">name=</span><span style="color: #aa5500;">"transparentatStart"</span> <span style="color: dodgerblue;">value=</span><span style="color: #aa5500;">"true"</span><span style="color: dodgerblue; font-weight: bold;">></span>
<span style="color: dodgerblue; font-weight: bold;"><param</span> <span style="color: dodgerblue;">name=</span><span style="color: #aa5500;">"autoStart"</span> <span style="color: dodgerblue;">value=</span><span style="color: #aa5500;">"true"</span><span style="color: dodgerblue; font-weight: bold;">></span>
<span style="color: dodgerblue; font-weight: bold;"><param</span> <span style="color: dodgerblue;">name=</span><span style="color: #aa5500;">"showControls"</span> <span style="color: dodgerblue;">value=</span><span style="color: #aa5500;">"true"</span><span style="color: dodgerblue; font-weight: bold;">></span>
<span style="color: dodgerblue; font-weight: bold;"><param</span> <span style="color: dodgerblue;">name=</span><span style="color: #aa5500;">"fullScreen"</span> <span style="color: dodgerblue;">value=</span><span style="color: #aa5500;">"false"</span><span style="color: dodgerblue; font-weight: bold;">></span>
<span style="color: dodgerblue; font-weight: bold;"><embed</span> <span style="color: dodgerblue;">src=</span><span style="color: #aa5500;">"http://keralaradio.in/media/KeralaRadio.asx"</span> <span style="color: dodgerblue;">type=</span><span style="color: #aa5500;">"application/x-mplayer2"</span> <span style="color: dodgerblue;">pluginspage=</span><span style="color: #aa5500;">"http://www.microsoft.com/Windows/MediaPlayer/"</span> <span style="color: dodgerblue;">name=</span><span style="color: #aa5500;">"MediaPlayer"</span> <span style="color: dodgerblue;">autostart=</span><span style="color: #aa5500;">"1"</span> <span style="color: dodgerblue;">showcontrols=</span><span style="color: #aa5500;">"1"</span> <span style="color: dodgerblue;">width=</span><span style="color: #aa5500;">"400"</span> <span style="color: dodgerblue;">height=</span><span style="color: #aa5500;">"45"</span><span style="color: dodgerblue; font-weight: bold;">></span>
<span style="color: dodgerblue; font-weight: bold;"></object></span>
<span style="color: dodgerblue; font-weight: bold;"></div></span>
</pre></td></tr>
</tbody></table></div><br />
In the code where ever the string <span style="color: #aa5500;">"http://keralaradio.in/media/KeralaRadio.asx"</span> is present, should be replaced by the link to internet radio station which you want to stream.<br />
<div align="center">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- InsidePost -->
<ins class="adsbygoogle"
style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-4184570200617907"
data-ad-slot="0868641669"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
If you want the page to start streaming/playing automatically, then change in line<br />
<pre style="line-height: 125%; margin: 0pt;"><span style="color: dodgerblue; font-weight: bold;"><param</span> <span style="color: dodgerblue;">name=</span><span style="color: #aa5500;">"autoStart"</span> <span style="color: dodgerblue;">value=</span><span style="color: #aa5500;">"false"</span><span style="color: dodgerblue; font-weight: bold;">></span> </pre>false to true and change in line no 10 autostart="1" to autostatrt="0"<br />
<br />
And this will be the resullt of the above code. <br />
<div align="center" id="movId" name="movId"><br />
<object classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902" height="300" id="MediaPlayer1" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" width="400"> <param id="FileName" name="FileName" value=""><param name="animationatStart" value="true"><param name="transparentatStart" value="true"><param name="autoStart" value="false"><param name="showControls" value="true"><param name="fullScreen" value="false"><embed src="http://radiojoyalukkas.com/rdja.asx" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="MediaPlayer" autostart="0" showcontrols="1" width="400" height="45"> </object><br />
<br />
Click the play button to start playing/streaming the radio station.</div><br />
</div><div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Unknownnoreply@blogger.com18tag:blogger.com,1999:blog-9111011214776153036.post-17548442013822981842013-12-14T21:31:00.001+05:302013-12-30T09:15:24.023+05:30WordPress solved problem unable to login on sub-domain, after domain name change<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_D6StbiEVmPGROXOu_U9Dyf8au9O3ybMAvKGYzkLz5qUxUjlXpARjAsWzOriiCn2P5o9GW31cCh25EK5LPfuw-0ShE6q7MjW3o7pBgyr87IfQZyxlv_TGCg9YG91KPXb7QwuMaNfQzR0/s1600/ads+wordpress+and+tool.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_D6StbiEVmPGROXOu_U9Dyf8au9O3ybMAvKGYzkLz5qUxUjlXpARjAsWzOriiCn2P5o9GW31cCh25EK5LPfuw-0ShE6q7MjW3o7pBgyr87IfQZyxlv_TGCg9YG91KPXb7QwuMaNfQzR0/s400/ads+wordpress+and+tool.png" width="328" /></a></div>
Recently while setting up <a href="http://wordpress.org/" target="_blank">Wordpress</a> for my <a href="http://oishirecipes.com/" target="_blank">recipe site</a> and custom sub domain for this site, I have faced these two problems<br />
<ol style="text-align: left;">
<li>Unable to login to my <a href="http://wordpress.org/" target="_blank">Wordpress</a> after change in domain name change.</li>
<ul>
<li>Before activating actual domain of my recipe site, I have used a temporary domain name to the site. But after activating to the main site, login page took me to the old address which does not exists. So I was not able to use wordpress.</li>
</ul>
<li>Unable to login, when I was trying to install wordpress on a sub domain.</li>
<ul>
<li>I have created a sub domain(<a href="http://seorecipetool.techcollections.co/" target="_blank">seorecipetool.techcollections.co</a>) for the domain(<a href="http://www.techcollections.co/" target="_blank">www.techcollections.co</a>) which I am hosting on <a href="http://www.blogger.com/" target="_blank">Blogger</a>. So I configured the name-servers accordingly and installed wordpress using <a href="http://x.co/3RFbX" target="_blank">GoDaddy</a>'s hosting automated installation. But the wordpres login failed because the wordpress installation is configured for the actual domain www.techcollections.co.</li>
</ul>
</ol>
<h3 style="text-align: left;">
</h3>
For both the problem, root cause and solution is same.<br />
<br />
<h3 style="text-align: left;">
<span style="font-size: large;">Root cause:</span> </h3>
During automated installation, the wordpress <a href="https://en.wikipedia.org/wiki/MySQL" target="_blank">MySQL</a> database is initialized with the old domain name. After update of domain or creation of sub domain, the database file is not updated. So after login, the login page(wordpress) will try to forward to the old domain name in the configuration file. This will cause the login to fail.<br />
<h3 style="text-align: left;">
<span style="font-size: large;">Fix:</span></h3>
<ol style="text-align: left;">
<li>First for updating the wordpress <a href="http://www.mysql.com/" target="_blank">MySQL</a> it is necessary to know the database username and password.</li>
<li>For that, go to wordpress installation folder using ftp access or hosting file manager and find the file wp-config.php and find the below lines.
<blockquote class="tr_bq">
<span style="font-family: "Courier New",Courier,monospace;">// ** MySQL settings - You can get this info from your web host ** //</span><br />
<span style="font-family: "Courier New",Courier,monospace;">/** The name of the database for WordPress */</span><br />
<span style="font-family: "Courier New",Courier,monospace;">define('DB_NAME', 'xxxxx');</span><br />
<span style="font-family: "Courier New",Courier,monospace;"></span><br />
<span style="font-family: "Courier New",Courier,monospace;">/** MySQL database username */</span><br />
<span style="font-family: "Courier New",Courier,monospace;">define('DB_USER', 'xxxxx');</span><br />
<span style="font-family: "Courier New",Courier,monospace;"></span><br />
<span style="font-family: "Courier New",Courier,monospace;">/** MySQL database password */</span><br />
<span style="font-family: "Courier New",Courier,monospace;">define('DB_PASSWORD', 'xxxxx');</span></blockquote>
</li>
<li>Backup the MySQL Wordpress database.</li>
<li>Now from hosting options open the MySQL database using the user name and password found above.</li>
<li>In MySQL database look for options table.</li>
<li>In options table there is field called URL.</li>
<li>Correct the domain name here and save.</li>
<li>Now you will be able to login to the wordpress.</li>
</ol>
<div>
</div>
</div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9111011214776153036.post-72904107584311674782013-12-12T23:21:00.001+05:302013-12-12T23:21:55.858+05:30Make images and youtube videos responsive in blogger post<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzjSMVVung1jlvqXL9f3CwQQbpB_GAP1RP4ctMSWpneuFEDMBkuMMBzV5WyVDojKtBl_pEz6kFSA-KwY-0WjtIEtyzslGIDMBYSrWVwd8yCKL5uBzmoa99QKDFDngq2kBEa0L_AylIqPw/s1600/responsive-wordpressdotcom.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="169" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzjSMVVung1jlvqXL9f3CwQQbpB_GAP1RP4ctMSWpneuFEDMBkuMMBzV5WyVDojKtBl_pEz6kFSA-KwY-0WjtIEtyzslGIDMBYSrWVwd8yCKL5uBzmoa99QKDFDngq2kBEa0L_AylIqPw/s320/responsive-wordpressdotcom.jpg" style="height: auto; width: 100%;" width="320" /></a></div>
Now a days it has become very important to make <a href="http://en.wikipedia.org/wiki/Responsive_web_design" target="_blank">responsive pages</a> due to a many devices with different screen size available now and more people are using these mobile devices for browsing and reading. Responsive web pages should be designed to render properly on all devices.<br />
In blogger there are many responsive templates which are free and paid available for download. These templates are very helpful for making the your blog responsive.<br />
Still in some templates, the pictures inserted in the posts are not responsive due to the fixed size options provided by <a href="http://www.blogger.com/home" target="_blank">blogger</a> post editor.<br />
In this case you can follow these simple steps to make the picture responsive. This method can also be used if you do not have a responsive template,
but want the picture to be of certain percentage of the page body. For
example you may want the image to fill the page body by width or you may
want the image width to be half the size of the page width.<br />
<br />
<ol style="text-align: left;">
<li>Switch to <a href="http://en.wikipedia.org/wiki/HTML" target="_blank">HTML</a> view in blogger editor after adding picture
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxmD0nBpNNOqC0uZK22u5U9jptmgML-ZBfVYG0Z3Ii2UAU_2Z1flH-4zaOosbdXraHOJcDdQNypXlH8m5qveA6tuB7ktc_Fwe1taA22W5B36-WqfUmxy4NBi_Ie6bxbg3Kaxq90Sv9KTM/s1600/blogger-html-edit-mode.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="84" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxmD0nBpNNOqC0uZK22u5U9jptmgML-ZBfVYG0Z3Ii2UAU_2Z1flH-4zaOosbdXraHOJcDdQNypXlH8m5qveA6tuB7ktc_Fwe1taA22W5B36-WqfUmxy4NBi_Ie6bxbg3Kaxq90Sv9KTM/s320/blogger-html-edit-mode.png" width="320" /></a></li>
<li>Find <img followed by link to the image</li>
<li>Add the code <span style="color: #073763;"><b><span style="font-family: "Courier New",Courier,monospace;">style="width: 100%; height: auto;"</span></b></span> after <img with a space separating img and new code.</li>
<li>Preview and post.</li>
<li>Do this only before posting. Because, blogger manipulates the html code when you edit again. This may cause problem with appeariance.</li>
<li>For youtube videos embed the youtube iframe between the following code <b><span style="color: #073763;"><span style="font-family: "Courier New",Courier,monospace;">&lt;style&gt;.embed-container { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; max-width: 100%; height: auto; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }&lt;/style&gt;&lt;div class='embed-container'></span></span></b> Your YouTube video embed code from share option in YouTube video page <span style="font-family: "Courier New",Courier,monospace;"><b><span style="color: #073763;"></div></span></b></span></li>
</ol>
<h4 style="text-align: left;">
Note:</h4>
<ul style="text-align: left;">
<li>If you have installed a responsive blogger template, but blogger default template is loading the you have to follow these steps to disable default blogger template for mobile.</li>
<li>By changing the value 100% to a lower value in code for image, it is also possible to keep the image always smaller by a percentage of page body.</li>
</ul>
</div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9111011214776153036.post-75013490422775294772013-12-11T18:24:00.003+05:302013-12-11T18:40:54.695+05:30Malayalam language reading support in UC browser<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEid-zums0YdBO_RTNlt0IoJ3dN7CoZVBYuG2e8c73oBfc4IViB5Sm_H4puOnrhTL5wkQ0QeHBvq3CuNSQYd3abiIxqvqwRdM9uXu9LA3pttwh5hN76V2zX72YZQbHY5o0Y0VjpAt4a7EuI/s1600/ucbrowser+overview.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="UC Browser overview" border="0" height="197" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEid-zums0YdBO_RTNlt0IoJ3dN7CoZVBYuG2e8c73oBfc4IViB5Sm_H4puOnrhTL5wkQ0QeHBvq3CuNSQYd3abiIxqvqwRdM9uXu9LA3pttwh5hN76V2zX72YZQbHY5o0Y0VjpAt4a7EuI/s320/ucbrowser+overview.jpg" style="height: auto; width: 80%;" width="320" /></a></div>
<br />
I have already written post on how to read <a href="http://www.techcollections.co/2011/04/read-malayalamor-other-non-english.html" target="_blank">Malayalam</a> or <a href="http://www.techcollections.co/2011/05/read-tamil-webpages-on-mobile-phone.html" target="_blank">Tamil</a> in mobile using <a href="http://www.opera.com/mobile/mini" target="_blank">Opera Mini</a>. But I gets lot of request for reading Malayalam/Tamil on mobile using UC browser. Like Opera mini, <a href="http://www.ucweb.com/" target="_blank">UC browser</a> is one of the popular web browser for mobile phone and also supports many types of mobiles like <br />
<ul style="text-align: left;">
<li><a href="https://play.google.com/store/apps/details?id=com.UCMobile.intl" target="_blank">Android</a></li>
<li><a href="https://itunes.apple.com/us/app/uc-browser+/id716482451" target="_blank">iOS</a></li>
<li><a href="http://www.ucweb.com/wor/nav/nav/Symbian-xz-15263.html" target="_blank">Symbian</a></li>
<li><a href="http://www.ucweb.com/ucbrowser/download/java.html" target="_blank">Java</a></li>
<li><a href="http://www.ucweb.com/ucbrowser/download/wp.html" target="_blank">Windows Phone</a></li>
<li><a href="http://www.ucweb.com/wor/nav/nav/blackberry-xz-15263.html" target="_blank">Blackberry</a></li>
</ul>
Right now there are <span style="color: red;"><b>no options</b></span> in UC browser to read Malayalam <span style="color: red;"><b>without installing</b></span> the Malayalam/Tamil fonts on mobile. If your phone supports installing Unicode fonts or any font install hacks(which are not safe for your mobile) are available for your mobile then you can install Malayalam fonts and start browsing.<br />
But don't worry you can still install opera mini version 4 or later, then <a href="http://www.techcollections.co/2011/04/read-malayalamor-other-non-english.html" target="_blank">configure it for bitmap fonts to read Malayalam</a>. <br />
<h3 style="text-align: left;">
Note:</h3>
<div style="text-align: left;">
<ul style="text-align: left;">
<li>In java version 9.0 and above(now 9.4), UC browser started adding bitmap fonts for other languages like <span id="8522447060890346920"><a href="http://en.wikipedia.org/wiki/Arabic_language" target="_blank">Arabic</a>, <a href="http://en.wikipedia.org/wiki/Persian_language" target="_blank">Persian</a>, <a href="http://en.wikipedia.org/wiki/Urdu" target="_blank">Urdu</a>, <a href="http://en.wikipedia.org/wiki/Hindi" target="_blank">Hindi</a>, and <a href="http://en.wikipedia.org/wiki/Bengali_language" target="_blank">Bengali</a> also. All you have to do is to activate Menu>Settings>Advanced>Bitmap Font. Hopefully they will extent this to other languages including <a href="http://en.wikipedia.org/wiki/Malayalam" target="_blank">Malayalam</a>, <a href="http://en.wikipedia.org/wiki/Tamil_language" target="_blank">Tamil</a> etc</span><span id="8522447060890346920"> </span></li>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2LGgF1bDEgWcHcuC7DB74fpsfgWgZ9X2QsLPEsluhIza-awiCjVgeMHKpQm5-yPLmY-jSH7jVFlJoRH00yr_mZXdHYmqHjn3OW417js2Lanv1dTb_JDuRAgjXo2PMtm-XAmduXu5c6SI/s1600/UC+Browser+-+Configure+bitmap+font+in+java.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Configuring bit map font in UC Browser for Java" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2LGgF1bDEgWcHcuC7DB74fpsfgWgZ9X2QsLPEsluhIza-awiCjVgeMHKpQm5-yPLmY-jSH7jVFlJoRH00yr_mZXdHYmqHjn3OW417js2Lanv1dTb_JDuRAgjXo2PMtm-XAmduXu5c6SI/s320/UC+Browser+-+Configure+bitmap+font+in+java.jpg" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Bit map font option in UC Browser for Java</td></tr>
</tbody></table>
<li>There are mods(modified versions) available in different languages, however there are only translated versions and still need fonts installed to work.</li>
</ul>
</div>
<ul style="text-align: left;">
</ul>
<h4 style="text-align: left;">
UC Browser Promo in YouTube
<style>.embed-container { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; max-width: 100%; height: auto; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style></h4>
<div class="embed-container">
<iframe allowfullscreen="" frameborder="0" src="http://www.youtube.com/embed/UAHdTIZbyrA"></iframe></div>
<h3 style="text-align: left;">
Screenshots of UC Browser</h3>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0sLCOJ8KUwXyaoTxadl5wUsdvp6gdYHznP80wXwYm7pq4eMB4B2adxWOPX93l2NzDgB5Uu672Xh-XBmujzQ-0te88XZE4GhR5m05H0GjecjlGxTlGmaJWzHAWTeR-60ozqdvKE2utXvc/s1600/UC+Browser+V9.4+Home.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0sLCOJ8KUwXyaoTxadl5wUsdvp6gdYHznP80wXwYm7pq4eMB4B2adxWOPX93l2NzDgB5Uu672Xh-XBmujzQ-0te88XZE4GhR5m05H0GjecjlGxTlGmaJWzHAWTeR-60ozqdvKE2utXvc/s400/UC+Browser+V9.4+Home.png" width="240" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">V9.4 Home screen</td></tr>
</tbody></table>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGcBY9JEMS7Iu_1xe9s4kDcQJxL1CTsG3ofccQ8wdSeq8B7WHxfgTWe5P8KqJzTTpbd315R-x78l8-lPSdmFjK1gQhY8bVzJKrZTzk9SXASyshCXJMa9cyT6uk1e2l4zi9ptUHSyrrXmo/s1600/UC+Browser+V9.4+Welcome.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGcBY9JEMS7Iu_1xe9s4kDcQJxL1CTsG3ofccQ8wdSeq8B7WHxfgTWe5P8KqJzTTpbd315R-x78l8-lPSdmFjK1gQhY8bVzJKrZTzk9SXASyshCXJMa9cyT6uk1e2l4zi9ptUHSyrrXmo/s400/UC+Browser+V9.4+Welcome.png" width="240" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">v9.4 Welcome screen</td></tr>
</tbody></table>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBDOkm5Up0xTLAMzLPvsEXcMc6cYhAqLruvKK4o5gdZaQkaaLgGf6NX8giTm3R6Tjw7Q-iQobpUmL3KKQ4nCQfm_85BP6RXpI26az3QeoTrOKv8fKKPQ5KNQhCIjjlpl3PN7YU0BrYklA/s1600/UC+Browser+V+mini+8.8+Welcome.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBDOkm5Up0xTLAMzLPvsEXcMc6cYhAqLruvKK4o5gdZaQkaaLgGf6NX8giTm3R6Tjw7Q-iQobpUmL3KKQ4nCQfm_85BP6RXpI26az3QeoTrOKv8fKKPQ5KNQhCIjjlpl3PN7YU0BrYklA/s400/UC+Browser+V+mini+8.8+Welcome.png" width="240" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">V mini8.8 Welcome screen</td></tr>
</tbody></table>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjponbiCbzeoj-kZxInp7-ohj5-IXi6ykyOjnAGLX2SjKkU6AIGklLNR-YnLR1we9IktYzXIaek84rzWa7CZ2ES_drvqtWqcl0lEPFxFOHTasu_Ar98WXPO_58kNOj3sA4Sy4NiFDDbGws/s1600/UC+Browser+V+mini+8.8+Home.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjponbiCbzeoj-kZxInp7-ohj5-IXi6ykyOjnAGLX2SjKkU6AIGklLNR-YnLR1we9IktYzXIaek84rzWa7CZ2ES_drvqtWqcl0lEPFxFOHTasu_Ar98WXPO_58kNOj3sA4Sy4NiFDDbGws/s400/UC+Browser+V+mini+8.8+Home.png" width="240" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">V mini8.8 Home screen</td></tr>
</tbody></table>
</div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Unknownnoreply@blogger.com0India20.593684 78.962880000000041-8.5815185000000014 37.654286000000042 49.7688865 120.27147400000004tag:blogger.com,1999:blog-9111011214776153036.post-6837596406790540542013-11-06T22:40:00.002+05:302013-11-06T22:47:55.470+05:30Ecosphere - Best gift for science enthusiast or an environment lover<div dir="ltr" style="text-align: left;" trbidi="on">
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmqLwq9MVSevb1wOv93DiHGx2yDfPU-Mw2i3EtYKWxEwA7Gq4HGDAIEpa9E-fI9i-uJPkWJ3l5zbBHWlTqxO2TKgOINub0XWj89-fF1wwZac__nzmpFkZQdku8ZbXzmvRV3mrI7vXaG44/s1600/Ecosphere.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmqLwq9MVSevb1wOv93DiHGx2yDfPU-Mw2i3EtYKWxEwA7Gq4HGDAIEpa9E-fI9i-uJPkWJ3l5zbBHWlTqxO2TKgOINub0XWj89-fF1wwZac__nzmpFkZQdku8ZbXzmvRV3mrI7vXaG44/s320/Ecosphere.jpg" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Echosphere - Source: eco-sphere.com</td></tr>
</tbody></table>
I always dreamed of a garden designed as a self sustaining ecosystem, but never had the time or opportunity to make one. Recently I stumbled on this amazing product <a href="https://eco-sphere.com/about.html" target="_blank">Ecosphere</a> - a complete self sustaining ecosystem in a closed glass sphere. The sphere contains active micro-organisms, small shrimp, algae and bacteria, each existing in filtered sea water.<br />
This will be the best gift to give as pet, or piece of art, decorative items etc. But one drawback I felt on the actual product compared to impression I felt from the term "self sustaining" is, the shrimps in this will not last forever becaus they do not repopulate.<br />
<br />
<div align="center">
<iframe allowfullscreen="" frameborder="0" height="315" src="//www.youtube.com/embed/p-LWgbQMKIU" width="560"></iframe></div>
Anyway it is still a wonder to me as this do not need any maintanace and only necessary thing is indirect light source either sunlight or artificial light.<br />
<div align="center">
<iframe allowfullscreen="" frameborder="0" height="315" src="//www.youtube.com/embed/Pki98IXDfGE" width="420"></iframe></div>
<br />
Followin websites you can find more information about ecosphere<br />
<ol style="text-align: left;">
<li> <a href="https://eco-sphere.com/" target="_blank">eco-sphere.com</a></li>
<li><a href="http://www.exhibitionecospheres.com/" target="_blank">www.exhibitionecospheres.com</a> </li>
<li><a href="http://ecospherepromo.com/" target="_blank">ecospherepromo.com</a> </li>
</ol>
</div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9111011214776153036.post-55407877328598647232013-10-20T17:42:00.000+05:302013-12-30T00:25:58.554+05:30Blogger and google rich snippet recipe using micro data<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
<div xmlns="http://www.w3.org/1999/xhtml">
<div style="text-align: justify;">
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxwVKZJwDfHsTcaBy1YIsBgfSQYzP8XE7a_NrtDLhM0uhU9ec8NxZMjzXfo3f-vyC0XrawRlVBIirnxB6hiny9KBNaxpgIOvMC1aL1zKYqu9t17cd2ISMecU3CZl4ZtVPopVw_nOMqchM/s1600/Google+structured+data+test+tool.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Using Google structured data test tool to verify microdata" border="0" height="271" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxwVKZJwDfHsTcaBy1YIsBgfSQYzP8XE7a_NrtDLhM0uhU9ec8NxZMjzXfo3f-vyC0XrawRlVBIirnxB6hiny9KBNaxpgIOvMC1aL1zKYqu9t17cd2ISMecU3CZl4ZtVPopVw_nOMqchM/s400/Google+structured+data+test+tool.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Using Google structured data test tool to verify microdata</td></tr>
</tbody></table>
<blockquote>
Update: I am developing a web app - <a href="http://seorecipetool.techcollections.co/" target="_blank">SEO Recipe Tool</a> for formatting recipe with microdata. Now it is in preview/alpha stage. I am planning to finish it by Feb 2014.</blockquote>
Well I have started a <a href="http://oishirecipes.blogspot.com/" target="_blank">cooking blog</a> some time before and wanted to add <a href="http://en.wikipedia.org/wiki/Microdata_%28HTML%29" target="_blank">microdata</a> for <a href="https://support.google.com/webmasters/answer/99170?hl=en&topic=1088472&ctx=topic" target="_blank">Google rich snippets</a> in my blog so that I could get some benefit from the <a href="https://www.google.com/" target="_blank">Google</a> recipe search and <a href="http://en.wikipedia.org/wiki/Search_engine_optimization" target="_blank">SEO</a> boost. Though there are different formats available(<a href="http://microformats.org/" target="_blank">microformat</a>, <a href="http://rdfa.info/" target="_blank">RDFa</a>), <a href="http://en.wikipedia.org/wiki/Microdata_%28HTML%29" target="_blank">microdata</a> is the latest format developed together by the search giants like Google, Yahoo, Bing etc. I searched a lot for some widgets which I could use with blogger for this purpose. After lot of search also I could find only widgets for <a href="http://wordpress.com/" target="_blank"> WordPress</a> and not for <a href="http://www.blogger.com/" target="_blank">blogger</a>. So I thought if adding it by editing the template and <a href="http://en.wikipedia.org/wiki/HTML" target="_blank">HTML</a> code of recipe post. </div>
<div style="text-align: justify;">
This is not so easy as using the WordPress plug in. so I am listing the information here so that it could be helpful for some one trying to do the same. First of all this requires some template modification and a little modification of HTML tags while. Without modification also it is possible, but in that case we will have to do a lot of HTML editing while posting every time.</div>
<h4 style="text-align: left;">
Some information about <a href="https://support.google.com/webmasters/answer/176035?hl=en" target="_blank">microdata</a></h4>
<div style="text-align: left;">
In web pages we can write information which can be understood by humans, but it will not be possible(or difficult) for machines to understand</div>
<div style="text-align: left;">
<br />
<div style="text-align: justify;">
<br />
For example, if I am writing "<i>This recipe is from Soumya and needs 1 hour preparation.</i>"From this sentence we can understand that Soumya is author and 1hour is required for preparation. By adding <a href="https://support.google.com/webmasters/answer/173379?hl=en" target="_blank">Google Rich Recipe snippets</a>, it is possible for search engines(machines) to understand please see the snippet after adding metadata</div>
</div>
<div style="text-align: left;">
<blockquote>
<span style="font-family: "Courier New",Courier,monospace;"><div itemscope itemtype="http://schema.org/Recipe"> This recipe is from <span itemprop="author">Soumya</span> and needs <meta itemprop="prepTime" content="PT1H">1 hour preparation. </div> </span></blockquote>
</div>
</div>
</div>
The above marked part will tell author is Soumya and preparation time is 1 hour. However the above code is just a part and a vocabulary is also necessary. This is available in <a href="http://schema.org/Recipe" target="_blank">http://schema.org/Recipe</a> this is necessary to tell what is <i><span style="background-color: #fff2cc;">itemprop="author"</span>.</i> Well this informatioin is incomplete for a recipe. For full list of properties of recipe click <a href="http://schema.org/Recipe" target="_blank">here</a>.<br />
<br />
<h4 style="text-align: left;">
Updating template for adding microdata</h4>
Complete information cannot be updated in template as information like cooking time, ingredients, prepration method etc will be inside the post(May be using some advanced script or something, it will be possible. But do not know much about those stuffs).<br />
Following are the updates which I did.<br />
<br />
<b>Note:</b> <span style="background-color: #ea9999;">If you are going to follow this, then please take a backup of template first.</span> <br />
<br />
1) Changed the following line<br />
<blockquote class="tr_bq">
<span style="font-family: "Courier New",Courier,monospace;"><div class='post hentry uncustomized-post-template' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'></span></blockquote>
to<br />
<blockquote class="tr_bq">
<span style="font-family: "Courier New",Courier,monospace;"><div class='post hentry uncustomized-post-template' itemscope='itemscope' itemtype='http://schema.org/Recipe'></span></blockquote>
2) Under this line, added some extra code for author, description, date, name, image, thumbnail etc.<br />
<blockquote class="tr_bq">
<span style="font-family: "Courier New",Courier,monospace;"><meta expr:content='data:post.snippet' itemprop='description'/></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><b:if cond='data:post.firstImageUrl'></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><meta expr:content='data:post.firstImageUrl' itemprop='image'/></span><br />
<span style="font-family: "Courier New",Courier,monospace;"></b:if></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><b:if cond='data:post.thumbnailUrl'></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><meta expr:content='data:post.thumbnailUrl' itemprop='thumbnailUrl'/></span><br />
<span style="font-family: "Courier New",Courier,monospace;"></b:if></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><meta expr:content='data:post.author' itemprop='author'/></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><meta expr:content='data:post.timestampISO8601' itemprop='datePublished'/></span></blockquote>
<br />
3) Now rest of the tags are added my modifying HTML tags in each post. Example below.</div>
<br />
<blockquote class="tr_bq">
<span style="font-family: "Courier New",Courier,monospace;">
Prep Time: <meta itemprop="prepTime" content="PT15M">15 minutes</span><br />
<span style="font-family: "Courier New",Courier,monospace;">Cook time: <meta itemprop="cookTime" content="PT1H">1 hour</span><br />
<span style="font-family: "Courier New",Courier,monospace;">Yield: <span itemprop="recipeYield">1 loaf</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><br /></span>
<span style="font-family: "Courier New",Courier,monospace;"><span itemprop="ingredients">3 or 4 ripe bananas, smashed</span></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><br /></span>
<span style="font-family: "Courier New",Courier,monospace;"><span itemprop="recipeInstructions"></span><span style="font-family: "Courier New",Courier,monospace;">
Preheat the oven to 350 degrees. Mix in the ingredients in a bowl. Add</span><br />
<span style="font-family: "Courier New",Courier,monospace;">the flour last. Pour the mixture into a loaf pan and bake for one hour.</span><br />
<span style="font-family: "Courier New",Courier,monospace;"></span>
</span></blockquote>
Once finished, you can use the <a href="http://www.google.com/webmasters/tools/richsnippets" target="_blank">Google Structured Data Testing Tool</a> to check if the microdata contents are correct. <br />
<br />
<b>Note 1:</b> There might be more that one line as in step .1, these steps has to be repeated all places. <br />
<b>Note 2:</b> <span style="background-color: #f4cccc;">The meta tags for preparation time, cooking time etc added in post will be automatically deleted if you switch to compose mode in the blog post editor. So add this tag at the end and publish without switching to the compose mode.</span><br />
<br />
<b>PS:</b> It is also possible to add meta tags only by changing HTML tags in blog post instead of updating the template itself. But in each post all tags need to be added. To minimize this, you can also create a post template. But still some HTML editing will be necessary for each post.</div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Unknownnoreply@blogger.com0Bangalore, Karnataka, India12.9715987 77.59456269999998312.4764182 76.949115699999979 13.4667792 78.240009699999987tag:blogger.com,1999:blog-9111011214776153036.post-89729099238102595472013-10-05T23:20:00.000+05:302013-10-05T23:20:15.448+05:30Sony(Sony ericssion) mobile headpone compatibility problem solved<div dir="ltr" style="text-align: left;" trbidi="on">
I loved my <a href="http://en.wikipedia.org/wiki/Sony_Mobile_Communications" target="_blank">Sony Ericsson</a> head phone which I got from my brother. I have recently purchased Sony <a href="http://www.sonymobile.com/global-en/products/phones/xperia-u/" target="_blank">Xperia U</a> smart phone and really disappointed of the headphone quality which is coming along with the mobile. I was using this old Sony Ericsson headphone earlier and the audio quality was awesome with very good bass reflex technology.<br />
So I thought of using the old one with my <a href="http://www.gsmarena.com/sony_xperia_u-4437.php" target="_blank">Xperia U</a>. But I found that the headphone is not supported. After a little research, I found that the new mobile phone series Sony <a href="http://www.sonymobile.com/global-en/products/phones/xperia-s/" target="_blank">Xperia S</a>, <a href="http://www.gsmarena.com/sony_xperia_p-4436.php" target="_blank">Xperia P</a> and Xperia U, <a href="http://en.wikipedia.org/wiki/Sony_Xperia_Z" target="_blank">Z</a> and latest uses a different 3.5mm headset standard compared to the older Xperia models from 2010 & 2011.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPEz_bNtCsF6T-GF5e4zYz1n8tIFjWwQvdnLA_0gk52K3s3ZQ4hL7TuvU5akz1D3VGx28fHgnp5kYqQbRqja-3hlwW4dGZjjQ5tn7pIBSrNstVYiuBTS_k6gmXY_3Gf78dUHxxoAIwR6I/s1600/sony+headpone+pin+OMTP+CTIA.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="223" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPEz_bNtCsF6T-GF5e4zYz1n8tIFjWwQvdnLA_0gk52K3s3ZQ4hL7TuvU5akz1D3VGx28fHgnp5kYqQbRqja-3hlwW4dGZjjQ5tn7pIBSrNstVYiuBTS_k6gmXY_3Gf78dUHxxoAIwR6I/s400/sony+headpone+pin+OMTP+CTIA.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">3.5mm jack OMTP, CTIA and ordinary sterio</td></tr>
</tbody></table>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
The spec sheet for the 2012 Xperia models highlight that the 3.5mm jack will now use the <a href="http://en.wikipedia.org/wiki/CTIA_%E2%80%93_The_Wireless_Association" target="_blank">CTIA</a> standard as opposed to the <a href="http://en.wikipedia.org/wiki/Open_Mobile_Terminal_Platform" target="_blank">OMTP</a> standard it was using previously.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigeXCvkEX1ttm_bzB6pNw24VPkTjKjCL4sZB9InompXOk-ki4i2rhj1N7eqYBzltEkfoxHx-zP1_JIWd5l2bxytxe-IJYV186d9POABugJm7yPA-LlpLbAHN8ZN1bptaneL1WUN4p-Tgg/s1600/1249-0456+EC250.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigeXCvkEX1ttm_bzB6pNw24VPkTjKjCL4sZB9InompXOk-ki4i2rhj1N7eqYBzltEkfoxHx-zP1_JIWd5l2bxytxe-IJYV186d9POABugJm7yPA-LlpLbAHN8ZN1bptaneL1WUN4p-Tgg/s1600/1249-0456+EC250.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span lang="EN-US" style="color: #666666; font-family: 'Trebuchet MS','sans-serif'; font-size: 9.0pt;">1249-0456 EC250 Headphone Converter</span></td></tr>
</tbody></table>
There is a converter available for this, however I thought of modifying my headphone(in mic board) instead of using the converter. This is easy with a little bit of soldering. But for this shield has to be disconnected because ground and shield will be connected in pin and in the mic board. In the pin it is not possible to change point at which shield is connected, so when connected to phone with CITA standard shield and Mic are connected. So I disconnected the shield from board. This may be not very good for the quality of sound as noise could be induced.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgz8Gs_dNxcB5aCySjoMDfz9MulRHaG0r50sYetVjHRh-ra1if3ttl49ITv42MbHVqz5im1exuFdU6Qct88yY-qXTEkEyaP0w1HM_6ApoW5BnqV51ps5WqBrqB9a66PhCvmE13uqKk1oBs/s1600/Sony+headphone+OMTP+to+CITA+modified.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="96" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgz8Gs_dNxcB5aCySjoMDfz9MulRHaG0r50sYetVjHRh-ra1if3ttl49ITv42MbHVqz5im1exuFdU6Qct88yY-qXTEkEyaP0w1HM_6ApoW5BnqV51ps5WqBrqB9a66PhCvmE13uqKk1oBs/s400/Sony+headphone+OMTP+to+CITA+modified.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Modified headphone</td></tr>
</tbody></table>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWNaQmB-avdYrOKj7M9BkziIa_cr81EjNPIsIXhRt_YHSbmi9K-XFXPGHXZud-b91TwD39kNn-2y_kca_jdnBbAKtNKM3uqUPQcGJIW-MN1CVkAnBDNRkhIJ4F96V20U5jfHK28w3NRfg/s1600/images.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWNaQmB-avdYrOKj7M9BkziIa_cr81EjNPIsIXhRt_YHSbmi9K-XFXPGHXZud-b91TwD39kNn-2y_kca_jdnBbAKtNKM3uqUPQcGJIW-MN1CVkAnBDNRkhIJ4F96V20U5jfHK28w3NRfg/s1600/images.jpg" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">A cable with shield</td></tr>
</tbody></table>
Note: Do not try this if you don't know what you are doing. This may damage your headphone or phone. And may not work for you.</div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9111011214776153036.post-71611029543775743642013-10-03T22:23:00.001+05:302013-10-03T22:29:39.809+05:30Read Hindi webpages on mobile phone using Opera Mini<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
In my previous posts, I have written how to do opera mini settings for <a href="http://collectns.blogspot.com/2011/04/read-malayalamor-other-non-english.html" target="_blank">Malayalam</a> and <a href="http://collectns.blogspot.com/2011/04/tamil-online-internet-radio-player-list.html" target="_blank">Tamil</a>(however both settings are same). To make it easy for those who are searching to view settings for <a href="http://en.wikipedia.org/wiki/Hindi" target="_blank">Hindi</a>, I am creating this new post. As mentioned in my old posts this will work for all complex script Indian and other languages also.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-7aqbiFQj3r58wzHin7QBcfQpZXDCtWCpvefj3LXHTui2KzS8h-eCDzEu7j0LHQCbT0Nvj3dmvA1a-9mF55jFZ0sXMLfkELlhZIuYzuucE8w3JjIO_NRg8kSKG0i7LbuCr-pffWdSePU/s1600/Rendering+with+out+opera+min+setting.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-7aqbiFQj3r58wzHin7QBcfQpZXDCtWCpvefj3LXHTui2KzS8h-eCDzEu7j0LHQCbT0Nvj3dmvA1a-9mF55jFZ0sXMLfkELlhZIuYzuucE8w3JjIO_NRg8kSKG0i7LbuCr-pffWdSePU/s1600/Rendering+with+out+opera+min+setting.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Rendering of page without configuration</td></tr>
</tbody></table>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
In-order to read, we have to enable a special menu on the Opera Mini browser by typing "config:" in the address bar of Opera Mini and click "Go".<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4EryvSt-hELwIfyEBG3JpwwKlVwH02LD7PQ0aJddS35es40l5hvnbQoggUx9QrrV_UesV1H1cJIsazVBkK9FHb2EqBy_PbnJcy0yHan2bnjepDqQdHyzqJFVDDXIwlecanepRg67J-Hk/s1600/opening+opera+mini+config+page.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4EryvSt-hELwIfyEBG3JpwwKlVwH02LD7PQ0aJddS35es40l5hvnbQoggUx9QrrV_UesV1H1cJIsazVBkK9FHb2EqBy_PbnJcy0yHan2bnjepDqQdHyzqJFVDDXIwlecanepRg67J-Hk/s1600/opening+opera+mini+config+page.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Opening config page</td></tr>
</tbody></table>
This will open a configuration menu as shown in the screen shot below. Here we will be able to change lot of settings like feedindex, linklists folding, loading time etc. In this menu there will be an entry called "Use bitmap fonts for complex scripts". By default this setting will be disabled. Now change the setting to Yes and click Save.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
Scroll down to find the option "Use bitmap fonts for complex scripts"<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR_04-2G6NHg9MwLCM_w6LMz269WWduO7HOyNoBoitnShyphenhyphencxFWaSoVlPHNee05HoQnUS0OMLalUQv6lfWgMeuSr5d2ylk2DbQYidX6eMRhHoVDoiT5d-GTgbMswa-ELaA4ZB_f_EeP40U/s1600/Opera+mini+setting+bitmap+font.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR_04-2G6NHg9MwLCM_w6LMz269WWduO7HOyNoBoitnShyphenhyphencxFWaSoVlPHNee05HoQnUS0OMLalUQv6lfWgMeuSr5d2ylk2DbQYidX6eMRhHoVDoiT5d-GTgbMswa-ELaA4ZB_f_EeP40U/s1600/Opera+mini+setting+bitmap+font.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Changing the setting</td></tr>
</tbody></table>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script><br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc4-2h4tnRTZA67MUhBq-tMAndszLqiVlQB5yjKMPozMDy-tmnZiz6PN0hH_6V5_anQI0f_r0CWaZfEMuhUDEuOX8DzLfW1X8ZN1rO-AY56g9A4RX9E1XUpVc9v0cki5Wqo4vKClQ_-ls/s1600/save+settings.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc4-2h4tnRTZA67MUhBq-tMAndszLqiVlQB5yjKMPozMDy-tmnZiz6PN0hH_6V5_anQI0f_r0CWaZfEMuhUDEuOX8DzLfW1X8ZN1rO-AY56g9A4RX9E1XUpVc9v0cki5Wqo4vKClQ_-ls/s1600/save+settings.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Save settings</td></tr>
</tbody></table>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<b>What exactly happens ? </b><br />
Usually while processing a web page for mobile phones in opera mini servers, text will be sent as normal text and font information. So the actual rendering of the font happens in the mobile. This method causes comparitively less bandwidth. After the change in the setting, Opera Mini server will render the text at server itself, then convert it to bitmap images and then send to phone. So the phone will display correct text.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBiQuRiQoCvyZVf4QGcmMDwvQFSN0qJVdbDDt88TYCYpWYSTCrZHE2IZPfjDSj-btGwL6rKSq6fZj5TlIskOUk6_8_fQp8WBYVHCiXBWQ_N1eOOzKhzuwdVWlU7tQcU3DzgHZgrEf09bc/s1600/Opera+mini+rendering+hindi+pages.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBiQuRiQoCvyZVf4QGcmMDwvQFSN0qJVdbDDt88TYCYpWYSTCrZHE2IZPfjDSj-btGwL6rKSq6fZj5TlIskOUk6_8_fQp8WBYVHCiXBWQ_N1eOOzKhzuwdVWlU7tQcU3DzgHZgrEf09bc/s1600/Opera+mini+rendering+hindi+pages.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Hindi page rendered after setting</td></tr>
</tbody></table>
This method works for other languages other than Hindi also. So have good time reading an article in your local language using mobile while you are on move.<br />
<br />
<b>Note:</b> Enabling this option will result in higher data rate. For example, site size is 91KB with this setting and it was only 28KB before enabling the setting.<br />
If you are upgrading Opera mini to a higher version, then this setting has to be done again. </div>
</div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Unknownnoreply@blogger.com0Pune, Maharashtra, India18.5204303 73.85674369999992518.2795348 73.534020199999929 18.7613258 74.17946719999992tag:blogger.com,1999:blog-9111011214776153036.post-64038583202205536592013-03-03T16:59:00.001+05:302013-03-03T17:10:26.833+05:30Solved my problem using memory card on mobile (Pantech Burst)<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxzImNEvcPjUq7fTttwS9CBmHA8ngDLkE9J7E9mmvMNoqpRZY70C9FEAAOtgCv_mVHwY-ME6c0LbFjLY-UloMkcyia8f8gz8HvH8HMMfQQRqg1NEorVu6uOWK2rFr2xJH9qYONPaE67Uc/s320/micro+sd+card.jpg" style="margin-left: auto; margin-right: auto;" width="320" /></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Micro SD</td></tr>
</tbody></table>
</div>
I had an 8Gb <a href="https://www.sdcard.org/home/" target="_blank">micro SD</a> card which I was using with my old mobile phone to keep all my personal data. It was working without any problem and was good.<br />
However when I tried to use this micro SD card with my new <a href="http://www.gsmarena.com/pantech_burst-4429.php" target="_blank">Pantech Burst</a> mobile phone, it started giving message that SD card is damaged. Then I checked it with my PC, old mobile and it was working. Now I am little confused an checked again with Pantech Burst and it showed again SD card damaged and asked me to try formatting the card.<br />
So I took the backup of the card, and then choose format from the phone. However after formatting also, it gave the same error. Now I thought it is because of the card incompatibility with phone. But when I put the card back to PC, I found it formatted.<br />
<br />
Now how does the card got formatted, if it is not compatible to my phone? I did some research and found the problem.<br />
<br />
<ul style="text-align: left;">
<li>SD cards are not like ordinary flash drive.</li>
<li>They have options to encrypt and many other stuff compared to flash drive.</li>
<li>In-order to properly format a [micro] SD card special utility "SD Formatter" is necessary.</li>
<li>Some times the cheap SD cards will be corrupted and causes problem while read/write. </li>
</ul>
<div style="text-align: left;">
<i><b>"The SD Formatter was created specifically for memory cards using the SD/SDHC/SDXC standards.</b>
It is strongly recommended to use the SD Formatter instead of
formatting utilities provided with operating systems that format various
types of storage media. Using generic formatting utilities may result
in less than optimal performance for your memory cards."</i></div>
<div dir="rtl" style="text-align: right;">
<i> From https://www.sdcard.org</i></div>
<div dir="rtl" style="text-align: right;">
<i></i><br />
<i></i></div>
<br />
Now these are the magic steps which made my micro SD card working with my mobile phone.<br />
<ol style="text-align: left;">
<li>Used <a href="http://www.4shared.com/zip/KelptMaY/h2testw.html" target="_blank">this</a> utility to check whether SD card contains any error and fix it.</li>
<li>Formatted SD card with "<a href="https://www.sdcard.org/downloads/formatter_4/" target="_blank">SD Formatter</a>".</li>
</ol>
And now my phone has no complaint :-)<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-YF9S9KJjJ-qujlASGHUy0kfoM7zGDbBV_EVWCD9Hkn3J1hc7wdOrw7RocXHmpkDx8xWHaaZizaon0T78KSQlu-Dai-Bh0qNE4PufeEb79AqJAgQdmxStUdJWuLlLdiogq3hwl1AF50Y/s1600/h2testw+sd+card+flash+drive+test.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="257" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-YF9S9KJjJ-qujlASGHUy0kfoM7zGDbBV_EVWCD9Hkn3J1hc7wdOrw7RocXHmpkDx8xWHaaZizaon0T78KSQlu-Dai-Bh0qNE4PufeEb79AqJAgQdmxStUdJWuLlLdiogq3hwl1AF50Y/s320/h2testw+sd+card+flash+drive+test.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">SD card test in progerss (flash drive can be tested too)</td></tr>
</tbody></table>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfuJ5QW-_P9z4kz1aLnKV9hyphenhyphenkuQxD7RtBRonC1btmHUWjYdUz_n4kVo-buqBOPwvq9-elGfUUe8RMaVjvKNc9q5gsRDke7PAj-70Nb6XtBuwUG-eKcgr9mWENH7zhMulAGdfZX-ExiA6c/s1600/SD+Formatter.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfuJ5QW-_P9z4kz1aLnKV9hyphenhyphenkuQxD7RtBRonC1btmHUWjYdUz_n4kVo-buqBOPwvq9-elGfUUe8RMaVjvKNc9q5gsRDke7PAj-70Nb6XtBuwUG-eKcgr9mWENH7zhMulAGdfZX-ExiA6c/s320/SD+Formatter.png" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">SD Card formatter</td></tr>
</tbody></table>
<br />
<br /></div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-9111011214776153036.post-45881629810940662592013-03-03T16:16:00.001+05:302013-03-03T18:43:13.161+05:30Removed AT&T bloatwars from my Pantech burst android mobile after rooting<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="http://cdn2.gsmarena.com/vv/pics/pantech/pantech-burst.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://cdn2.gsmarena.com/vv/pics/pantech/pantech-burst.jpg" width="262" /></a></div>
<br />
I recently received my new <a href="http://www.gsmarena.com/pantech_burst-4429.php" target="_blank">Pantech Burst</a> P9070 mobile ordered from <a href="http://www.ebay.com/" target="_blank">ebay</a>.
I was very much impressed with its performance, but later found the
built in AT&T apps very annoying. Though there is an option to hide
the apps, it still remained in the ROM. Some cases those apps will be
running in the background and consuming some of the precious energy from
battery.<br />
<br />
So I decided to remove those apps from my <a href="http://www.pantechusa.com/phones/burst" target="_blank">Pantech Burst</a>. Since the applications were in ROM, first necessary this is to get the phone rooted. I followed the instructions in this <a href="http://forum.gizmolord.com/android-modding/%28root%29pantech-burst/" target="_blank">forum</a>.<br />
<br />
After rooting, <a href="https://play.google.com/store/apps/details?id=com.liteupmobile.secretcodes" target="_blank">Sysetm ROM Toolbox</a>(which did not show all apps) can be used to remove the system apps(AT&T apps present in ROM) or use <a href="https://play.google.com/store/apps/details?id=com.estrongs.android.pop" target="_blank">ES File Explorer</a> to manually remove.<br />
<br />
<ol style="text-align: left;">
<li>Open ES File explorer and select settings</li>
<ul>
<li> <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZs-czSlTmutGWHJTsSLRCBQu3tOwJ2mycZIGBfv9K-WLldqABhRCrVmbD71IauaM1zSJX-1nDW70K7ZequhOVo5QtbY-4zXV9kGNvpoFduHn05IVa1wkD4aolz_z2k2bHdic2cHvAHMM/s1600/Open+settings+in+ES+file+Explorer.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZs-czSlTmutGWHJTsSLRCBQu3tOwJ2mycZIGBfv9K-WLldqABhRCrVmbD71IauaM1zSJX-1nDW70K7ZequhOVo5QtbY-4zXV9kGNvpoFduHn05IVa1wkD4aolz_z2k2bHdic2cHvAHMM/s320/Open+settings+in+ES+file+Explorer.png" width="192" /></a></li>
</ul>
<li>Open menu Root settings</li>
<ul>
<li> <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghrHMATp6lWtutIlzaWKgH3-c7zoDmSNitpgG69ZZ6KtShKykX_YOkKFN4JU6sI0koFoeoC8HX4hX0-jHjOH51zOjSq7OZEa2AaU-ZPbwfXM7nSb3bY2OAMWV3w8gvj9sSVMHR36c_3JQ/s1600/Select+Root+settings.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghrHMATp6lWtutIlzaWKgH3-c7zoDmSNitpgG69ZZ6KtShKykX_YOkKFN4JU6sI0koFoeoC8HX4hX0-jHjOH51zOjSq7OZEa2AaU-ZPbwfXM7nSb3bY2OAMWV3w8gvj9sSVMHR36c_3JQ/s320/Select+Root+settings.png" width="192" /></a></li>
</ul>
<li>Check all the options</li>
<ul>
<li><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHmJyn6ygQWB3E3U4U83Krlx628aylNi-DyopVqH6tdqtqpqFB7wJquP3e8pGy1jYY6DmwoSl9rAGXGpM5QEuecAYWJXcAVWYHzqV1Y3I7gAr1_8CfGjNQXErbdJvS1buFbJ9A1eay8UM/s1600/Check.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHmJyn6ygQWB3E3U4U83Krlx628aylNi-DyopVqH6tdqtqpqFB7wJquP3e8pGy1jYY6DmwoSl9rAGXGpM5QEuecAYWJXcAVWYHzqV1Y3I7gAr1_8CfGjNQXErbdJvS1buFbJ9A1eay8UM/s320/Check.png" width="192" /></a> </li>
</ul>
<li>Now come back to the explorer, if the options are selected on a rooted phone, then press up till root folder</li>
<ul>
<li> <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIxSCFtGPPvoj3qeFS8Mf7b9KgAAF7kHp60Yl-DfW2AlEIxllD1U9NczzgVB8XG1uEuO88lWfXEuPVe4OeC-dPlkp9TzylXf0R_8tgRj-FgzzrseOlY9xN5eq4hSb3QW0ifyn3dma2r48/s1600/Click+up+to+reach+root+and+go+to.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIxSCFtGPPvoj3qeFS8Mf7b9KgAAF7kHp60Yl-DfW2AlEIxllD1U9NczzgVB8XG1uEuO88lWfXEuPVe4OeC-dPlkp9TzylXf0R_8tgRj-FgzzrseOlY9xN5eq4hSb3QW0ifyn3dma2r48/s320/Click+up+to+reach+root+and+go+to.png" width="192" /></a></li>
</ul>
<li>Now go to /sysem/app folder where all system(ROM) apps are seen</li>
<ul>
<li><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhN2_56O5sJVgQI0sgbxgoodGEU622pxqEYJke7FsM6udWh5uAk1l6TiUU7_L92Y5v1J6v1w7Q_Mae_U0qbRYrVpI3shXY3fT0rkPWvzyaQFi7Jet6oNSeGTx6ZQgz_CEsybhxpX4wzww/s1600/Long+press+app+to+deleate.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhN2_56O5sJVgQI0sgbxgoodGEU622pxqEYJke7FsM6udWh5uAk1l6TiUU7_L92Y5v1J6v1w7Q_Mae_U0qbRYrVpI3shXY3fT0rkPWvzyaQFi7Jet6oNSeGTx6ZQgz_CEsybhxpX4wzww/s320/Long+press+app+to+deleate.png" width="192" /></a> </li>
</ul>
<li>Long press the apps to be deleted and select the delete option to remove the app. Some apps has odex files also, which can also be deleted</li>
<ul>
<li><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMr7FSr3h5aNCOWoTkDVx6MUWUXudqpyLwELMkpM224R0XV01JiRsoUY9uJqZfdPkcaElsf7aqSLlq_D4ZFdaTriazPErwUIgYFD81XsW8A3jDuSBy1c9cIYKOmmQjlCQsnghQv4-Q090/s1600/Choose+deleate+from+operations.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMr7FSr3h5aNCOWoTkDVx6MUWUXudqpyLwELMkpM224R0XV01JiRsoUY9uJqZfdPkcaElsf7aqSLlq_D4ZFdaTriazPErwUIgYFD81XsW8A3jDuSBy1c9cIYKOmmQjlCQsnghQv4-Q090/s320/Choose+deleate+from+operations.png" width="192" /></a></li>
</ul>
</ol>
If you are familiar with linux, then it is also possible to use adb. adb files can be download from this <a href="http://forum.gizmolord.com/android-modding/%28root%29pantech-burst/" target="_blank">forum</a>, which is actually for rooting. But using shell, it is possible to list the /system/bin directory and delete(before that /system has to be remounted as read-write).</div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9111011214776153036.post-62652744903348402312013-03-03T15:34:00.003+05:302013-12-12T23:52:07.855+05:30Solved Xperia U battery drain issue after ICS upgrage<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="http://cdn2.gsmarena.com/vv/pics/sony/sony-xperia-u.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="275" src="http://cdn2.gsmarena.com/vv/pics/sony/sony-xperia-u.jpg" width="320" /></a></div>
<div dir="ltr" style="-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: #222222; font-family: arial; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;">
<br /></div>
<div dir="ltr" style="-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: #222222; font-family: arial; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;">
After updating my <a href="http://www.sonymobile.com/" target="_blank">SONY</a> <a href="http://www.gsmarena.com/sony_xperia_u-4437.php" target="_blank">Xperia U</a> to <a href="http://www.android.com/about/ice-cream-sandwich/" target="_blank">ICS</a>, battery drain was a very big problem. I tried lot of applications for fixing this but nothing worked and many things made it worse.</div>
<div dir="ltr" style="-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: #222222; font-family: arial; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;">
While checking the battery usage, I could see android is in the top list consuming almost 60 to 70% of the battery. For getting more information about battery, I tried the <a href="http://forum.xda-developers.com/showthread.php?t=1179809" target="_blank">better battery stats app</a> and found kworker threads are main contributors.</div>
<div dir="ltr" style="-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: #222222; font-family: arial; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;">
After searching a lot, I read in some forum that the problem is caused due to some incompatible settings present which is carried over from <a href="http://developer.android.com/about/versions/android-2.3-highlights.html" target="_blank">gingerbread</a>.</div>
<div dir="ltr" style="-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: #222222; font-family: arial; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;">
So I did a factory reset and found the problem still exists. Again I am disappointed.</div>
<div dir="ltr" style="-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: #222222; font-family: arial; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;">
After checking in the settings, I found option to backup app settings to Google account and restore it when app is installed again. So what was happening is after the factory reset, since I have selected the restore option, settings were restored from gingerbread version.</div>
<div dir="ltr" style="-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: #222222; font-family: arial; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- InsidePost -->
<ins class="adsbygoogle"
style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-4184570200617907"
data-ad-slot="0868641669"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<br />Now that I have found the real problem, I did the following steps to fix the issue.</div>
<ol style="text-align: left;">
<li>Deselected the backup option, which erased the gingerbread settings stored with Google.</li>
<li>Did a factory reset and found battery life of my xperia u improved :-) and lasted for almost two days </li>
</ol>
<div dir="ltr" style="-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; color: #222222; font-family: arial; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;">
</div>
</div>
<div class="blogger-post-footer">From <a href="http://www.techcollections.co">Tech Collections</a></div>Unknownnoreply@blogger.com0