Monthly Archives: March 2011

Login example for PHP

Following image shows the simple form that I am going to use as login window. Some important code phases relevant to above GUI is as follows. … form id=”form1″ name=”form1″ method=”post” action=”login.php” … input type=”text” name=”textfieldUsernameName” id=”textfieldUsernameId” … input type=”password” … Continue reading

Posted in PHP examples | 2 Comments

How to get the content that user type in a EditText field in one Activity to another Activity in Android

In this blog post you can learn how to get the content that user type in a EditText field in one Activity to another Activity in Android. Below you can see the “FormActivity” interface. We want to pass the content … Continue reading

Posted in Android Examples | 10 Comments

How to shift within two Activities in an Android

Assume there is an android application and in the “src” folder there are two Activities named as “RedFlashlightActivity”  and “GreenFlaslightActivity”. When the application run first start the “RedFlashlightActivity”. We can assure that by putting <intent-filter> tag in that particular Activity … Continue reading

Posted in Android Examples | 1 Comment