tag:blogger.com,1999:blog-73378383327219373372024-03-12T20:10:58.806-07:00Mobile App Techjaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.comBlogger25125tag:blogger.com,1999:blog-7337838332721937337.post-87254804091479559082015-01-24T06:46:00.003-08:002015-01-24T06:48:40.917-08:00WhatsApp In Desktop<div dir="ltr" style="text-align: left;" trbidi="on">
<b><span style="font-size: x-large;">WhatsApp In Desktop</span></b><br />
<b><span style="font-size: large;"><br /></span></b>
<b><span style="font-size: x-large;">Now you can use WhatsApp in your Desktop-Authorized Announcement From WhatsApp</span></b><br />
<span style="font-size: large;"><b><br /></b></span>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinKyvtPvGhN437XEEEHleOJzJ1dUnTDtGRAnU7LuzhImfPZdkYdTxve0OUCWL-4WYEOxCvohMMeXxkNo_Jaz_C-zQ8OqovJ_AkkmBRMf2h0RcN5GqXBTuVyiBXa2pjeig5sSbC1VNhr0c/s1600/1388266287.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/AVvXsEinKyvtPvGhN437XEEEHleOJzJ1dUnTDtGRAnU7LuzhImfPZdkYdTxve0OUCWL-4WYEOxCvohMMeXxkNo_Jaz_C-zQ8OqovJ_AkkmBRMf2h0RcN5GqXBTuVyiBXa2pjeig5sSbC1VNhr0c/s1600/1388266287.png" height="436" width="640" /></a><span style="font-size: large;"><b><br /></b></span><br />
<span style="font-size: large;"><b> <span style="font-family: Times, Times New Roman, serif;">To use WhatsApp in Desktop:</span></b></span><br />
<span style="font-size: large;"><b><br /></b></span>
<span style="font-family: Times, Times New Roman, serif; font-size: large;">1)First you need to go to WhatsApp website - https://web.whatsapp.com/ </span><br />
<span style="font-family: Times, Times New Roman, serif;"><b> </b></span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieH9AD09oTMew7vxoBEWDn3IqHEDnG1J__YB_e6T1mTJwOR54DgxHMj0XRhqE6Bf5RkRgwirzTg2D_CWQNposIJ_E9eMsxxeMQbxmhVRJz5Z1M_jQIH5JaZgR4MQ79aoL7JkhWAG-Tu8w/s1600/Whatsapp_Web_YourStory.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieH9AD09oTMew7vxoBEWDn3IqHEDnG1J__YB_e6T1mTJwOR54DgxHMj0XRhqE6Bf5RkRgwirzTg2D_CWQNposIJ_E9eMsxxeMQbxmhVRJz5Z1M_jQIH5JaZgR4MQ79aoL7JkhWAG-Tu8w/s1600/Whatsapp_Web_YourStory.png" height="456" width="640" /></a></div>
<span style="font-family: Times, Times New Roman, serif;"><b> </b></span><br />
<span style="font-family: Times, Times New Roman, serif;"><b><br /></b></span>
<span style="font-family: Times, Times New Roman, serif; font-size: large;">2)After that you have to scan the QR code with your mobile which is available in the website .You need to have QR Code reader to scan the QR code so if you don't have QR code reader Install it from playstore </span><br />
<span style="font-family: Times, Times New Roman, serif; font-size: large;"><br />
3)Before that You need to have the updated WhtasApp to do this . </span><br />
<span style="font-family: Times, Times New Roman, serif; font-size: large;"><br />
4)Now open the updated WhatsApp in your mobile and click menu and click WhatsAppWeb as show in the above .</span><br />
<span style="font-family: Times, Times New Roman, serif; font-size: large;"><br />
5)It will open a QR Code Reader ,scan the QR code which is available in the webpage. </span><br />
<span style="font-family: Times, Times New Roman, serif; font-size: large;"><br />
6)That's it now you directly redirected to your WhatsApp page in your browser.</span><br />
<span style="font-family: Times, Times New Roman, serif;"><b> </b></span><br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1UeNPbJwg0u8tZqhMiejKX_GMsGe-t0dhcAs-_5mjmax09TyDZApxXCKA9p4jFSIaA81oVclBkbYFetRzoFm7aBM7O5T7W_s04l92GqZ0MpLEjwniu4P8cXISbc4BWjprWMGO5YJhdng/s1600/Whatsapp-web-app.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1UeNPbJwg0u8tZqhMiejKX_GMsGe-t0dhcAs-_5mjmax09TyDZApxXCKA9p4jFSIaA81oVclBkbYFetRzoFm7aBM7O5T7W_s04l92GqZ0MpLEjwniu4P8cXISbc4BWjprWMGO5YJhdng/s1600/Whatsapp-web-app.png" height="376" width="640" /></a><span style="font-family: Times, Times New Roman, serif;"><b> </b></span><br />
<span style="font-family: Times, Times New Roman, serif; font-size: large;">7)But your phone needs to be connected to data connection while you use WhatsApp in Browser for synchronizing your data from mobile to desktop....enjoy using WhatsApp in desktop............... </span><br />
<b style="font-size: x-large;"> </b></div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com0tag:blogger.com,1999:blog-7337838332721937337.post-48967194926424071042014-12-02T04:07:00.004-08:002014-12-22T00:21:15.860-08:00Customizing Progress Bar In Android<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">
<b><span style="font-size: x-large;">Customizing Progress Bar In Android</span></b><br />
<b><span style="font-size: x-large;"><br /></span></b>
<b><span style="font-size: x-large;">Progress Bar:</span></b><br />
<b> <span style="font-family: Times, Times New Roman, serif; font-size: large;"> </span></b><span style="background-color: white; font-size: large; text-align: justify;"><span style="font-family: Times, Times New Roman, serif;">Progress bars are used to show progress of a task. For example. When you are uploading or downloading something from the internet, it is better to show the progress of download/upload to the user</span><span style="font-family: Times, Times New Roman, serif;">.</span><span style="font-family: Times, Times New Roman, serif;">Now here am going to customize the progress bar</span></span><br />
<span style="background-color: white; text-align: justify;"><span style="font-family: Times, Times New Roman, serif;"><br /></span></span>
<span style="background-color: white; text-align: justify;"><span style="font-family: Times, Times New Roman, serif; font-size: large;"><b>How to customize the progress bar?</b></span></span><br />
<span style="background-color: white; text-align: justify;"><span style="font-family: Times, Times New Roman, serif;"><span style="font-size: large;"><b> </b> To customize the progress bar we need to define the properties of progress bar which are defined in the xml file </span></span></span><span style="font-size: large;"><span style="background-color: white; font-family: Times, 'Times New Roman', serif; text-align: justify;">inside </span><span style="background-color: white; text-align: justify;"><span style="font-family: Times, Times New Roman, serif;">the drawable folder.</span></span></span><br />
<span style="background-color: white; text-align: justify;"><span style="font-family: Times, Times New Roman, serif; font-size: large;"><br /></span></span>
<span style="background-color: white; color: #555555; font-family: Times, 'Times New Roman', serif; font-size: xx-small; line-height: 1; widows: 1;"><br /></span>
<span style="background-color: white; line-height: 1; widows: 1;"><span style="font-family: Times, Times New Roman, serif; font-size: large;">1.Open Eclipse IDE.</span></span><br />
<span style="font-family: Times, Times New Roman, serif; font-size: large;"><span style="background-color: white; line-height: 1; widows: 8;">2.Click File -> New -> Project -> Android Application Project.</span><br style="background-color: white; line-height: 20px;" /><span style="background-color: white; line-height: 1; widows: 8;">3.Enter the name of the application as CustomizedProgressbar and click next .</span></span><br />
<span style="font-size: large;"><span style="font-family: Times, Times New Roman, serif;"><span style="background-color: white; line-height: 1; widows: 8;">4</span></span><span style="background-color: white; font-family: 'PT Sans', Arial, Helvetica, sans-serif; font-size: xx-small; line-height: 1; widows: 8;"><span style="font-family: Times, 'Times New Roman', serif;">.Make sure that you have</span></span><span style="background-color: white; font-family: 'PT Sans', Arial, Helvetica, sans-serif; font-size: xx-small; line-height: 18px; widows: 8;"><span style="font-family: inherit;"> </span><span style="font-family: Times, 'Times New Roman', serif;">ena</span></span><span style="background-color: white; font-family: 'PT Sans', Arial, Helvetica, sans-serif; font-size: xx-small; line-height: 18px; widows: 8;"><span style="font-family: Times, 'Times New Roman', serif;">bled the create project in workspace.</span></span></span><br />
<span style="font-size: large;"><span style="background-color: white; font-family: 'PT Sans', Arial, Helvetica, sans-serif; font-size: xx-small; line-height: 18px; widows: 8;"><span style="font-family: Times, 'Times New Roman', serif;">5.</span></span><span style="background-color: white; font-family: Times, 'Times New Roman', serif; font-size: xx-small; line-height: 1; widows: 8;">Design application launcher icon and create a blank activity </span><span style="background-color: white; font-family: Times, 'Times New Roman', serif; font-size: xx-small; line-height: 1; widows: 1;">workspace and click finish </span></span><br />
<span style="font-family: Times, Times New Roman, serif;"><span style="background-color: white; font-size: large; line-height: 1; widows: 8;">6.Create a folder drawable inside the res folder</span></span><br />
<span style="font-family: Times, Times New Roman, serif;"><span style="background-color: white; font-size: large; line-height: 1; widows: 8;">7.Create a custom_progressbar.xml inside the drawable folder</span></span><br />
<span style="font-size: large;"><span style="font-family: Times, Times New Roman, serif;"><span style="background-color: white; line-height: 1; widows: 8;"><br /></span></span>
</span><br />
<div style="text-align: justify;">
<span style="font-family: Times, Times New Roman, serif;"><span style="background-color: white; font-size: large;"><b>The custom_progressbar.xml coding is given below:</b></span></span><br />
<span style="font-size: large;"><br /></span>
<br />
<div style="-webkit-text-stroke-width: 0px; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;">
</div>
<div align="LEFT" style="widows: 1;">
<br />
<div style="border: 2px solid green; padding: 10px;">
<div align="LEFT" style="widows: 129;">
<span style="font-family: Courier New, monospace;"><i><b><span style="color: teal;"><</span><span style="color: #3f7f7f;">layer-list</span>
<span style="color: #7f007f;">xmlns:android</span><span style="color: black;">=</span><span style="color: #2a00ff;">"http://schemas.android.com/apk/res/android"</span>
<span style="color: teal;">></span></b></i></span></div>
<div align="LEFT" style="widows: 129;">
<b><br /></b></div>
<div align="LEFT" style="widows: 129;">
<b><span style="color: black;"> </span><span style="font-family: Courier New, monospace;"><i><span style="color: #3f5fbf;"><!--
Define the background properties like color etc --></span></i></span></b></div>
<div align="LEFT" style="widows: 129;">
<b><span style="color: black;"> </span><span style="font-family: Courier New, monospace;"><i><span style="color: teal;"><</span><span style="color: #3f7f7f;">item</span>
<span style="color: #7f007f;">android:id</span><span style="color: black;">=</span><span style="color: #2a00ff;">"@android:id/background"</span><span style="color: teal;">></span></i></span></b></div>
<div align="LEFT" style="widows: 129;">
<b><span style="color: black;">
</span><span style="font-family: Courier New, monospace;"><i><span style="color: teal;"><</span><span style="color: #3f7f7f;">shape</span><span style="color: teal;">></span></i></span></b></div>
<div align="LEFT" style="widows: 129;">
<b><span style="color: black;">
</span><span style="font-family: Courier New, monospace;"><i><span style="color: teal;"><</span><span style="color: #3f7f7f;">gradient</span></i></span></b></div>
<div align="LEFT" style="widows: 129;">
<span style="font-family: Courier New, monospace;"><i><b><span style="color: #7f007f;">android:angle</span><span style="color: black;">=</span><span style="color: #2a00ff;">"270"</span></b></i></span></div>
<div align="LEFT" style="widows: 129;">
<span style="font-family: Courier New, monospace;"><i><b><span style="color: #7f007f;">android:centerColor</span><span style="color: black;">=</span><span style="color: #2a00ff;">"#0b131e"</span></b></i></span></div>
<div align="LEFT" style="widows: 129;">
<span style="font-family: Courier New, monospace;"><i><b><span style="color: #7f007f;">android:centerY</span><span style="color: black;">=</span><span style="color: #2a00ff;">"1.0"</span></b></i></span></div>
<div align="LEFT" style="widows: 129;">
<span style="font-family: Courier New, monospace;"><i><b><span style="color: #7f007f;">android:endColor</span><span style="color: black;">=</span><span style="color: #2a00ff;">"#0d1522"</span></b></i></span></div>
<div align="LEFT" style="widows: 129;">
<span style="font-family: Courier New, monospace;"><i><b><span style="color: #7f007f;">android:startColor</span><span style="color: black;">=</span><span style="color: #2a00ff;">"#000001"</span>
<span style="color: teal;">/></span></b></i></span></div>
<div align="LEFT" style="widows: 129;">
<b><span style="color: black;">
</span><span style="font-family: Courier New, monospace;"><i><span style="color: teal;"></</span><span style="color: #3f7f7f;">shape</span><span style="color: teal;">></span></i></span></b></div>
<div align="LEFT" style="widows: 129;">
<b><span style="color: black;"> </span><span style="font-family: Courier New, monospace;"><i><span style="color: teal;"></</span><span style="color: #3f7f7f;">item</span><span style="color: teal;">></span></i></span></b></div>
<div align="LEFT" style="widows: 129;">
<b><br /></b></div>
<div align="LEFT" style="widows: 129;">
<b><span style="color: black;"> </span><span style="font-family: Courier New, monospace;"><i><span style="color: #3f5fbf;"><!--
Define the progress properties like start color, end color etc --></span></i></span></b></div>
<div align="LEFT" style="widows: 129;">
<b><span style="color: black;"> </span><span style="font-family: Courier New, monospace;"><i><span style="color: teal;"><</span><span style="color: #3f7f7f;">item</span>
<span style="color: #7f007f;">android:id</span><span style="color: black;">=</span><span style="color: #2a00ff;">"@android:id/progress"</span><span style="color: teal;">></span></i></span></b></div>
<div align="LEFT" style="widows: 129;">
<b><span style="color: black;">
</span><span style="font-family: Courier New, monospace;"><i><span style="color: teal;"><</span><span style="color: #3f7f7f;">clip</span><span style="color: teal;">></span></i></span></b></div>
<div align="LEFT" style="widows: 129;">
<b><span style="color: black;">
</span><span style="font-family: Courier New, monospace;"><i><span style="color: teal;"><</span><span style="color: #3f7f7f;">shape</span><span style="color: teal;">></span></i></span></b></div>
<div align="LEFT" style="widows: 129;">
<b><span style="color: black;">
</span><span style="font-family: Courier New, monospace;"><i><span style="color: teal;"><</span><span style="color: #3f7f7f;">gradient</span></i></span></b></div>
<div align="LEFT" style="widows: 129;">
<span style="font-family: Courier New, monospace;"><i><b><span style="color: #7f007f;">android:angle</span><span style="color: black;">=</span><span style="color: #2a00ff;">"270"</span></b></i></span></div>
<div align="LEFT" style="widows: 129;">
<span style="font-family: Courier New, monospace;"><i><b><span style="color: #7f007f;">android:centerColor</span><span style="color: black;">=</span><span style="color: #2a00ff;">"#007A00"</span></b></i></span></div>
<div align="LEFT" style="widows: 129;">
<span style="font-family: Courier New, monospace;"><i><b><span style="color: #7f007f;">android:centerY</span><span style="color: black;">=</span><span style="color: #2a00ff;">"1.0"</span></b></i></span></div>
<div align="LEFT" style="widows: 129;">
<span style="font-family: Courier New, monospace;"><i><b><span style="color: #7f007f;">android:endColor</span><span style="color: black;">=</span><span style="color: #2a00ff;">"#06101d"</span></b></i></span></div>
<div align="LEFT" style="widows: 129;">
<span style="font-family: Courier New, monospace;"><i><b><span style="color: #7f007f;">android:startColor</span><span style="color: black;">=</span><span style="color: #2a00ff;">"#007A00"</span>
<span style="color: teal;">/></span></b></i></span></div>
<div align="LEFT" style="widows: 129;">
<b><span style="color: black;">
</span><span style="font-family: Courier New, monospace;"><i><span style="color: teal;"></</span><span style="color: #3f7f7f;">shape</span><span style="color: teal;">></span></i></span></b></div>
<div align="LEFT" style="widows: 129;">
<b><span style="color: black;">
</span><span style="font-family: Courier New, monospace;"><i><span style="color: teal;"></</span><span style="color: #3f7f7f;">clip</span><span style="color: teal;">></span></i></span></b></div>
<div align="LEFT" style="widows: 129;">
<b><span style="color: black;"> </span><span style="font-family: Courier New, monospace;"><i><span style="color: teal;"></</span><span style="color: #3f7f7f;">item</span><span style="color: teal;">></span></i></span></b></div>
<div align="LEFT" style="widows: 129;">
<b><br /></b></div>
<b><br />
</b><br />
<div align="LEFT" style="widows: 129;">
<i><b><span style="color: teal;"><span style="font-family: Courier New, monospace;"></</span></span><span style="color: #3f7f7f;"><span style="font-family: Courier New, monospace;">layer-list</span></span><span style="color: teal;"><span style="font-family: Courier New, monospace;">></span></span></b></i></div>
</div>
</div>
<div align="LEFT" style="widows: 1;">
<br /></div>
<br /></div>
</div>
<span style="background-color: white; text-align: justify;"><span style="font-family: Times, Times New Roman, serif; font-size: large;"><b>The activity_main.xml code is given below:</b></span></span><br />
<span style="background-color: white; text-align: justify;"><span style="font-family: Times, Times New Roman, serif;"><br /></span></span>
<br />
<div style="border: 2px solid green; padding: 10px;">
<div align="LEFT" style="widows: 1;">
<span style="font-family: Courier New, monospace;"><b><span style="color: teal;"><</span><span style="color: #3f7f7f;">RelativeLayout</span><span style="color: teal;">
</span><span style="color: #7f007f;">xmlns:android</span><span style="color: black;">=</span><span style="color: #2a00ff;">"http://schemas.android.com/apk/res/android"</span></b></span></div>
<div align="LEFT" style="widows: 1;">
<span style="font-family: Courier New, monospace;"><b><span style="color: #7f007f;">xmlns:tools</span><span style="color: black;">=</span><span style="color: #2a00ff;">"http://schemas.android.com/tools"</span></b></span></div>
<div align="LEFT" style="widows: 1;">
<span style="font-family: Courier New, monospace;"><b><span style="color: #7f007f;">android:background</span><span style="color: black;">=</span><span style="color: #2a00ff;">"#B4E0E1"</span></b></span></div>
<div align="LEFT" style="widows: 1;">
<span style="font-family: Courier New, monospace;"><b><span style="color: #7f007f;">android:layout_width</span><span style="color: black;">=</span><span style="color: #2a00ff;">"match_parent"</span></b></span></div>
<div align="LEFT" style="widows: 1;">
<span style="font-family: Courier New, monospace;"><b><span style="color: #7f007f;">android:layout_height</span><span style="color: black;">=</span><span style="color: #2a00ff;">"match_parent"</span>
<span style="color: teal;">></span></b></span></div>
<div align="LEFT" style="widows: 1;">
<b><br />
</b></div>
<div align="LEFT" style="widows: 1;">
<b><span style="color: black;"> </span><span style="font-family: Courier New, monospace;"><span style="color: teal;"><</span><span style="color: #3f7f7f;">TextView</span></span></b></div>
<div align="LEFT" style="widows: 1;">
<span style="font-family: Courier New, monospace;"><b><span style="color: #7f007f;">android:id</span><span style="color: black;">=</span><span style="color: #2a00ff;">"@+id/textView1"</span></b></span></div>
<div align="LEFT" style="widows: 1;">
<span style="font-family: Courier New, monospace;"><b><span style="color: #7f007f;">android:layout_width</span><span style="color: black;">=</span><span style="color: #2a00ff;">"match_parent"</span></b></span></div>
<div align="LEFT" style="widows: 1;">
<span style="font-family: Courier New, monospace;"><b><span style="color: #7f007f;">android:layout_height</span><span style="color: black;">=</span><span style="color: #2a00ff;">"wrap_content"</span></b></span></div>
<div align="LEFT" style="widows: 1;">
<span style="font-family: Courier New, monospace;"><b><span style="color: #7f007f;">android:gravity</span><span style="color: black;">=</span><span style="color: #2a00ff;">"center"</span></b></span></div>
<div align="LEFT" style="widows: 1;">
<span style="font-family: Courier New, monospace;"><b><span style="color: #7f007f;">android:layout_marginTop</span><span style="color: black;">=</span><span style="color: #2a00ff;">"80dp"</span></b></span></div>
<div align="LEFT" style="widows: 1;">
<b><span style="font-family: Courier New, monospace;"><span style="color: #7f007f;"><u>android:text</u></span><span style="color: black;"><u>=</u></span><span style="color: #2a00ff;"><u>"CustomizedProgressbar"</u></span>
</span>
</b></div>
<div align="LEFT" style="widows: 1;">
<span style="font-family: Courier New, monospace;"><b><span style="color: #7f007f;">android:textAppearance</span><span style="color: black;">=</span><span style="color: #2a00ff;">"?android:attr/textAppearanceLarge"</span><span style="color: teal;">/></span></b></span></div>
<div align="LEFT" style="widows: 1;">
<b><span style="color: black;"> </span><span style="font-family: Courier New, monospace;"><span style="color: teal;"><</span><span style="color: #3f7f7f;">Button</span></span></b></div>
<div align="LEFT" style="widows: 1;">
<span style="font-family: Courier New, monospace;"><b><span style="color: #7f007f;">android:id</span><span style="color: black;">=</span><span style="color: #2a00ff;">"@+id/button1"</span></b></span></div>
<div align="LEFT" style="widows: 1;">
<span style="font-family: Courier New, monospace;"><b><span style="color: #7f007f;">android:layout_marginTop</span><span style="color: black;">=</span><span style="color: #2a00ff;">"150dp"</span></b></span></div>
<div align="LEFT" style="widows: 1;">
<span style="font-family: Courier New, monospace;"><b><span style="color: #7f007f;">android:background</span><span style="color: black;">=</span><span style="color: #2a00ff;">"@drawable/button"</span></b></span></div>
<div align="LEFT" style="widows: 1;">
<span style="font-family: Courier New, monospace;"><b><span style="color: #7f007f;">android:layout_width</span><span style="color: black;">=</span><span style="color: #2a00ff;">"fill_parent"</span></b></span></div>
<div align="LEFT" style="widows: 1;">
<span style="font-family: Courier New, monospace;"><b><span style="color: #7f007f;">android:layout_height</span><span style="color: black;">=</span><span style="color: #2a00ff;">"wrap_content"</span></b></span></div>
<div align="LEFT" style="widows: 1;">
<b><span style="font-family: Courier New, monospace;"><span style="color: #7f007f;"><u>android:text</u></span><span style="color: black;"><u>=</u></span><span style="color: #2a00ff;"><u>"Start
Downloading File"</u></span> </span>
</b></div>
<div align="LEFT" style="widows: 1;">
<span style="font-family: Courier New, monospace;"><b><span style="color: #7f007f;">android:onClick</span><span style="color: black;">=</span><span style="color: #2a00ff;">"startProgressDialog"</span><span style="color: teal;">/></span></b></span></div>
<div align="LEFT" style="widows: 1;">
<b><span style="color: black;"> </span>
</b></div>
<div align="LEFT" style="widows: 1;">
<b><span style="color: teal;"><span style="font-family: Courier New, monospace;"></</span></span><span style="color: #3f7f7f;"><span style="font-family: Courier New, monospace;">RelativeLayout</span></span><span style="color: teal;"><span style="font-family: Courier New, monospace;">></span></span></b></div>
</div>
<div align="LEFT" style="widows: 1;">
<br />
<span style="font-family: Times, Times New Roman, serif; font-size: large;"><b>The activity_main.xml looks as shown below:</b></span><br />
<span style="font-family: Times, Times New Roman, serif;"><br /></span>
<span style="font-family: Times, Times New Roman, serif;"> </span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Times, Times New Roman, serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRCpGcBoNwyhIxtSVgCm6nKQNMl7tRQ11Aw-PGcSkKTSPNQnW7jRmEs9Um69bWI-w6X6eR7kvXOgrV-meD-BgsHznEOGfV3hKB5N_YHWpkvC_m13pK9RuMoCpxZgj8oTwZjfjuAFM_WOA/s1600/device-2014-12-02-164321.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRCpGcBoNwyhIxtSVgCm6nKQNMl7tRQ11Aw-PGcSkKTSPNQnW7jRmEs9Um69bWI-w6X6eR7kvXOgrV-meD-BgsHznEOGfV3hKB5N_YHWpkvC_m13pK9RuMoCpxZgj8oTwZjfjuAFM_WOA/s1600/device-2014-12-02-164321.png" height="320" width="192" /></a></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Times, Times New Roman, serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Times, Times New Roman, serif; font-size: large;"><b>The MainActivity java as shown below :</b></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Times, Times New Roman, serif;"><br /></span></div>
<div style="border: 2px solid green; padding: 10px;">
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Times, Times New Roman, serif;"><b><br /></b></span></div>
<div align="LEFT" style="widows: 129;">
<b>package com.example.customizedprogressbar;</b><br />
<b><br /></b>
<b><br /></b>
<b>import android.support.v7.app.ActionBarActivity;</b><br />
<b>import android.app.ProgressDialog;</b><br />
<b>import android.graphics.drawable.Drawable;</b><br />
<b>import android.os.Bundle;</b><br />
<b>import android.os.Handler;</b><br />
<b>import android.view.Menu;</b><br />
<b>import android.view.MenuItem;</b><br />
<b>import android.view.View;</b><br />
<b><br /></b>
<b><br /></b>
<b>public class MainActivity extends ActionBarActivity</b><br />
<b>{</b><br />
<b><br /></b>
<b><br /></b>
<b>ProgressDialog progressBar;</b><br />
<b>private int progressBarStatus = 0;</b><br />
<b>private Handler progressBarHandler = new
Handler();</b><br />
<b><br /></b>
<b><br /></b>
<b>private long fileSize = 0;</b><br />
<b><br /></b>
<b>@Override</b><br />
<b>public void onCreate(Bundle
savedInstanceState)
</b><br />
<b>{</b><br />
<b>super.onCreate(savedInstanceState);</b><br />
<b>setContentView(R.layout.activity_main);</b><br />
<b>}</b><br />
<b><br /></b>
<b><br /></b>
<b>public void startProgressDialog(View V)
</b><br />
<b>{</b><br />
<b><br /></b>
<b><br /></b>
<b><br /></b>
<b>// prepare for a progress bar
dialog</b><br />
<b>progressBar = new
ProgressDialog(V.getContext());</b><br />
<b>progressBar.setCancelable(true);</b><br />
<b>progressBar.setMessage("Downloading File...");</b><br />
<b>progressBar.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);</b><br />
<b>progressBar.setProgress(0);</b><br />
<b>progressBar.setMax(100);</b><br />
<b><br /></b>
<b>// Get the Drawable
custom_progressbar
</b><br />
<b>Drawable customDrawable=
getResources().getDrawable(R.drawable.custom_progressbar);</b><br />
<b><br /></b>
<b>// set the drawable as progress
drawable</b><br />
<b><br /></b>
<b><br /></b>
<b>progressBar.setProgressDrawable(customDrawable);</b><br />
<b><br /></b>
<b>progressBar.show();</b><br />
<b><br /></b>
<b><br /></b>
<b>//reset progress bar status</b><br />
<b>progressBarStatus = 0;</b><br />
<b><br /></b>
<b><br /></b>
<b>//reset filesize</b><br />
<b>fileSize = 0;</b><br />
<b><br /></b>
<b><br /></b>
<b>new Thread(new Runnable() {</b><br />
<b>public void run() {</b><br />
<b>while (progressBarStatus
< 100) {</b><br />
<b><br /></b>
<b><br /></b>
<b>// process some tasks</b><br />
<b>progressBarStatus =
fileDownloadStatus();</b><br />
<b><br /></b>
<b><br /></b>
<b>// sleep 1 second to show the
progress</b><br />
<b>try {</b><br />
<b>Thread.sleep(1000);</b><br />
<b>}
</b><br />
<b>catch (InterruptedException e) {</b><br />
<b>e.printStackTrace();</b><br />
<b>}</b><br />
<b><br /></b>
<b><br /></b>
<b>// Update the progress bar</b><br />
<b>progressBarHandler.post(new
Runnable() {</b><br />
<b>public void run() {</b><br />
<b>progressBar.setProgress(progressBarStatus);</b><br />
<b>}</b><br />
<b>});</b><br />
<b>}</b><br />
<b><br /></b>
<b><br /></b>
<b>// when, file is downloaded 100%,</b><br />
<b>if (progressBarStatus >= 100) {</b><br />
<b><br /></b>
<b><br /></b>
<b>// sleep for 2 seconds, so that
you can see the 100% of file download</b><br />
<b>try {</b><br />
<b>Thread.sleep(2000);</b><br />
<b>} catch (InterruptedException e) {</b><br />
<b>e.printStackTrace();</b><br />
<b>}</b><br />
<b><br /></b>
<b><br /></b>
<b>// close the progress bar dialog</b><br />
<b>progressBar.dismiss();</b><br />
<b>}</b><br />
<b>}</b><br />
<b>}).start();</b><br />
<b><br /></b>
<b><br /></b>
<b>}</b><br />
<b><br /></b>
<b><br /></b>
<b><br /></b>
<b><br /></b>
<b><br /></b>
<b>//method returns the % of file downloaded</b><br />
<b>public int fileDownloadStatus()</b><br />
<b>{</b><br />
<b><br /></b>
<b><br /></b>
<b>while (fileSize <= 1000000) {</b><br />
<b><br /></b>
<b><br /></b>
<b>fileSize++;</b><br />
<b><br /></b>
<b><br /></b>
<b>if (fileSize == 100000) {</b><br />
<b>return 10;</b><br />
<b>} else if (fileSize == 200000) {</b><br />
<b>return 20;</b><br />
<b>} else if (fileSize == 300000) {</b><br />
<b>return 30;</b><br />
<b>}</b><br />
<b>else if (fileSize == 400000) {</b><br />
<b>return 40;</b><br />
<b>} else if (fileSize == 500000) {</b><br />
<b>return 50;</b><br />
<b>} else if (fileSize == 600000) {</b><br />
<b>return 60;</b><br />
<b>}</b><br />
<b>// write your code here</b><br />
<b><br /></b>
<b><br /></b>
<b>}</b><br />
<b><br /></b>
<b><br /></b>
<b>return 100;</b><br />
<b><br /></b>
<b><br /></b>
<b>}</b><br />
<b>}</b><br />
<b><br /></b>
<b><br /></b>
<b><br /></b>
<b><br /></b></div>
<div align="LEFT" style="widows: 129;">
<b><br /></b></div>
<b><br /></b>
<br />
<div align="LEFT" style="widows: 129;">
<br /></div>
</div>
<span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><i><br /></i></span><span style="font-family: Times, Times New Roman, serif; font-size: large;"><b>Now Run the project and check the result ,the result will shown as below.</b></span><br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjz2iaIRxZ5b1cYWHuD71dieGt5kNDhFbimCKM-bEg2SNzCjOokRcq41BP5Lt1XrXeQqUfgBBhxz7wOqdra2Gpuh31KMTcoJ0B8LVodwkgQn64pWNZ-z5zcr7NSvKd2GTWFgFmosNQzFW8/s1600/device-2014-12-02-171319.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjz2iaIRxZ5b1cYWHuD71dieGt5kNDhFbimCKM-bEg2SNzCjOokRcq41BP5Lt1XrXeQqUfgBBhxz7wOqdra2Gpuh31KMTcoJ0B8LVodwkgQn64pWNZ-z5zcr7NSvKd2GTWFgFmosNQzFW8/s1600/device-2014-12-02-171319.png" height="320" width="192" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<u><a href="https://sites.google.com/site/mobileapptechnology/CustomizedProgressbar.rar?attredirects=0&d=1"><b><span style="font-size: large;">Download Sourcecode</span></b></a></u></div>
</div>
</div>
</div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com0tag:blogger.com,1999:blog-7337838332721937337.post-47638640649817688032014-09-18T06:05:00.000-07:002014-09-18T06:07:04.816-07:00Using Custom Fonts in Android<div dir="ltr" style="text-align: left;" trbidi="on">
<b><span style="font-size: x-large;">Using Custom Fonts in Android</span></b><br />
<b><span style="font-size: x-large;"> </span></b><br />
<div class="separator" style="clear: both; text-align: center;">
<b><span style="font-size: x-large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx7cXWl5bcthYuUz_sSrDgU_EFLlVG0X9SKnKMc9D7IITNKpS2jgcw8bthDZRqQCq9xDc3aISbY7QskxEeeDRLzuOp-1aHfY75LOocExi4fp-H6wj1WdmbOzovgIEawnvpfWmj0ceihHY/s1600/unnamed.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx7cXWl5bcthYuUz_sSrDgU_EFLlVG0X9SKnKMc9D7IITNKpS2jgcw8bthDZRqQCq9xDc3aISbY7QskxEeeDRLzuOp-1aHfY75LOocExi4fp-H6wj1WdmbOzovgIEawnvpfWmj0ceihHY/s1600/unnamed.png" /></a></span></b></div>
<br />
<b><span style="font-size: x-large;"><br /></span></b>
<span style="font-size: large;">Here you are going to know that how to use external fonts in Android</span><br />
<span style="font-size: large;"><br /></span>
<span style="background-color: white; font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 1; widows: 1;">1.Open Eclipse IDE.</span><br />
<span style="background-color: white; font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 1; widows: 8;">2.Click File -> New -> Project -> Android Application Project.</span><br />
<span style="background-color: white; font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 1; widows: 8;">3.Enter the name of the application as openactivity and click next .</span><br />
<span style="background-color: white; font-size: large; line-height: 1; widows: 8;"><span style="font-family: Times, Times New Roman, serif;">4.Make sure that you have</span></span><span style="background-color: white; font-size: large; line-height: 18px; widows: 8;"><span style="font-family: inherit;"> </span><span style="font-family: Times, Times New Roman, serif;">ena</span></span><span style="background-color: white; font-size: large; line-height: 18px; widows: 8;"><span style="font-family: Times, Times New Roman, serif;">bled the create project in workspace.</span></span><br />
<span style="background-color: white; font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 1; widows: 8;">5.Design application launcher icon and create a blank activity </span><span style="background-color: white; font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 1; widows: 1;">workspace and click finish </span><br />
<h1 class="western" style="margin-bottom: 16px; text-align: justify; widows: 8;">
<div style="page-break-inside: avoid; text-align: left; widows: 1;">
<div style="text-align: justify; widows: 136;">
<div style="background-color: white; font-weight: normal; line-height: 1;">
<span style="font-family: Times, 'Times New Roman', serif; line-height: 1; text-align: left; widows: 1;"><span style="font-size: large;">Now you need to design your xml file .</span></span></div>
<div style="background-color: white; line-height: 1;">
<span style="font-family: Times, 'Times New Roman', serif; font-size: x-large; line-height: 1; text-align: left; widows: 1;">Activity_main.xml</span></div>
<div style="background-color: white; line-height: 1;">
<span style="font-family: Times, 'Times New Roman', serif; font-size: large; font-weight: normal; line-height: 1; text-align: left; widows: 1;">Here is the coding of activity_main.xml</span></div>
<pre class="programlisting" style="background-color: #ffffee; border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; border-top-left-radius: 9px; border-top-right-radius: 9px; border: 1px solid rgb(187, 187, 187); margin: 10px; overflow: auto; padding: 1em; text-align: left; widows: auto; word-wrap: break-word;"><span style="font-family: Droid Sans Mono, Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, monospace; font-size: small;"><span style="font-weight: normal; line-height: 16px;"><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
tools:context="com.example.androidcustomfont.MainActivity" >
<TextView
android:id="@+id/textView1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/mobile"
android:textSize="35sp" />
<TextView
android:id="@+id/textView2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/textView1"
android:gravity="center"
android:text="@string/And"
android:textSize="35sp" />
</RelativeLayout></span></span></pre>
<div style="background-color: white; line-height: 1;">
<span style="font-family: Times, 'Times New Roman', serif; font-size: x-large; font-weight: normal; line-height: 1; text-align: left; widows: 1;"><br /></span></div>
<div style="background-color: white; line-height: 1; text-align: left; widows: 1;">
<span style="font-family: Times, Times New Roman, serif; font-size: x-large;">Asset</span></div>
<div style="background-color: white; line-height: 1; text-align: left; widows: 1;">
<span style="font-family: Times, Times New Roman, serif; font-size: large;"><span style="font-weight: normal;"> We are going to access the fonts using this asset folder ,create a new folder under asset and named it as fonts and copy the font you needed </span></span><span style="font-family: Times, 'Times New Roman', serif; font-size: large; font-weight: normal; line-height: 24px;">inside the fonts folder as shown below.</span></div>
<div style="background-color: white; line-height: 1; text-align: left; widows: 1;">
<span style="font-family: Times, 'Times New Roman', serif; line-height: 24px;"><span style="font-size: large; font-weight: normal;"> </span></span></div>
<div class="separator" style="background-color: white; clear: both; font-size: x-large; font-weight: normal; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMk7L0b2Vf0lAuJZM31YkN4cmhbbcjWcFbjyvSonogXKteZ0nba2Sev4BN83Q-JJgeWcG-XI1KklatnhvBkTTqmO0j4_68fPusF0_8R_e-piWbLLUEzdATA1wcT2QtWCoeZAgqnSG3xV4/s1600/fonts.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMk7L0b2Vf0lAuJZM31YkN4cmhbbcjWcFbjyvSonogXKteZ0nba2Sev4BN83Q-JJgeWcG-XI1KklatnhvBkTTqmO0j4_68fPusF0_8R_e-piWbLLUEzdATA1wcT2QtWCoeZAgqnSG3xV4/s1600/fonts.JPG" height="400" width="171" /></a></div>
<div class="separator" style="background-color: white; clear: both; text-align: left;">
<span style="font-size: x-large;">String.xml</span></div>
<div class="separator" style="background-color: white; clear: both; text-align: left;">
<span style="font-size: large;"><span style="font-weight: normal;">The string.xml file is shown below the value for the textview is passed through the string.</span></span></div>
<pre class="programlisting" style="background-color: #ffffee; border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; border-top-left-radius: 9px; border-top-right-radius: 9px; border: 1px solid rgb(187, 187, 187); margin: 10px; overflow: auto; padding: 1em; text-align: left; widows: auto; word-wrap: break-word;"><span style="font-size: small;"><span style="font-weight: normal;"><?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">AndroidCustomFont</string>
<string name="hello_world">Hello world!</string>
<string name="action_settings">Settings</string>
<string name="mobile">Mobileapptechnology</string>
<string name="And">Android</string>
</resources>
</span></span><span style="font-weight: normal;">
</span></pre>
<div style="background-color: white; text-align: left; widows: auto;">
<br /></div>
<div class="separator" style="background-color: white; clear: both; font-size: x-large; font-weight: normal; text-align: center;">
<br /></div>
<div class="separator" style="background-color: white; clear: both; text-align: left;">
<span style="font-size: x-large;">MainActivity.java</span></div>
<div class="separator" style="background-color: white; clear: both; text-align: left;">
<span style="font-size: large;"><span style="font-weight: normal;">Here the coding of MainActivity.java here we going to set the fonts to the textview which we copied it in the fonts folder under asset. </span></span></div>
<pre class="programlisting" style="background-color: #ffffee; border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; border-top-left-radius: 9px; border-top-right-radius: 9px; border: 1px solid rgb(187, 187, 187); margin: 10px; overflow: auto; padding: 1em; widows: auto; word-wrap: break-word;"><span style="font-family: Times, Times New Roman, serif; font-size: small;"><span style="font-weight: normal;">package com.example.androidcustomfont;
import android.support.v7.app.ActionBarActivity;
import android.graphics.Typeface;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.TextView;
public class MainActivity extends ActionBarActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
TextView tx = (TextView)findViewById(R.id.textView1);
TextView tx1 =(TextView)findViewById(R.id.textView2);
Typeface tf1= Typeface.createFromAsset(getAssets(), "fonts/complex.ttf");
tx1.setTypeface(tf1);
Typeface tf= Typeface.createFromAsset(getAssets(), "fonts/Disguise.otf");
tx.setTypeface(tf);
}
}</span></span></pre>
<div class="separator" style="clear: both; text-align: left; widows: auto;">
<span style="font-family: Times, Times New Roman, serif; font-size: large;"><span style="background-color: white; font-weight: normal; line-height: 19px;">The typeface class specify the typeface and style of the font like </span></span></div>
<div class="separator" style="clear: both; text-align: left; widows: auto;">
<span style="background-color: white; font-family: Times, 'Times New Roman', serif; font-size: large; font-weight: normal; line-height: 19px;">text size and specify how the text appears in the UI.</span></div>
<div class="separator" style="clear: both; text-align: left; widows: auto;">
<span style="background-color: white; font-family: Times, 'Times New Roman', serif; font-size: large; font-weight: normal; line-height: 19px;">Now Run the application in emulator you will get the output as </span></div>
<div class="separator" style="clear: both; text-align: left; widows: auto;">
<span style="background-color: white; font-family: Times, 'Times New Roman', serif; font-size: large; font-weight: normal; line-height: 19px;">shown below.</span></div>
<div class="separator" style="clear: both; text-align: left; widows: auto;">
<span style="font-family: Times, Times New Roman, serif; font-size: large;"><span style="background-color: white; font-weight: normal; line-height: 19px;"> </span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Times, Times New Roman, serif; font-size: large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJvteoAu80JPUomKjrHlpkH6QHbtLS9jdf54JF_PHpGsdwH5BooAIyH90lJVFr987YBaqKqPrIf3tvbjy1MkULVveVlGyLefLhBkuDzeL9FDoH98pv1c0WoNyTgZbqerV2PkP-0aBJULM/s1600/customfont.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJvteoAu80JPUomKjrHlpkH6QHbtLS9jdf54JF_PHpGsdwH5BooAIyH90lJVFr987YBaqKqPrIf3tvbjy1MkULVveVlGyLefLhBkuDzeL9FDoH98pv1c0WoNyTgZbqerV2PkP-0aBJULM/s1600/customfont.png" height="320" width="213" /></a></span></div>
<br />
<div class="separator" style="clear: both; text-align: left; widows: auto;">
<span style="font-family: Times, Times New Roman, serif; font-size: large;"><span style="background-color: white; font-weight: normal; line-height: 19px;"> </span></span></div>
<div class="separator" style="clear: both; text-align: left; widows: auto;">
<u><span style="color: blue;"><a href="https://sites.google.com/site/mobileapptechnology/AndroidCustomFont.rar?attredirects=0&d=1">Download Source Code</a></span></u></div>
<div class="separator" style="clear: both; text-align: left; widows: auto;">
<span style="font-family: Times, Times New Roman, serif; font-size: large;"><span style="background-color: white; font-weight: normal; line-height: 19px;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: left; widows: auto;">
<span style="font-family: Times, Times New Roman, serif; font-size: large;"><span style="background-color: white; font-weight: normal; line-height: 19px;"><br /></span></span></div>
<div style="background-color: white;">
</div>
</div>
</div>
</h1>
</div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com0tag:blogger.com,1999:blog-7337838332721937337.post-33574438692342372452014-09-18T02:25:00.001-07:002014-09-18T05:21:29.227-07:00Opening an activity in a button click in Android<div dir="ltr" style="text-align: left;" trbidi="on">
<b><span style="font-size: x-large;">Opening an Activity in a button click in Android</span></b><br />
<b><span style="font-size: large;"><br /></span></b>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkkwPFMFHuxCQKenDA1GnBKyDABgFDZWiWteADR0LH1t1G8y4jtgw5pHraYZhvubnjAscKyqqmSyfXbwMHFM4EEGIdo7MG7zsBYnamxwJIM4zyP9JkM2kygS9dzWRvMmps8v6ujjilZb8/s1600/open.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkkwPFMFHuxCQKenDA1GnBKyDABgFDZWiWteADR0LH1t1G8y4jtgw5pHraYZhvubnjAscKyqqmSyfXbwMHFM4EEGIdo7MG7zsBYnamxwJIM4zyP9JkM2kygS9dzWRvMmps8v6ujjilZb8/s1600/open.png" height="400" width="266" /></a></div>
<b><span style="font-size: large;"> </span></b><br />
<br />
<span style="font-size: large;">In this article you are going to learn about how to open an activity using Explicit intent.</span><br />
<span style="font-size: large;"><br /></span>
<span style="background-color: white; font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 1; widows: 1;">1.Open Eclipse IDE</span><br />
<span style="background-color: white; font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 1; widows: 8;">2.Click File -> New -> Project -> Android Application Project</span><br />
<span style="background-color: white; font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 1; widows: 8;">3.Enter the name of the application as openactivity and click next </span><br />
<span style="background-color: white; font-size: large; line-height: 1; widows: 8;"><span style="font-family: Times, Times New Roman, serif;">4.Make sure that you have</span></span><span style="background-color: white; font-size: large; line-height: 18px; widows: 8;"><span style="font-family: inherit;"> </span><span style="font-family: Times, Times New Roman, serif;">ena</span></span><span style="background-color: white; font-size: large; line-height: 18px; widows: 8;"><span style="font-family: Times, Times New Roman, serif;">bled the create project in workspace</span></span><br />
<span style="background-color: white; font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 1; widows: 8;">5.Design application launcher icon and create a blank activity </span><span style="background-color: white; font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 1; widows: 1;">workspace and click finish </span><br />
<h1 class="western" style="background-color: white; line-height: 1; margin-bottom: 16px; text-align: justify; widows: 8;">
<div style="page-break-inside: avoid; text-align: left; widows: 1;">
<div style="font-weight: normal; text-align: justify; widows: 136;">
<span style="font-family: Times, 'Times New Roman', serif; line-height: 1; text-align: left; widows: 1;"><span style="font-size: large;">Now you need to design your xml file ,xml file is the layout where we design our User Interface.</span></span></div>
<div align="JUSTIFY" style="font-weight: normal; widows: 136;">
<span style="font-family: Times, Times New Roman, serif; font-size: small;"><span style="text-align: left; widows: 1;"><br /></span></span></div>
<div align="JUSTIFY" style="widows: 136;">
<span style="font-family: Times, Times New Roman, serif;">activity_main.xml</span></div>
</div>
</h1>
<pre class="programlisting" style="background-color: #ffffee; border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; border-top-left-radius: 9px; border-top-right-radius: 9px; border: 1px solid rgb(187, 187, 187); margin: 10px; overflow: auto; padding: 1em; word-wrap: break-word;"><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.mobileapptechnology.openactivity.MainActivity" >
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_marginTop="150dp"
android:orientation="vertical" >
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/download"
android:text="" />
</RelativeLayout>
</RelativeLayout>
</pre>
<div>
<span style="font-size: large;">In the eclipse the activity_main.xml is present under the res/layout/activity_main.xml.</span></div>
<div>
<span style="font-size: large;"><br /></span></div>
<div>
<span style="font-size: large;">In this layout you have to place a button as shown above, i had placed a image as the background of the button.</span></div>
<div>
<span style="font-size: large;"><br /></span></div>
<div>
<span style="font-size: large;">After this now you have create a another xml file for the second activity.</span></div>
<div>
<span style="font-size: large;">so right click on the layout folder and click new and select android xml file ,they layout folder is present under the res folder.name the new xml as secondactivity.xml</span><br />
<b><span style="font-size: x-large;">String.xml</span></b><br />
<span style="font-size: large;">Normally in Android application whatever the values you are going to give will be provided in a proper manner.</span><br />
<span style="font-size: large;">Hardcore values could not be used in the application</span><br />
<pre class="programlisting" style="background-color: #ffffee; border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; border-top-left-radius: 9px; border-top-right-radius: 9px; border: 1px solid rgb(187, 187, 187); margin: 10px; overflow: auto; padding: 1em; word-wrap: break-word;"><span style="font-family: Droid Sans Mono, Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, monospace;"><span style="line-height: 16px;"><?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">OpenActivity</string>
<string name="hello_world">Hello world!</string>
<string name="action_settings">Settings</string>
<string name="hai">Hai Friends</string>
</resources></span></span>
</pre>
</div>
<div>
<br /></div>
<div>
<span style="font-size: large;">In this application we set the value for the text view through the <b>string.xml</b> only as shown above.</span><br />
<span style="font-size: large;">the <b>string.xml </b>is under the values folder which is under the res folder.</span></div>
<div>
<span style="font-family: Times, Times New Roman, serif; font-size: x-large;"><b>Secondactivity.xml</b></span></div>
<div>
<span style="font-size: large;"><br /></span></div>
<div>
<pre class="programlisting" style="background-color: #ffffee; border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; border-top-left-radius: 9px; border-top-right-radius: 9px; border: 1px solid rgb(187, 187, 187); margin: 10px; overflow: auto; padding: 1em; word-wrap: break-word;"><span style="font-family: Droid Sans Mono, Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, monospace;"><span style="line-height: 16px;"><?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#67C1E6"
android:orientation="vertical" >
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="150dp" >
<TextView
android:id="@+id/textView1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:textSize="20sp"
android:textColor="#FFFFFF"
android:textStyle="italic"
android:text="@string/hai" />
</RelativeLayout>
</RelativeLayout></span></span><span style="font-family: 'Droid Sans Mono', Monaco, 'Bitstream Vera Sans Mono', 'Lucida Console', Terminal, monospace; font-size: 13px; line-height: 16px;">
</span></pre>
</div>
<div>
<span style="font-size: large;">In this layout i had placed a textview just to represent a text.in textview i mentioned the style ,size and color for it.and i give the gravity as center to place the text in the center of the screen.</span></div>
<div>
<br /></div>
<div>
<span style="font-family: Times, Times New Roman, serif; font-size: x-large;"><b>MainActivity.java</b></span></div>
<div>
<span style="font-family: Times, Times New Roman, serif; font-size: large;">Now its time to code the MainActivity as shown below</span></div>
<div>
<pre class="programlisting" style="background-color: #ffffee; border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; border-top-left-radius: 9px; border-top-right-radius: 9px; border: 1px solid rgb(187, 187, 187); margin: 10px; overflow: auto; padding: 1em; word-wrap: break-word;"><span style="font-family: Droid Sans Mono, Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, monospace;"><span style="line-height: 16px;">package com.mobileapptechnology.openactivity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Button but1=(Button)findViewById(R.id.button1);
TextView text=(TextView)findViewById(R.id.textView1);
but1.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
Intent i= new Intent(getApplicationContext(),SecondActivity.class);
startActivity(i);
}
});
}
}</span></span><span style="font-family: 'Droid Sans Mono', Monaco, 'Bitstream Vera Sans Mono', 'Lucida Console', Terminal, monospace; font-size: 13px; line-height: 16px;">
</span></pre>
</div>
<div>
<span style="font-size: large;">In MainActivity.java i have initialized the textview and button as shown above,after that am creating a on click event for the button to set the action for the button.</span></div>
<div>
<span style="font-size: large;"><br /></span></div>
<div>
<span style="font-size: large;">Here is used the explicit intent to open an activity from an activity when a button is clicked.</span></div>
<div>
<span style="font-size: large;"><br /></span></div>
<div>
<span style="font-size: large;">Here the <span style="background-color: white;"><span style="font-family: Times, Times New Roman, serif;"><span style="line-height: 16px;">getApplicationContext() refers the current class</span></span><span style="font-family: 'Droid Sans Mono', Monaco, 'Bitstream Vera Sans Mono', 'Lucida Console', Terminal, monospace; line-height: 16px;"> </span><span style="line-height: 16px;"><span style="font-family: Times, Times New Roman, serif;">that </span></span></span></span><br />
<span style="background-color: white;"><span style="font-size: large;"><span style="line-height: 16px;"><span style="font-family: Times, Times New Roman, serif;"><br /></span></span></span>
<span style="font-size: large;"><span style="line-height: 16px;"><span style="font-family: Times, Times New Roman, serif;">means it refers the main activity.</span></span></span><span style="font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 16px;">and the SecondActivity.class file </span></span><br />
<span style="background-color: white;"><span style="font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 16px;"><br /></span>
<span style="font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 16px;">refers the SecondActivity.java </span><span style="font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 16px;">which is mentioned below.</span><span style="font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 16px;">Before </span></span><br />
<span style="background-color: white; font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 16px;"><br /></span>
<span style="background-color: white;"><span style="font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 16px;">coding the MainActivity we have to create a </span><span style="font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 16px;">SecondActivity it </span></span><br />
<span style="background-color: white; font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 16px;"><br /></span>
<span style="background-color: white;"><span style="font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 16px;">means we have to create a new class by right </span><span style="font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 16px;">clicking the package </span></span><br />
<span style="background-color: white; font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 16px;"><br /></span>
<span style="background-color: white;"><span style="font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 16px;">under the src folder and click the new and </span><span style="line-height: 16px;"><span style="font-family: Times, Times New Roman, serif; font-size: large;">select the class </span></span><span style="font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 16px;">give the </span></span><br />
<span style="background-color: white; font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 16px;"><br /></span>
<span style="background-color: white; font-family: Times, 'Times New Roman', serif; font-size: large; line-height: 16px;">name as SecondActivity.</span></div>
<div>
<span style="background-color: #ffffee; line-height: 16px;"><span style="font-family: Times, Times New Roman, serif;"><br /></span></span></div>
<div>
<span style="background-color: #ffffee; line-height: 16px;"><span style="font-family: Times, Times New Roman, serif; font-size: x-large;"><b>SecondActivity.java</b></span></span></div>
<div>
<pre class="programlisting" style="background-color: #ffffee; border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; border-top-left-radius: 9px; border-top-right-radius: 9px; border: 1px solid rgb(187, 187, 187); margin: 10px; overflow: auto; padding: 1em; word-wrap: break-word;"><span style="font-family: Droid Sans Mono, Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, monospace;"><span style="line-height: 16px;">package com.mobileapptechnology.openactivity;
import android.app.Activity;
import android.os.Bundle;
public class SecondActivity extends Activity{
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView<b>(R.layout.secondactivity);</b>
}
}</span></span></pre>
</div>
<div>
<span style="background-color: #ffffee; line-height: 16px;"><span style="font-family: Times, Times New Roman, serif;"><br /></span></span></div>
<div>
<br /></div>
<div>
<span style="font-size: large;">In this SecondActivity we are going to link the secondactivity.xml file with the SecondActivity.java </span><span style="font-size: large;">here we just mentioning the layout file .It is highlighted in the above code.</span></div>
<div>
<span style="font-size: large;"><br /></span></div>
<div>
<span style="font-size: large;">After that you have mention your SecondActivity.java in Manifest file ,Because Each and every activiy which we are newly creating has to be mentioned in Manifest file .Without initializing it the application will be filled with errors.</span></div>
<div>
<br /></div>
<div>
<span style="font-family: Times, Times New Roman, serif; font-size: large;"><b>OpenActivtyManifest.</b></span></div>
<div>
<pre class="programlisting" style="background-color: #ffffee; border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; border-top-left-radius: 9px; border-top-right-radius: 9px; border: 1px solid rgb(187, 187, 187); margin: 10px; overflow: auto; padding: 1em; word-wrap: break-word;"><span style="font-family: Droid Sans Mono, Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, monospace;"><span style="line-height: 16px;"><?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mobileapptechnology.openactivity"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="21" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<b><activity android:name="com.mobileapptechnology.openactivity.SecondActivity"></activity></b>
</application>
</manifest></span></span><span style="font-family: 'Droid Sans Mono', Monaco, 'Bitstream Vera Sans Mono', 'Lucida Console', Terminal, monospace; font-size: 13px; line-height: 16px;">
</span></pre>
</div>
<div>
<span style="font-size: large;">The text which is in bold represent that the SecondActivity is mentioned in the Manifest File.by default the MainActivity is mentioned in Manifest file.</span></div>
<div>
<span style="font-size: large;">Now its time to run the application,you will get the output in your emulator as shown below .</span></div>
<div>
<br /></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4qfQz37AAiw4G9_VH-7kX8hRpNkn5SoDVHB-NdfecziyAbpbRAQWpqt9GGUoXiiCP4HtmcWs68OUVX7OPf1mMB7IYgFRZxZKhXaAeKmj2dfOkOG8i14fcUY8h7yZs8wnW3HVAKYFgkkw/s1600/open.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4qfQz37AAiw4G9_VH-7kX8hRpNkn5SoDVHB-NdfecziyAbpbRAQWpqt9GGUoXiiCP4HtmcWs68OUVX7OPf1mMB7IYgFRZxZKhXaAeKmj2dfOkOG8i14fcUY8h7yZs8wnW3HVAKYFgkkw/s1600/open.png" height="320" width="213" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;">When you click the button in the UI it will redirect you the SecondActivity as shown below.</span></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTvT5dUw0quymJwVwdEQHq5uxt8Bqp17JE5Z4lEl2O6L2hpqYB-PTcwAmpbWIs22-bAblP1HpGmF30g6Mo415-Kj55kWts6iBBq817y5uoJtRc5rr3OgZ7MU0z-kkp44NhA9afJTlR6fo/s1600/open1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTvT5dUw0quymJwVwdEQHq5uxt8Bqp17JE5Z4lEl2O6L2hpqYB-PTcwAmpbWIs22-bAblP1HpGmF30g6Mo415-Kj55kWts6iBBq817y5uoJtRc5rr3OgZ7MU0z-kkp44NhA9afJTlR6fo/s1600/open1.png" height="320" width="213" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<u><span style="color: blue; font-size: x-large;"><b><a href="https://sites.google.com/site/mobileapptechnology/OpenActivity.rar?attredirects=0&d=1">Download SourceCode</a></b></span></u></div>
<div>
</div>
</div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com0tag:blogger.com,1999:blog-7337838332721937337.post-71445468568742652052014-09-18T00:33:00.002-07:002014-09-18T02:38:21.863-07:00Intents<div dir="ltr" style="text-align: left;" trbidi="on">
<b><span style="font-size: x-large;">Intent:</span></b><br />
<div style="text-align: left;">
<span style="font-size: x-large;"><b> </b> </span>1)<span style="font-size: x-large;"> </span>Intent is a instant action.</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<div style="text-align: left;">
2) Intent is a message that is passed between the components(such as activity,content provider,services and content provider).</div>
</div>
<div style="text-align: left;">
<div style="text-align: left;">
</div>
</div>
<div style="text-align: left;">
<div style="text-align: left;">
3) Normally intents are used to pass the values between activity and to go from one activity to another activity.</div>
</div>
<div style="text-align: left;">
<b><br /></b></div>
<div style="text-align: left;">
<b><span style="font-size: large;">The main use of intent :</span></b></div>
<div style="text-align: left;">
<b><br /></b></div>
<div style="text-align: left;">
<b> </b> 1)Start the service </div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
2)Launch the activity</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
3)Display a web page</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
4)Broadcast a message</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
5)Dial a phone call</div>
<div style="text-align: left;">
<b><br /></b></div>
<div style="text-align: left;">
<b><span style="font-size: large;">Types of Intents:</span></b></div>
<div style="text-align: left;">
<div style="text-align: left;">
<b><span style="font-size: large;"> </span></b><b style="font-size: x-large;"> </b>There are two types of intents in android ,they are </div>
</div>
<div style="text-align: left;">
<div style="text-align: left;">
</div>
</div>
<div style="text-align: left;">
<div style="text-align: left;">
1)Implicit Intent</div>
</div>
<div style="text-align: left;">
<div style="text-align: left;">
<br /></div>
</div>
<div style="text-align: left;">
<div style="text-align: left;">
2)Explicit Intent</div>
<div style="text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmRfdxSoth42mvtMugC-tmnHi9ucDy5PSp5K_rBPjRjImCbW8XhyphenhyphenWH9QgD_ab_P5Aa-9d2pdufJSxPpL8CLBmylBoX1VS2wzergP0JaZeYi469KmKR32QA4Ll2DdVPSQCa0FbFPIOUNjU/s1600/intent.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmRfdxSoth42mvtMugC-tmnHi9ucDy5PSp5K_rBPjRjImCbW8XhyphenhyphenWH9QgD_ab_P5Aa-9d2pdufJSxPpL8CLBmylBoX1VS2wzergP0JaZeYi469KmKR32QA4Ll2DdVPSQCa0FbFPIOUNjU/s1600/intent.jpg" /></a></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
</div>
</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<b><span style="font-size: large;">Implicit Intent</span></b></div>
<div style="text-align: left;">
<b><span style="font-size: large;"> </span></b>Implicit intents are used to provide the information of available components provided by the system that to be invoked.<br />
<br />
For example you can use implicit intent coding to view a webpage.<br />
<pre class="programlisting" style="background-color: #ffffee; border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; border-top-left-radius: 9px; border-top-right-radius: 9px; border: 1px solid rgb(187, 187, 187); font-family: 'Droid Sans Mono', Monaco, 'Bitstream Vera Sans Mono', 'Lucida Console', Terminal, monospace; font-size: 13px; line-height: 16px; margin: 10px; overflow: auto; padding: 1em; word-wrap: break-word;">Intent i = <span class="hl-keyword" style="color: #7f0055; font-weight: bold;">new</span> Intent(Intent.ACTION_VIEW, Uri.parse(<span class="hl-string" style="color: blue;">"http://www.mobileapptechnology.blogspot.com"</span>));
startActivity(i); </pre>
</div>
<div style="text-align: left;">
<b><span style="font-size: large;">Explicit Intent </span></b><br />
<span style="font-size: large; font-weight: bold;"> </span> Explicit intents are used to provide the external class,used to move from one activity to other activity.<br />
<br />
For example you can use the following code to move from one activity to another activity.<br />
<pre class="programlisting" style="background-color: #ffffee; border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; border-top-left-radius: 9px; border-top-right-radius: 9px; border: 1px solid rgb(187, 187, 187); font-family: 'Droid Sans Mono', Monaco, 'Bitstream Vera Sans Mono', 'Lucida Console', Terminal, monospace; font-size: 13px; line-height: 16px; margin: 10px; overflow: auto; padding: 1em; word-wrap: break-word;"><ol class="dp-j" start="1" style="background-color: white; border: none; font-family: verdana; line-height: 23px; margin: 0px; padding: 0px; white-space: normal;">
<li class="alt" style="border: none; font-family: Verdana; line-height: 1.5; margin: 3px 0px 0px; padding: 0px 3px 0px 10px !important;"><span style="background-color: inherit; border: none; margin: 0px; padding: 0px;"><span style="background-color: inherit; border: none; margin: 0px; padding: 0px;">Intent i = </span><span class="keyword" style="background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;">new</span><span style="background-color: inherit; border: none; margin: 0px; padding: 0px;"> Intent(getApplicationContext(), ActivityTwo.</span><span class="keyword" style="background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;">class</span><span style="background-color: inherit; border: none; margin: 0px; padding: 0px;">); </span></span></li>
<li class="" style="border: none; font-family: Verdana; line-height: 1.5; margin: 3px 0px 0px; padding: 0px 3px 0px 10px !important;"><span style="background-color: inherit; border: none; margin: 0px; padding: 0px;">startActivity(i); </span></li>
</ol>
</pre>
<b> </b></div>
</div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com0tag:blogger.com,1999:blog-7337838332721937337.post-11869849350249102872014-08-26T06:02:00.003-07:002014-09-18T04:53:33.315-07:00Google Nexus 360 concept is a phone you wouldn’t mind owning<div dir="ltr" style="text-align: left;" trbidi="on">
<b><span style="font-size: x-large;">Google Nexus 360 concept is a phone you wouldn’t mind owning</span></b><br />
<span style="font-size: large;"><b><br /></b></span><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKhczG8QbhjGhNiZAd9mmD4lJCSjRcukffDIgNl_ARA8Fcws4hlg2GAiWTceNzpXenwRcsiSZpF9h3AqVbnkf_l6Cx9fyvbbJGDAZ3WkcWtqIooEd-cZbyydZ4m23BgFX-lwz3OsILYlw/s1600/Google-Nexus-360-Is-a-Smartphone-That-Turns-into-a-Smartwatch-Concept.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKhczG8QbhjGhNiZAd9mmD4lJCSjRcukffDIgNl_ARA8Fcws4hlg2GAiWTceNzpXenwRcsiSZpF9h3AqVbnkf_l6Cx9fyvbbJGDAZ3WkcWtqIooEd-cZbyydZ4m23BgFX-lwz3OsILYlw/s1600/Google-Nexus-360-Is-a-Smartphone-That-Turns-into-a-Smartwatch-Concept.jpg" height="312" width="640" /></a><span style="font-size: large;"><b> </b></span><br />
<div style="display: inline !important;">
<span style="font-size: large;">Nowdays we have seen hundreds of concepts phones and some of them have even made in to production.Now here is a concept phone which will fullfill all your needs in a single device.</span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjBBy3ZS04lgjgItAR8QLLw8bVaVh0WyuwOjoL00AIRVrdtNl5KCR_Bo_u0-H6S-7IB5V2oVXcqVLb8Ky_bgL7gCybYWZ_WnE1nPCaV9IG_D7VbVoxp3Ce5FiSXX6dLGs5j_4JBvT2qAU/s1600/nexus-360.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjBBy3ZS04lgjgItAR8QLLw8bVaVh0WyuwOjoL00AIRVrdtNl5KCR_Bo_u0-H6S-7IB5V2oVXcqVLb8Ky_bgL7gCybYWZ_WnE1nPCaV9IG_D7VbVoxp3Ce5FiSXX6dLGs5j_4JBvT2qAU/s1600/nexus-360.jpg" height="356" width="640" /></a></div>
<span style="font-size: large;"><b> </b></span><br />
<span style="font-size: large;">So this Google Nexus 360 concept is a 5-inch smartphone that can bend over backwards to become a smart watch. Great feature, though we are not sure how practiccal it would be to have a 5-inch screen on your wrist.</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj55kkX7HKJC-LNYomt05_QBtVGcePq57sYqkzAIxJ8Fb-326jCzk-QsZc3rY1yJkAsR0BDwcLVVd4UAwvsAJJ8TriB0mcyjtt-d9na8yoreKvzYnUTGItvLfrL1KpyJ1slqT7TIz-AYFE/s1600/nexus_360_google3.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj55kkX7HKJC-LNYomt05_QBtVGcePq57sYqkzAIxJ8Fb-326jCzk-QsZc3rY1yJkAsR0BDwcLVVd4UAwvsAJJ8TriB0mcyjtt-d9na8yoreKvzYnUTGItvLfrL1KpyJ1slqT7TIz-AYFE/s1600/nexus_360_google3.jpg" height="480" width="640" /></a></div>
<b style="font-size: x-large;"> </b><br />
<b style="font-size: x-large;"></b><br />
<div style="display: inline !important;">
<span style="font-size: large;"><b>Another Important and intresting feature in this concept phone is the sidepanel which contain the e-ink display for notification the other side houses a bluetooth device which look stylus.</b></span></div>
<b><br /></b>
<b><span style="font-size: large;"><br /></span><span style="font-size: large;">A note from gadget research and review says they “choose the Google brand for this concept since the search titan has always been at the forefront of innovation, and has the flexibility to partner with a specific hardware manufacturer that can build to its spec”. The obvious effort is to try and find a single solution to all you mobile related problems .</span></b><br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_7NhcX4I4Gcy9-lwBjxYogATkUuxqkwA6eA7MqAHp9TXzhg5CO09pYW8lq0dbY9-GZeztCmNazrA4QygNoyqPfa7B-ceoY-8wv1YQsBqAnSl2M-LYn8gdEhhlBfOa1iPuerHvRAlcM_I/s1600/nexus-360-camera.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_7NhcX4I4Gcy9-lwBjxYogATkUuxqkwA6eA7MqAHp9TXzhg5CO09pYW8lq0dbY9-GZeztCmNazrA4QygNoyqPfa7B-ceoY-8wv1YQsBqAnSl2M-LYn8gdEhhlBfOa1iPuerHvRAlcM_I/s1600/nexus-360-camera.jpg" height="356" width="640" /></a><span style="font-size: large;"><b><br /></b></span><br />
<span style="font-size: large;"><b> </b></span><br />
<span style="font-size: large;">Other suggested feature that is available in this concept phone are Flexible polymer OLED display, integrated fingerprint scanner and heart rate monitor, tube camera for the wrist and IP67-certification for all weather use. </span><br />
<b style="font-size: x-large;"> </b><br />
<div class="separator" style="clear: both; text-align: center;">
<b style="font-size: x-large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrS6IrG4hv2ReOm8vHEwPACjrgGEbEGUwFrntSujiRFL3kpwf4ZXoVpTbN-VUU4_TGNTko-zegUH2s0HqKU53gRfw_DbgjKwJJdL3TyvoU6tjk5LM0LykuCzLl9BYHvMdNaCkVsbiV_js/s1600/nexus-360-bluetoothheadset.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrS6IrG4hv2ReOm8vHEwPACjrgGEbEGUwFrntSujiRFL3kpwf4ZXoVpTbN-VUU4_TGNTko-zegUH2s0HqKU53gRfw_DbgjKwJJdL3TyvoU6tjk5LM0LykuCzLl9BYHvMdNaCkVsbiV_js/s1600/nexus-360-bluetoothheadset.jpg" height="320" width="280" /></a></b></div>
<br />
<span style="font-size: large;"><b></b></span><br />
<br />
<div>
<br /></div>
<div class="separator" style="clear: both;">
<br /></div>
</div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com2tag:blogger.com,1999:blog-7337838332721937337.post-2687637439748680702014-08-26T00:51:00.003-07:002014-09-18T04:53:44.000-07:00Speech To Text In Android<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both;">
<b><span style="font-size: x-large;">Speech To Text In Android</span></b></div>
<div class="separator" style="clear: both;">
<b><span style="font-size: x-large;"> </span></b></div>
<div class="separator" style="clear: both; text-align: center;">
<b><span style="font-size: x-large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiB3OKU7uvU4p5MXBRxIbODW3oVtqtFsFwFhsyvk5GQuJ6Oy6iQ3joPa9QPwnOm75RHVUhKs7t8sdWdPCPxHRTfrFnav9-MgTXQhFexbBn-p5_WV1ub53G2qwvE7pxA81F3Ml83B4i7hQ8/s1600/Screenshot_2014-08-26-12-40-57.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiB3OKU7uvU4p5MXBRxIbODW3oVtqtFsFwFhsyvk5GQuJ6Oy6iQ3joPa9QPwnOm75RHVUhKs7t8sdWdPCPxHRTfrFnav9-MgTXQhFexbBn-p5_WV1ub53G2qwvE7pxA81F3Ml83B4i7hQ8/s1600/Screenshot_2014-08-26-12-40-57.png" height="320" width="180" /></a></span></b></div>
<br />
<div class="separator" style="clear: both;">
<span style="font-size: large;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="font-size: large;">1)Lets start a new project in eclipse as we created for earlier projects.</span></div>
<div class="separator" style="clear: both;">
<span style="font-size: large;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="font-size: large;">2)Change the layout ,we have to change activity_main.xml appearence by using a image button and a text view as show below.</span></div>
<div class="separator" style="clear: both;">
<span style="font-size: large;"> </span><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAMGHn9qnKXpUVhtKHcmR9ux8BTB2K3HuX0d_lq-3Qt3PsDKWwJrXHi4l74UCxswUx6vWC47pqOrVN3ijFqYrQ85RkEa3FldAwwM_Q9cfMSSKNzcjo3BNRIM5u25c1PS3p-wumGO49LPs/s1600/speech1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAMGHn9qnKXpUVhtKHcmR9ux8BTB2K3HuX0d_lq-3Qt3PsDKWwJrXHi4l74UCxswUx6vWC47pqOrVN3ijFqYrQ85RkEa3FldAwwM_Q9cfMSSKNzcjo3BNRIM5u25c1PS3p-wumGO49LPs/s1600/speech1.JPG" height="574" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"></span></div>
<span style="font-size: large;"> </span><span style="font-size: large;">3)Now you have to code it in java to trigger Speech To Text</span><br />
<div class="separator" style="clear: both;">
<span style="font-size: large;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="font-size: large;"></span></div>
<div class="separator" style="clear: both;">
<span style="font-size: large;">4)Open the Main Activity.java and replace the code as shown below</span></div>
<div class="separator" style="clear: both;">
<span style="font-size: large;"> </span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-t6Fp4yMdIwD0yxrkqtiCmkJoKN5LpQ2AHaRd1_bzqTvn-9lugU2uiuB5JRrHEl4mASfwCE9qdXyBYYQaYQxtfyp64j412DqerMQw7C5m45bh6UIY3raBYv0swRCkCZ2BIilQy7qwi_Q/s1600/speechmain1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-t6Fp4yMdIwD0yxrkqtiCmkJoKN5LpQ2AHaRd1_bzqTvn-9lugU2uiuB5JRrHEl4mASfwCE9qdXyBYYQaYQxtfyp64j412DqerMQw7C5m45bh6UIY3raBYv0swRCkCZ2BIilQy7qwi_Q/s1600/speechmain1.JPG" height="542" width="640" /></a></span></div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
Here i split the main activity files in to two </div>
<div class="separator" style="clear: both;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDquwRkmOi4MgYxHyiBTY98bVKEXmVkNAx1-_S2Ahk90bgXUd3FH1PIY1Y0nsNJU46-AtkmPPZ3Erc_BgRKFOlZIWPS_XpUN0EfnFkXPfDGg6hqkQCCYvfGyq8fTdctdi-ba_OmZuuOZU/s1600/speechmain2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDquwRkmOi4MgYxHyiBTY98bVKEXmVkNAx1-_S2Ahk90bgXUd3FH1PIY1Y0nsNJU46-AtkmPPZ3Erc_BgRKFOlZIWPS_XpUN0EfnFkXPfDGg6hqkQCCYvfGyq8fTdctdi-ba_OmZuuOZU/s1600/speechmain2.JPG" height="422" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both;">
<span style="font-size: large;">5)Now run and test your Project You will get the Output as shown below.</span></div>
<div class="separator" style="clear: both;">
<span style="font-size: large;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="font-size: large;"><u><a href="https://sites.google.com/site/mobileapptechnology/speech%20-%20text.rar?attredirects=0&d=1" target="_blank">Download SourceCode</a></u></span></div>
<div class="separator" style="clear: both;">
<span style="font-size: large;"> </span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBLS2Ct3d16FnV5jDqa_lGDQQzthmsoNIM_VprHA-4m9wvtqt2sChXsal1yNc35sBU3V_WFYn-BVjVtaWrJdX5WxSKQWLwaHZ8JEzjCbZ2hfV4pLyvFe0xS3F1lsKKMOSiRDhL2b_DWiQ/s1600/Screenshot_2014-08-26-12-41-49.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBLS2Ct3d16FnV5jDqa_lGDQQzthmsoNIM_VprHA-4m9wvtqt2sChXsal1yNc35sBU3V_WFYn-BVjVtaWrJdX5WxSKQWLwaHZ8JEzjCbZ2hfV4pLyvFe0xS3F1lsKKMOSiRDhL2b_DWiQ/s1600/Screenshot_2014-08-26-12-41-49.png" height="320" width="180" /></a></span></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOGVIOyky-XfNdcgHWdJWHErNalZ_eESSwWIJe-5NF8pakwN5m7z543iwJhMb2Sb2i1IdFJQH7abN5feVtrD0cbvLCP5TvvFnysJz-rLF61_N34AO5EtKcc2rvGHC0BmN9asqKEKwtA40/s1600/Screenshot_2014-08-26-12-42-00.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOGVIOyky-XfNdcgHWdJWHErNalZ_eESSwWIJe-5NF8pakwN5m7z543iwJhMb2Sb2i1IdFJQH7abN5feVtrD0cbvLCP5TvvFnysJz-rLF61_N34AO5EtKcc2rvGHC0BmN9asqKEKwtA40/s1600/Screenshot_2014-08-26-12-42-00.png" height="320" width="180" /></a></span></div>
<br />
<div class="separator" style="clear: both;">
<br /></div>
</div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com0tag:blogger.com,1999:blog-7337838332721937337.post-48407697333831149012014-05-25T22:53:00.002-07:002014-05-25T22:53:38.823-07:00Samsung Developing Smartwatch That Works Without a Smartphone<div dir="ltr" style="text-align: left;" trbidi="on">
<h1 class="title" href="http://mashable.com/2014/05/23/samsung-working-on-smartwatch-that-doesnt-need-tethered-smartphone/" style="background-color: white; clear: left; font-family: MuseoSlabLight; line-height: 1.2; margin: 0px; text-rendering: optimizelegibility;">
<span style="font-size: x-large;">Samsung Developing Smartwatch That Works Without a Smartphone</span></h1>
<div>
<span style="font-size: x-large;"><br /></span></div>
<div>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZBAE5bI8kcUvhLRzmd_dIf4rh2ego5DtOwcE3G-Ehc3Q8BhY1CuX4eQiqCRyZRiJV_Xl6Vo4DZr2RwESG1ZojON19eK1nhSUc68GH3tHhDEQUW0TFfYZePIdZPzOJz7xeFb2c81mSYNc/s1600/33388888.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/AVvXsEgZBAE5bI8kcUvhLRzmd_dIf4rh2ego5DtOwcE3G-Ehc3Q8BhY1CuX4eQiqCRyZRiJV_Xl6Vo4DZr2RwESG1ZojON19eK1nhSUc68GH3tHhDEQUW0TFfYZePIdZPzOJz7xeFb2c81mSYNc/s1600/33388888.jpg" height="358" width="640" /></a><span style="font-size: x-large;"><br /></span></div>
<div>
<span style="font-size: x-large;"> </span><span style="font-size: large;">Samsung is working on a Smart watch that doesn't need to sync with smartphone to work .</span></div>
<div>
<span style="font-size: large;"><br /></span></div>
<div>
<span style="font-size: large;">A report says that south Korean manufacturer is in talk with various telecommunications carriers that would turn the smart watch into phone itself.</span></div>
<div>
<span style="font-size: large;"><br /></span></div>
<div>
<span style="font-size: large;">User will be able to make call by holding the smart watch to the mouth.</span></div>
<div>
<span style="font-size: large;"><br /></span></div>
<div>
<span style="background-color: white; line-height: 22.5px;"><span style="font-family: inherit; font-size: large;">Although most on the market right now need to be tethered to a </span></span></div>
<div>
<span style="background-color: white; line-height: 22.5px;"><span style="font-family: inherit; font-size: large;"><br /></span></span></div>
<div>
<span style="background-color: white;"><span style="font-size: large;"><span style="font-family: inherit;"><span style="line-height: 22.5px;">smartphone to receive phone calls, send text messages, check email and use other features, Samsung has its sights set on creating a </span></span><span style="line-height: 22.5px;">smart watch</span><span style="font-family: inherit;"><span style="line-height: 22.5px;"> that doesn't need a smartphone to work.</span></span></span></span></div>
<div>
<span style="font-size: x-large;"> </span></div>
<div>
<span style="font-size: large;">The Smart watch will reportedly run on Samsung's tizen Smart watch </span><span style="font-size: large;">operating system.</span></div>
<div>
<span style="font-size: x-large;"><br /></span></div>
<div>
<span style="font-size: large;">Samsung's second-generation Gear 2 is lighter,thinner and more powerful- overall it works better than previous model. </span></div>
<div>
<span style="font-size: x-large;"><br /></span></div>
<div>
<span style="font-size: large;">The Samsung smart watch is said to be launch in June or July.</span><span style="font-size: x-large;"> </span></div>
<div>
<span style="font-size: x-large;"> <div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4xSiXSGQhoKx6UA3pp-k3MKJR1fvTN-0Ts4smMt0u2cjnHxQJuclJKzDw06h8eeL1t4hXzIzEC4NmkBapR8ss80O7EOkNrOco2lrRuY-PDn4vX4T8Q-GQdJ-4G_fLp5AvP6fXvxXqjQ8/s1600/M_Id_416769_Samsung_Galaxy_Gear.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4xSiXSGQhoKx6UA3pp-k3MKJR1fvTN-0Ts4smMt0u2cjnHxQJuclJKzDw06h8eeL1t4hXzIzEC4NmkBapR8ss80O7EOkNrOco2lrRuY-PDn4vX4T8Q-GQdJ-4G_fLp5AvP6fXvxXqjQ8/s1600/M_Id_416769_Samsung_Galaxy_Gear.jpg" /></a></div>
</span></div>
</div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com0tag:blogger.com,1999:blog-7337838332721937337.post-55852785332632109252014-05-22T05:54:00.000-07:002014-05-22T05:54:02.989-07:00MultiSelection Mode Enabled In ListView By Adding Toggle Button Using Custom Layout In Android<div dir="ltr" style="text-align: left;" trbidi="on">
<b><span style="font-size: x-large;">MultiSelection Mode Enabled In ListView By Adding Toggle Button</span></b><br />
<b><span style="font-size: x-large;"> </span></b><br />
<span style="font-size: x-large; font-weight: bold;"> </span><br />
<div class="separator" style="clear: both; font-size: xx-large; font-weight: bold; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxUOqalWlRUNDoK6d5OLJxDzr739nF2RhXZB8MHoNNnqsFoy356Shpwk09YDTowSNNGB2bRw48IcoBFCfbKhSVvlg8BS363C8kr0gUbcEQZR2kfyuQWdvU7MkMPl6rZfWCa_afbWiL3JU/s1600/device-2014-05-22-180731.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxUOqalWlRUNDoK6d5OLJxDzr739nF2RhXZB8MHoNNnqsFoy356Shpwk09YDTowSNNGB2bRw48IcoBFCfbKhSVvlg8BS363C8kr0gUbcEQZR2kfyuQWdvU7MkMPl6rZfWCa_afbWiL3JU/s1600/device-2014-05-22-180731.png" height="320" width="213" /></a></div>
<div class="separator" style="clear: both; font-size: xx-large; font-weight: bold; text-align: center;">
<br /></div>
<div style="font-size: medium; font-weight: normal;">
<span style="background-color: white; font-size: medium; line-height: 18px;">1)Create a new android application project in eclipse </span></div>
<div style="font-size: medium; font-weight: normal;">
<span style="background-color: white; font-size: medium; line-height: 18px;"><br /></span></div>
<div style="font-size: medium; font-weight: normal;">
<span style="background-color: white; font-size: medium; line-height: 18px;"><br /></span></div>
<div style="font-size: medium; font-weight: normal;">
<span style="background-color: white; font-size: medium; line-height: 18px;">2)</span><span style="background-color: white; font-size: medium; line-height: 18px;">)Then after craeting a new project you have to edit the activity_mail.xml file , As shown below.</span></div>
<div style="font-size: medium; font-weight: normal;">
<span style="background-color: white; font-size: medium; line-height: 18px;"><br /></span></div>
<div class="separator" style="clear: both; font-size: xx-large; font-weight: bold; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgV4LZB1JNuyueqoFU41krNu0p4Wza9ORubvMuujomcMA0FVkUFfLajxvXviaHcJ7M4YBas9fhRldyptrLuVLoTtN0LkLWPllfdWcbrpKWAmsoFkCOuhO5IhPtp14k1e7CEnYxWNR0qk0g/s1600/toggle.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgV4LZB1JNuyueqoFU41krNu0p4Wza9ORubvMuujomcMA0FVkUFfLajxvXviaHcJ7M4YBas9fhRldyptrLuVLoTtN0LkLWPllfdWcbrpKWAmsoFkCOuhO5IhPtp14k1e7CEnYxWNR0qk0g/s1600/toggle.JPG" height="243" width="640" /></a></div>
<div style="font-size: medium; font-weight: normal;">
<span style="background-color: white; font-size: medium; line-height: 18px;"> </span></div>
<div style="font-size: medium; font-weight: normal;">
<span style="background-color: white; font-size: medium; line-height: 18px;">3)Create a layout file for customizing list view items in the file </span></div>
<div style="font-size: medium; font-weight: normal;">
<span style="background-color: white; font-size: medium; line-height: 18px;"> </span></div>
<div style="font-size: medium; font-weight: normal;">
<span style="background-color: white; font-size: medium; line-height: 18px;"> </span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjME7yFh6xfFVTylF44Tmv6JKW6sIEsSUn5U-YzpjrzElpt53lPS0l-uMxzKQx06OkIdJqqoj79JZzpXjPTYdN7x11C2eqPvI5qkaO86oRA2UsqXemar7YuZXvp7ezc80p9XoAFCJeesQU/s1600/toggle1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjME7yFh6xfFVTylF44Tmv6JKW6sIEsSUn5U-YzpjrzElpt53lPS0l-uMxzKQx06OkIdJqqoj79JZzpXjPTYdN7x11C2eqPvI5qkaO86oRA2UsqXemar7YuZXvp7ezc80p9XoAFCJeesQU/s1600/toggle1.JPG" height="384" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
4)<span style="background-color: white; font-family: 'PT Sans', Arial, Helvetica, sans-serif; font-size: medium; line-height: 20px; widows: 1;"> Now you have to code the main activity file as shown below</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="background-color: white; font-family: 'PT Sans', Arial, Helvetica, sans-serif; font-size: medium; line-height: 20px; widows: 1;"> </span> <code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre; width: auto !important;">public</code><span style="background-color: white; color: #444444; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; line-height: 15.399999618530273px; white-space: pre;"> </span><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre; width: auto !important;">class</code><span style="background-color: white; color: #444444; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; line-height: 15.399999618530273px; white-space: pre;"> </span><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre; width: auto !important;">MainActivity </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre; width: auto !important;">extends</code><span style="background-color: white; color: #444444; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; line-height: 15.399999618530273px; white-space: pre;"> </span><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre; width: auto !important;">Activity {</code></div>
<div class="line number20 index19 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number21 index20 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">String[] countries = </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">new</code> <code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">String[] {</code></div>
<div class="line number22 index21 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java string" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"India"</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number23 index22 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java string" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"Pakistan"</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number24 index23 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java string" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"Sri Lanka"</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number25 index24 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java string" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"China"</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number26 index25 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java string" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"Bangladesh"</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number27 index26 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java string" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"Nepal"</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number28 index27 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java string" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"Afghanistan"</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number29 index28 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java string" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"North Korea"</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number30 index29 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java string" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"South Korea"</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number31 index30 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java string" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"Japan"</code></div>
<div class="line number32 index31 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">};</code></div>
<div class="line number33 index32 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number34 index33 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java comments" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 130, 0) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">// Array of booleans to store toggle button status</code></div>
<div class="line number35 index34 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">public</code> <code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">boolean</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">[] status = {</code></div>
<div class="line number36 index35 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">true</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number37 index36 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">false</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number38 index37 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">false</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number39 index38 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">false</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number40 index39 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">false</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number41 index40 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">false</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number42 index41 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">false</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number43 index42 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">false</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number44 index43 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">false</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code></div>
<div class="line number45 index44 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">false</code></div>
<div class="line number46 index45 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">};</code></div>
<div class="line number47 index46 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number48 index47 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java color1" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@Override</code></div>
<div class="line number49 index48 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">public</code> <code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">void</code> <code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">onCreate(Bundle savedInstanceState) {</code></div>
<div class="line number50 index49 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">super</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">.onCreate(savedInstanceState);</code></div>
<div class="line number51 index50 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">setContentView(R.layout.activity_main);</code></div>
<div class="line number52 index51 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number53 index52 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java preprocessor" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">/** Restore from the previous state if exists */</code></div>
<div class="line number54 index53 alt1 highlighted" style="background-color: rgb(224, 224, 224) !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">if</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(savedInstanceState!=</code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">null</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">){</code></div>
<div class="line number55 index54 alt2 highlighted" style="background-color: rgb(224, 224, 224) !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">status = savedInstanceState.getBooleanArray(</code><code class="java string" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"status"</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">);</code></div>
<div class="line number56 index55 alt1 highlighted" style="background-color: rgb(224, 224, 224) !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">}</code></div>
<div class="line number57 index56 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number58 index57 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">ListView lvCountries = (ListView) findViewById(R.id.lv_countries);</code></div>
<div class="line number59 index58 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number60 index59 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">OnItemClickListener itemClickListener = </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">new</code> <code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">OnItemClickListener() {</code></div>
<div class="line number61 index60 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java color1" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@Override</code></div>
<div class="line number62 index61 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">public</code> <code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">void</code> <code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">onItemClick(AdapterView<?> lv, View item, </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">int</code> <code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">position, </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">long</code> <code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">id) {</code></div>
<div class="line number63 index62 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number64 index63 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">ListView lView = (ListView) lv;</code></div>
<div class="line number65 index64 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number66 index65 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">SimpleAdapter adapter = (SimpleAdapter) lView.getAdapter();</code></div>
<div class="line number67 index66 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number68 index67 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">HashMap<String,Object> hm = (HashMap) adapter.getItem(position);</code></div>
<div class="line number69 index68 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number70 index69 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java preprocessor" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">/** The clicked Item in the ListView */</code></div>
<div class="line number71 index70 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">RelativeLayout rLayout = (RelativeLayout) item;</code></div>
<div class="line number72 index71 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number73 index72 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java preprocessor" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">/** Getting the toggle button corresponding to the clicked item */</code></div>
<div class="line number74 index73 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">ToggleButton tgl = (ToggleButton) rLayout.getChildAt(</code><code class="java value" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 153, 0) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">1</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">);</code></div>
<div class="line number75 index74 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number76 index75 alt1 highlighted" style="background-color: rgb(224, 224, 224) !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">String strStatus = </code><code class="java string" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">""</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">;</code></div>
<div class="line number77 index76 alt2 highlighted" style="background-color: rgb(224, 224, 224) !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">if</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(tgl.isChecked()){</code></div>
<div class="line number78 index77 alt1 highlighted" style="background-color: rgb(224, 224, 224) !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">tgl.setChecked(</code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">false</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">);</code></div>
<div class="line number79 index78 alt2 highlighted" style="background-color: rgb(224, 224, 224) !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">strStatus = </code><code class="java string" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"Off"</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">;</code></div>
<div class="line number80 index79 alt1 highlighted" style="background-color: rgb(224, 224, 224) !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">status[position]=</code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">false</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">;</code></div>
<div class="line number81 index80 alt2 highlighted" style="background-color: rgb(224, 224, 224) !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">}</code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">else</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">{</code></div>
<div class="line number82 index81 alt1 highlighted" style="background-color: rgb(224, 224, 224) !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">tgl.setChecked(</code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">true</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">);</code></div>
<div class="line number83 index82 alt2 highlighted" style="background-color: rgb(224, 224, 224) !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">strStatus = </code><code class="java string" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"On"</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">;</code></div>
<div class="line number84 index83 alt1 highlighted" style="background-color: rgb(224, 224, 224) !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">status[position]=</code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">true</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">;</code></div>
<div class="line number85 index84 alt2 highlighted" style="background-color: rgb(224, 224, 224) !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">}</code></div>
<div class="line number86 index85 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">Toast.makeText(getBaseContext(), (String) hm.get(</code><code class="java string" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"txt"</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">) + </code><code class="java string" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">" : "</code> <code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">+ strStatus, Toast.LENGTH_SHORT).show();</code></div>
<div class="line number87 index86 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">}</code></div>
<div class="line number88 index87 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">};</code></div>
<div class="line number89 index88 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number90 index89 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">lvCountries.setOnItemClickListener(itemClickListener);</code></div>
<div class="line number91 index90 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number92 index91 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java comments" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 130, 0) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">// Each row in the list stores country name and its status</code></div>
<div class="line number93 index92 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">List<HashMap<String,Object>> aList = </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">new</code> <code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">ArrayList<HashMap<String,Object>>();</code></div>
<div class="line number94 index93 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number95 index94 alt2 highlighted" style="background-color: rgb(224, 224, 224) !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">for</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">(</code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">int</code> <code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">i=</code><code class="java value" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 153, 0) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">0</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">;i<</code><code class="java value" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 153, 0) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">10</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">;i++){</code></div>
<div class="line number96 index95 alt1 highlighted" style="background-color: rgb(224, 224, 224) !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">HashMap<String, Object> hm = </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">new</code> <code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">HashMap<String,Object>();</code></div>
<div class="line number97 index96 alt2 highlighted" style="background-color: rgb(224, 224, 224) !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">hm.put(</code><code class="java string" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"txt"</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">, countries[i]);</code></div>
<div class="line number98 index97 alt1 highlighted" style="background-color: rgb(224, 224, 224) !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">hm.put(</code><code class="java string" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"stat"</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,status[i]);</code></div>
<div class="line number99 index98 alt2 highlighted" style="background-color: rgb(224, 224, 224) !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">aList.add(hm);</code></div>
<div class="line number100 index99 alt1 highlighted" style="background-color: rgb(224, 224, 224) !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">}</code></div>
<div class="line number101 index100 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number102 index101 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java comments" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 130, 0) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">// Keys used in Hashmap</code></div>
<div class="line number103 index102 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">String[] from = {</code><code class="java string" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"txt"</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">,</code><code class="java string" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"stat"</code> <code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">};</code></div>
<div class="line number104 index103 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number105 index104 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java comments" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 130, 0) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">// Ids of views in listview_layout</code></div>
<div class="line number106 index105 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">int</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">[] to = { R.id.tv_item, R.id.tgl_status};</code></div>
<div class="line number107 index106 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number108 index107 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java comments" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 130, 0) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">// Instantiating an adapter to store each items</code></div>
<div class="line number109 index108 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java comments" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 130, 0) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">// R.layout.listview_layout defines the layout of each item</code></div>
<div class="line number110 index109 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">SimpleAdapter adapter = </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">new</code> <code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">SimpleAdapter(getBaseContext(), aList, R.layout.lv_layout, from, to);</code></div>
<div class="line number111 index110 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number112 index111 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">lvCountries.setAdapter(adapter);</code></div>
<div class="line number113 index112 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">}</code></div>
<div class="line number114 index113 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number115 index114 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java preprocessor" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">/** Saving the current state of the activity</code></div>
<div class="line number116 index115 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java preprocessor" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">* for configuration changes [ Portrait <=> Landscape ]</code></div>
<div class="line number117 index116 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java preprocessor" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">*/</code></div>
<div class="line number118 index117 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java color1" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@Override</code></div>
<div class="line number119 index118 alt2 highlighted" style="background-color: rgb(224, 224, 224) !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">protected</code> <code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">void</code> <code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">onSaveInstanceState(Bundle outState) {</code></div>
<div class="line number120 index119 alt1 highlighted" style="background-color: rgb(224, 224, 224) !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">super</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">.onSaveInstanceState(outState);</code></div>
<div class="line number121 index120 alt2 highlighted" style="background-color: rgb(224, 224, 224) !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">outState.putBooleanArray(</code><code class="java string" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">"status"</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">, status);</code></div>
<div class="line number122 index121 alt1 highlighted" style="background-color: rgb(224, 224, 224) !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">}</code></div>
<div class="line number123 index122 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
</div>
<div class="line number124 index123 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java color1" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">@Override</code></div>
<div class="line number125 index124 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">public</code> <code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">boolean</code> <code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">onCreateOptionsMenu(Menu menu) {</code></div>
<div class="line number126 index125 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">getMenuInflater().inflate(R.menu.activity_main, menu);</code></div>
<div class="line number127 index126 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">return</code> <code class="java keyword" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">true</code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">;</code></div>
<div class="line number128 index127 alt1" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="java spaces" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"> </code><code class="java plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">}</code></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="background-color: white; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; line-height: 1.1em; white-space: pre;">}</span> </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
5)<span style="background-color: white; font-family: 'PT Sans', Arial, Helvetica, sans-serif; font-size: medium; line-height: 20px; widows: 1;">Now the listview with toggle button is ready</span> </div>
<div class="" style="clear: both; text-align: left;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRSUHUJ8l3HBZyUIVPevDB_KiOPbmK8n5zm-iFcC8bJTHF5SYIAJ37v_7maD7GoP69XLcSfFyrDZmC8JxYpQ9YtZ4LrrcLFkTnx3NelXeagX1WcmG5xQYszQbxVE_b9fcLLdIcyLmb7ZE/s1600/device-2014-05-22-182043.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRSUHUJ8l3HBZyUIVPevDB_KiOPbmK8n5zm-iFcC8bJTHF5SYIAJ37v_7maD7GoP69XLcSfFyrDZmC8JxYpQ9YtZ4LrrcLFkTnx3NelXeagX1WcmG5xQYszQbxVE_b9fcLLdIcyLmb7ZE/s1600/device-2014-05-22-182043.png" height="320" style="cursor: move;" width="213" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<b><span style="font-size: large;"><u><a href="https://sites.google.com/site/mobileapptechnology/Listviewtoggle.rar?attredirects=0&d=1" target="_blank"> Download Sourcecode</a></u></span></b><br />
</div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com1tag:blogger.com,1999:blog-7337838332721937337.post-33553672324674897882014-05-21T05:31:00.003-07:002014-05-22T05:56:01.530-07:00ListView with checkbox<div dir="ltr" style="text-align: left;" trbidi="on">
<b><span style="font-size: x-large;">ListView with checkbox</span></b><br />
<b><span style="font-size: x-large;"><br /></span></b>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwUOahifA8oUJlyltOFrXXiXG2eNJDAvxdxDdg2iJr4BlNkZ_1XTZ0l0Rpc1ai1rfLJ-GZ4lIBaMsegLjEv9phczLCLnUX7YT4pvw7PLl_LQtNhr4xxzPrLeHoGoSI4UdP9Y8PfVniTDc/s1600/list.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwUOahifA8oUJlyltOFrXXiXG2eNJDAvxdxDdg2iJr4BlNkZ_1XTZ0l0Rpc1ai1rfLJ-GZ4lIBaMsegLjEv9phczLCLnUX7YT4pvw7PLl_LQtNhr4xxzPrLeHoGoSI4UdP9Y8PfVniTDc/s1600/list.png" height="400" width="225" /></a></div>
<b><span style="font-size: x-large;"> </span></b><br />
<b><span style="font-size: x-large;"><br /></span></b>
<span style="background-color: white; font-size: medium; line-height: 18px;">1)Create a new android application project in eclipse </span><br />
<span style="background-color: white; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13px; line-height: 15.399999618530273px; white-space: pre;">
</span><span style="background-color: white; font-size: 13px; line-height: 18px;"><span style="font-size: medium;"><br /></span></span><span style="background-color: white; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13px; line-height: 15.399999618530273px; white-space: pre;">
</span><span style="background-color: white; font-size: 13px; line-height: 18px;"><span style="font-size: medium;">2)Then after craeting a new project you have to edit the activity_mail.xml file , As shown below</span></span><br />
<div>
<span style="background-color: white;"><span style="color: #555555; font-size: medium; line-height: 18px;"> </span></span><br />
<div class="separator" style="clear: both; color: #555555; font-size: large; line-height: 18px; text-align: center;">
<span style="background-color: white;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTzBEvzopMYJwSPHsTjbM9MPH8bqg8zGDYBYb1bOFTFwTHgJPbHEEYxZ1oghQ_BOCF2WbFM586wEHsKzXdnngfGPNnYS4hpgnwNfconu8CBg_-t1OqTvYGaHXtUj6lbmYhmlWIhUv70S4/s1600/Capture.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTzBEvzopMYJwSPHsTjbM9MPH8bqg8zGDYBYb1bOFTFwTHgJPbHEEYxZ1oghQ_BOCF2WbFM586wEHsKzXdnngfGPNnYS4hpgnwNfconu8CBg_-t1OqTvYGaHXtUj6lbmYhmlWIhUv70S4/s1600/Capture.JPG" height="259" width="640" /></a></span></div>
<span style="background-color: white;">
</span>
<div class="separator" style="clear: both; color: #555555; font-size: large; line-height: 18px; text-align: center;">
<span style="background-color: white;"><br /></span></div>
<span style="background-color: white;">
<div class="separator" style="clear: both; font-size: large; line-height: 18px; text-align: left;">
<span style="font-family: 'PT Sans', Arial, Helvetica, sans-serif; line-height: 20px; widows: 1;">3)After editing the activity_main.xml file now you have to code the main activity file as shown below</span></div>
<div class="separator" style="clear: both; font-size: large; line-height: 18px; text-align: left;">
<span style="font-family: 'PT Sans', Arial, Helvetica, sans-serif; line-height: 20px; widows: 1;"> </span></div>
<div class="separator" style="clear: both; font-size: large; line-height: 18px; text-align: left;">
<span style="font-family: 'PT Sans', Arial, Helvetica, sans-serif; line-height: 20px; widows: 1;"> </span></div>
<div class="separator" style="clear: both; font-size: large; line-height: 18px; text-align: left;">
<span style="font-family: 'PT Sans', Arial, Helvetica, sans-serif; line-height: 20px; widows: 1;"><u>Main Activity</u></span></div>
<div class="separator" style="clear: both; font-size: large; line-height: 18px; text-align: left;">
<span style="font-family: 'PT Sans', Arial, Helvetica, sans-serif; line-height: 20px; widows: 1;"><u><br /></u></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;">package com.mobileapptech.listcheck;</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><br /></span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;">import android.os.Bundle;</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;">import android.support.v4.app.Fragment;</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;">import android.support.v7.app.ActionBarActivity;</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;">import android.view.LayoutInflater;</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;">import android.view.Menu;</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;">import android.view.MenuItem;</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;">import android.view.View;</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;">import android.view.ViewGroup;</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;">import android.widget.ArrayAdapter;</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;">import android.widget.ListView;</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><br /></span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;">public class MainActivity extends ActionBarActivity {</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><br /></span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><span class="Apple-tab-span" style="white-space: pre;"> </span>String[] country = new String[] {</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> "micromax",</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> "samsung",</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> "nokia",</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> "xolo",</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> "lenovo",</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> "sony",</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> "htc",</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> "lg",</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> "lava",</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> "ericsson"</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><span class="Apple-tab-span" style="white-space: pre;"> </span>};</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> @Override</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> protected void onCreate(Bundle savedInstanceState) {</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> super.onCreate(savedInstanceState);</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> setContentView(R.layout.activity_main);</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,android.R.layout.simple_list_item_multiple_choice, country);</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> </span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> ListView listView = (ListView) findViewById(R.id.listview);</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> listView.setAdapter(adapter);</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> listView.setTextFilterEnabled(true);</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> }</span></span></div>
<div class="separator" style="clear: both; widows: 1;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px;"><br /></span></span></div>
<div class="separator" style="clear: both;">
<span style="font-family: PT Sans, Arial, Helvetica, sans-serif; font-size: medium;"><span style="line-height: 20px; widows: 1;"></span></span></div>
<div class="separator" style="clear: both; font-size: large; line-height: 18px; widows: 1;">
<br /></div>
<div class="separator" style="clear: both; font-size: large; line-height: 18px; text-align: left;">
<span style="font-family: 'PT Sans', Arial, Helvetica, sans-serif; line-height: 20px; widows: 1;"><u><br /></u></span></div>
<div class="separator" style="clear: both; font-size: large; line-height: 18px; text-align: left;">
<b style="font-family: 'PT Sans', Arial, Helvetica, sans-serif; line-height: 20px; widows: 1;"> </b><span style="font-family: 'PT Sans', Arial, Helvetica, sans-serif; line-height: 20px; widows: 1;">4)Now the ListView with checkbox is ready</span></div>
<div class="separator" style="clear: both; font-size: large; line-height: 18px; text-align: left;">
<span style="font-family: 'PT Sans', Arial, Helvetica, sans-serif; line-height: 20px; widows: 1;"><br /></span></div>
<div class="separator" style="clear: both; font-size: large; line-height: 18px; text-align: left;">
<span style="font-family: 'PT Sans', Arial, Helvetica, sans-serif; line-height: 20px; widows: 1;"> </span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2SH5mICprb9uKl9lOb4AJgTnXJoXWnci8SCurT9QN3LE2H3jI5TODQydxkCxRa8z9c47N5XaQXxbGwRlA-4pWpLwKDwskhdM1qqUxaqreg2clY1eh1J13dgkjjpL-_niMR31ZUiNz904/s1600/list1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2SH5mICprb9uKl9lOb4AJgTnXJoXWnci8SCurT9QN3LE2H3jI5TODQydxkCxRa8z9c47N5XaQXxbGwRlA-4pWpLwKDwskhdM1qqUxaqreg2clY1eh1J13dgkjjpL-_niMR31ZUiNz904/s1600/list1.png" height="400" width="225" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<u><a href="https://sites.google.com/site/mobileapptechnology/ListCheck.rar?attredirects=0&d=1" target="_blank"><b><span style="font-size: large;">Download Sourcecode</span></b></a></u></div>
<b> </b></span><br />
<div class="separator" style="clear: both; font-size: large; line-height: 18px; text-align: left;">
<span style="font-family: 'PT Sans', Arial, Helvetica, sans-serif; line-height: 20px; widows: 1;"><br /></span></div>
</div>
</div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com0tag:blogger.com,1999:blog-7337838332721937337.post-30942228328450031952014-05-21T04:42:00.001-07:002014-05-21T04:42:07.940-07:00Custom ListView<div dir="ltr" style="text-align: left;" trbidi="on">
<b><span style="font-size: x-large;">Custom ListView</span></b><br />
<b><br /></b>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVCmNqq_gkLUi25SS-7U07Bfw6Cac_htgxhajd4zlItNFc42ubl8BgzjKziU2Y0VsjECC7NJj00DxilCav2pT9I7LV4fJ4L7mRoYCrLlum742TLaD0Oi6BUPkfrYXRloRnQUCgJVLBUQ4/s1600/device-2014-05-21-164507.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVCmNqq_gkLUi25SS-7U07Bfw6Cac_htgxhajd4zlItNFc42ubl8BgzjKziU2Y0VsjECC7NJj00DxilCav2pT9I7LV4fJ4L7mRoYCrLlum742TLaD0Oi6BUPkfrYXRloRnQUCgJVLBUQ4/s1600/device-2014-05-21-164507.png" height="400" width="225" /></a></div>
<b> </b><br />
<b><br /></b>
<span style="font-size: large;">In this project you are going to create a custom listview</span><br />
<br />
<span style="background-color: white; font-size: 13px; line-height: 18px;"><span style="font-size: medium;">1)Create a new android application project in eclipse </span></span><br style="background-color: white; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13px; line-height: 15.399999618530273px; white-space: pre;" /><span style="background-color: white; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13px; line-height: 15.399999618530273px; white-space: pre;">
</span><span style="background-color: white; font-size: 13px; line-height: 18px;"><span style="font-size: medium;"><br /></span></span><br />
<span style="background-color: white; font-size: 13px; line-height: 18px;"><span style="font-size: medium;">2)Then after craeting a new project you have to edit the layout_xml.xml file , As shown below</span></span><br />
<span style="background-color: white; font-size: 13px; line-height: 18px;"><span style="font-size: medium;"> </span></span><br />
<span style="background-color: white; font-size: 13px; line-height: 18px;"><span style="font-size: medium;"> </span></span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifZtDMeCMBpJmelUufxVrCJA-UdqWP2fgRy3hfXLO_7o3ri7ncMdJCwXP9tiNGgqKWuRc3q8gp5grwV7BX6UTkNvJr5hkgkkQlCgDlQ97tzQym9B0BqfJOpDyN0HpHRXC4vtpFlFxH4cY/s1600/layout.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifZtDMeCMBpJmelUufxVrCJA-UdqWP2fgRy3hfXLO_7o3ri7ncMdJCwXP9tiNGgqKWuRc3q8gp5grwV7BX6UTkNvJr5hkgkkQlCgDlQ97tzQym9B0BqfJOpDyN0HpHRXC4vtpFlFxH4cY/s1600/layout.JPG" height="218" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="color: #555555; font-family: 'PT Sans', Arial, Helvetica, sans-serif; line-height: 20px;"> </span><span style="font-family: 'PT Sans', Arial, Helvetica, sans-serif; line-height: 20px;">3)After editing the layout_xml.xml file now you have to edit the activity_main.xml file as shown below</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: 'PT Sans', Arial, Helvetica, sans-serif; line-height: 20px;"> </span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: 'PT Sans', Arial, Helvetica, sans-serif; line-height: 20px;"><span style="color: #555555;"> </span></span></div>
<div class="separator" style="clear: both; color: #555555; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhznVeOAapRuD3iv2zFYfzbGyIdPCsHdSjCx61nx4p2z8VCX1sc0Iw6Ys98d67-XgStMWaYfij4oosCBsi9dMqCKjD1Rh-WwyX71vkaI6AKPbqoJpRRrA7h4steqfgyhm_mBXfEoxlIN4A/s1600/activity.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhznVeOAapRuD3iv2zFYfzbGyIdPCsHdSjCx61nx4p2z8VCX1sc0Iw6Ys98d67-XgStMWaYfij4oosCBsi9dMqCKjD1Rh-WwyX71vkaI6AKPbqoJpRRrA7h4steqfgyhm_mBXfEoxlIN4A/s1600/activity.JPG" height="230" width="640" /></a></div>
<div class="separator" style="clear: both; color: #555555; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="color: #555555;"> </span>4)After editing the activity_main.xml file now you have to code the main activity file as shown below</div>
<div class="separator" style="clear: both; color: #555555; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; color: #555555; text-align: left;">
</div>
<div class="separator" style="clear: both; color: #555555; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqe8S137K4DoJdh69yuJ3_IiVWPXsUYotckXcuBMTKHOJGrZXRIwj97R6c1oavy0Mq7lbf7gaDH6wPNdxscRU7TyZvmtctklHQKd5vf7vjjxsOeKl2eSVUIbXt1ZcKkoSmO1PmVJ8b_oI/s1600/main.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqe8S137K4DoJdh69yuJ3_IiVWPXsUYotckXcuBMTKHOJGrZXRIwj97R6c1oavy0Mq7lbf7gaDH6wPNdxscRU7TyZvmtctklHQKd5vf7vjjxsOeKl2eSVUIbXt1ZcKkoSmO1PmVJ8b_oI/s1600/main.JPG" height="474" width="640" /></a></div>
<div class="separator" style="clear: both; color: #555555; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
5)Now the custom listview is ready</div>
<div class="separator" style="clear: both; color: #555555; text-align: left;">
</div>
<div class="separator" style="clear: both; color: #555555; text-align: left;">
</div>
<div class="separator" style="clear: both; color: #555555; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMHNup_e9dDjsPdb1vwfzS0PBhYInoH1A7QKiLWOZdlGrZDA8N3nhPL4-UGdqpBVYdadMkfNZaAgwt3USuxDw68Ui7xEyjIHRaefLDDoLPs9RC1ktMoJY6xr-46F1VbD3J5n29r94ybwQ/s1600/device-2014-05-21-164507.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMHNup_e9dDjsPdb1vwfzS0PBhYInoH1A7QKiLWOZdlGrZDA8N3nhPL4-UGdqpBVYdadMkfNZaAgwt3USuxDw68Ui7xEyjIHRaefLDDoLPs9RC1ktMoJY6xr-46F1VbD3J5n29r94ybwQ/s1600/device-2014-05-21-164507.png" height="400" width="225" /></a></div>
<div class="separator" style="clear: both; color: #555555; text-align: left;">
</div>
<br />
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: 'PT Sans', Arial, Helvetica, sans-serif; line-height: 20px;"><u><b><a href="https://sites.google.com/site/mobileapptechnology/CustomListview.rar?attredirects=0&d=1" target="_blank">Download SourceCode</a></b></u></span></div>
<br />
<span style="background-color: white; font-size: 13px; line-height: 18px;"><span style="font-size: medium;"><br /></span></span></div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com0tag:blogger.com,1999:blog-7337838332721937337.post-57245574936963626682014-04-24T10:17:00.000-07:002014-04-24T11:14:13.612-07:00President Obama Plays Soccer With ASIMO the Robot<div dir="ltr" style="text-align: left;" trbidi="on">
<h1 class="title" href="http://mashable.com/2014/04/24/obama-plays-soccer-with-asimo-the-robot/" style="background-color: white; clear: left; font-family: MuseoSlabLight; line-height: 1.2; margin: 0px; text-rendering: optimizelegibility;">
<span style="font-size: x-large;">President Obama Plays Soccer With ASIMO the Robot</span></h1>
<div>
<span style="font-size: x-large;"> </span></div>
<div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtph7aNQWTMgYUhFNY9WbTNtP9tBKmXmm27-C3GBkjVDaQtkr7bdTu7SSGOrYhEATlR12xjDg24FMoxYZhVkfoVlbLozitvvReK10Xr8tNsOSi5EaS3rYlKodrFyiCxhKAftuzzJffBQ8/s1600/Obama-robot.jpg" imageanchor="1" style="clear: left; float: left; font-size: xx-large; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtph7aNQWTMgYUhFNY9WbTNtP9tBKmXmm27-C3GBkjVDaQtkr7bdTu7SSGOrYhEATlR12xjDg24FMoxYZhVkfoVlbLozitvvReK10Xr8tNsOSi5EaS3rYlKodrFyiCxhKAftuzzJffBQ8/s1600/Obama-robot.jpg" height="358" width="640" /></a><span style="font-size: large;">President Barack Obama had a brief Honda's ASIMO (Humanoid robot)during his visit to japan at Tokyo Miraikan Science Expo.</span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;">ASIMO(Advance Step Innovative Mobility) took a bow and passed a soccer ball to the president,who's said that ASIMO's soccer skills were" pretty impressive".</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;"> </span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;"></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixMJdBejIKuH-LABtmu3LUzWMpbpDcgJdQ4T2Tg2KdvO26HfdURJYOQfBpK0k_hjV8qiHHnoRUqoGbUY6DxiDVYhFbG6aD429vbfDvcZ1fNMMMfPeYEMEGw_gdY3tnLERKORix4YNtNBA/s1600/Obama-soccer-640x459.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixMJdBejIKuH-LABtmu3LUzWMpbpDcgJdQ4T2Tg2KdvO26HfdURJYOQfBpK0k_hjV8qiHHnoRUqoGbUY6DxiDVYhFbG6aD429vbfDvcZ1fNMMMfPeYEMEGw_gdY3tnLERKORix4YNtNBA/s1600/Obama-soccer-640x459.jpg" height="458" width="640" /></a></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;">Obama seemingly enjoyed a little chat in English with ASIMO,Obama later said that Android expo where a bit "too lifelike" and "a little scary"for his taste.</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;">Honda has been working on its ASIMO for nearly 14 years now,and it improved in leap and bounds since it was introduced in October 2000</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;"> </span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcZ9ldKcTMOc5g3Uq3IrndKzoRLQfXNiHJaA0Rm2wnNd8f6UAixkii2nkTSFJO0kCGmuc7oYZ4-NiYczr7l3-xxmmbxxZ3iiZn3iMVFk0fnNxYZuM_1h1x9ujM4FOqP5JbesWQkoGuUcI/s1600/end-bow+(1).gif" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcZ9ldKcTMOc5g3Uq3IrndKzoRLQfXNiHJaA0Rm2wnNd8f6UAixkii2nkTSFJO0kCGmuc7oYZ4-NiYczr7l3-xxmmbxxZ3iiZn3iMVFk0fnNxYZuM_1h1x9ujM4FOqP5JbesWQkoGuUcI/s1600/end-bow+(1).gif" height="360" width="640" /></a></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjic7qQarMD9sjhAg_UxMW4vUqFL7AS9r6kBVWCKJWdYeGHr7ZDCqL_FNHaHSfRv-qWA8_e55Myac34EUJmJyL9w7-Owf_F3dkAhyPihco4cI0ic8oGpdAA7620o_Gzv5S6o5AHzQTbhM/s1600/soccer-skillz.gif" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjic7qQarMD9sjhAg_UxMW4vUqFL7AS9r6kBVWCKJWdYeGHr7ZDCqL_FNHaHSfRv-qWA8_e55Myac34EUJmJyL9w7-Owf_F3dkAhyPihco4cI0ic8oGpdAA7620o_Gzv5S6o5AHzQTbhM/s1600/soccer-skillz.gif" height="360" width="640" /></a></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;"> Obama said that "Young people like you have more technology and more power than even the greatest innovators of previous generations,so there is no limit to what you can achieve".</span></div>
<br />
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;"></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;"> </span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhI19iRoJq6IIFw1MxMe9VuW9ZDt9zTVIxuJ7AhF9zTEOWuenKbeBzOvXL2Yyv9mhgvUnKANcBt9H69iuBRRnAHDWT48dVP516trMnqg4NemR1jLVnQvV0KUTOS1NP_li-p5mafc1ZFxb8/s1600/obama-picture-w-robot.gif" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhI19iRoJq6IIFw1MxMe9VuW9ZDt9zTVIxuJ7AhF9zTEOWuenKbeBzOvXL2Yyv9mhgvUnKANcBt9H69iuBRRnAHDWT48dVP516trMnqg4NemR1jLVnQvV0KUTOS1NP_li-p5mafc1ZFxb8/s1600/obama-picture-w-robot.gif" height="360" width="640" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhI19iRoJq6IIFw1MxMe9VuW9ZDt9zTVIxuJ7AhF9zTEOWuenKbeBzOvXL2Yyv9mhgvUnKANcBt9H69iuBRRnAHDWT48dVP516trMnqg4NemR1jLVnQvV0KUTOS1NP_li-p5mafc1ZFxb8/s1600/obama-picture-w-robot.gif" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><br /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhI19iRoJq6IIFw1MxMe9VuW9ZDt9zTVIxuJ7AhF9zTEOWuenKbeBzOvXL2Yyv9mhgvUnKANcBt9H69iuBRRnAHDWT48dVP516trMnqg4NemR1jLVnQvV0KUTOS1NP_li-p5mafc1ZFxb8/s1600/obama-picture-w-robot.gif" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"></a></span></div>
<a name='more'></a><span style="font-size: large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhI19iRoJq6IIFw1MxMe9VuW9ZDt9zTVIxuJ7AhF9zTEOWuenKbeBzOvXL2Yyv9mhgvUnKANcBt9H69iuBRRnAHDWT48dVP516trMnqg4NemR1jLVnQvV0KUTOS1NP_li-p5mafc1ZFxb8/s1600/obama-picture-w-robot.gif" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><br /></a></span></div>
</div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com0tag:blogger.com,1999:blog-7337838332721937337.post-68553923079100756062014-04-22T23:31:00.002-07:002014-04-24T10:39:28.512-07:00Withings Pulse O2 keep Track On Your Oxygen Levels<div dir="ltr" style="text-align: left;" trbidi="on">
<b><span style="font-size: x-large;">Withings Pulse O2 keep Track On Your Oxygen Levels</span></b><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6qINGXK46Fw4IdGGwwbsGYvcHbruyAQ6dXvj-uuH8RRtcIe11YXAvHe_kYPV8CL0zQAXGH-u5bA_S8qBeXQM_b-6nVcp1iGqEWcYFAdR_ngbwiUd7wf2XQ5UOLWyJasde2V2sCBKW-XQ/s1600/withings_pulse_o2_press.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6qINGXK46Fw4IdGGwwbsGYvcHbruyAQ6dXvj-uuH8RRtcIe11YXAvHe_kYPV8CL0zQAXGH-u5bA_S8qBeXQM_b-6nVcp1iGqEWcYFAdR_ngbwiUd7wf2XQ5UOLWyJasde2V2sCBKW-XQ/s1600/withings_pulse_o2_press.jpg" height="518" width="640" /></a></div>
<div style="text-align: justify;">
<span style="font-size: large;">As there was a competition in the fitness wearable ,withings produced a Blood Oxygen monitor to it new generation fitness tracker.</span></div>
<div style="text-align: justify;">
<span style="font-size: large;"> They name the fitness tracker as Pulse O2,the company was focusing new life into Pulse wearable lineup it looks similar products ,such as tracking steps taken,sleep cycle and heart rate .</span></div>
<div style="text-align: justify;">
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">But now withings has announced the new health band called Pulse O2.It dose all the useful stuff like monitor heart rate ,distance traveled,elevation,sleep habits and estimate calories burned,But the great feature available in Pulse O2 is it has the ability to monitor the Oxygen level in your blood.That information is estimated from the Infrared Heart Rate Monitor then established to your phone through a companion application,the device can sync to your Android or ios Smartphone through the day via Bluetooth(which is low energy technology) and you will need to check your corresponding application in your Smartphone to see your data measured in a day .</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinUR_OO-1sw79NTgrhyaMIxjs9-qxeGCjq_ghKwok7352hHnPgT6S8jVwYb0qD4TolqC6BN_ZEByqKOvThk4xLISR582CC5soFENgaRXk_cYii0CEFiqCRasWe59NYa4JzEHaLwqquG48/s1600/21989134-350.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinUR_OO-1sw79NTgrhyaMIxjs9-qxeGCjq_ghKwok7352hHnPgT6S8jVwYb0qD4TolqC6BN_ZEByqKOvThk4xLISR582CC5soFENgaRXk_cYii0CEFiqCRasWe59NYa4JzEHaLwqquG48/s1600/21989134-350.jpg" height="560" width="640" /></a></div>
<div id="upper-tabs" style="background-color: #f7f7f7; line-height: 16.200000762939453px; margin: 0px; padding: 0px;">
<div class="box-collateral box-description" id="description" style="margin: 15px 10px; padding: 0px;">
<div class="std" style="margin: 0px; padding: 0px;">
<span style="font-family: inherit; font-size: large;"><b>Benefits at a glance:</b><br style="margin: 0px; padding: 0px;" /><br style="margin: 0px; padding: 0px;" />- Steps, elevation, distance and calories tracking</span></div>
<div class="std" style="margin: 0px; padding: 0px;">
<span style="font-family: inherit; font-size: large;"><br style="margin: 0px; padding: 0px;" />- Heart rate measurement</span></div>
<div class="std" style="margin: 0px; padding: 0px;">
<span style="font-family: inherit; font-size: large;"><br style="margin: 0px; padding: 0px;" />- Sleep quality monitoring</span></div>
<div class="std" style="margin: 0px; padding: 0px;">
<span style="font-family: inherit; font-size: large;"><br style="margin: 0px; padding: 0px;" />- Automatic Bluetooth synchronization</span></div>
<div class="std" style="margin: 0px; padding: 0px;">
<span style="font-family: inherit; font-size: large;"><br style="margin: 0px; padding: 0px;" />- Health Mate app to visualize activity, sleep, trends and improvements.</span></div>
<div style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;">
<span style="font-size: large;"><br /></span></div>
</div>
</div>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"> </span><br />
</div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com0tag:blogger.com,1999:blog-7337838332721937337.post-43884939754611056902014-04-17T11:47:00.000-07:002014-04-17T21:08:36.990-07:00Google Launches the Remote Desktop for Android-Remote Desktop<div dir="ltr" style="text-align: left;" trbidi="on">
<b><span style="font-size: large;">Remote Desktop-Google launches the Remote Desktop for Android</span></b><br />
<b><span style="font-size: large;"><br /></span></b>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiImelOs3yLgi_Wzh-Ava97MiuBrK1aRwrsuY4LDaLgBqp0v9ZQ9ZXxGshMz0xgJ7r8xRiZepuqnRoIjwRqGqdqfWSIyWewhXo81gBGIWGrvecI9hOhuDxqJt7-XOQt4KhnxU9vmEvdMaA/s1600/Remote-Desktop.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiImelOs3yLgi_Wzh-Ava97MiuBrK1aRwrsuY4LDaLgBqp0v9ZQ9ZXxGshMz0xgJ7r8xRiZepuqnRoIjwRqGqdqfWSIyWewhXo81gBGIWGrvecI9hOhuDxqJt7-XOQt4KhnxU9vmEvdMaA/s1600/Remote-Desktop.png" height="336" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Now you can control your PC through SamrtPhone,a great news for Android user now you can easily control and get access to your PC Desktop Computer directly through SmartPhone or Tablet.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Google launched the chrome Remote Desktop for Android users this week,which lets you access your file in your Desktop PC's from anywhere.</div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<div class="separator" style="clear: both; text-align: left;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjT0JvbTwGQucfbVtRU2OWYqRha3EPcztQ8DUelsMxL2kbNawRWXJer0TdrR_bokkiRHbJXJYdMSEG_89Zk9LhkRB8bWJCCxBk9CaMjZ9b3LzsTtrvqZY_LvINW2YR7SjQaLIf35pWzEeQ/s1600/remotedesktopapps1_640_large_verge_medium_landscape.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjT0JvbTwGQucfbVtRU2OWYqRha3EPcztQ8DUelsMxL2kbNawRWXJer0TdrR_bokkiRHbJXJYdMSEG_89Zk9LhkRB8bWJCCxBk9CaMjZ9b3LzsTtrvqZY_LvINW2YR7SjQaLIf35pWzEeQ/s1600/remotedesktopapps1_640_large_verge_medium_landscape.jpg" height="424" width="640" /></a> </div>
You need to download the Android app from Google play ,After downloading you need to install the Chrome Remote Desktop Extension in a Desktop's Chrome browser to connect to the systems,then grant access for the Remote connection to work and set a PIN code for the PC.<br />
<br />
After that the PC name will appear on the Chrome Remote Desktop page,The name to be selected before entering the PIN.Thats it now you are ready to access your PC.<br />
<span style="font-size: large;"> <b> </b></span></div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com0tag:blogger.com,1999:blog-7337838332721937337.post-59198060698835922222014-04-16T20:05:00.001-07:002014-04-16T20:05:19.064-07:00ASIMO-Honda's Remarkable Humanoid Robot<div dir="ltr" style="text-align: left;" trbidi="on">
<b>ASIMO-(It stands for Advance Step in Innovative Mobility)</b><br />
<b><br /></b>
<b> </b> In 2003 the robot ASIMO was remotely controlled,But the programmers programs it with simple task and ASIMO uses it sensor to figure the rest.<br />
<b> </b><br />
<div class="separator" style="clear: both; text-align: center;">
<b><b style="text-align: left;"></b></b></div>
<div class="separator" style="clear: both; display: inline !important; text-align: center;">
<b><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0VYpNIRKI3AElljbPCUxQlukT3vOwWdlN__se7lrbqScw96GvROZFnPh_XEYYkCMoZGoGzRKeeUoJBAkdmSHHoJAnkOYwbtbO5YK2lGiZ8R8wlFMcT7bVSmh2F3cMlX_jYdnH7TpOqjU/s1600/ASIMO_Robot_Honda_042.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0VYpNIRKI3AElljbPCUxQlukT3vOwWdlN__se7lrbqScw96GvROZFnPh_XEYYkCMoZGoGzRKeeUoJBAkdmSHHoJAnkOYwbtbO5YK2lGiZ8R8wlFMcT7bVSmh2F3cMlX_jYdnH7TpOqjU/s1600/ASIMO_Robot_Honda_042.jpg" height="360" width="640" /></a></b></div>
<br />
<b><br /></b>
<b> </b>The latest edition of ASIMO can run fast and briskly,claim stairs , dance well,kick a ball and can jump up in down in and it can only described that's the tantrum of the robot.<br />
<br />
ASIMO is 4 feet tall and 115 pounds has the new features on each hand with feedback sensors,As we saw in first demonstration of ASIMO can pick a container which contain full of liquids and pick a cup in other hand and pour it carefully and set back the container and cup in same place.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiapj8yQMNbc4xjPgFfBx23m8o0EU7bH2frR5PDw0IxbSYpdIPXqLfxdiobZbAgwTYOFfqG2Q6VTJLD4xRCZ89efXWi5BWNCsQCc6R4hP3J4gE8D7Nvb9ASms7D1sjA8_teozzzS62cYao/s1600/asimo_2049641b.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiapj8yQMNbc4xjPgFfBx23m8o0EU7bH2frR5PDw0IxbSYpdIPXqLfxdiobZbAgwTYOFfqG2Q6VTJLD4xRCZ89efXWi5BWNCsQCc6R4hP3J4gE8D7Nvb9ASms7D1sjA8_teozzzS62cYao/s1600/asimo_2049641b.jpg" height="400" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
When compared to humman its a simple task but for ASIMO its a great deal with Sensor's including the two camera eyes and it sensor's in its hands,the sensor doesn't tell ASIMO that holding something, it also tells what kind of object it was and its weight .ASIMO can track of where its going it can be done through Sensor's.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
The ASIMO's battery still dosent last 40 min and it has a uncomfortable habit of walking in a semi-crouch.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Honda started ASIMO project in 1986,spending lot of time in developing the communication skill of ASIMO,The ASIMO can understand the handful of phrase and is now quiet adept.<span style="font-family: inherit;"><span style="background-color: white; font-size: 15px; line-height: 22.5px;"> </span><span style="background-color: white; font-size: 15px; line-height: 22.5px;">Honda executive Jeffrey Smith told us that ASIMO is in the process of learning American Sign Language.</span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.blogger.com/video.g?token=AD6v5dyl8HbnNZ93dQYpCkKMuRhNl9XMB1bz9s3bMuaSqbxRGfEQFFaP-c5HCi6Vbi9_E1S_9g4MUgvGFzFFh7VQFQ' class='b-hbp-video b-uploaded' frameborder='0'></iframe></div>
<div class="separator" style="clear: both; text-align: left;">
Honda has programmed ASIMO to pause and look at the guest before bending down and placing the cup in the table which mimic's a simple human act. Helps people to have more friendliness towards ASIMO.</div>
<div class="separator" style="clear: both; text-align: left;">
ASIMO remains a impressive piece of robotic technology.</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
</div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com1tag:blogger.com,1999:blog-7337838332721937337.post-66423383913026911552014-04-10T20:18:00.001-07:002014-04-10T20:19:47.427-07:00Expandable ListView - Android<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-size: x-large;"><b>Expandable ListView</b></span>:<br />
<ul style="text-align: left;">
<li> <span style="font-family: inherit;"><span style="font-size: large;">Expandable ListView is used to group, that can individually expanded to show its children</span></span>.</li>
<li><span style="font-size: large;"> When the user touches the header it has the ability to expand and collapse the group.</span></li>
<li> <span style="font-size: large;"> In this example you can learn how to create a simple expandable listview as shown below. </span></li>
</ul>
<span style="font-size: large;"> </span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEin_xLP4oDQunstky8OvD6uDhI-g5MfoagoVKEM6GdriAcLrXYKgr1CXKfkD_I2Jo4BBmGNjZJ55msOIHGAABUxdb3CMk3DDMOXbJVwQbnb-kcmKGQszdC4CAFc3ckKX136RUyIG-NI0zw/s1600/6.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEin_xLP4oDQunstky8OvD6uDhI-g5MfoagoVKEM6GdriAcLrXYKgr1CXKfkD_I2Jo4BBmGNjZJ55msOIHGAABUxdb3CMk3DDMOXbJVwQbnb-kcmKGQszdC4CAFc3ckKX136RUyIG-NI0zw/s1600/6.PNG" height="320" width="215" /></a></span></div>
<span style="font-size: large;"> 1)Lets start a new project in eclipse as we created for earlier projects</span><br />
<span style="font-size: large;"> 2)we need three xml to create a expandable list view,first xml is for the main list view ,second xml is for the list group and the third xml is for child list view.</span><br />
<span style="font-size: large;"> 3)Design your activity_main.xml with Expandable listview as shown below</span><br />
<span style="font-size: large;"> </span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEju4tdKdNgzHuCeMekb7eCHN2BwmMTo-JjtIGyUGyn5zIZ8qiuZ0PHnNI7Ycq5dnAv_Rk2BJcsafCijTpBVTn82BFY0ClTOVkiqL4jrvi9bdJjQRvruogNele_0ZmmiAbqDUcDwtTOtfMU/s1600/expan1.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEju4tdKdNgzHuCeMekb7eCHN2BwmMTo-JjtIGyUGyn5zIZ8qiuZ0PHnNI7Ycq5dnAv_Rk2BJcsafCijTpBVTn82BFY0ClTOVkiqL4jrvi9bdJjQRvruogNele_0ZmmiAbqDUcDwtTOtfMU/s1600/expan1.PNG" height="259" width="640" /></a></span></div>
<span style="font-size: large;"> 4)Create a list_group.xml for the listview group and code as follows</span><br />
<span style="font-size: large;"> </span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZVrtgvEXpaUs5x9gGaRGo85hRdAVC2gmGlu0JCgVZdttyq6Zv_YEqlE0-G558uelEej-f9SrrS84NrYjyFKsOJNpqam0HgA5l36ex-TeLXpPiX7hxwmviLBslH0BsPHoBdGLep8LZF6o/s1600/expangroup.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZVrtgvEXpaUs5x9gGaRGo85hRdAVC2gmGlu0JCgVZdttyq6Zv_YEqlE0-G558uelEej-f9SrrS84NrYjyFKsOJNpqam0HgA5l36ex-TeLXpPiX7hxwmviLBslH0BsPHoBdGLep8LZF6o/s1600/expangroup.PNG" height="310" width="640" /></a></span></div>
<span style="font-size: large;"> 5)Create another xml file named list_item.xml it contaoin only listview item.</span><br />
<span style="font-size: large;"> </span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDC8KmNtyKBal-ry_WEOt7a8c_y0stMAdnY6BzOWQwMOYVuWTQdPZqwSzc_DMh_6VTrJn09WZZ-NlIT-fNrLzd-Rgk2pEb8oHTG5yMX7Q4tYo87KRIg4Jo97giPLQvCsnt2-ksUer1A-c/s1600/expanlistitem.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDC8KmNtyKBal-ry_WEOt7a8c_y0stMAdnY6BzOWQwMOYVuWTQdPZqwSzc_DMh_6VTrJn09WZZ-NlIT-fNrLzd-Rgk2pEb8oHTG5yMX7Q4tYo87KRIg4Jo97giPLQvCsnt2-ksUer1A-c/s1600/expanlistitem.PNG" height="274" width="640" /></a></span></div>
<span style="font-size: large;"> 6)Here we are going to use a custom adapter class to create the expandable listview,create a new class file named Expandablelistadpater.java and extend this from Baseexpandablelistadapter.java</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"> 7)This Baseexpandablelistadapter provide some requierd methods to render listview</span><br />
<ul style="text-align: left;">
<li><span style="font-size: large;">Getgroupview( )-listgroup header view are returned</span></li>
<li><span style="font-size: large;">Getchildview ( )-listchild view are returned</span></li>
</ul>
<span style="font-size: large;"><b>ExpandableListView.java:</b></span><br />
<span style="font-size: large;"><b> </b> </span><br />
<div style="text-align: justify;">
<span style="font-size: large;"> </span><span style="font-size: large;">package com.example.expandablelist;</span><br />
<span style="font-size: large;">import java.util.HashMap;</span><br />
<span style="font-size: large;">import java.util.List;</span><br />
<br />
<span style="font-size: large;">import android.content.Context;</span><br />
<span style="font-size: large;">import android.graphics.Typeface;</span><br />
<span style="font-size: large;">import android.view.LayoutInflater;</span><br />
<span style="font-size: large;">import android.view.View;</span><br />
<span style="font-size: large;">import android.view.ViewGroup;</span><br />
<span style="font-size: large;">import android.widget.BaseExpandableListAdapter;</span><br />
<span style="font-size: large;">import android.widget.TextView;</span><br />
<br />
<br />
<span style="font-size: large;">public class ExpandableListAdapter extends BaseExpandableListAdapter{</span><br />
<span style="font-size: large;"> private Context _context;</span><br />
<span style="font-size: large;"> private List<String> _listDataHeader;</span><br />
<span style="font-size: large;"> private HashMap<String, List<String>> _listDataChild;</span><br />
<span style="font-size: large;"> public ExpandableListAdapter(Context context,List<String> listDataHeader,HashMap<String, List<String>> listDataChild){</span><br />
<span style="font-size: large;"> this._context = context ;</span><br />
<span style="font-size: large;"> this._listDataHeader = listDataHeader;</span><br />
<span style="font-size: large;"> this._listDataChild = listDataChild;</span><br />
<span style="font-size: large;"> }</span><br />
<br />
<span style="font-size: large;"> @Override</span><br />
<span style="font-size: large;"> public int getGroupCount() {</span><br />
<span style="font-size: large;"> // TODO Auto-generated method stub</span><br />
<span style="font-size: large;"> return this._listDataHeader.size(); </span><br />
<span style="font-size: large;"> }</span><br />
<br />
<span style="font-size: large;"> @Override</span><br />
<span style="font-size: large;"> public int getChildrenCount(int groupPosition) {</span><br />
<span style="font-size: large;"> // TODO Auto-generated method stub</span><br />
<span style="font-size: large;"> return this._listDataChild.get(this._listDataHeader.get(groupPosition))</span><br />
<span style="font-size: large;"> .size();</span><br />
<span style="font-size: large;"> }</span><br />
<br />
<span style="font-size: large;"> @Override</span><br />
<span style="font-size: large;"> public Object getGroup(int groupPosition) {</span><br />
<span style="font-size: large;"> // TODO Auto-generated method stub</span><br />
<span style="font-size: large;"> return this._listDataHeader.get(groupPosition);</span><br />
<span style="font-size: large;"> }</span><br />
<br />
<span style="font-size: large;"> @Override</span><br />
<span style="font-size: large;"> public Object getChild(int groupPosition, int childPosition) {</span><br />
<span style="font-size: large;"> return this._listDataChild.get(this._listDataHeader.get(groupPosition))</span><br />
<span style="font-size: large;"> .get(childPosition);</span><br />
<span style="font-size: large;"> }</span><br />
<br />
<span style="font-size: large;"> @Override</span><br />
<span style="font-size: large;"> public long getGroupId(int groupPosition) {</span><br />
<span style="font-size: large;"> // TODO Auto-generated method stub</span><br />
<span style="font-size: large;"> return groupPosition; }</span><br />
<br />
<span style="font-size: large;"> @Override</span><br />
<span style="font-size: large;"> public long getChildId(int groupPosition, int childPosition) {</span><br />
<span style="font-size: large;"> // TODO Auto-generated method stub</span><br />
<span style="font-size: large;"> return childPosition;</span><br />
<span style="font-size: large;"> }</span><br />
<br />
<span style="font-size: large;"> @Override</span><br />
<span style="font-size: large;"> public boolean hasStableIds() {</span><br />
<span style="font-size: large;"> // TODO Auto-generated method stub</span><br />
<span style="font-size: large;"> return false;</span><br />
<span style="font-size: large;"> }</span><br />
<br />
<span style="font-size: large;"> @Override</span><br />
<span style="font-size: large;"> public View getGroupView(int groupPosition, boolean isExpanded,</span><br />
<span style="font-size: large;"> View convertView, ViewGroup parent) {</span><br />
<span style="font-size: large;"> String headerTitle = (String) getGroup(groupPosition);</span><br />
<span style="font-size: large;"> if (convertView == null) {</span><br />
<span style="font-size: large;"> LayoutInflater infalInflater = (LayoutInflater) this._context</span><br />
<span style="font-size: large;"> .getSystemService(Context.LAYOUT_INFLATER_SERVICE);</span><br />
<span style="font-size: large;"> convertView = infalInflater.inflate(R.layout.list_group, null);</span><br />
<span style="font-size: large;"> }</span><br />
<br />
<span style="font-size: large;"> TextView lblListHeader = (TextView) convertView</span><br />
<span style="font-size: large;"> .findViewById(R.id.textView1);</span><br />
<span style="font-size: large;"> lblListHeader.setTypeface(null, Typeface.BOLD);</span><br />
<span style="font-size: large;"> lblListHeader.setText(headerTitle);</span><br />
<br />
<span style="font-size: large;"> return convertView;</span><br />
<span style="font-size: large;"> }</span><br />
<br />
<span style="font-size: large;"> @Override</span><br />
<span style="font-size: large;"> public View getChildView(int groupPosition, int childPosition,</span><br />
<span style="font-size: large;"> boolean isLastChild, View convertView, ViewGroup parent) {</span><br />
<span style="font-size: large;"> final String childText = (String)getChild(groupPosition, childPosition);</span><br />
<span style="font-size: large;"> if(convertView == null){</span><br />
<span style="font-size: large;"> LayoutInflater infalInflater = (LayoutInflater)this._context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);</span><br />
<span style="font-size: large;"> convertView = infalInflater.inflate(R.layout.list_item, null);</span><br />
<span style="font-size: large;"> }</span><br />
<br />
<span style="font-size: large;"> TextView txtListChild = (TextView) convertView</span><br />
<span style="font-size: large;"> .findViewById(R.id.textView1);</span><br />
<br />
<span style="font-size: large;"> txtListChild.setText(childText);</span><br />
<span style="font-size: large;"> return convertView;</span><br />
<span style="font-size: large;"> // TODO Auto-generated method stub</span><br />
<span style="font-size: large;"> }</span><br />
<br />
<span style="font-size: large;"> @Override</span><br />
<span style="font-size: large;"> public boolean isChildSelectable(int groupPosition, int childPosition) {</span><br />
<span style="font-size: large;"> // TODO Auto-generated method stub</span><br />
<span style="font-size: large;"> return false;</span><br />
<span style="font-size: large;"> }</span><br />
<br />
<span style="font-size: large;">}</span></div>
<div style="text-align: justify;">
<span style="font-size: large;"> 8) Next its time to code the main activity </span></div>
<div style="text-align: justify;">
<span style="font-size: large;"> here i split and post the main activity ibn to two files </span></div>
<div style="text-align: justify;">
</div>
<div style="text-align: justify;">
<span style="font-size: large;"> </span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjA8FgK0G86J_tjHys2zbRC2PfANxHW39oD3Hdv5cAtXDfntoj7OdxB5mX6ge4KQgbX6fhNNYqz7mh868hyphenhyphenkGLmgB3AXDUJbYL4sHoR-YHSSSC6pmHBZHz8P8i2AMgHINa16vkYDPPH4Hc/s1600/expanmain1.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjA8FgK0G86J_tjHys2zbRC2PfANxHW39oD3Hdv5cAtXDfntoj7OdxB5mX6ge4KQgbX6fhNNYqz7mh868hyphenhyphenkGLmgB3AXDUJbYL4sHoR-YHSSSC6pmHBZHz8P8i2AMgHINa16vkYDPPH4Hc/s1600/expanmain1.PNG" height="410" width="640" /></a></span></div>
<span style="font-size: large;">
</span></div>
<div style="text-align: justify;">
</div>
<div style="text-align: justify;">
</div>
<div style="text-align: justify;">
</div>
<div style="text-align: justify;">
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFvVGWTH5kUqck-XD-zjlU74g01lI8LqNpOnEr3_4IUJZvHiFPcfkY70XsyGJS6dgbyrr6ykQbXBG0UphJcQYMzTXOFCWWKHO3anIjtUhfvGXFJkQrbISMsDb_mTx4hoO123z0UeVeEVA/s1600/expanmain2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFvVGWTH5kUqck-XD-zjlU74g01lI8LqNpOnEr3_4IUJZvHiFPcfkY70XsyGJS6dgbyrr6ykQbXBG0UphJcQYMzTXOFCWWKHO3anIjtUhfvGXFJkQrbISMsDb_mTx4hoO123z0UeVeEVA/s1600/expanmain2.PNG" height="469" width="640" /></a></div>
<br />
<span style="font-size: large;"> 9)Add these three lines at the end of the main activity which is used for header and child data </span></div>
<div style="text-align: left;">
<span style="font-size: large;"> listDataChild.put(listDataHeader.get(0), top250); <br /> listDataChild.put(listDataHeader.get(1), nowShowing);</span></div>
<div style="text-align: left;">
<span style="font-size: large;"> </span><span style="font-size: large;"><span style="font-size: large;">listDataChild.put(listDataHeader.get(2),comingSoon); </span></span></div>
<div style="text-align: left;">
</div>
<div style="text-align: left;">
<span style="font-size: large;"><span style="font-size: large;"> 10)Now its time to run and test the project ,check with your emulator or device .</span></span></div>
<div style="text-align: left;">
<span style="font-size: large;"><span style="font-size: large;"> </span></span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><span style="font-size: large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIchVoKTDNdxhnhxNIH2JdTzOwfSpfOFT3pqJf1NxRze9nM1Gqpjx3kFcckW-64l2Yu5L1Jpr7cpyQ0vipwo0adAQMat23rrZnd7-ZhyDfX8lfzm1-TRaFJOWlAlGmrt5NkOT3O73j7C4/s1600/6.1.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIchVoKTDNdxhnhxNIH2JdTzOwfSpfOFT3pqJf1NxRze9nM1Gqpjx3kFcckW-64l2Yu5L1Jpr7cpyQ0vipwo0adAQMat23rrZnd7-ZhyDfX8lfzm1-TRaFJOWlAlGmrt5NkOT3O73j7C4/s1600/6.1.PNG" height="320" width="217" /></a></span></span></div>
<span style="font-size: large;"><span style="font-size: large;">
</span></span></div>
<div style="text-align: left;">
<span style="font-size: large;"><span style="font-size: large;"> </span> </span></div>
</div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com0tag:blogger.com,1999:blog-7337838332721937337.post-47313433495230485352014-04-10T03:40:00.002-07:002014-04-10T03:40:46.723-07:00Rich List Field:IN BLACBERRY<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: inherit; font-size: large;"><b>Rich List Field:IN BlackBerry</b></span><br />
<span style="font-family: inherit; font-size: large;"><b><br /></b></span>
<span style="font-family: inherit; font-size: large;"><b> </b></span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: inherit; font-size: large;"><b><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPOc-S7mFAaOT6wmTC4XuMqQVX8Lf8ztOGuPPHm91jF-O5ygo7pac7fTwAkep13As1N1rLYS7X0mJaXEHF3iANITKkruOX2sw8dbBX6a_pvuQ09_RY1qgaBcs2x9hTijLksE0f0mOq7Lo/s1600/Rich_list.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPOc-S7mFAaOT6wmTC4XuMqQVX8Lf8ztOGuPPHm91jF-O5ygo7pac7fTwAkep13As1N1rLYS7X0mJaXEHF3iANITKkruOX2sw8dbBX6a_pvuQ09_RY1qgaBcs2x9hTijLksE0f0mOq7Lo/s1600/Rich_list.PNG" height="320" width="184" /></a></b></span></div>
<br />
<span style="font-family: inherit; font-size: large;"><b>Steps to create RichList View:</b></span><br />
<span style="font-family: inherit; font-size: large;"><b> </b></span><br />
<span style="font-family: inherit;"><b><span style="font-size: large;"> </span> </b>1.</span><span style="font-family: inherit;">From the menu >click new>RichList</span><br />
<span style="font-family: inherit;"> 2.As shown in the above tutorial assign a push screen to push a new MyScreen in the method.</span><br />
<span style="font-family: inherit;"> 3.Add the images to the resource folder whic we use in the rich list</span><br />
<span style="font-family: inherit;"> 3.Then create a private class MyScreen which extends MianScreen.</span><br />
<span style="font-family: inherit;"> 4.Inside the method MyScreen set the title and create a label and name it as shown below</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"> </span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheKvwm6yWbKLyCeqKEzyxYlQkYETSKwsB9C2SyyyzXjcHGdVRkluaqvALe59Aj56xZYiVRLvKWadjjXJliM1igp5OJJ59RqCaEIulv6EjI_XEUEFJ9TczlE-TS_yAiS703sA1ZktliMbs/s1600/rich_list1.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheKvwm6yWbKLyCeqKEzyxYlQkYETSKwsB9C2SyyyzXjcHGdVRkluaqvALe59Aj56xZYiVRLvKWadjjXJliM1igp5OJJ59RqCaEIulv6EjI_XEUEFJ9TczlE-TS_yAiS703sA1ZktliMbs/s1600/rich_list1.PNG" /></a></div>
<br />
<span style="font-family: inherit;"><b style="font-size: x-large;"> </b>5.Add a new separator field <b style="font-size: x-large;"> </b>and create a MainManager.</span><br />
<span style="font-family: inherit;"> 6.Create a new RichList and assign the images to the list through the Bitmap as shown below</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"> </span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: inherit;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibpdevFiZappB7qLPEbkUtZTRuO9Q8eneLdpQ8LjkjFsKfpp0ziYngFeks08xWkIuU6Bd5lHFN2-Xgnn_SLsjDV2XXlOkxhTfLc6UOocTH9QZ98ufN_A-8EieesVAC1SSwdOfDYccOVo0/s1600/rich.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibpdevFiZappB7qLPEbkUtZTRuO9Q8eneLdpQ8LjkjFsKfpp0ziYngFeks08xWkIuU6Bd5lHFN2-Xgnn_SLsjDV2XXlOkxhTfLc6UOocTH9QZ98ufN_A-8EieesVAC1SSwdOfDYccOVo0/s1600/rich.PNG" /></a></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: inherit;"><br /></span></div>
<br />
<span style="font-family: inherit;"> 7. Now add each object to the list with the requierd field as shown below</span><br />
<span style="font-family: inherit;"> <br /> </span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: inherit;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisOUt2udKc9NjAKTKOMbalnfJtde3oFz8AbMXuVawjRilTYjOpvpyR_PgGGLKMPNpL4msOqZL1XWh2MMPqAk_jgFt2iKJZNGup79x9Exc9IoFndfa_mqLGQ978YUgVbylmA2TOQ2nbF-g/s1600/rich2.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisOUt2udKc9NjAKTKOMbalnfJtde3oFz8AbMXuVawjRilTYjOpvpyR_PgGGLKMPNpL4msOqZL1XWh2MMPqAk_jgFt2iKJZNGup79x9Exc9IoFndfa_mqLGQ978YUgVbylmA2TOQ2nbF-g/s1600/rich2.PNG" /></a></span></div>
<span style="font-family: inherit;"> </span><br />
<span style="font-family: inherit;"> 8.Save <b style="font-size: x-large;"> </b>it and run you can see the rich list view in the simulator as shown above.<b style="font-size: x-large;"> </b></span><br />
<span style="font-family: inherit;"><b style="font-size: x-large;"><br /></b></span><a href="https://sites.google.com/site/mobileapptechnology/Richlist.rar?attredirects=0&d=1" target="_blank"><b></b></a><b><a href="https://www.blogger.com/null" target="_blank">Download Source Code </a></b><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: inherit; font-size: large;"><b><br /></b></span></div>
<span style="font-family: inherit; font-size: large;"><b><br /></b></span></div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com0tag:blogger.com,1999:blog-7337838332721937337.post-87438159973194590332014-04-10T03:38:00.004-07:002014-04-10T03:38:50.344-07:00Simple List View in Black Berry<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-size: large;"><br /></span><span style="font-size: large;"><b>Simple List View-in BlackBerry</b></span><br />
<span style="font-size: large;"><b> </b></span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><b><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRoGDvD26EmsQhCdSfODztSMcp8ChzIYE38UMTAQLmgWzUfIeskkMmlesAogbQ5WNZs8_c5_pne29xx1-w1L4Ak6tKts_i-v0UMIB9Wz0tJjZC60hhIPcvi8KCZGST3DyHuHnGTV042ow/s1600/list_simple.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRoGDvD26EmsQhCdSfODztSMcp8ChzIYE38UMTAQLmgWzUfIeskkMmlesAogbQ5WNZs8_c5_pne29xx1-w1L4Ak6tKts_i-v0UMIB9Wz0tJjZC60hhIPcvi8KCZGST3DyHuHnGTV042ow/s1600/list_simple.PNG" height="320" width="185" /></a></b></span></div>
<br /><br />
<span style="font-family: inherit; font-size: large;"><b>Steps to create a simple list view</b></span><br />
<ol>
<li><span style="font-family: inherit;">From the menu >click new>SimpleListDemo</span></li>
<li>In the method SimpleListDemo we want to push a new screen called SimpleListScreen as shown in the figure</li>
</ol>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVtR4TYh-bCIQyjflNk6oMZEvEZuT23obgMKTcqd-APEq_SZvVopfbEAVwZ71DfT4s7UgpmhA2WJi0N4gmQG6V82xXw4mDNyn-JuwxvJx4KrX2q29WMJqd5mUfFO8srmepA-IpOc4WvG4/s1600/push+screen.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVtR4TYh-bCIQyjflNk6oMZEvEZuT23obgMKTcqd-APEq_SZvVopfbEAVwZ71DfT4s7UgpmhA2WJi0N4gmQG6V82xXw4mDNyn-JuwxvJx4KrX2q29WMJqd5mUfFO8srmepA-IpOc4WvG4/s1600/push+screen.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
this method will push a screen onto the UI stack for rendring.<br />
<div>
3.Then create a private class for the SimpleListScreen which extends the Main Screen as shown below</div>
<div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-JBFf5nTwID72ktWUsWTWVFoV61FIPuEiPhY39-HoeXF4XcM0RzeZzFsyLEGuMFMWurIPxbo4a1QkPEdHXjWC-HFgOSKL38IAuNhD_NCKkjWiXpWFA371mHyV0fZfOdS2uk4Rz79fwTM/s1600/LIST.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-JBFf5nTwID72ktWUsWTWVFoV61FIPuEiPhY39-HoeXF4XcM0RzeZzFsyLEGuMFMWurIPxbo4a1QkPEdHXjWC-HFgOSKL38IAuNhD_NCKkjWiXpWFA371mHyV0fZfOdS2uk4Rz79fwTM/s1600/LIST.PNG" /></a></div>
</div>
<div>
4.After creating the private class you have to code the operation in SimpleListScreen to be held as shown above.</div>
<div>
5.After finishing the method just save it and run you will get a output in the simulator as shown in the above session.</div>
<div>
<br />
<div>
<br /></div>
<a href="https://sites.google.com/site/mobileapptechnology/Listview1.rar?attredirects=0&d=1" target="_blank"><u></u></a><u><a href="https://www.blogger.com/null" target="_blank"><span style="font-family: inherit; font-size: large;"><b>Download Source Code</b></span></a></u></div>
</div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com0tag:blogger.com,1999:blog-7337838332721937337.post-39223159332227285992014-04-10T03:32:00.001-07:002014-04-10T03:32:52.083-07:00BlackBerry<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: inherit; font-size: large;"><b>BlackBerry Application Development</b></span><br />
<b><span style="font-size: x-large;"> </span> </b> <span style="font-family: inherit;">BlackBerry are key communication tools in today's worldwide business market.</span><br />
<span style="font-family: inherit;"> Mobile BlackBerry development India's can be your right choice for BlackBerry application development </span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"> This tutorial will teach you the
balckberry programming and advance concepts in BlackBerry application
development.</span><br />
<span style="font-family: inherit;"> </span><br />
<span style="font-family: inherit;"> </span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: inherit;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiq16W0vOPGqWfovCZB3bx80-wi1Ih1TMpZn6b2TgBgGnk40FGvMXP3VX4qjKOdtI55uqFey7PkN5x67ULhn1nU3V5VpNHE72oJfZMZVkLcJLopHz5Z5GZ-ftPBUXDB9BeL9Z9-g32Vzao/s1600/blackberry.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiq16W0vOPGqWfovCZB3bx80-wi1Ih1TMpZn6b2TgBgGnk40FGvMXP3VX4qjKOdtI55uqFey7PkN5x67ULhn1nU3V5VpNHE72oJfZMZVkLcJLopHz5Z5GZ-ftPBUXDB9BeL9Z9-g32Vzao/s1600/blackberry.jpg" height="449" width="640" /></a></span></div>
<span style="font-family: inherit;"> </span></div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com0tag:blogger.com,1999:blog-7337838332721937337.post-6298201609904848352014-04-10T02:38:00.001-07:002014-04-10T03:47:21.783-07:00iOS<div dir="ltr" style="text-align: left;" trbidi="on">
<h1 align="LEFT" class="western" style="widows: 1;">
<span style="font-family: inherit;"><span style="font-size: x-large;">How To Make iPhone Apps – An XCode 5 Tutorial</span></span><span style="font-family: inherit; font-size: x-large;">For Beginners</span></h1>
<h1 class="headline" itemprop="name" style="background-color: white; line-height: 37px; margin: 0px 0px 10px; padding: 0px; word-wrap: break-word;">
<div align="LEFT" style="widows: 1;">
<span style="font-family: inherit;"><span style="font-weight: normal;"><span style="font-size: medium;"> </span><span style="font-size: large;"> T</span></span></span><span style="font-size: large;"><span style="font-family: inherit;"><span style="font-weight: normal;">his is an XCode tutorial for beginners so we’ll be going through where to download XCode 5 and introduce you to the main parts of the development. By the end of this article, you’ll have a basic understanding of how to navigate the development environment and how to create your first XCode project</span></span><span style="font-family: inherit;"><span style="font-weight: normal;">.</span></span></span><br />
<br />
<span style="font-size: large;"><span style="font-family: inherit;"><span style="font-weight: normal;"> </span></span></span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><span style="font-family: inherit;"><span style="font-weight: normal;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqZYDfLrPWEPRKtfv5KEidoTarKhnhC1o7JH4PBdgIL1HZ2zBGJSP0ypcuakGlQuZxnaTewTgd3AQAN61RWxmzcBFTLaUZtpiBCyqteiiRs0CEjK6OFUSfeoGeEfYOshnCSM-IL6GvBD8/s1600/social-mobile-app.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqZYDfLrPWEPRKtfv5KEidoTarKhnhC1o7JH4PBdgIL1HZ2zBGJSP0ypcuakGlQuZxnaTewTgd3AQAN61RWxmzcBFTLaUZtpiBCyqteiiRs0CEjK6OFUSfeoGeEfYOshnCSM-IL6GvBD8/s1600/social-mobile-app.jpg" height="384" width="640" /></a></span></span></span></div>
<span style="font-size: large;"><span style="font-family: inherit;"><span style="font-weight: normal;"> </span></span></span></div>
<div align="LEFT" style="page-break-inside: avoid; widows: 1;">
<br /></div>
<div align="LEFT" style="page-break-inside: avoid; widows: 1;">
<span style="color: black;"> <span style="font-family: inherit; font-size: x-large;">1.Where you can download xcode?</span></span></div>
<div align="LEFT" style="page-break-inside: avoid; widows: 1;">
<span style="color: black;"> <span style="font-size: large;"> </span></span><span style="font-size: large;"><span style="color: black;"><span style="font-family: inherit;"><span style="font-weight: normal;">You can download it in</span></span></span><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-weight: normal;"> </span></span></span><span style="color: #3e3e3e;"><span style="font-family: Times New Roman;"><span style="font-weight: normal;"> </span></span></span><a href="https://itunes.apple.com/ca/app/xcode/id497799835?mt=12" target="_blank"><span style="color: #18a5e0;"><span style="text-decoration: none;"><span style="font-family: Open Sans, sans-serif;"><span style="font-weight: normal;">Mac App Store</span></span></span></span></a><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-weight: normal;">.</span></span></span></span><br />
<div align="LEFT" style="page-break-inside: avoid;">
<span style="color: #3e3e3e;"><span style="font-weight: normal;"><span style="font-family: 'Open Sans', sans-serif; font-size: 13pt;"> </span><span style="font-size: large;"><span style="font-family: inherit;">You can also download it manually if you don’t have the Mac App Store. Just visit the </span></span></span></span><span style="color: #18a5e0;"><span style="font-family: inherit; font-size: large;"><span style="font-weight: normal;"><a href="http://developer.apple.com/xcode/" target="_blank">Apple Developer page for XCode</a></span></span></span><br />
<span style="color: #18a5e0;"><span style="font-family: inherit; font-size: large;"><br /></span></span><span style="color: #18a5e0;"><span style="font-family: inherit; font-size: large;"><br /></span></span><span style="font-family: inherit; font-size: x-large;">2.Overview Of Xcode Interface </span><br />
<span style="font-family: inherit; font-size: x-large;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiM7oXjO-wWuw45XNLNM1qdIQfL1STMEXtAL8p1ZMV8TYgmEA2QbfZJm2tnCFCOaZwiHsuPvtuFxrwptdqtc7WyhdNNvkD0QJocgvQo1eWm-_x3bfkM1505QgLj0ECgHugBcxA6UuQgwdg/s1600/xcode_5_workspace_diagram+(1).jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiM7oXjO-wWuw45XNLNM1qdIQfL1STMEXtAL8p1ZMV8TYgmEA2QbfZJm2tnCFCOaZwiHsuPvtuFxrwptdqtc7WyhdNNvkD0QJocgvQo1eWm-_x3bfkM1505QgLj0ECgHugBcxA6UuQgwdg/s1600/xcode_5_workspace_diagram+(1).jpg" height="416" width="640" /></a></div>
<span style="orphans: 0;"><span style="font-family: inherit; font-size: large;">The Xcode5 Interface should look like this</span></span></div>
</div>
</h1>
<h1 class="headline" itemprop="name" style="background-color: white; line-height: 37px; margin: 0px 0px 10px; padding: 0px; word-wrap: break-word;">
<div align="LEFT" style="page-break-inside: avoid; widows: 1;">
<div align="LEFT" style="page-break-inside: avoid;">
<div align="LEFT" style="page-break-inside: avoid;">
<span style="font-family: inherit; font-size: large;"><span style="font-weight: normal;"> If your interface looks different, make sure you have XCode 5 and not an earlier version.</span><b></b></span></div>
<div align="LEFT" style="page-break-inside: avoid;">
<span style="font-family: inherit; font-size: large;"><span style="font-weight: normal;">As you can see from the diagram, there are 4 major areas:</span><b></b></span></div>
<div align="LEFT" style="page-break-inside: avoid;">
<span style="font-family: inherit; font-size: large;"><span style="color: black;"></span><span style="font-weight: normal;"> 1.Debug Area</span></span></div>
<div align="LEFT" style="page-break-inside: avoid;">
<span style="font-family: inherit; font-size: large;"> <span style="font-weight: normal;"> 2</span>.<span style="font-weight: normal;">Navigator</span></span></div>
<div align="LEFT" style="page-break-inside: avoid;">
<span style="font-family: inherit; font-size: large;"><span style="font-weight: normal;"> 3.Editor</span></span></div>
<div align="LEFT" style="page-break-inside: avoid;">
<span style="font-family: inherit; font-size: large;"><span style="font-weight: normal;"> 4.Utility Area</span></span></div>
<div align="LEFT" style="page-break-inside: avoid;">
<span style="font-family: inherit; font-size: large;"><span style="font-weight: normal;">Alright, let’s go through the Navigator area now! </span></span><br />
<span style="font-family: inherit; font-size: large;"><span style="font-weight: normal;"><br /></span></span></div>
</div>
</div>
</h1>
<h3 align="LEFT" class="western" style="page-break-inside: avoid; widows: 1;">
<span style="font-family: inherit; font-size: x-large;">3. The Navigator Area</span></h3>
<h1 class="headline" itemprop="name" style="background-color: white; line-height: 37px; margin: 0px 0px 10px; padding: 0px; word-wrap: break-word;">
<div align="LEFT" style="page-break-inside: avoid; widows: 1;">
<div align="LEFT" style="page-break-inside: avoid;">
</div>
</div>
</h1>
<h1 class="headline" itemprop="name" style="background-color: white; line-height: 37px; margin: 0px 0px 10px; padding: 0px; word-wrap: break-word;">
<div align="LEFT" style="page-break-inside: avoid; widows: 1;">
<div align="LEFT" style="page-break-inside: avoid;">
<div align="LEFT" style="page-break-inside: avoid;">
<div align="LEFT" style="page-break-inside: avoid;">
<span style="font-family: inherit; font-size: large;"><span style="font-weight: normal;"> In this navigator area, there are a bunch of different navigators that you can switch between using the </span><i><span style="font-weight: normal;">Navigator selector bar (refer to diagram)</span></i><span style="font-weight: normal;">. The three main navigators that you will use a lot are the Project, Search and Issue navigators.</span></span></div>
<div align="LEFT" style="page-break-inside: avoid;">
<span style="font-family: inherit; font-size: large;"><span style="font-weight: normal;"><br /></span></span></div>
<div align="LEFT" style="page-break-inside: avoid; widows: 129;">
<span style="font-family: inherit; font-size: x-large;">Project Navigator</span><br />
<span style="font-family: inherit; font-size: large;"><span style="font-weight: normal;"> This is the project navigator where you’ll see all the files associated with your project.</span></span></div>
<div align="LEFT" style="page-break-inside: avoid; widows: 129;">
<span style="font-family: inherit; font-size: large;"><span style="font-weight: normal;"> </span></span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: inherit; font-size: large;"><span style="font-weight: normal;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2uwsY1OO4JiB8YdhiqCY-IcBzknTr3g7YK9sfLmDeUpyBjlhniXIYTbwgJYOKj1e0sO3I-vKiabyqsR7sQjNc72xLW7hX8usCpOA2FPcaZuSJ7fF0aqlhT_D5GTUOdhh8fxe0tYc72kI/s1600/XCode_5_ProjectNavigator.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2uwsY1OO4JiB8YdhiqCY-IcBzknTr3g7YK9sfLmDeUpyBjlhniXIYTbwgJYOKj1e0sO3I-vKiabyqsR7sQjNc72xLW7hX8usCpOA2FPcaZuSJ7fF0aqlhT_D5GTUOdhh8fxe0tYc72kI/s1600/XCode_5_ProjectNavigator.png" /></a></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: inherit; font-size: large;"><span style="font-weight: normal;"><br /></span></span></div>
<br />
<div style="margin: 0px;">
<span style="color: #3e3e3e; font-family: 'Open Sans', sans-serif; font-size: 13pt;"> <span style="font-weight: normal;"> </span></span><span style="font-family: inherit; font-size: large; font-weight: normal;">You can right click on the project navigator and create new files or add existing files to your project and you can drag folders or files from your computer directly onto the project navigator and it will popup a dialog asking how you want to add the files.</span></div>
<div align="LEFT" style="font-weight: normal; widows: 1;">
</div>
<span style="font-family: inherit; font-size: large;"><span style="font-weight: normal;"></span></span><br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div align="LEFT" style="font-weight: normal; text-align: -webkit-left; widows: 1;">
</div>
<div style="page-break-inside: avoid; text-align: -webkit-left; widows: 1;">
</div>
<br />
<div align="LEFT" style="-webkit-text-stroke-width: 0px; background-color: white; font-family: 'Times New Roman'; font-size: 32px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 37px; orphans: auto; text-align: -webkit-left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">
<div style="color: black; margin: 0px;">
<span style="color: #3e3e3e; font-family: Open Sans, sans-serif;"><span style="font-size: 17px;"> </span></span><span style="font-family: inherit; font-size: large;">If you click on a file in the project navigator, it will display the file’s contents in the Editor area. If you double click a file instead, it will open a new window which can be useful when you have dual screens.</span></div>
<div class="separator" style="clear: both; color: black; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqTpFlj5G2hfelvZxBYOvS42gB8WGvdgDdTg3LPAqdfiXs9SYttKWYdyIOaqz44zYkFBaTpSvhlR5pN_JT8htFMYEGhrFKO2mZ7My-sX_MiLVQoonicCuF1SoCJKrq3P7IhQ5CXg9jEO8/s1600/XCode_5_ProjectSettings.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqTpFlj5G2hfelvZxBYOvS42gB8WGvdgDdTg3LPAqdfiXs9SYttKWYdyIOaqz44zYkFBaTpSvhlR5pN_JT8htFMYEGhrFKO2mZ7My-sX_MiLVQoonicCuF1SoCJKrq3P7IhQ5CXg9jEO8/s1600/XCode_5_ProjectSettings.png" height="345" width="640" /></a></div>
<div style="color: black; font-weight: bold; page-break-inside: avoid;">
<span style="font-family: inherit; font-size: 13pt;">The root node of the project navigator is your XCode project file (indicated by the blue icon). If you click that, the project properties will open in the editor area.</span></div>
<div style="color: black; font-weight: bold; page-break-inside: avoid;">
<span style="font-family: inherit; font-size: x-large;">Search Navigator</span></div>
<div style="color: black; page-break-inside: avoid;">
<span style="font-family: inherit; font-size: large;"> This the search navigator tab, here you can easily look for pieces of text in your project.</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTsTJiIbyjG_ZpCasWRS821O_TfQvcqpW_vl6tS9neUoXQOtcTxv0i682BsNVk2DXGF5gkyhh_tBMkcr10ND__VGN-4OYka-Zp5FGO79WAifkhnGlNc1aaMtZmlKFKLULJJbhcw2DWQHI/s1600/diview.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTsTJiIbyjG_ZpCasWRS821O_TfQvcqpW_vl6tS9neUoXQOtcTxv0i682BsNVk2DXGF5gkyhh_tBMkcr10ND__VGN-4OYka-Zp5FGO79WAifkhnGlNc1aaMtZmlKFKLULJJbhcw2DWQHI/s1600/diview.png" height="320" width="216" /></a></div>
</div>
<div class="separator" style="clear: both; color: black; text-align: center;">
<br /></div>
<div style="color: black; font-weight: bold; page-break-inside: avoid;">
<span style="font-family: inherit; font-size: x-large;">Issue Navigator</span></div>
<div style="color: black; font-weight: bold; page-break-inside: avoid;">
<span style="font-family: inherit; font-size: large;"><span style="font-weight: normal;"> This is the issue navigator which shows you all the problems with your application.</span></span><br />
<span style="font-family: inherit; font-size: large;"><span style="font-weight: normal;"><br /></span></span>
<br />
<div style="page-break-inside: avoid;">
<span style="font-weight: normal;"><span style="color: #3e3e3e; font-family: 'Open Sans', sans-serif; font-size: 13pt;"> </span><span style="font-family: inherit; font-size: large;"> When you build and compile your application to testing, if there are some errors with yoyr code where XCode can’t build your app, it will stop and show you the red colored errors in the issue navigator. You can click on an error and it will show you in the editor area which file and line it’s failing at.</span></span></div>
<div style="page-break-inside: avoid;">
<span style="font-weight: normal;"><span style="font-family: inherit; font-size: large;"><br /></span></span></div>
<div style="page-break-inside: avoid;">
</div>
<div style="page-break-inside: avoid;">
<span style="font-weight: normal;"><span style="color: #3e3e3e; font-family: 'Open Sans', sans-serif; font-size: 13pt;"> </span><span style="font-family: inherit; font-size: large;">It will also show Warnings in the issue navigator in yellow color ,but resolving warning is not necessary to run ur application</span></span><span style="font-family: inherit; font-size: large;"> .</span></div>
<div style="page-break-inside: avoid;">
<span style="font-family: inherit; font-size: large;"><br /></span></div>
<div style="page-break-inside: avoid;">
<span style="font-family: inherit; font-size: x-large;">4.<span style="line-height: 30px;">The Editor Area</span></span></div>
<div style="page-break-inside: avoid;">
<span style="font-family: inherit;"><span style="line-height: 30px;"><span style="font-size: x-large;"> </span><span style="font-family: inherit; font-size: large;"> </span></span></span><span style="font-family: inherit; font-size: large; font-weight: normal;">The editor area is one which we spend most of our time to code your app,This where all the coding happens.</span><br />
<span style="font-family: inherit; font-size: large; font-weight: normal;"> </span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: inherit; font-size: large; font-weight: normal;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_IqBtxx5sNdLESY8pYeaol0MYRRVBf_gnmrWsoBI0_muRXz3uZVmBbfclPHDUtTEsEnOnX5P70w2qLJJUZGvztlMxmOQErlgv9mH1AHIbn-4kI05iq0c-ja3sabKmBHRkiUJf1_ScoLI/s1600/editor+area.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_IqBtxx5sNdLESY8pYeaol0MYRRVBf_gnmrWsoBI0_muRXz3uZVmBbfclPHDUtTEsEnOnX5P70w2qLJJUZGvztlMxmOQErlgv9mH1AHIbn-4kI05iq0c-ja3sabKmBHRkiUJf1_ScoLI/s1600/editor+area.png" /></a></span></div>
</div>
</div>
<div style="color: black; margin: 0px;">
<span style="font-size: large;">As i mentioned in the navigator section if you click any file in navigator area it will display all it contents in the editor area for you to edit the coding </span></div>
<div style="color: black; font-weight: bold;">
<span style="font-family: inherit; font-size: large; font-weight: normal;"><br /></span></div>
<div style="color: black; margin: 0px;">
<span style="font-size: large; font-weight: bold;">Navigation within the editor area </span><span style="font-size: large;"> </span><span style="font-family: inherit; font-size: large;"> </span></div>
<div style="color: black; margin: 0px;">
<span style="font-family: inherit; font-size: large;"> </span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: inherit; font-size: large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbbGBFDG0s_4gniTfgh-AGpYpbMcgcIoIQHeElQwKIu8Z-Ve4jR-bZgKdnG6pOcI13VGH08r3rvvgUlnRA-tXoeE8O5BpBHCJliVlI3Uxu9AUMSl7OsIT25VB_2OvuRIOQrhKmiSbKmls/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbbGBFDG0s_4gniTfgh-AGpYpbMcgcIoIQHeElQwKIu8Z-Ve4jR-bZgKdnG6pOcI13VGH08r3rvvgUlnRA-tXoeE8O5BpBHCJliVlI3Uxu9AUMSl7OsIT25VB_2OvuRIOQrhKmiSbKmls/s1600/Capture.PNG" /></a></span></div>
<span style="font-family: inherit; font-size: large;"> </span><span style="font-size: large;"> </span><span style="font-size: large; font-weight: bold;"><span style="font-weight: normal;">These little forward and backward arrows in the upper left corner in the editor is used for navigating the editor area. </span></span><br />
<div style="color: black; font-weight: bold;">
<span style="font-family: inherit; font-size: large;"><span style="font-weight: normal;"><br /></span></span><span style="font-family: inherit; font-size: large;"><span style="font-weight: normal;"> </span><span style="font-family: inherit; font-weight: normal;"> </span></span><span style="font-family: inherit; font-size: large; font-weight: normal;">The another way to quickly get to the file u need is to use the jum bar,</span><span style="font-family: inherit; font-size: large; font-weight: normal;">It allows you to quickly access down through your groups and find the file you need. </span><span style="font-family: inherit; font-size: large; font-weight: normal;"> </span></div>
<div style="color: black; font-weight: bold;">
<span style="font-family: inherit; font-size: large; font-weight: normal;"> </span></div>
<div class="separator" style="clear: both; color: black; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQdqMiyWgubo8XOdbv0m91fmlV7shkoI3cdcehN00WK2vvdJB4E5GeyS7TUyO5YUcf1FR7ANWSM9v8yLkWk5LYeBaxXVMluUZnBIXRzSh5X70l3c4JOOoDEKhpcgtBwH6JkwgzkwaZZBU/s1600/1.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQdqMiyWgubo8XOdbv0m91fmlV7shkoI3cdcehN00WK2vvdJB4E5GeyS7TUyO5YUcf1FR7ANWSM9v8yLkWk5LYeBaxXVMluUZnBIXRzSh5X70l3c4JOOoDEKhpcgtBwH6JkwgzkwaZZBU/s1600/1.PNG" height="110" width="320" /></a></div>
<div style="color: black; font-weight: bold;">
<span style="font-family: inherit;"> </span><span style="font-weight: normal;"><span style="font-family: inherit; font-size: large;">If you click the bottom segment of the jump bar , it will open up a menu showing you all the methods in the file which is not only useful to jump to another area within the file, but it will show you at a short overview what methods are available in this file.</span></span></div>
<div style="font-weight: bold; page-break-inside: avoid;">
<span style="font-family: inherit; font-size: x-large;">Three types of editor views</span></div>
<div style="page-break-inside: avoid;">
<span style="font-family: inherit; font-size: large;"> The editor area has three different views and it will be in the right corner as shown below</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYzqmr9HLF47KNzgllxCrFk3zQvuWSdebASTYMAqDn8O7mThY0yIinws0ME5p_txGHPt_DxqbLlZ6Vm0xywoMs24o-naJGQRT6D1t3OigaLCx7QEBimhHJR2hg9fZPjkRvVdFRKyqKJj8/s1600/3.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYzqmr9HLF47KNzgllxCrFk3zQvuWSdebASTYMAqDn8O7mThY0yIinws0ME5p_txGHPt_DxqbLlZ6Vm0xywoMs24o-naJGQRT6D1t3OigaLCx7QEBimhHJR2hg9fZPjkRvVdFRKyqKJj8/s1600/3.PNG" /></a></div>
<div style="font-weight: bold;">
<span style="font-weight: normal;"><span style="font-family: inherit; font-size: large;"> <span style="font-family: inherit;"> </span></span></span><span style="font-family: inherit; font-size: large;"><span style="font-weight: normal;">The left most button is for the single editor pane view,t</span><span style="font-weight: normal;">he middle button is the Assistant Editor view which will show you the accompanying file to the file you’re currently looking at.</span></span></div>
<div style="font-weight: bold; page-break-inside: avoid;">
<span style="font-family: inherit; font-size: large;"><span style="font-weight: normal;"> And the right pane will show you the header file for that class. </span> <span style="font-weight: normal;">Each pane has its own jump bar</span> <span style="font-weight: normal;">so you can also use that to change what file each pane is displaying.</span></span><br />
<span style="font-family: inherit; font-size: large;"><span style="font-weight: normal;"><br /></span></span><span style="font-family: inherit; font-size: x-large;">Introduction</span><br />
<span style="font-family: inherit; font-size: x-large;"> </span><span style="font-family: inherit; font-size: large;"> <span style="font-weight: normal;"><span style="font-family: inherit;">The language which is used for ios development is Objective C.It is an object oriented programming language</span></span></span><br />
<span style="font-family: inherit; font-size: large; font-weight: normal;">hence it is easy for those who have knowledge in object oriented programming language.</span><br />
<span style="font-family: inherit; font-size: large;"><br /></span><span style="font-family: inherit; font-size: x-large;">Interface & Implementation</span><br />
<span style="font-family: inherit; font-size: large; font-weight: normal;"> In objective C where th declaration of class file is done is called interface and where the file class is defined is called implemantation.</span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both;">
</div>
<br />
<div style="-webkit-text-stroke-width: 0px; background-color: white; color: black; font-family: 'Times New Roman'; font-size: 32px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; line-height: 37px; margin: 0px; orphans: auto; text-align: -webkit-left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;">
<span style="font-family: inherit; font-size: large;"></span><br /></div>
<span style="font-family: inherit; font-size: large;"> </span><br />
<div style="color: black;">
<span style="font-family: inherit; font-size: large;"><br /></span></div>
<div style="color: black;">
<span style="font-family: inherit; font-size: large;"><br /></span></div>
</div>
<div style="color: black; font-weight: bold;">
<span style="font-family: inherit; font-size: large; font-weight: normal;"> </span></div>
</div>
</div>
</div>
</div>
</div>
</h1>
</div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com0tag:blogger.com,1999:blog-7337838332721937337.post-83243157166583408952014-04-10T02:20:00.000-07:002014-04-10T02:20:34.348-07:00ListView Animation Tutorial<div dir="ltr" style="text-align: left;" trbidi="on">
<b><u><span style="font-size: large;">ListView Animation Tutorial</span></u></b><br />
<b><u><span style="font-size: large;"><br /></span></u></b>
<span style="font-size: large;">In this tutorial you are going to know about the animation in lsitview so first learn to create a basic listview as shown above .</span><br />
<span style="font-size: large;"><br /></span><span style="font-size: large;">This tutorial will show you how to animate the list view using plenty of animation.</span><br />
<span style="font-size: large;"><br /></span><span style="font-size: large;">1)First create a new android application as you created for basic listview.</span><br />
<span style="font-size: large;"><br /></span><span style="font-size: large;">2)Now you have to create a folder "anim" under res folder </span><br />
<br />
<span style="font-size: large;">3)you have to create a different XML file inside the anim folder to create the animation.</span><br />
<span style="font-size: large;"><br /></span><span style="font-size: large;">4)Let follow the XML as shown below,create the following xml file in the anim folder</span><br />
<span style="font-size: large;"><br /></span><span style="font-family: inherit; font-size: large;"><u>*Fade In</u></span><br />
<span style="font-size: large;"> </span> <span style="font-family: Arial, Helvetica, sans-serif;"><?xml version="1.0" encoding="utf-8"?></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> <alpha xmlns:android="http://schemas.android.com/apk/res/android"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> android:duration="100"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:fromAlpha="0.0"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> android:interpolator="@android:anim/accelerate_interpolator"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> android:toAlpha="1.0" /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: inherit; font-size: large;"><u>*Push Left In</u></span><br />
<span style="font-family: inherit; font-size: large;"> </span><span style="font-family: Arial, Helvetica, sans-serif;"><?xml version="1.0" encoding="utf-8"?></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> <set xmlns:android="http://schemas.android.com/apk/res/android"></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> <translate android:fromXDelta="100%p" android:toXDelta="0"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> android:duration="300"/></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> <alpha android:fromAlpha="0.0" android:toAlpha="1.0"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> android:duration="300" /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> </set></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: inherit; font-size: large;"><u>*Push Left Out</u></span><br />
<span style="font-family: inherit; font-size: large;"> </span><span style="font-family: Arial, Helvetica, sans-serif;"> </span><span style="font-family: Arial, Helvetica, sans-serif;"><?xml version="1.0" encoding="utf-8"?></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> <set xmlns:android="http://schemas.android.com/apk/res/android"></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> <translate android:fromXDelta="0" android:toXDelta="-100%p"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> android:duration="300"/></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> <alpha android:fromAlpha="1.0" android:toAlpha="0.0"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> android:duration="300" /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> </set></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: inherit; font-size: large;"><u>*Push Up In</u></span><br />
<span style="font-size: large;"> </span><span style="font-family: Arial, Helvetica, sans-serif;"><?xml version="1.0" encoding="utf-8"?></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> <set xmlns:android="http://schemas.android.com/apk/res/android"></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> <translate android:fromYDelta="100%p" android:toYDelta="0"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> android:duration="500"/></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> <alpha android:fromAlpha="0.0" android:toAlpha="1.0"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> android:duration="500" /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> </set></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: inherit; font-size: large;"><u>*Push Up Out</u></span><br />
<span style="font-family: inherit; font-size: large;"> </span><span style="font-family: Arial, Helvetica, sans-serif;"> <?xml version="1.0" encoding="utf-8"?></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> <set xmlns:android="http://schemas.android.com/apk/res/android"></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> <translate android:fromYDelta="0" android:toYDelta="-100%p"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> android:duration="500"/></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> <alpha android:fromAlpha="1.0" android:toAlpha="0.0"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:duration="500" /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> </set></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: inherit; font-size: large;"><u>*Hyper Space In</u></span><br />
<span style="font-size: large;"> </span><span style="font-family: Arial, Helvetica, sans-serif;"> <?xml version="1.0" encoding="utf-8"?></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> <alpha xmlns:android="http://schemas.android.com/apk/res/android" </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:fromAlpha="0.0" android:toAlpha="1.0" </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:duration="300" android:startOffset="1200" /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: inherit; font-size: large;"><u>*Hyper Space Out</u></span><br />
<span style="font-family: inherit; font-size: large;"> </span><span style="font-family: Arial, Helvetica, sans-serif;"><?xml version="1.0" encoding="utf-8"?></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> <set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false"> </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> <scale</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:interpolator="@android:anim/accelerate_decelerate_interpolator"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:fromXScale="1.0"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:toXScale="1.4"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> android:fromYScale="1.0"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> android:toYScale="0.6"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:pivotX="50%"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:pivotY="50%"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:fillAfter="false"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:duration="700" /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> <set</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:interpolator="@android:anim/accelerate_interpolator"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:startOffset="700"></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> <scale</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:fromXScale="1.4"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:toXScale="0.0"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:fromYScale="0.6"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:toYScale="0.0"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:pivotX="50%"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:pivotY="50%"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:duration="400" /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> <rotate</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:fromDegrees="0"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:toDegrees="-45"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:toYScale="0.0"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:pivotX="50%"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:pivotY="50%"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:duration="400" /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> </set></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> </set></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: inherit; font-size: large;"><u>*Shake</u></span><br />
<span style="font-family: inherit; font-size: large;"><u><br /></u></span><span style="font-family: inherit; font-size: large;"> </span><span style="font-family: Arial, Helvetica, sans-serif;"> <?xml version="1.0" encoding="utf-8"?></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> <translate xmlns:android="http://schemas.android.com/apk/res/android"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:fromXDelta="0" android:toXDelta="10"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:duration="1000" android:interpolator="@anim/cycle" /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: inherit; font-size: large;"><u>*Wave Scale</u></span><br />
<span style="font-family: inherit; font-size: large;"><u><br /></u></span><span style="font-family: inherit; font-size: large;"> </span><span style="font-family: Arial, Helvetica, sans-serif;"> <set xmlns:android="http://schemas.android.com/apk/res/android"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">android:interpolator="@android:anim/accelerate_interpolator"></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> <alpha</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:fromAlpha="0.0"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:toAlpha="1.0"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:duration="100" /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> <scale</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:fromXScale="0.5" android:toXScale="1.5"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:fromYScale="0.5" android:toYScale="1.5"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:pivotX="50%" android:pivotY="50%"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:duration="200" /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> <scale</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> android:fromXScale="1.5" android:toXScale="1.0"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:fromYScale="1.5" android:toYScale="1.0"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:pivotX="50%" android:pivotY="50%"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:startOffset="200"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:duration="100" /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"></set></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: inherit; font-size: large;"><u>*Slide In Top</u></span><br />
<span style="font-family: inherit; font-size: large;"> </span><span style="font-family: Arial, Helvetica, sans-serif;"> <?xml version="1.0" encoding="utf-8"?></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> <set xmlns:android="http://schemas.android.com/apk/res/android"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> android:interpolator="@android:anim/accelerate_interpolator"></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> <translate android:fromYDelta="-100%" android:toXDelta="0"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> android:duration="100" /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> <alpha android:fromAlpha="0.0" android:toAlpha="1.0"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:duration="50" /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> </set></span><br />
<span style="font-family: inherit; font-size: large;"><u>*Slide In Top To Bottom</u></span><br />
<span style="font-family: inherit; font-size: large;"> </span><span style="font-family: Arial, Helvetica, sans-serif;"> <?xml version="1.0" encoding="utf-8"?></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> <set></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> <set xmlns:android="http://schemas.android.com/apk/res/android"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:interpolator="@android:anim/accelerate_interpolator"></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> <translate android:fromYDelta="-100%" android:toXDelta="0"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> android:duration="100" /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> <alpha android:fromAlpha="0.0" android:toAlpha="1.0"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> android:duration="50" /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> </set></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;"> </set></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: inherit; font-size: large;"><u>*Cycle</u></span><br />
<span style="font-family: inherit; font-size: large;"> </span><span style="font-family: Arial, Helvetica, sans-serif;"><cycleInterpolator xmlns:android="http://schemas.android.com/apk/res/android"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> android:cycles="7" /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: Arial, Helvetica, sans-serif;">After creating the XML file now its time to code the MainActivity.java .</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><span style="font-family: inherit; font-size: large;"><u><b>MainActivity.java</b></u></span><br />
<div style="text-align: justify;">
<b style="font-family: inherit; font-size: x-large;"> </b><span style="font-family: Arial, Helvetica, sans-serif;"> package com.example.listviewanimation;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;">import java.util.ArrayList;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;">import android.app.Activity;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;">import android.content.Context;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;">import android.os.Bundle;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;">import android.util.DisplayMetrics;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;">import android.view.LayoutInflater;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;">import android.view.Menu;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;">import android.view.MenuItem;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;">import android.view.View;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;">import android.view.ViewGroup;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;">import android.view.animation.Animation;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;">import android.view.animation.AnimationUtils;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;">import android.view.animation.ScaleAnimation;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;">import android.view.animation.TranslateAnimation;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;">import android.widget.ArrayAdapter;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;">import android.widget.ListView;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;">import android.widget.TextView;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;">public class MainActivity extends Activity {</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>private ListView listview;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>private DisplayMetrics metrics;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>private int mode = 1;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>@Override</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>public void onCreate(Bundle savedInstanceState) {</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>super.onCreate(savedInstanceState);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span class="Apple-tab-span" style="white-space: pre;"><span style="font-family: Arial, Helvetica, sans-serif;"> </span></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>metrics = new DisplayMetrics();</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>getWindowManager().getDefaultDisplay().getMetrics(metrics);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>listview = new ListView(this);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>listview.setFadingEdgeLength(0);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>ArrayList<String> strings = new ArrayList<String>();</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>for (int i = 0; i < 300; i++) {</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>strings.add("Item:#" + (i + 1));</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>MainAdapter mAdapter = new MainAdapter(this, strings, metrics);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>listview.setAdapter(mAdapter);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>setContentView(listview);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>public boolean onCreateOptionsMenu(Menu menu) {</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>boolean result = super.onCreateOptionsMenu(menu);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>menu.add(Menu.NONE, 1, 0, "TranslateAnimation1");</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>menu.add(Menu.NONE, 2, 0, "TranslateAnimation2");</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>menu.add(Menu.NONE, 3, 0, "ScaleAnimation");</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>menu.add(Menu.NONE, 4, 0, "fade_in");</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>menu.add(Menu.NONE, 5, 0, "hyper_space_in");</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>menu.add(Menu.NONE, 6, 0, "hyper_space_out");</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>menu.add(Menu.NONE, 7, 0, "wave_scale");</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>menu.add(Menu.NONE, 8, 0, "push_left_in");</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>menu.add(Menu.NONE, 9, 0, "push_left_out");</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>menu.add(Menu.NONE, 10, 0, "push_up_in");</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>menu.add(Menu.NONE, 11, 0, "push_up_out");</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>menu.add(Menu.NONE, 12, 0, "shake");</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>return result;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>@Override</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>public boolean onOptionsItemSelected(MenuItem item) {</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>mode = item.getItemId();</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>return super.onOptionsItemSelected(item);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>public class MainAdapter extends ArrayAdapter<String> {</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>private Context context;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>private LayoutInflater mInflater;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>private ArrayList<String> strings;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>private DisplayMetrics metrics_;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>private class Holder {</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>public TextView textview;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>public MainAdapter(Context context, ArrayList<String> strings,</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>DisplayMetrics metrics) {</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>super(context, 0, strings);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>this.context = context;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>this.mInflater = (LayoutInflater) this.context</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>.getSystemService(Context.LAYOUT_INFLATER_SERVICE);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>this.strings = strings;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>this.metrics_ = metrics;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>@Override</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>public View getView(final int position, View convertView,</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>ViewGroup parent) {</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>final String str = this.strings.get(position);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>final Holder holder;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if (convertView == null) {</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>convertView = mInflater.inflate(</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>android.R.layout.simple_list_item_1, null);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>convertView.setBackgroundColor(0xFF202020);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>holder = new Holder();</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>holder.textview = (TextView) convertView</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>.findViewById(android.R.id.text1);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>holder.textview.setTextColor(0xFFFFFFFF);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>holder.textview.setBackgroundResource(R.drawable.background);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>convertView.setTag(holder);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>} else {</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>holder = (Holder) convertView.getTag();</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>holder.textview.setText(str);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>Animation animation = null;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>switch (mode) {</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>case 1:</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>animation = new TranslateAnimation(metrics_.widthPixels / 2, 0,</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>0, 0);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>break;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>case 2:</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>animation = new TranslateAnimation(0, 0, metrics_.heightPixels,</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>0);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>break;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>case 3:</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>animation = new ScaleAnimation((float) 1.0, (float) 1.0,</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>(float) 0, (float) 1.0);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>break;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>case 4:</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span> animation = AnimationUtils.loadAnimation(context, R.anim.fadein);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>break;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>case 5:</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>animation = AnimationUtils.loadAnimation(context, R.anim.hyperspacein);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>break;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>case 6:</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>animation = AnimationUtils.loadAnimation(context, R.anim.hyperspaceout);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>break;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>case 7:</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>animation = AnimationUtils.loadAnimation(context, R.anim.wavescale);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>break;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>case 8:</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>animation = AnimationUtils.loadAnimation(context, R.anim.pushleftin);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>break;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>case 9:</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>animation = AnimationUtils.loadAnimation(context, R.anim.pushleftout);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>break;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>case 10:</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>animation = AnimationUtils.loadAnimation(context, R.anim.pushupin);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>break;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>case 11:</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>animation = AnimationUtils.loadAnimation(context, R.anim.pushupout);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>break;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>case 12:</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>animation = AnimationUtils.loadAnimation(context, R.anim.shake);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>break;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;">//<span class="Apple-tab-span" style="white-space: pre;"> </span>animation.setDuration(500);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>convertView.startAnimation(animation);</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>animation = null;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>return convertView;</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;">}</span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: justify;">
<span style="font-family: Arial, Helvetica, sans-serif;">Now the Listview Animation is ready ......</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;"> </span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1g_10_I0Fej1H0_qud_kEQg2nCzQ9R0WRGOAgyvfdL3ID9dSMv-rLIy8fGu3QzrRs3XFtKIzuFKsCLdO0PYgTyumqIpXa3i9RbsMD6pL8SXv2N9uLvV3z0qZHr3I444vD5T_PVAonEH0/s1600/Capture2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1g_10_I0Fej1H0_qud_kEQg2nCzQ9R0WRGOAgyvfdL3ID9dSMv-rLIy8fGu3QzrRs3XFtKIzuFKsCLdO0PYgTyumqIpXa3i9RbsMD6pL8SXv2N9uLvV3z0qZHr3I444vD5T_PVAonEH0/s1600/Capture2.PNG" height="320" width="215" /></a></span></div>
</div>
</div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com0tag:blogger.com,1999:blog-7337838332721937337.post-64329838393778256612014-04-10T02:17:00.001-07:002014-04-10T02:17:45.184-07:00Listview Tutorial <div dir="ltr" style="text-align: left;" trbidi="on">
<strong style="background-color: white; line-height: 18px;"><span style="font-size: large;">Listview Tutorial <span style="color: #444444;"> </span></span></strong><br />
<strong style="background-color: white; line-height: 18px;"><span style="font-size: large;"><span style="color: #444444;"><br /></span></span></strong>
<div>
<div class="line number31 index30 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<div style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace;">
<span style="font-family: 'Times New Roman'; line-height: 18px; white-space: normal;"><span style="font-size: large;">In this tutorial i will be demostrating to build a simple listview </span></span><br />
<span style="font-family: 'Times New Roman'; line-height: 18px; white-space: normal;"><span style="font-size: large;"><br /></span></span>
<span style="font-family: 'Times New Roman'; line-height: 18px; white-space: normal;"><span style="font-size: large;">.In this project we are going to create a simple listview .</span></span><br />
<span style="font-family: 'Times New Roman'; line-height: 18px; white-space: normal;"><span style="font-size: large;"><br /></span></span>
<span style="font-family: 'Times New Roman'; line-height: 18px; white-space: normal;"><span style="font-size: large;">1)Create a new android application project in eclipse </span></span><br />
<span style="font-family: 'Times New Roman'; line-height: 18px; white-space: normal;"><span style="font-size: large;"><br /></span></span>
<span style="font-family: 'Times New Roman'; line-height: 18px; white-space: normal;"><span style="font-size: large;">2)Then after craeting a new project you have to edit the activity_mail.xml file , As shown below</span></span><br />
<u style="color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 16px; line-height: 26px; white-space: normal;"><b><span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></b></u>
<u style="font-family: Helvetica, Arial, sans-serif; font-size: 16px; line-height: 26px; white-space: normal;"><b><span style="font-family: Arial, Helvetica, sans-serif;">activity_main.xml</span></b></u><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px; white-space: normal;"><u><br /></u><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px; white-space: normal;"> xmlns:tools="http://schemas.android.com/tools"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px; white-space: normal;"> android:layout_width="match_parent"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px; white-space: normal;"> android:layout_height="match_parent"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px; white-space: normal;"> </span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px; white-space: normal;"> tools:context=".MainActivity" ></span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px; white-space: normal;"><br /></span><span style="font-family: Helvetica, Arial, sans-serif; font-size: 16px; line-height: 26px; white-space: normal;"></span><span style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px; white-space: normal;"> <ListView</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px; white-space: normal;"> android:id="@+id/listView1"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px; white-space: normal;"> android:layout_width="match_parent"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px; white-space: normal;"> android:layout_height="wrap_content"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px; white-space: normal;"> android:layout_alignParentLeft="true"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px; white-space: normal;"> android:layout_alignParentTop="true" ></span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px; white-space: normal;"> </ListView></span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px; white-space: normal;"><br /></span><span style="font-family: Helvetica, Arial, sans-serif; font-size: 16px; line-height: 26px; white-space: normal;"></span><span style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px; white-space: normal;"></RelativeLayout></span></div>
</div>
<div class="line number31 index30 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">
<div style="line-height: 15.399999618530273px; white-space: pre !important;">
<br /></div>
<div style="line-height: 15.399999618530273px; white-space: pre !important;">
<br /></div>
</div>
</div>
<span style="font-size: large;"><b> </b> 3)After editing the activity_main.xml file now you have to code the main activity file as shown below</span><br />
<span style="font-size: large;"><span style="font-family: inherit; widows: 1;"><b><br /></b></span></span><u style="background-color: white; font-family: Helvetica, Arial, sans-serif; font-size: 16px; line-height: 26px;"><b><span style="font-family: Arial, Helvetica, sans-serif;">Mainactivity.java</span></b></u><br />
<span style="background-color: white; color: #666666; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;"><br /></span><span style="background-color: white; font-family: Helvetica, Arial, sans-serif; font-size: 16px; line-height: 26px;"></span><span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;">package com.example.listviewbasic;</span><br />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;"><br /></span><span style="background-color: white; font-family: Helvetica, Arial, sans-serif; font-size: 16px; line-height: 26px;"></span><span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;">import android.os.Bundle;</span><br />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;">import android.app.Activity;</span><br />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;">import android.widget.ArrayAdapter;</span><br />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;">import android.widget.ListView;</span><br />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;"><br /></span><span style="background-color: white; font-family: Helvetica, Arial, sans-serif; font-size: 16px; line-height: 26px;"></span><span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;">public class MainActivity extends Activity {</span><br />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;"><span class="Apple-tab-span" style="white-space: pre;"> </span>String[] countries = new String[] {</span><br />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;"><span class="Apple-tab-span" style="white-space: pre;"> </span>"apple",</span><br />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;"><span class="Apple-tab-span" style="white-space: pre;"> </span>"grapes",</span><br />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;"><span class="Apple-tab-span" style="white-space: pre;"> </span>"orange",</span><br />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;"><span class="Apple-tab-span" style="white-space: pre;"> </span>"mango",</span><br />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;"><span class="Apple-tab-span" style="white-space: pre;"> </span>"water melon",</span><br />
<span class="Apple-tab-span" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px; white-space: pre;"> </span><br />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;"><span class="Apple-tab-span" style="white-space: pre;"> </span>};</span><br />
<span class="Apple-tab-span" style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px; white-space: pre;"> </span><br />
<br style="background-color: white; font-family: Helvetica, Arial, sans-serif; font-size: 16px; line-height: 26px;" />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> @Override</span><br />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> public void onCreate(Bundle savedInstanceState) {</span><br />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> super.onCreate(savedInstanceState);</span><br />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> setContentView(R.layout.activity_main);</span><br />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> </span><br />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> </span><br />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, countries); </span><br />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> ListView listView = (ListView) findViewById(R.id.listView1);</span><br />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> </span><span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;">listView.setAdapter(adapter); </span><br />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;"><span class="Apple-tab-span" style="white-space: pre;"> </span> }</span><br />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span><br />
<span style="background-color: white; color: #666666; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px;"><br /></span><span style="font-size: large;"><b> </b>4)Now the basic listview is ready.</span><br />
<span style="font-size: large;"> </span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRWGZjp9HJsqAYGAgHhraZn3LBp0DtOmS2t6AE1JU3eHi61-fpN_qcm5mLyTDE9pMC1gKz7Xoe0cIDY5-1juoSae7H19AXrZ-WqRo13VeHWUtjFNuqpG1gg6SNna7yBpTYGeChnGl5Xnc/s1600/Capture1.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRWGZjp9HJsqAYGAgHhraZn3LBp0DtOmS2t6AE1JU3eHi61-fpN_qcm5mLyTDE9pMC1gKz7Xoe0cIDY5-1juoSae7H19AXrZ-WqRo13VeHWUtjFNuqpG1gg6SNna7yBpTYGeChnGl5Xnc/s1600/Capture1.PNG" height="320" width="215" /></a></span></div>
<br />
<div>
<span style="font-size: large;"><br /></span></div>
</div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com1tag:blogger.com,1999:blog-7337838332721937337.post-11934205327217830392014-04-10T02:10:00.001-07:002014-04-10T02:10:08.376-07:00Hello world Application<div dir="ltr" style="text-align: left;" trbidi="on">
<h1 align="JUSTIFY" class="western" style="widows: 136;">
<span style="font-size: x-large;"><i>Here you can learn about Android applications with Intents and Activity:</i></span></h1>
<h2 align="LEFT" class="western" style="widows: 1;">
<ul>
<li>HelloWorld Application in Android</li>
</ul>
</h2>
<h1 align="JUSTIFY" class="western" style="widows: 8;">
<span style="font-family: inherit; font-size: large; font-weight: normal;">In this article you are going to see how to create a hello world applictaion.</span></h1>
<h1 align="JUSTIFY" class="western" style="widows: 8;">
<div align="LEFT" style="page-break-inside: avoid; widows: 1;">
<span style="background-color: white; font-size: large; font-weight: normal;">1.Open Eclipse IDE </span><br />
<span style="background-color: white; font-family: inherit; font-size: large; font-weight: normal;"><br /></span></div>
<div align="LEFT" style="page-break-inside: avoid; widows: 1;">
<div align="JUSTIFY" style="widows: 136;">
<div align="JUSTIFY" style="widows: 8;">
<span style="color: black;"><span style="background-color: white; font-weight: normal;"><span style="font-family: inherit; font-size: large;">2.Click File -> New -> Project -> Android Application Project</span></span></span></div>
<div align="JUSTIFY" style="widows: 8;">
<span style="color: black;"><span style="background-color: white; font-weight: normal;"><span style="font-family: inherit; font-size: large;"><br /></span></span></span></div>
<div align="JUSTIFY" style="widows: 8;">
<span style="font-family: inherit; font-size: large; font-weight: normal;"><span style="color: black;"><span style="background-color: white; background-position: initial initial; background-repeat: initial initial;">3.Enter the name of the application as HelloWorld and click next </span></span></span></div>
<div align="JUSTIFY" style="widows: 8;">
<span style="font-family: inherit; font-size: large; font-weight: normal;"><span style="color: black;"><span style="background-color: white; background-position: initial initial; background-repeat: initial initial;"><br /></span></span></span></div>
<div align="JUSTIFY" style="widows: 8;">
<span style="font-family: inherit; font-size: large; font-weight: normal;">4.Make sure that you have ena</span></div>
<div align="JUSTIFY" style="widows: 8;">
<span style="font-family: inherit; font-size: large; font-weight: normal;"><span style="color: black;"><span style="background-color: white; background-position: initial initial; background-repeat: initial initial;"><br /></span></span></span></div>
<span style="font-family: inherit; font-size: large; font-weight: normal;"><span style="text-align: left; widows: 8;">5.Design application launcher icon and create a blank activity </span><span style="background-color: white; text-align: left; widows: 1;">workspace</span></span><br />
<span style="font-family: inherit; font-size: large; font-weight: normal;"><span style="background-color: white; text-align: left; widows: 1;"><br /></span></span><span style="font-family: inherit; font-size: large; font-weight: normal;"><span style="background-color: white; text-align: left; widows: 1;">6.Enter the main activity details.</span></span><br />
<span style="font-family: inherit; font-size: large; font-weight: normal;"><span style="background-color: white; text-align: left; widows: 1;"><br /></span></span>
<span style="font-family: inherit; font-size: large; font-weight: normal;"><span style="background-color: white; text-align: left; widows: 1;">7.Now the Hello World example is ready .</span></span><br />
<span style="font-family: inherit; font-size: large; font-weight: normal;"><span style="background-color: white; text-align: left; widows: 1;"><br /></span></span>
<span style="font-family: inherit; font-size: large; font-weight: normal;"><span style="background-color: white; text-align: left; widows: 1;"><br /></span></span>
<span style="font-family: inherit; font-size: large; font-weight: normal;"><span style="background-color: white; text-align: left; widows: 1;"> </span></span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: inherit; font-size: large; font-weight: normal;"><span style="background-color: white; text-align: left; widows: 1;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUhZwmeGI4lzLnZmLzrDX_U6saBmP-531kyk-mYgHbbdpf5IMU-B4xDsAJ-0NjfjjPMGO0-GoosZyZZm39mWmaOpM-OBYZJr9kv-6lwb0VW1ZY1CNmAraedBl3kQV0zmmeqNcldJGOxBw/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUhZwmeGI4lzLnZmLzrDX_U6saBmP-531kyk-mYgHbbdpf5IMU-B4xDsAJ-0NjfjjPMGO0-GoosZyZZm39mWmaOpM-OBYZJr9kv-6lwb0VW1ZY1CNmAraedBl3kQV0zmmeqNcldJGOxBw/s1600/Capture.PNG" height="320" width="198" /></a></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: inherit; font-size: large; font-weight: normal;"><span style="background-color: white; text-align: left; widows: 1;"><br /></span></span></div>
<div style="font-size: medium; line-height: 18px; widows: auto;">
<span style="font-family: inherit; font-size: large; font-weight: normal;"><span style="background-color: white; text-align: left; widows: 1;"><span style="color: red; font-size: large;"><b><span style="font-family: inherit;"><u><a href="https://sites.google.com/site/mobileapptechnology/HelloWorld.rar?attredirects=0&d=1" target="_blank">Download source code</a></u></span></b></span></span></span></div>
<div>
<span style="font-family: inherit; font-size: large; font-weight: normal;"><span style="background-color: white; text-align: left; widows: 1;"><span style="color: red; font-size: large;"><b><span style="font-family: inherit;"><br /></span></b></span></span></span></div>
</div>
</div>
</h1>
</div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com0tag:blogger.com,1999:blog-7337838332721937337.post-7349278781917408162014-04-10T02:01:00.000-07:002014-04-10T02:02:27.396-07:00Android introduction<div dir="ltr" style="text-align: left;" trbidi="on">
<h1 class="western">
<span style="color: black;"><span style="font-family: inherit; font-size: x-large;">Android Programming Tutorial</span></span></h1>
<h1 class="western">
<div align="JUSTIFY" style="font-weight: normal; widows: 8;">
<span style="color: black;"><span style="font-family: inherit; font-size: large;"> <span style="font-family: inherit;"> Android is an open source and Linux-based operating system for mobile devices such as smartphones and tablet computers. Android was developed by the <i>Open Handset Alliance</i>, led by Google, and other companies.</span></span></span><br />
<span style="color: black;"><span style="font-family: inherit; font-size: large;"><br /></span></span></div>
<div align="JUSTIFY" style="font-weight: normal; widows: 8;">
<span style="color: black;"><span style="font-family: inherit; font-size: large;"> This tutorial will teach you basic Android programming and will also take you through some advance concepts related to Android application development.</span></span><br />
<span style="font-family: inherit; font-size: large;"><span style="color: black;"><br /></span><span style="text-align: left;"> This tutorial has been prepared for the beginners to help them understand basic Android programming. After completing this tutorial you will find yourself at a moderate level of expertise in Android programming.</span></span></div>
</h1>
<h2 align="JUSTIFY" class="western" style="widows: 8;">
<span style="color: black;"><span style="font-family: inherit; font-size: x-large;">Features of Android</span></span></h2>
<h1 class="western">
<div align="JUSTIFY" style="font-weight: normal; widows: 8;">
<div style="font-size: medium; text-align: left; widows: auto;">
<div align="JUSTIFY" style="widows: 136;">
<span style="font-family: inherit; font-size: large;">The Android features are listed below </span><br />
<span style="font-family: inherit; font-size: large;"><br /></span>
<span style="font-family: inherit; font-size: large;"> </span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMNZwJmqOVMVdNrIYsOuA_1AUJsKYL2q6X0zIRtALpY5EpQd0P-UHQmhHexwhw7CpZS7peBBvbWnky5NWd8_yLBZJxuJaPszPKS06REx1qvB_S9NZhzbi2tVjkNIplMtf7yjHGe44oNxA/s1600/features.PNG" imageanchor="1" style="font-family: inherit; font-size: x-large; margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMNZwJmqOVMVdNrIYsOuA_1AUJsKYL2q6X0zIRtALpY5EpQd0P-UHQmhHexwhw7CpZS7peBBvbWnky5NWd8_yLBZJxuJaPszPKS06REx1qvB_S9NZhzbi2tVjkNIplMtf7yjHGe44oNxA/s1600/features.PNG" height="368" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div>
<span style="widows: 8;"><span style="font-family: inherit; font-size: x-large;"><b>Android Applications</b></span></span></div>
<div align="JUSTIFY" style="widows: 8;">
<span style="color: black;"><span style="font-family: inherit; font-size: large;"> Android applications are usually developed in the Java language using the Android Software Development Kit.</span></span></div>
<div align="JUSTIFY" style="widows: 8;">
<span style="color: black;"><span style="font-family: inherit; font-size: large;"><br /></span></span></div>
<div align="JUSTIFY" style="widows: 8;">
<span style="color: black;"><span style="font-family: Helvetica, Arial, sans-serif; font-size: 9pt;"> </span><span style="font-family: inherit; font-size: large;"> Once developed, Android applications can be packaged easily and sold out either through a Google Play Store or the Amazon Appstore.</span></span></div>
<div align="JUSTIFY" style="widows: 8;">
<span style="color: black;"><span style="font-family: inherit; font-size: large;"><br /></span></span></div>
<div align="JUSTIFY" style="widows: 8;">
<span style="color: black;"><span style="font-family: inherit; font-size: large;"> <span style="font-family: inherit;"><b> The requirements of android application development are</b></span></span></span></div>
<div align="JUSTIFY" style="widows: 8;">
<span style="color: black;"><span style="font-family: inherit; font-size: large;"><br /></span></span></div>
<div align="JUSTIFY" style="widows: 8;">
<span style="color: black;"><span style="font-family: inherit; font-size: large;"> 1.JAVA JDK 5/JDK6/JDK7</span></span></div>
<div align="JUSTIFY" style="widows: 8;">
<span style="color: black;"><span style="font-family: inherit; font-size: large;"><br /></span></span></div>
<div align="JUSTIFY" style="widows: 8;">
<span style="color: black;"><span style="font-family: inherit; font-size: large;"> 2.Android SDK</span></span></div>
<div align="JUSTIFY" style="widows: 8;">
<span style="color: black;"><span style="font-family: inherit; font-size: large;"><br /></span></span></div>
<div align="JUSTIFY" style="widows: 8;">
<span style="color: black;"><span style="font-family: inherit; font-size: large;"> 3.Android development tool(ADT) Eclipse Plugin</span></span></div>
<div align="JUSTIFY" style="widows: 8;">
<span style="color: black;"><span style="font-family: inherit; font-size: large;"><br /></span></span></div>
<div align="JUSTIFY" style="widows: 8;">
<span style="color: black;"><span style="font-family: inherit; font-size: large;"> 4.Eclipse IDE for JAVA developers</span></span><br />
<span style="color: black;"><span style="font-family: inherit; font-size: large;"><br /></span></span>
<div align="JUSTIFY">
<span style="font-family: inherit; font-size: large;"><span style="color: black;"> <span style="font-family: inherit;"> Here last two components are optional and if you are working on Windows machine then these components make your life easy while doing Java based application development. So let us have a look how to proceed to set required environment.</span></span></span><br />
<div class="separator" style="clear: both; text-align: center;">
</div>
</div>
<div align="JUSTIFY">
</div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
</div>
</div>
</div>
</h1>
<h2 align="JUSTIFY" class="western">
</h2>
</div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com0tag:blogger.com,1999:blog-7337838332721937337.post-46685354371427673602014-01-23T02:50:00.002-08:002014-04-10T03:42:19.456-07:00Home<div dir="ltr" style="text-align: left;" trbidi="on">
<h1 style="background-color: white; line-height: 30px; margin: 5px 0px 0px; padding: 0px;">
<div align="LEFT" style="page-break-inside: avoid; widows: 1;">
<span style="color: black;"><span style="font-size: x-large;"><span style="font-family: inherit;">Mobile
Apps</span></span></span></div>
<div align="LEFT" style="color: #222222; font-family: Georgia, Times, serif; widows: 1;">
<span style="color: black;">
</span></div>
<div align="LEFT" style="color: #222222; font-family: Georgia, Times, serif; widows: 1;">
<span style="color: black;"> <span style="font-size: large;"> <span style="font-family: inherit;"><span style="font-weight: normal;">Ready
to build a mobile application with the IOS or Android SDK? Learn how
with our mobile tutorials that cover IOS and Android development.</span></span></span></span></div>
<div align="LEFT" style="color: #222222; font-family: Georgia, Times, serif; font-weight: normal; widows: 1;">
<span style="color: black;"><span style="font-family: Times New Roman; font-size: large;"><span style="font-family: inherit;"><br /></span> <span style="font-family: inherit;">In
a world where smartphone use is rising exponentially, the
opportunities to make a name for yourself, not to mention a ton of
money, by turning your app idea into reality are huge. But most
designers don't know how to build an app - so where do you start?</span></span></span></div>
<div align="LEFT" style="font-weight: normal; widows: 1;">
<div style="color: #222222; font-family: Georgia, Times, serif;">
<span style="color: black;"><span style="font-family: Times New Roman; font-size: large;"><span style="font-family: inherit;"><br /></span> <span style="font-family: inherit;">Well
firstly, if you'd like to start building an app for the iPhone , iPad,Android,Blackberry then check out this great selection of tutorials...</span></span></span><br />
<span style="color: black;"><span style="font-family: Times New Roman; font-size: large;"><span style="font-family: inherit;"> </span></span></span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="color: black;"><span style="font-family: Times New Roman; font-size: large;"><span style="font-family: inherit;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0P6EK_mYIblQZUM5E5y-KuQ76My_7s3awarKfh2m6CCB8iqZOmGK7uJh_9bTzEqRWWqgYka5dEfKJOL6vfL948mfa9GuGlgXXG09vlZ7zVbpNMQLiiZ_nCQ2huEhkQPbWLFoFRL58oxU/s1600/mobile-apps_widescreen.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0P6EK_mYIblQZUM5E5y-KuQ76My_7s3awarKfh2m6CCB8iqZOmGK7uJh_9bTzEqRWWqgYka5dEfKJOL6vfL948mfa9GuGlgXXG09vlZ7zVbpNMQLiiZ_nCQ2huEhkQPbWLFoFRL58oxU/s1600/mobile-apps_widescreen.jpg" height="297" width="640" /></a></span></span></span></div>
<span style="color: black;"><span style="font-family: Times New Roman; font-size: large;"><span style="font-family: inherit;"> </span></span></span><br />
<span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-family: inherit;"><span style="font-size: large;"><br /></span></span></span></span></span>
<span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-family: inherit;"><span style="font-size: large;"> </span></span></span></span></span></div>
<br />
<div style="color: #222222; font-family: Georgia, Times, serif;">
<span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-family: inherit;"><br /></span></span></span></span></div>
<div style="font-family: Georgia, Times, serif;">
<span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-family: inherit;"><span style="color: #222222;"> </span></span></span></span></span></div>
</div>
<div align="LEFT" style="color: #222222; font-family: Georgia, Times, serif; widows: 1;">
<br /></div>
<div align="LEFT" style="color: #222222; font-family: Georgia, Times, serif; widows: 1;">
<br /></div>
<div align="LEFT" style="color: #222222; font-family: Georgia, Times, serif; widows: 1;">
<br /></div>
<div align="LEFT" style="color: #222222; font-family: Georgia, Times, serif; widows: 1;">
<br /></div>
<div align="LEFT" style="color: #222222; font-family: Georgia, Times, serif; font-weight: normal; widows: 1;">
<br /></div>
</h1>
<div>
<div class="line number31 index30 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<code class="xml plain" style="background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><b style="color: #444444; font-family: 'Times New Roman'; line-height: 18px; white-space: normal;"><br /></b></code></div>
<div class="line number31 index30 alt2" style="background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #444444; direction: ltr !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 15.399999618530273px; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;">
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
</div>
</div>
</div>
jaganhttp://www.blogger.com/profile/15371620538287622421noreply@blogger.com0