Monthly Archives: March 2013

android reading inbox and sent box sms and reading call details 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; import; 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 package com.example.myfirstapp; import android.os.Bundle; import; import; import; import android.content.DialogInterface; import android.view.Menu; import android.view.View; import android.widget.Toast; import android.util.Log; import; 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=”; xmlns:xsd=”; xmlns:xsi=”; xmlns:SOAP-ENC=””&gt; <SOAP-ENV:Body SOAP-ENC:encodingStyle=””&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’, ‘;); $xml->registerXPathNamespace(‘NS’, ‘urn:MobileCommIntf-IMobileComm’); $nodes = $xml->xpath(‘//SOAP-ENV:Envelope/SOAP-ENV:Body/NS:IsWorkingResponse/return’); print_r($nodes[0]->asXML());  

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