Browsed by
Author: Mirthbees

Blogger, Innovator, Developer and Enterpreneur. Founder of GuruRecharge, Readymade online recharge script. Lead Developer in Bookrate.in
Android Hello World

Android Hello World

Step 1: File -> New -> Android Application project in eclipse (see “Android in Eclipse“ article for how to program android in eclipse). Step 2: Create Helloworld.java class file under com.example.helloworld package, and paste the below code. package com.example.helloworld; import android.os.Bundle; import android.provider.Settings.System; import android.app.Activity; import android.widget.EditText; import android.widget.TextView; public class HelloWorld extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_hello_world); TextView agnPrint = new TextView(this); agnPrint.setText(“Hello world…!!”); setContentView(agnPrint); } }  Output:   Thanks for reading this post……………!!!…

Read More Read More

949 total views, 1 views today

Adding Address Bar Icon in wordpress

Adding Address Bar Icon in wordpress

Step 1: Go to Appearance -> Editor and open header.php Step 2: under </title> in header.php add the below line with your customization, <link rel=”shortcut icon” href=”(specify the icon location in the server)” /> Then you can see your icon at the address bar or title bar. Note: .ico file is prefered for address bar icon.   Thanks for reading this post………!!! 793 total views, no views today

793 total views, no views today

Removing wordpress footer

Removing wordpress footer

Step 1: Go to Appearance -> Editor and open the footer.php. Step 2: Change the footer.php file. search php printf statement, based on the theme it will be there in top or middle or last.   to comment any line, use this <!– –> . Thanks for reading this post……!!! 838 total views, no views today

838 total views, no views today

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……….!!! 919 total views, no views today

919 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

1,134 total views, 1 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

1,098 total views, no 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

758 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

960 total views, no 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

973 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…!! 865 total views, no views today

865 total views, no views today