Skip to main content

Posts

Showing posts from 2013

The Reality of Developer’s Life very funny... :)

When you upload something to production environment: When you find a problem solution without searching in Google: When you close your IDE without saving the code: When you try to fix a bug at 3AM: When your regular expression returns what you expect it: When my boss reported me that the module I have been working will never be used: When I show to my boss that I have fixed a bug: When I upload a code without tests and it works as expected: When marketing folks show to developers what they have sold: The first time you apply a CSS to a web page: When the sysadmin gives you root access: When you run your script the first time after several hours working on it: When you go on weekend and everyone else are at office trying to fix all issues: When your boss finds someone to fix a critical bug: When you receive an extra paid if project ends before deadline: When something that had worked on Friday and on Monday did not work: ...

Android -Expandable ListView

 I've discussed the coding snippets of Expandable List view .The Expandable List view is user-friendly and can make the Indication for what it has been group with the help of group item . we now can discuss about that user friendly Expandable list view code-wise , activity_main.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"     tools:context=".MainActivity" >     <TextView         android:layout_width="wrap_content"         android:layout_height="wrap_content"         android:layout_centerHorizontal="true"         android:layout_centerVertical="true"         android:text="@string/hello_world" /> </RelativeLayout> The Group Item de...

Facebook Integration with Android

The Facebook Integration simple and attractive with android.With this post I'm sharing that how could I Integrate the facebook with android . Step 1 : Login with your facebook Id and Password . Step 2: Go to this link  https://developers.facebook.com/apps and create new application.Then you'll find the appId for your application. Download openssl from   https://code.google.com/p/openssl-for-windows/downloads/list  . Step 3 :  Open the Command prompt and enter the command like below , keytool -exportcert -alias androiddebugkey -keystore "&lt;path-to-users-directory&gt;\.android\debug.keystore" | openssl sha1 -binary | openssl base64 Then you'll find the command that "Enter the keystore Password" You just give as android ie., password is android Then you'll get the key Hash like djfgi8345390+r2+530 Enter that key hash in your application If you select that as Android Native app. ...

NFC- Writing and Reading Mutiple Records at a time

I'm writting this article to help an android developers who is working in NFC and getting confused on how to  write multiple records and how to read them at a go .            I want you to do the following steps ... copy the following xml into your layout/yourfile     <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"         android:layout_width="fill_parent"         android:layout_height="fill_parent" >         <TableLayout             android:layout_width="wrap_content"             android:layout_height="wrap_content"             android:layout_alignParentBottom="true"             android:layout_alignParentLeft="true"             android:layout_alignParentRight="true"      ...