<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>AndroidZA - Android Development</title>
		<link>http://www.androidza.co.za/forum/</link>
		<description>Use this category to post design and development ideas you have, or share developments you have created.</description>
		<language>en</language>
		<lastBuildDate>Thu, 20 Jun 2013 06:42:45 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.androidza.co.za/forum/images/misc/rss.png</url>
			<title>AndroidZA - Android Development</title>
			<link>http://www.androidza.co.za/forum/</link>
		</image>
		<item>
			<title>How to create functionality in a playlist page(create playlist)?</title>
			<link>http://www.androidza.co.za/forum/showthread.php/2826-How-to-create-functionality-in-a-playlist-page(create-playlist)?goto=newpost</link>
			<pubDate>Mon, 03 Jun 2013 08:58:32 GMT</pubDate>
			<description>Hi , I have a pm3 player which has a playlist page . The page needs to have a add button to allow the user to create a name for he/her playlist , how...</description>
			<content:encoded><![CDATA[<div>Hi , I have a pm3 player which has a playlist page . The page needs to have a add button to allow the user to create a name for he/her playlist , how would I go on ,on doing this?</div>

]]></content:encoded>
			<category domain="http://www.androidza.co.za/forum/forumdisplay.php/30-Android-Development">Android Development</category>
			<dc:creator>sherlockjones</dc:creator>
			<guid isPermaLink="true">http://www.androidza.co.za/forum/showthread.php/2826-How-to-create-functionality-in-a-playlist-page(create-playlist)</guid>
		</item>
		<item>
			<title>Force connection to particular WiFi connection</title>
			<link>http://www.androidza.co.za/forum/showthread.php/2821-Force-connection-to-particular-WiFi-connection?goto=newpost</link>
			<pubDate>Tue, 28 May 2013 11:23:18 GMT</pubDate>
			<description>Is there any way that I, in my app, can force connection to a particular WiFi network?</description>
			<content:encoded><![CDATA[<div>Is there any way that I, in my app, can force connection to a particular WiFi network?</div>

]]></content:encoded>
			<category domain="http://www.androidza.co.za/forum/forumdisplay.php/30-Android-Development">Android Development</category>
			<dc:creator>straygrey</dc:creator>
			<guid isPermaLink="true">http://www.androidza.co.za/forum/showthread.php/2821-Force-connection-to-particular-WiFi-connection</guid>
		</item>
		<item>
			<title>Alter default error message on connecting to WiFi in airplane mode</title>
			<link>http://www.androidza.co.za/forum/showthread.php/2820-Alter-default-error-message-on-connecting-to-WiFi-in-airplane-mode?goto=newpost</link>
			<pubDate>Tue, 28 May 2013 11:20:30 GMT</pubDate>
			<description>Is there any way I can alter/overwrite the default error message displayed to a user from my app when they attempt to connect to WiFi while in...</description>
			<content:encoded><![CDATA[<div>Is there any way I can alter/overwrite the default error message displayed to a user from my app when they attempt to connect to WiFi while in airplane mode?</div>

]]></content:encoded>
			<category domain="http://www.androidza.co.za/forum/forumdisplay.php/30-Android-Development">Android Development</category>
			<dc:creator>straygrey</dc:creator>
			<guid isPermaLink="true">http://www.androidza.co.za/forum/showthread.php/2820-Alter-default-error-message-on-connecting-to-WiFi-in-airplane-mode</guid>
		</item>
		<item>
			<title>Implementing Slide in menu to your app?</title>
			<link>http://www.androidza.co.za/forum/showthread.php/2819-Implementing-Slide-in-menu-to-your-app?goto=newpost</link>
			<pubDate>Tue, 28 May 2013 09:45:13 GMT</pubDate>
			<description>Hi I have a fully functional media player that I want to implement my slide in menu , it does work on my design but can get in it exactly where I...</description>
			<content:encoded><![CDATA[<div>Hi I have a fully functional media player that I want to implement my slide in menu , it does work on my design but can get in it exactly where I need it.<br />
I dont know where to put the slide in menu code without breaking my design(layout), whre can I put it.<br />
<br />
Here ios my xml:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code"><br />
&lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;<br />
&nbsp; &nbsp; xmlns:tools=&quot;http://schemas.android.com/tools&quot;<br />
&nbsp; &nbsp; android:layout_width=&quot;fill_parent&quot;<br />
&nbsp; &nbsp; android:layout_height=&quot;fill_parent&quot;<br />
&nbsp; &nbsp; tools:ignore=&quot;Orientation,HardcodedText,InefficientWeight,ContentDescription,UselessParent&quot; &gt;<br />
<br />
&nbsp; &nbsp; &lt;!-- Player Screen --&gt;<br />
<br />
&nbsp; &nbsp; &lt;LinearLayout<br />
&nbsp; &nbsp; &nbsp; &nbsp; android:id=&quot;@+id/playerScreen&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;match_parent&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;match_parent&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; android:orientation=&quot;vertical&quot; &gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;LinearLayout<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;match_parent&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:background=&quot;@drawable/panel_shape&quot; &gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;TextView<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:id=&quot;@+id/song_title_txt&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_gravity=&quot;center&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_marginLeft=&quot;35dp&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_weight=&quot;1&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:singleLine=&quot;true&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:text=&quot;Song Title&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:textAppearance=&quot;?android:attr/textAppearanceLarge&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:textColor=&quot;@color/blue&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:textStyle=&quot;bold&quot; /&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ImageView<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:id=&quot;@+id/listsong_btn&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_marginLeft=&quot;30dp&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:src=&quot;@drawable/btn_playlist&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/LinearLayout&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;ImageView<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:id=&quot;@+id/imageView2&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;320dp&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;260dp&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_gravity=&quot;center_horizontal&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_weight=&quot;1&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:background=&quot;@color/white&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:src=&quot;@drawable/player_icon&quot; /&gt;<br />
<br />
&nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- Mp3 Player Panel --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;LinearLayout<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;fill_parent&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:background=&quot;@drawable/panel_shape&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:gravity=&quot;center&quot; &gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ImageButton<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:id=&quot;@+id/btnRepeat&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_marginRight=&quot;10dp&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:background=&quot;@null&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:src=&quot;@drawable/btn_repeat&quot; /&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ImageButton<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:id=&quot;@+id/btnShuffle&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_marginLeft=&quot;20dp&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:background=&quot;@null&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:src=&quot;@drawable/btn_shuffle&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/LinearLayout&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!--&nbsp; --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;LinearLayout<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;match_parent&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:background=&quot;@color/white&quot; &gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;TextView<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:id=&quot;@+id/current_time_txt&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_marginLeft=&quot;5dp&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_marginRight=&quot;5dp&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:text=&quot;0:00&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:textAppearance=&quot;?android:attr/textAppearanceMedium&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:textColor=&quot;@color/black&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:textStyle=&quot;bold&quot; /&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;SeekBar<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:id=&quot;@+id/song_playing_progressbar&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;match_parent&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_weight=&quot;1&quot; /&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;TextView<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:id=&quot;@+id/total_time_txt&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_marginLeft=&quot;5dp&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_marginRight=&quot;5dp&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:text=&quot;0:00&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:textAppearance=&quot;?android:attr/textAppearanceMedium&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:textColor=&quot;@color/black&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:textStyle=&quot;bold&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/LinearLayout&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!--&nbsp; --&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;LinearLayout<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;match_parent&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_gravity=&quot;center&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:background=&quot;@drawable/panel_shape&quot; &gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ImageView<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:id=&quot;@+id/btn_previous_imageview&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_gravity=&quot;center&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_marginLeft=&quot;5dp&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_weight=&quot;1&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:src=&quot;@drawable/ic_media_previous&quot; /&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ImageView<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:id=&quot;@+id/btn_backward_imagview&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_gravity=&quot;center&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_marginLeft=&quot;5dp&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_marginRight=&quot;5dp&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_weight=&quot;1&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:src=&quot;@drawable/ic_media_rew&quot; /&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ImageView<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:id=&quot;@+id/btn_play_imageview&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_gravity=&quot;center&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_marginBottom=&quot;5dp&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_marginTop=&quot;5dp&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_weight=&quot;1&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:src=&quot;@drawable/ic_media_play&quot; /&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ImageView<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:id=&quot;@+id/btn_forward_imageview&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_gravity=&quot;center&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_marginLeft=&quot;5dp&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_marginRight=&quot;5dp&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_weight=&quot;1&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:src=&quot;@drawable/ic_media_ff&quot; /&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ImageView<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:id=&quot;@+id/btn_next_imageview&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_gravity=&quot;center&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_marginRight=&quot;5dp&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:layout_weight=&quot;1&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; android:src=&quot;@drawable/ic_media_next&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/LinearLayout&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;/LinearLayout&gt;<br />
&nbsp; &nbsp; &lt;include<br />
&nbsp; &nbsp; &nbsp; &nbsp; android:id=&quot;@+id/list_song_layout&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;fill_parent&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;fill_parent&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; layout=&quot;@layout/list_songs_screen&quot; /&gt;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <br />
<br />
&lt;/FrameLayout&gt;</code><hr />
</div>Here is the code I need to implement:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&lt;RelativeLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;<br />
&nbsp; &nbsp; android:layout_width=&quot;fill_parent&quot;<br />
&nbsp; &nbsp; android:layout_height=&quot;fill_parent&quot; &gt;<br />
<br />
&nbsp; &nbsp; &lt;com.coboltforge.slidemenu.SlideMenu<br />
&nbsp; &nbsp; &nbsp; &nbsp; android:id=&quot;@+id/slideMenu&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;match_parent&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;match_parent&quot; /&gt;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &lt;Button<br />
&nbsp; &nbsp; &nbsp; &nbsp; android:id=&quot;@+id/buttonMenu&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; android:layout_width=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; android:layout_height=&quot;wrap_content&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; android:layout_centerHorizontal=&quot;true&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; android:layout_centerVertical=&quot;true&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; android:text=&quot;@string/menubutton&quot; /&gt;<br />
<br />
&lt;/RelativeLayout&gt;</code><hr />
</div>I need the button &quot;buttonmenu&quot; to be just left of &quot;song_title_txt&quot; TetxtView<br />
<br />
Thanx</div>

]]></content:encoded>
			<category domain="http://www.androidza.co.za/forum/forumdisplay.php/30-Android-Development">Android Development</category>
			<dc:creator>sherlockjones</dc:creator>
			<guid isPermaLink="true">http://www.androidza.co.za/forum/showthread.php/2819-Implementing-Slide-in-menu-to-your-app</guid>
		</item>
		<item>
			<title>Horizontal scroll view for blocks(Albums,Songs etc)</title>
			<link>http://www.androidza.co.za/forum/showthread.php/2810-Horizontal-scroll-view-for-blocks(Albums-Songs-etc)?goto=newpost</link>
			<pubDate>Thu, 23 May 2013 07:10:15 GMT</pubDate>
			<description>Hi , I cant find code for horizontal scroll view anywhere. Not jsut normal horizontal scroll , but for blocks like an iphones media player. Any links...</description>
			<content:encoded><![CDATA[<div>Hi , I cant find code for horizontal scroll view anywhere. Not jsut normal horizontal scroll , but for blocks like an iphones media player. Any links will be much appreciated.<br />
<br />
Thanx a million</div>

]]></content:encoded>
			<category domain="http://www.androidza.co.za/forum/forumdisplay.php/30-Android-Development">Android Development</category>
			<dc:creator>sherlockjones</dc:creator>
			<guid isPermaLink="true">http://www.androidza.co.za/forum/showthread.php/2810-Horizontal-scroll-view-for-blocks(Albums-Songs-etc)</guid>
		</item>
		<item>
			<title>App to retrieve cell number and then call web service on a remote server</title>
			<link>http://www.androidza.co.za/forum/showthread.php/2808-App-to-retrieve-cell-number-and-then-call-web-service-on-a-remote-server?goto=newpost</link>
			<pubDate>Wed, 22 May 2013 12:06:36 GMT</pubDate>
			<description>I need to write an app that is able to retrieve the users phone number from the users SIM card and then call a web service on a remote site where...</description>
			<content:encoded><![CDATA[<div>I need to write an app that is able to retrieve the users phone number from the users SIM card and then call a web service on a remote site where further processing takes place.<br />
From what I have googled so far there is a possibility of getting the cell number via<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">private String getMyPhoneNumber(){<br />
&nbsp; &nbsp; TelephonyManager mTelephonyMgr;<br />
&nbsp; &nbsp; mTelephonyMgr = (TelephonyManager)<br />
&nbsp; &nbsp; &nbsp; &nbsp; getSystemService(Context.TELEPHONY_SERVICE); <br />
&nbsp; &nbsp; return mTelephonyMgr.getLine1Number();<br />
}<br />
<br />
private String getMy10DigitPhoneNumber(){<br />
&nbsp; &nbsp; String s = getMyPhoneNumber();<br />
&nbsp; &nbsp; return s.substring(2);<br />
}</code><hr />
</div>or<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);<br />
// get IMEI<br />
String imei = tm.getDeviceId();<br />
String phone = tm.getLine1Number();</code><hr />
</div>but now how do I make a call to a remote web service passing this cell number?</div>

]]></content:encoded>
			<category domain="http://www.androidza.co.za/forum/forumdisplay.php/30-Android-Development">Android Development</category>
			<dc:creator>straygrey</dc:creator>
			<guid isPermaLink="true">http://www.androidza.co.za/forum/showthread.php/2808-App-to-retrieve-cell-number-and-then-call-web-service-on-a-remote-server</guid>
		</item>
		<item>
			<title>CyanogenMod 10.1 - Afrikaans</title>
			<link>http://www.androidza.co.za/forum/showthread.php/2797-CyanogenMod-10-1-Afrikaans?goto=newpost</link>
			<pubDate>Tue, 14 May 2013 17:39:55 GMT</pubDate>
			<description>Hi Guys,  
 
I have been contributing to the cm 10.1 project by adding the missing Afrikaans translations into Android so if you use cm 10.1 custom...</description>
			<content:encoded><![CDATA[<div>Hi Guys, <br />
<br />
I have been contributing to the cm 10.1 project by adding the missing Afrikaans translations into Android so if you use cm 10.1 custom ROM, the RC's are out and it should be available under language options. I hope you find it useful or not. :-) <br />
<br />
Groete</div>

]]></content:encoded>
			<category domain="http://www.androidza.co.za/forum/forumdisplay.php/30-Android-Development">Android Development</category>
			<dc:creator>isimobile</dc:creator>
			<guid isPermaLink="true">http://www.androidza.co.za/forum/showthread.php/2797-CyanogenMod-10-1-Afrikaans</guid>
		</item>
		<item>
			<title>smart phones development</title>
			<link>http://www.androidza.co.za/forum/showthread.php/2794-smart-phones-development?goto=newpost</link>
			<pubDate>Mon, 13 May 2013 12:16:10 GMT</pubDate>
			<description><![CDATA[I have heard a rumour that it is possible to create apps for smart phones using only HTML5, CSS3 & JavaScript. 
Up till now I have used PhoneGap to...]]></description>
			<content:encoded><![CDATA[<div>I have heard a rumour that it is possible to create apps for smart phones using only HTML5, CSS3 &amp; JavaScript.<br />
Up till now I have used PhoneGap to make my programs cross platform compatible, but I have been given to understand that with only HTML5, CSS3 and Javascript one can create crossplatform applications(Cross platform = Android, IOS and Blackberry).<br />
Can someone please point me in the correct direction?</div>

]]></content:encoded>
			<category domain="http://www.androidza.co.za/forum/forumdisplay.php/30-Android-Development">Android Development</category>
			<dc:creator>straygrey</dc:creator>
			<guid isPermaLink="true">http://www.androidza.co.za/forum/showthread.php/2794-smart-phones-development</guid>
		</item>
		<item>
			<title>How do I write function for the app to know when user iss logged in and logs out?</title>
			<link>http://www.androidza.co.za/forum/showthread.php/2787-How-do-I-write-function-for-the-app-to-know-when-user-iss-logged-in-and-logs-out?goto=newpost</link>
			<pubDate>Wed, 08 May 2013 08:44:09 GMT</pubDate>
			<description>I have a app where a user logs into my app and then answers 16 questions and at the end clicks finsh. How do I assign the answers to the users login...</description>
			<content:encoded><![CDATA[<div>I have a app where a user logs into my app and then answers 16 questions and at the end clicks finsh. How do I assign the answers to the users login details and when logs<br />
out and new user logs in same thing, sorry if question is not very detailed or explaine . Its difficult for me to put in words .</div>

]]></content:encoded>
			<category domain="http://www.androidza.co.za/forum/forumdisplay.php/30-Android-Development">Android Development</category>
			<dc:creator>sherlockjones</dc:creator>
			<guid isPermaLink="true">http://www.androidza.co.za/forum/showthread.php/2787-How-do-I-write-function-for-the-app-to-know-when-user-iss-logged-in-and-logs-out</guid>
		</item>
		<item>
			<title>Register via json POST Web Service</title>
			<link>http://www.androidza.co.za/forum/showthread.php/2784-Register-via-json-POST-Web-Service?goto=newpost</link>
			<pubDate>Thu, 02 May 2013 10:10:10 GMT</pubDate>
			<description>HI IVe got a register page that I created a Web Service for register. My emulator keeps crashing but O have no clue why it does . Please 
any ideas...</description>
			<content:encoded><![CDATA[<div>HI IVe got a register page that I created a Web Service for register. My emulator keeps crashing but O have no clue why it does . Please<br />
any ideas will be very helpfull, much appreciated.Thanx<br />
<br />
Here is my code for the register page:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">public class Register extends Activity {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; EditText id,name,surname,idnum,emailadd,pass,conpass,gender,age,prof,finadd,finem;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; String lblname,lblid,lblidnum,lblpass,lbluserid,lblemailadd,lblconpass,lblage,lblgender,lblprof,lblfinadd,lblfinem,lblsurname;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; ProgressDialog pDialog;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; Context context = this;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; Toast LoginF,LoginR,LoginS,LoginI;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; Boolean isVal;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; Intent registered;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; private static String url = &quot;http://192.148.0.57:8500/Service1.svc/rest/RegisterUser&quot;;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; @Override<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected void onCreate(Bundle savedInstanceState) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; super.onCreate(savedInstanceState);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; setContentView(R.layout.activity_register);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; id = (EditText)findViewById(R.id.txtid);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; idnum = (EditText)findViewById(R.id.txtidnum);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  surname = (EditText)findViewById(R.id.txtsurname);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  name = (EditText)findViewById(R.id.txtname);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  emailadd = (EditText)findViewById(R.id.txtemailadd);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  pass = (EditText)findViewById(R.id.txtpass);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; conpass = (EditText)findViewById(R.id.txtconpass);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; age = (EditText)findViewById(R.id.txtage);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; gender = (EditText)findViewById(R.id.txtgender);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; prof = (EditText)findViewById(R.id.txtprof);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; finadd = (EditText)findViewById(R.id.txtfinad);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; finem = (EditText)findViewById(R.id.txtfinem);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; public void accept(View v) {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lblid = id.getText().toString();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lblname = name.getText().toString();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lblsurname = surname.getText().toString();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lblidnum = idnum.getText().toString();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lblemailadd = emailadd.getText().toString();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lblpass = pass.getText().toString();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lblconpass = conpass.getText().toString();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lblgender = gender.getText().toString();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lblage = age.getText().toString();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lblprof = prof.getText().toString();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lblfinadd = finadd.getText().toString();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lblfinem = finem.getText().toString();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if&nbsp; (!lblid.equals(&quot;&quot;) || !lblname.equals(&quot;&quot;) || (!lblsurname.equals(&quot;&quot;) || (!lblidnum.equals(&quot;&quot;) || (!lblemailadd.equals(&quot;&quot;) || (!lblpass.equals(&quot;&quot;) || <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (!lblconpass.equals(&quot;&quot;) || (!lblgender.equals(&quot;&quot;) || (!lblage.equals(&quot;&quot;) || (!lblprof.equals(&quot;&quot;) || (!lblfinadd.equals(&quot;&quot;) || (!lblfinem.equals(&quot;&quot;) )))))))))))&nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new CheckReg().execute();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }else{<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LoginR = Toast.makeText(Register.this, &quot;ERROR!!&quot;, Toast.LENGTH_SHORT);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LoginR.setGravity(Gravity.CENTER|Gravity.CENTER_HORIZONTAL, 0, 0);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LoginR.show();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; class CheckReg extends AsyncTask&lt;String, String, String&gt; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; public void updateView() {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /**<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  * Before starting background thread Show Progress Dialog<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  * */<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @Override<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; protected void onPreExecute() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; super.onPreExecute();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pDialog = new ProgressDialog(Register.this);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pDialog.setMessage(&quot;Logging in, please wait...&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pDialog.setIndeterminate(false);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pDialog.setCancelable(false);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pDialog.show();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; protected String doInBackground(String... args) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Building Parameters<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; List&lt;NameValuePair&gt; params = new ArrayList&lt;NameValuePair&gt;();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  params.add(new BasicNameValuePair(&quot;User_ID&quot;, lblid));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  params.add(new BasicNameValuePair(&quot;User_Name&quot;, lblname));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  params.add(new BasicNameValuePair(&quot;User_surname&quot;, lblsurname));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  params.add(new BasicNameValuePair(&quot;User_ID_Number&quot;,lblidnum));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  params.add(new BasicNameValuePair(&quot;Email_Address&quot;, lblemailadd));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  params.add(new BasicNameValuePair(&quot;Password&quot;,lblpass));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  params.add(new BasicNameValuePair(&quot;Financial_Advisor&quot;, lblfinadd));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  params.add(new BasicNameValuePair(&quot;Financial_Advisor_Email_Address&quot;, lblfinem));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  params.add(new BasicNameValuePair(&quot;Gender&quot;, lblgender));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  params.add(new BasicNameValuePair(&quot;Age&quot;, lblage));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  params.add(new BasicNameValuePair(&quot;Contact_Phone_Number&quot;, lblpass));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; JSONParser jParser = new JSONParser();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // getting JSON string from URL<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; JSONObject json = jParser.makeHttpRequest(url, &quot;POST&quot;, params,context);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Check your log cat for JSON reponse<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Log.d(&quot;Results: &quot;, json.toString());<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; try {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Checking for SUCCESS TAG<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; JSONObject validate = json.getJSONObject(&quot;RegisterUSer&quot;);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; isVal = validate.getBoolean(&quot;WasAdded&quot;);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } catch (JSONException e) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; e.printStackTrace();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return null;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; protected void onPostExecute(String file_url) {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // dismiss the dialog after getting all products<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pDialog.dismiss();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // updating UI from Background Thread<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; runOnUiThread(new Runnable() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; public void run() {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (isVal) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; registered = new Intent(Register.this, Questionnaire.class);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; startActivity(registered);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } else if (!isVal) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  LoginF = Toast.makeText(Register.this, &quot;Username or Password is incorrect!&quot;, Toast.LENGTH_SHORT);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  LoginF.setGravity(Gravity.CENTER|Gravity.CENTER_HORIZONTAL, 0, 0);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LoginF.show();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
}</code><hr />
</div>And here is my class:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">class CheckReg extends AsyncTask&lt;String, String, String&gt; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /**<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; * Before starting background thread Show Progress Dialog<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; * */<br />
&nbsp; &nbsp; &nbsp; &nbsp; Context context;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; String id,name,surname,idnum,emailadd,pass,conpass,gender,age,prof,finadd,finem;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp;  String url = &quot;http://192.168.0.57:8000/Service1.svc/rest/RegisterUser&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @Override<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; protected void onPreExecute() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  super.onPreExecute();<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; protected String doInBackground(String... args) {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  // Building Parameters<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  // Send your email and password as the following parameters<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  List&lt;NameValuePair&gt; params = new ArrayList&lt;NameValuePair&gt;();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  params.add(new BasicNameValuePair(&quot;User_ID&quot;, id));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  params.add(new BasicNameValuePair(&quot;User_Name&quot;, name));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  params.add(new BasicNameValuePair(&quot;User_surname&quot;, surname));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  params.add(new BasicNameValuePair(&quot;User_ID_Number&quot;,idnum));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  params.add(new BasicNameValuePair(&quot;Email_Address&quot;, emailadd));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  params.add(new BasicNameValuePair(&quot;Password&quot;,pass));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  params.add(new BasicNameValuePair(&quot;Financial_Advisor&quot;, finadd));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  params.add(new BasicNameValuePair(&quot;Financial_Advisor_Email_Address&quot;, finem));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  params.add(new BasicNameValuePair(&quot;Gender&quot;, gender));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  params.add(new BasicNameValuePair(&quot;Age&quot;, age));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  params.add(new BasicNameValuePair(&quot;Contact_Phone_Number&quot;, pass));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  JSONParser jParser = new JSONParser();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  // This is the entire response like the JSON data you sent me<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  JSONObject json = jParser.makeHttpRequest(url, &quot;POST&quot;, params, context);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  // Check your log cat for JSON reponse<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  // CHECK LOGCAT IF YOU GET ANY RESPONSE FROM SERVER<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Log.d(&quot;Results: &quot;, json.toString());<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  try {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  // Checking for SUCCESS TAG<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  JSONObject validateobject = json.getJSONObject(&quot;RegisterUser&quot;);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Boolean isloggedin = validateobject.getBoolean(&quot;WasAdded&quot;);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  // THATS THE BOOLEAN THAT WILL INDICATE IF VALID LOGIN<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  // DO NOT MAKE CHANGES TO GUI ON THIS THREAD E.G. TOAST ETC<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  // USE THE ON POST EXECUTE BELOW ELSE THE APPLICATION WILL CRASH<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  } catch (JSONException e) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  e.printStackTrace();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  return null;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /**<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; * After completing background task Dismiss the progress dialog<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; * **/<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.androidza.co.za/forum/forumdisplay.php/30-Android-Development">Android Development</category>
			<dc:creator>sherlockjones</dc:creator>
			<guid isPermaLink="true">http://www.androidza.co.za/forum/showthread.php/2784-Register-via-json-POST-Web-Service</guid>
		</item>
		<item>
			<title>Login form calling soap webservices for login validation in android</title>
			<link>http://www.androidza.co.za/forum/showthread.php/2776-Login-form-calling-soap-webservices-for-login-validation-in-android?goto=newpost</link>
			<pubDate>Tue, 23 Apr 2013 11:50:25 GMT</pubDate>
			<description>I have a login form that calls a web service for login auth , I have no errors but when I click login Emulstor crashes.Please help , any ideas would...</description>
			<content:encoded><![CDATA[<div>I have a login form that calls a web service for login auth , I have no errors but when I click login Emulstor crashes.Please help , any ideas would be much appreciated.<br />
<br />
Here is my login form<br />
private final String NAMESPACE = &quot;http://ws.solve.com&quot;;<br />
<br />
private final String URL = &quot;http://192.168.0.67:8060/Wx1.svc&quot;;<br />
<br />
<br />
private final String SOAP_ACTION = &quot;http://ws.solve.com/ValidateLogin&quot;;<br />
<br />
private final String METHOD_NAME = &quot;ValidateLogin&quot;;<br />
/** Called when the activity is first created. */<br />
<br />
@Override<br />
public void onCreate(Bundle savedInstanceState) {<br />
    super.onCreate(savedInstanceState);<br />
    setContentView(R.layout.activity_main);<br />
        <br />
    Button login = (Button) findViewById(R.id.btn_login);<br />
    login.setOnClickListener(new View.OnClickListener() {<br />
<br />
   public void onClick(View arg0) {<br />
   loginAction();<br />
<br />
   }<br />
  });<br />
   }<br />
<br />
private void loginAction(){<br />
 SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);<br />
<br />
    EditText userName = (EditText) findViewById(R.id.txt_username);<br />
    String user_Name = userName.getText().toString();<br />
    <br />
    EditText userPassword = (EditText) findViewById(R.id.txt_password);<br />
    String user_Password = userPassword.getText().toString();<br />
<br />
  //Pass value for userName variable of the web service<br />
    PropertyInfo unameProp =new PropertyInfo();<br />
    <br />
    unameProp.setName(&quot;Email&quot;);//Define the variable name in the web service method<br />
    unameProp.setValue(user_Name);//set value for userName variable<br />
    <br />
    unameProp.setType(String.class);//Define the type of the variable<br />
    request.addProperty(unameProp);//Pass properties to the variable<br />
<br />
  //Pass value for Password variable of the web service<br />
    PropertyInfo passwordProp =new PropertyInfo();<br />
    passwordProp.setName(&quot;Password&quot;);<br />
    passwordProp.setValue(user_Password);<br />
    <br />
    passwordProp.setType(String.class);<br />
    request.addProperty(passwordProp);<br />
<br />
    SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);<br />
    envelope.setOutputSoapObject(request);<br />
    HttpTransportSE androidHttpTransport = new HttpTransportSE(URL);<br />
<br />
    try{<br />
        androidHttpTransport.call(SOAP_ACTION, envelope);<br />
        SoapPrimitive response = (SoapPrimitive)envelope.getResponse();<br />
        String status = response.toString();<br />
<br />
        TextView result = (TextView) findViewById(R.id.lbl_result);<br />
        result.setText(response.toString());<br />
<br />
    if(status.equals(&quot;Success!&quot;))<br />
     {<br />
       Intent i = new Intent(getApplicationContext(), Questionnaire.class);<br />
       startActivity(i);    <br />
     }<br />
    else<br />
     {<br />
         // Code for Login failure <br />
     }<br />
   }<br />
    catch(Exception e){<br />
   }<br />
}<br />
<br />
<br />
Here is my log cat:<br />
<a href="http://www.androidza.co.za/forum/attachment.php?attachmentid=205&amp;d=1366717582"  title="Name:  Untitled.png
Views: 3
Size:  72.4 KB">Untitled.png</a></div>


	<div style="padding:10px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<ul>
			<li>
	<img class="inlineimg" src="http://www.androidza.co.za/forum/images/attach/png.gif" alt="File Type: png" />
	<a href="http://www.androidza.co.za/forum/attachment.php?attachmentid=205&amp;d=1366717582">Untitled.png</a> 
(72.4 KB)
</li>
			</ul>
			</fieldset>
	

	

	</div>
]]></content:encoded>
			<category domain="http://www.androidza.co.za/forum/forumdisplay.php/30-Android-Development">Android Development</category>
			<dc:creator>sherlockjones</dc:creator>
			<guid isPermaLink="true">http://www.androidza.co.za/forum/showthread.php/2776-Login-form-calling-soap-webservices-for-login-validation-in-android</guid>
		</item>
		<item>
			<title>How to let android mp3 player play and play on other pages?</title>
			<link>http://www.androidza.co.za/forum/showthread.php/2773-How-to-let-android-mp3-player-play-and-play-on-other-pages?goto=newpost</link>
			<pubDate>Mon, 22 Apr 2013 09:42:14 GMT</pubDate>
			<description>I have a android mp3 player on all of my apps pages but each one needs to be played and when next tab(page) is opened music stop and 
I have to click...</description>
			<content:encoded><![CDATA[<div>I have a android mp3 player on all of my apps pages but each one needs to be played and when next tab(page) is opened music stop and<br />
I have to click play again . I need it to be the same mp2 player on all pages. Please help.</div>

]]></content:encoded>
			<category domain="http://www.androidza.co.za/forum/forumdisplay.php/30-Android-Development">Android Development</category>
			<dc:creator>sherlockjones</dc:creator>
			<guid isPermaLink="true">http://www.androidza.co.za/forum/showthread.php/2773-How-to-let-android-mp3-player-play-and-play-on-other-pages</guid>
		</item>
		<item>
			<title>How to change the text size of your tabhost tabs?</title>
			<link>http://www.androidza.co.za/forum/showthread.php/2765-How-to-change-the-text-size-of-your-tabhost-tabs?goto=newpost</link>
			<pubDate>Fri, 12 Apr 2013 07:09:20 GMT</pubDate>
			<description>I need to change the text size of my tabs in order for it to fit properly, I have the following code though I have tried all code to change it but I...</description>
			<content:encoded><![CDATA[<div>I need to change the text size of my tabs in order for it to fit properly, I have the following code though I have tried all code to change it but I then get <br />
app has unfortunately stopped. Here is my code:<br />
<br />
public class MainActivity extends Activity<br />
{<br />
   /** Called when the activity is first created. */<br />
           TabHost tabHost;<br />
           @Override<br />
   public void onCreate(Bundle savedInstanceState)<br />
    {  <br />
    super.onCreate(savedInstanceState);<br />
    setContentView(R.layout.activity_main);<br />
       <br />
   <br />
       <br />
    <br />
       tabHost=(TabHost)findViewById(R.id.tabHost);<br />
       tabHost.setup();<br />
       <br />
     <br />
    <br />
       TabSpec spec1=tabHost.newTabSpec(&quot;TAB 1&quot;);<br />
       spec1.setContent(R.id.tab1);<br />
       spec1.setIndicator(&quot;Playlist&quot;);<br />
    <br />
    <br />
       TabSpec spec2=tabHost.newTabSpec(&quot;TAB 2&quot;);<br />
       spec2.setIndicator(&quot;Artist&quot;);<br />
       spec2.setContent(R.id.tab2);<br />
    <br />
    <br />
       TabSpec spec3=tabHost.newTabSpec(&quot;TAB 3&quot;);<br />
       spec3.setContent(R.id.tab3);<br />
       spec3.setIndicator(&quot;Songs&quot;);<br />
       <br />
<br />
       TabSpec spec4=tabHost.newTabSpec(&quot;TAB 4&quot;);<br />
       spec4.setContent(R.id.tab4);<br />
       spec4.setIndicator(&quot;Albums&quot;);<br />
       <br />
<br />
       TabSpec spec5=tabHost.newTabSpec(&quot;TAB 5&quot;);<br />
       spec5.setContent(R.id.tab5);<br />
       spec5.setIndicator(&quot;Genres&quot;);<br />
       <br />
       <br />
       tabHost.addTab(spec1);<br />
       tabHost.addTab(spec2);<br />
       tabHost.addTab(spec3);<br />
       tabHost.addTab(spec4);<br />
       tabHost.addTab(spec5);<br />
    <br />
   }<br />
          <br />
}<br />
<br />
And my xml:<br />
<br />
<br />
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br />
 &lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;<br />
    xmlns:tools=&quot;http://schemas.android.com/tools&quot;<br />
    android:layout_width=&quot;fill_parent&quot;<br />
    android:layout_height=&quot;fill_parent&quot;<br />
    android:orientation=&quot;vertical&quot; &gt;<br />
<br />
    &lt;AbsoluteLayout<br />
        android:layout_width=&quot;match_parent&quot;<br />
        android:layout_height=&quot;wrap_content&quot;<br />
        android:layout_weight=&quot;0.78&quot; &gt;<br />
<br />
        &lt;TabHost<br />
            android:id=&quot;@+id/tabHost&quot;<br />
            android:layout_width=&quot;wrap_content&quot;<br />
            android:layout_height=&quot;match_parent&quot;<br />
            android:layout_x=&quot;0dp&quot;<br />
            android:layout_y=&quot;0dp&quot; <br />
            android:textSize=&quot;12sp&quot; <br />
            &gt;<br />
<br />
            &lt;LinearLayout<br />
                android:layout_width=&quot;match_parent&quot;<br />
                android:layout_height=&quot;match_parent&quot;<br />
                android:orientation=&quot;vertical&quot; &gt;<br />
<br />
                &lt;TabWidget<br />
                    android:id=&quot;@android:id/tabs&quot;<br />
                    android:layout_width=&quot;wrap_content&quot;<br />
                    android:layout_height=&quot;wrap_content&quot; <br />
                    <br />
                    &gt;<br />
                &lt;/TabWidget&gt;<br />
<br />
                &lt;FrameLayout<br />
                    android:id=&quot;@android:id/tabcontent&quot;<br />
                    android:layout_width=&quot;match_parent&quot;<br />
                    android:layout_height=&quot;match_parent&quot; &gt;<br />
<br />
                    &lt;LinearLayout<br />
                        android:id=&quot;@+id/tab1&quot;<br />
                        android:layout_width=&quot;match_parent&quot;<br />
                        android:layout_height=&quot;match_parent&quot;<br />
                        android:contentDescription=&quot;HOME&quot; &gt;<br />
<br />
                        &lt;ImageView<br />
                            android:id=&quot;@+id/imageView1&quot;<br />
                            android:layout_width=&quot;280dp&quot;<br />
                            android:layout_height=&quot;320dp&quot;<br />
                            android:layout_marginLeft=&quot;17dp&quot;<br />
                            android:layout_marginTop=&quot;20dp&quot;<br />
                            android:src=&quot;@drawable/lp&quot; /&gt;<br />
 <br />
                            &lt;TextView<br />
                                        android:id=&quot;@+id/textView1&quot;<br />
                                        android:layout_width=&quot;204dp&quot;<br />
                                        android:layout_height=&quot;match_parent&quot;<br />
                                        android:paddingLeft=&quot;10dp&quot;<br />
                                        android:text=&quot;TAB 1&quot;/&gt;<br />
                    <br />
                        &lt;/LinearLayout&gt;<br />
<br />
<br />
                    &lt;LinearLayout<br />
                        android:id=&quot;@+id/tab2&quot;<br />
                        android:layout_width=&quot;match_parent&quot;<br />
                        android:layout_height=&quot;match_parent&quot;<br />
                        android:contentDescription=&quot;HOME&quot; &gt;<br />
 <br />
                            &lt;TextView<br />
                                        android:id=&quot;@+id/textView2&quot;<br />
                                        android:layout_width=&quot;204dp&quot;<br />
                                        android:layout_height=&quot;match_parent&quot;<br />
                                        android:paddingLeft=&quot;10dp&quot;<br />
                                        android:text=&quot;TAB 2&quot;/&gt;<br />
                    <br />
                        &lt;/LinearLayout&gt;<br />
                       <br />
                      &lt;LinearLayout<br />
                        android:id=&quot;@+id/tab3&quot;<br />
                        android:layout_width=&quot;match_parent&quot;<br />
                        android:layout_height=&quot;match_parent&quot;<br />
                        android:contentDescription=&quot;HOME&quot; &gt;<br />
 <br />
                            &lt;TextView<br />
                                        android:id=&quot;@+id/textView3&quot;<br />
                                        android:layout_width=&quot;204dp&quot;<br />
                                        android:layout_height=&quot;match_parent&quot;<br />
                                        android:paddingLeft=&quot;10dp&quot;<br />
                                        android:text=&quot;TAB 3&quot;/&gt;<br />
                    <br />
                        &lt;/LinearLayout&gt;<br />
                        &lt;LinearLayout<br />
                        android:id=&quot;@+id/tab4&quot;<br />
                        android:layout_width=&quot;match_parent&quot;<br />
                        android:layout_height=&quot;match_parent&quot;<br />
                        android:contentDescription=&quot;HOME&quot; &gt;<br />
 <br />
                            &lt;TextView<br />
                                        android:id=&quot;@+id/textView4&quot;<br />
                                        android:layout_width=&quot;204dp&quot;<br />
                                        android:layout_height=&quot;match_parent&quot;<br />
                                        android:paddingLeft=&quot;10dp&quot;<br />
                                        android:text=&quot;TAB 4&quot;/&gt;<br />
                    <br />
                        &lt;/LinearLayout&gt;<br />
                        <br />
                        &lt;LinearLayout<br />
                        android:id=&quot;@+id/tab5&quot;<br />
                        android:layout_width=&quot;match_parent&quot;<br />
                        android:layout_height=&quot;match_parent&quot;<br />
                        android:contentDescription=&quot;HOME&quot; &gt;<br />
 <br />
                            &lt;TextView<br />
                                        android:id=&quot;@+id/textView5&quot;<br />
                                        android:layout_width=&quot;204dp&quot;<br />
                                        android:layout_height=&quot;match_parent&quot;<br />
                                        android:paddingLeft=&quot;10dp&quot;<br />
                                        android:text=&quot;TAB 3&quot;/&gt;<br />
                    <br />
                        &lt;/LinearLayout&gt;<br />
               <br />
                 &lt;/FrameLayout&gt;<br />
            &lt;/LinearLayout&gt;<br />
        &lt;/TabHost&gt;<br />
    &lt;/AbsoluteLayout&gt;<br />
    &lt;/LinearLayout&gt;</div>

]]></content:encoded>
			<category domain="http://www.androidza.co.za/forum/forumdisplay.php/30-Android-Development">Android Development</category>
			<dc:creator>sherlockjones</dc:creator>
			<guid isPermaLink="true">http://www.androidza.co.za/forum/showthread.php/2765-How-to-change-the-text-size-of-your-tabhost-tabs</guid>
		</item>
		<item>
			<title>How to apply text to my tabs in actionbar?</title>
			<link>http://www.androidza.co.za/forum/showthread.php/2759-How-to-apply-text-to-my-tabs-in-actionbar?goto=newpost</link>
			<pubDate>Mon, 08 Apr 2013 08:42:17 GMT</pubDate>
			<description>I have this code where I get 5 Tabs that say Tab 1 - Tab5 but I want to put my own text in , here is my code: 
 
...</description>
			<content:encoded><![CDATA[<div>I have this code where I get 5 Tabs that say Tab 1 - Tab5 but I want to put my own text in , here is my code:<br />
<br />
 getSupportActionBar().setNavigationMode(ActionBar.  NAVIGATION_MODE_TABS);<br />
        for (int i = 1; i &lt;= 3; i++) {<br />
            ActionBar.Tab tab = getSupportActionBar().newTab(days [i]);<br />
            tab.setText(&quot;Tab &quot; + i);<br />
            tab.setTabListener(this);<br />
            getSupportActionBar().addTab(tab);<br />
        }<br />
    }</div>

]]></content:encoded>
			<category domain="http://www.androidza.co.za/forum/forumdisplay.php/30-Android-Development">Android Development</category>
			<dc:creator>sherlockjones</dc:creator>
			<guid isPermaLink="true">http://www.androidza.co.za/forum/showthread.php/2759-How-to-apply-text-to-my-tabs-in-actionbar</guid>
		</item>
		<item>
			<title>help with canvases</title>
			<link>http://www.androidza.co.za/forum/showthread.php/2748-help-with-canvases?goto=newpost</link>
			<pubDate>Thu, 04 Apr 2013 11:19:53 GMT</pubDate>
			<description>hello everyone iam doing the dots and boxes game, and i am strungling in drawing the dots and the line for my game, please help</description>
			<content:encoded><![CDATA[<div>hello everyone iam doing the dots and boxes game, and i am strungling in drawing the dots and the line for my game, please help</div>

]]></content:encoded>
			<category domain="http://www.androidza.co.za/forum/forumdisplay.php/30-Android-Development">Android Development</category>
			<dc:creator>Nkosi</dc:creator>
			<guid isPermaLink="true">http://www.androidza.co.za/forum/showthread.php/2748-help-with-canvases</guid>
		</item>
	</channel>
</rss>
