Posts

My Inception

In the beginning, we read that God has created a garden. A beautiful and lovely place filled with overflowing abundance; a Basil of seed-bearing plants and every variety of fruit-bearing tree. God looked upon his creation and knew it was good. There he placed Adam and Eve to steward the garden. When I go back to my beginning, there was also a garden. It wasn’t the Garden of Eden, but to me, it was mesmerising and enchanting, an abundant place filled with life and wonder. My garden encompassed a small plot directly across from my little house. A simple chain link fence was the only barrier containing the tangle of tomato vines and assorted rainbow rows of vegetables and fragrant herbs. When the gate was opened and I was permitted access into my primeval forest, something magical happened. That garden became my personal Garden of Eden. The woman who lovingly tended and nurtured that garden was, surprisingly, not God (though in my immature, kid mind only a great creator could build...

Note(s) to SELF

Image
My Random Thoughts

Wisdom of Work

I was going to write about technical topic. I was half way through and suddenly something touched my mind and I hold backspace till I get complete white background again. The topic I want to discuss here is about business acumen. More specifically work we are doing every day. The 8 hours which we are spending to make our next 16 hours bright and pleasurable. Let’s think about what you did yesterday. What has exactly it added to one’s life for whom you worked? It’s very important to know what we are going to give to the end user from our daily struggling 8 hours or may vary positively typically in IT field. You know, engineers always like to come up with formula for any topic. And as being one of them, let me derive a formula on this: Successful Work = Value added to End User / Effort spent It’s very important to understand the formulae. The success of any work is proportional to the value it has added to the end user.  Some people usually do their work just for shake of compl...

Intercept HOME Key: Android

How to Intercept HOME Key in Android? The solution is: The prevailing wisdom says it cannot be done public static final int KEYCODE_HOME Key code constant: Home key. This key is handled by the framework and is never delivered to applications . Maybe the below code would work the way we want it to. But I don't think you can trap the Home key absolutely. Below method works for me. Hope this will work for you also.... Override below method in your activity.     @Override     public void onAttachedToWindow () {         super . onAttachedToWindow ();         this . getWindow (). setType ( WindowManager . LayoutParams . TYPE_KEYGUARD );               } After overriding above method, now you can easily listen HOME Key press in your activity using onKeyDown() method.     @Override     public boolean onKeyDown ( int keyCode , KeyEvent ev...

QT: Connect to SOAP Webservice

H ello Friends, Here, I hereby trying to show an example for How to send SOAP Post request through QT?. To create a Qt client application that connects to a SOAP/WSDL web service, I have used QT 4.7 XML packet: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xmlns:xsd="http://www.w3.org/2001/XMLSchema"  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetFullDetails xmlns="http://core-1.doubleu.mobi/MecaniqueWS"> </GetFullDetails> </soap:Body> </soap:Envelope>   QString XMLData = <Your XML Packet> MyClass obj; QString returnData = obj.httpcall(XMLData);

Android: Apply Image Share on your own app

Image
Here I am representing the code, through which user can send image which is stored in File storage or taken from camera to any remote server. To do that I wanted to add the application to the list of the choices which appear when an user click on the “share” button when view an image using the default Gallery application. I had added couple of tags to Androidmanifest.xml and it was done.... < ?xml version = "1.0" encoding = "utf-8" ?> <manifest xmlns:android = "http://schemas.android.com/apk/res/android"     package = "com.fipl.app.unlock" android:versionCode = "1"     android:versionName = "1.0" >     <application android:icon = "@drawable/icon" android:label = "@string/app_name"       android:debuggable = "true" >       <activity android:name = ".MainActivity" android:label = "@string/app_name"           android:theme = "@andr...