how can i solve this error " java.net.MalformedURLException: Protocol not found: " in android
<p>i m getting error for  <code>java.net.MalformedURLException: Protocol not found:</code> in android.
How can i solve this i am trying from long time but not getting solution. plz help me </p>

<pre><code>05-24 12:22:48.885: WARN/System.err(1358): java.net.MalformedURLException: Protocol not found: 
05-24 12:22:48.905: WARN/System.err(1358):     at java.net.URL.&lt;init&gt;(URL.java:273)
05-24 12:22:48.935: WARN/System.err(1358):     at java.net.URL.&lt;init&gt;(URL.java:157)
05-24 12:22:48.935: WARN/System.err(1358):     at com.bestdambikers.Updates$EfficientAdapter$4.onClick(Updates.java:354)
05-24 12:22:48.935: WARN/System.err(1358):     at android.view.View.performClick(View.java:2485)
05-24 12:22:48.935: WARN/System.err(1358):     at android.view.View$PerformClick.run(View.java:9080)
05-24 12:22:48.965: WARN/System.err(1358):     at android.os.Handler.handleCallback(Handler.java:587)
05-24 12:22:48.965: WARN/System.err(1358):     at android.os.Handler.dispatchMessage(Handler.java:92)
05-24 12:22:48.965: WARN/System.err(1358):     at android.os.Looper.loop(Looper.java:123)
05-24 12:22:48.975: WARN/System.err(1358):     at android.app.ActivityThread.main(ActivityThread.java:3647)
05-24 12:22:48.985: WARN/System.err(1358):     at java.lang.reflect.Method.invokeNative(Native Method)
05-24 12:22:48.985: WARN/System.err(1358):     at java.lang.reflect.Method.invoke(Method.java:507)
05-24 12:22:48.985: WARN/System.err(1358):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
05-24 12:22:48.995: WARN/System.err(1358):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
05-24 12:22:49.025: WARN/System.err(1358):     at dalvik.system.NativeStart.main(Native Method)
</code></pre>

<p>this is the code where i m getting error...</p>

<pre><code>strUrl = "http://192.168.5.156/html/maykal/maykalvirtue/index.php?option=com_ijoomer&amp;plg_name=jomsocial&amp;pview=user&amp;ptask=activities&amp;sessionid="+ ConstantData.session_id + "";
parser = new XmlParser(strUrl, new UpdatesBean());
result = parser.ParseUrl("data", "update");
UpdatesBean updatesBean = (UpdatesBean) result.get(position);

ConstantData.pos = position;
Log.e("POSITION OF CLICKED ROW",""+ConstantData.pos);
URL newurl = new URL(updatesBean.thumb);  //getting error at this line

bi = BitmapFactory.decodeStream(newurl.openConnection().getInputStream());
ConstantData.updateImage = bi;
ConstantData.titleTag = updatesBean.titletag;
ConstantData.updateDate = updatesBean.date;
</code></pre>
