Monthly Archives: March 2013

android reading inbox and sent box sms and reading call details

MainActivity.java for sent sms : private static final int TYPE_INCOMING_MESSAGE = 2; for recieved sms : private static final int TYPE_INCOMING_MESSAGE = 1; package com.example.inboxlistproject; import java.lang.ref.WeakReference; import java.util.ArrayList; import android.app.Activity; import android.app.ProgressDialog; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; import android.database.Cursor; import … Continue reading

Posted in android app | 1 Comment

allen carr book

thanks to allen..   The Worst Nicotine Addict I Have Yet to Meet There are only two reasons for failure with my method: 1 FAILURE TO CARRY OUT INSTRUCTIONS 2 FAILURE TO UNDERSTAND Fear in quitting:   Of Intermediate period … Continue reading

Posted in smoking | Leave a comment

my first app in android

MainAcitivity.java package com.example.myfirstapp; import android.os.Bundle; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; import android.view.Menu; import android.view.View; import android.widget.Toast; import android.util.Log; import android.app.ProgressDialog; import android.content.Intent; public class MainActivity extends Activity {     String tag = “Lifecycle”;     CharSequence[] items = … Continue reading

Posted in android app | Leave a comment

cooking dal, rice ,pao bhai, malai kofta , kabuli ,khichdi

Recipes   Dal 0.5 katori =2member Wash the dal 2.5 katori pani Tomato dalo ? Salt 0.5 spoon, haldi 0.25 spoon, mirchi 0.25 spoon Dhaniya 0.5 spoon (jyada to kathi) Boil (thodi dal he to jyada sithi) 6 siti Math … Continue reading

Posted in cooking | Leave a comment

reading of soap xml response by xpath

xml response: <?xml version=”1.0″ encoding=”UTF-8″?> <SOAP-ENV:Envelope xmlns:SOAP-ENV=”http://schemas.xmlsoap.org/soap/envelope/&#8221; xmlns:xsd=”http://www.w3.org/2001/XMLSchema&#8221; xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance&#8221; xmlns:SOAP-ENC=”http://schemas.xmlsoap.org/soap/encoding/”&gt; <SOAP-ENV:Body SOAP-ENC:encodingStyle=”http://schemas.xmlsoap.org/soap/envelope/”&gt; <NS1:IsWorkingResponse xmlns:NS1=”urn:MobileCommIntf-IMobileComm”> <return xsi:type=”xsd:boolean”>true</return> </NS1:IsWorkingResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> php code : $xml = simplexml_load_string($output); $xml->registerXPathNamespace(‘SOAP-ENV’, ‘http://schemas.xmlsoap.org/soap/envelope/&#8217;); $xml->registerXPathNamespace(‘NS’, ‘urn:MobileCommIntf-IMobileComm’); $nodes = $xml->xpath(‘//SOAP-ENV:Envelope/SOAP-ENV:Body/NS:IsWorkingResponse/return’); print_r($nodes[0]->asXML());   http://stackoverflow.com/questions/3928350/how-to-parse-soap-response-without-soapclient  

Posted in PHP | 2 Comments

brahma kumaris lectures

Thanks to brahma kumaris Self Management I am the creator of my thought and my feelings. It is my first responsibility to keep my self happy . After every hour make rest and feel happy One Minute. Self Respect Koi … Continue reading

Posted in Meditation | 2 Comments