Php Hello world

Php Hello world

Step 1: Create a file named hello.php under the php file extracted location(I have extracted my php in d:\php), so i have pasted the below code in d:\php\hello.php and paste the below code, <?php echo “Hello World!\\n” ?>   Step 2: Now go to the command and execute as follows,   Thanks for reading this post……….!!! 545 total views, no views today

545 total views, no views today

Maven Installations and configurations

Maven Installations and configurations

Step 1: Go to the link below download the maven file. http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-3.0.4-bin.tar.gz Step 2: Just extract the file and put it in the D drive or where ever you want. Step 3: Now go to the command prompt, and type mvn and you will get as follows, Because we haven’t set the maven path. Step 4: Now set the path as follows and you will get the output as follows, set M2_HOME=D:\apache-maven-3.0.4 (path of our maven extracted file) set PATH=%PATH%;%M2_HOME%\bin  %PATH% to maintain…

Read More Read More

622 total views, no views today

Ant Installations and Configurations

Ant Installations and Configurations

Step 1: Before installing ant ensure that already java has been installed in your system. Step 2: Go to the below link and download the ant. http://ant.apache.org/bindownload.cgi Step 3: Just extract the zip file you downloaded and put in the drive you want. Step 4: Now go to the command prompt and type ant then you will get like as follows, Step 5: Now we will set the environment path for ant in the command prompt, set ANT_HOME=D:\apache-ant-1.8.4 set JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0 set PATH=%PATH%;%ANT_HOME%\bin;%JAVA_HOME%\bin If…

Read More Read More

512 total views, 2 views today

Php step by step installation in windows 7

Php step by step installation in windows 7

Step 1: Go to the below link http://windows.php.net/download/#php-5.4 Step 2: Download the thread safe or non thread safe php based on your requirement. Step 3: Extract the zip file that you have downloaded into the required location. (say D:\PHP\ folder). Step 4:  Check whether you are getting the output as like follow, Step 5: If you get the output like above then we can ensure that php extracted successfully and all the required files are there. Step 6: Now you can start programming with php. See…

Read More Read More

413 total views, no views today

PHP for Android

PHP for Android

Hi php programmers, now you can develop android applications also using your well known language php. Step 1: From your android mobile go to phpforandroid.net and download the, followings, Step 2: After the download install the both on your android mobile. Step 3: Open  the sL4A(ASE) and try with hello_world.apk. If you open it it will ask your name, just type your name and give ok then it will display “hello yourname” in the next screen. Best book for Android development, Professional Android…

Read More Read More

589 total views, 1 views today

How to Navigate from one screen to another screen in android ?

How to Navigate from one screen to another screen in android ?

Hello Android Developers, Herewith I have explained step by step procedure to navigate from one screen to another screen in android with code. I request you to work with below code to understand clearly. Step 1: Create a MainActivity.java and paste the below code, package com.agn.navigation; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.view.Menu; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; public class MainActivity extends Activity implements OnClickListener{ private Button nextScreen; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); nextScreen=(Button) findViewById(R.id.first_screen_button); nextScreen.setOnClickListener(new…

Read More Read More

582 total views, no views today

How to put my Android App in Android Market ?

How to put my Android App in Android Market ?

Step 1: Go to https://market.android.com/publish/signup and it ask the following details, Name: Email Id: Website: (its not mandatory) Phone Number: then give continue. Step 2: Read the agreement carefully and $25 has to be given as registration fees (its one time amount). Registration fee can be pay only by credit card. Step 3: Once everything done then you will be able to contribute in the android market as a developer and contributor.   Thanks for reading this post…!! 525 total views, no views today

525 total views, no views today

Exporting Android App from Eclipse to phones

Exporting Android App from Eclipse to phones

Step 1: Right click on your project in eclipse and click Export,   Step 2: Use existing keystore and give the location of the debug.keystore,   Step 3:  Choose the Use existing key Alias as, androiddebugkey and give the password android (all lower case letters).     Step 4: Give the destination path of your application (say desktop),     Step 5: Now you can copy this or send to your smart phones and run it. Your application is running on your smart phone….!!!  …

Read More Read More

655 total views, no views today

Adding Existing Android Project in Eclipse

Adding Existing Android Project in Eclipse

Step 1: Open the eclipse, go to File -> New -> Others -> Android and choose Android project from existing code,   Step 2: Then give Next and browse the location of the existing project,   Step 3: Then click finish. Then project will be added successfully.   Step 4: Existing project has been added successfully. Now you can edit and execute based on your need.   Thanks for reading this post…!!! 578 total views, no views today

578 total views, no views today

Android in Eclipse

Android in Eclipse

Step 1: Go to android.com and download the android sdk by navigating like follows,         Download the sdk and install it in your system. Note: 1. Give the path as c:\program files (if os installed on c drive). 2. Install all the packages of sdk that you have downloaded. Step 2: Download the eclipse from eclipse.org   Step 3: Open the eclipse and go to Help -> Install New Softwares ->Add,   Give ok and you can see the window…

Read More Read More

813 total views, no views today