Author name: SKB

SEO friendly META Tags

SEO is a three letter acronym short for Search Engine Optimization.Search engine optimization about trying to rank higher in search engines. To rank higher you make changes to your website that make it easier for search engines to understand your content. Also, it can mean getting links from other websites.  source: www.madebymarket.com/help/ads/what-does-seo–mean.html SEO Friendly code for your website […]

Share

SEO friendly META Tags Read More »

Javascript loop programs

1. Print 1-10 numbers using FOR loop program <html> <head> <title> Javascript looping program </title> </head> <body> <script language=”javascript”> var i document.write(“<h1>”+”FOR Looping program” +”</h1>”) for(i=1; i<=10; i++) { document.write(i+”<br>”) } </script> </body> </html> 2. WHILE Loop using Javascript <html> <head> <title> Javascript while loop program </title> </head> <body> <script language=”javascript”> var i=1 document.write(“<h1>”+”WHILE Loop

Share

Javascript loop programs Read More »

Javascript programs

Java Script is an interpreted, object-based scripting language, developed by Sun Micro systems and Netscape.  JavaScript makes it easier to create interactive Web Pages.  Common Gateway Interface was considered as the standard for processing the forms. It was time consuming process because form validation used to take place on the server side.  JavaScript made the entire work easier by

Share

Javascript programs Read More »

Android example on webview with progressbar

The following example shows that use of android webview with progress bar. 1. copy the following code and paste into “AndroidManifest.xml” <?xml version=”1.0″ encoding=”utf-8″?> <manifest xmlns:android=”http://schemas.android.com/apk/res/android” package=”app.mitindia.com.mywebappprogressbar” > <uses-permission android:name=”android.permission.INTERNET” /> <application android:allowBackup=”true” android:icon=”@mipmap/ic_launcher” android:label=”@string/app_name” android:theme=”@style/AppTheme” > <activity android:name=”.MainActivity” android:label=”@string/app_name” > <intent-filter> <action android:name=”android.intent.action.MAIN” /> <category android:name=”android.intent.category.LAUNCHER” /> </intent-filter> </activity> </application> </manifest> 2. Copy the

Share

Android example on webview with progressbar Read More »

Android example to show webview

The following example shows that how to use Android WebView for browsing websites using android apps. 1. Copy the following code and paste into “AndroidManifest.xml” <?xml version=”1.0″ encoding=”utf-8″?> <manifest xmlns:android=”http://schemas.android.com/apk/res/android” package=”app.mitindia.com.mywebapp” > <uses-permission android:name=”android.permission.INTERNET” /> <application android:allowBackup=”true” android:icon=”@mipmap/ic_launcher” android:label=”@string/app_name” android:theme=”@style/AppTheme” > <activity android:name=”.MainActivity” android:label=”@string/app_name” > <intent-filter> <action android:name=”android.intent.action.MAIN” /> <category android:name=”android.intent.category.LAUNCHER” /> </intent-filter> </activity> android:debuggable=”true”

Share

Android example to show webview Read More »

Android Example to show Popup Menu

In this tutorials you’ll see how “PopupMenu” app is created in Android. Have a look! 1. First of all copy the following code into “activity_main.xml” file <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” android:paddingLeft=”@dimen/activity_horizontal_margin” android:paddingRight=”@dimen/activity_horizontal_margin” android:paddingTop=”@dimen/activity_vertical_margin” android:paddingBottom=”@dimen/activity_vertical_margin” tools:context=”.MainActivity”> <TextView android:text=”@string/hello_world” android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:layout_alignParentTop=”true” android:layout_alignRight=”@+id/button1″ android:layout_alignEnd=”@+id/button1″ android:textSize=”20dp” android:textColor=”#ff00ff”/> <Button android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:id=”@+id/button1″ android:text=”Show popup” android:layout_centerVertical=”true” android:layout_centerHorizontal=”true” /> </RelativeLayout>

Share

Android Example to show Popup Menu Read More »

Android Example to show Context Menu

Android Context menu example Following example shows that how to create context menu application using Android. Follow the below steps to create. a) copy the following code into activity_main.xml” file <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” android:paddingLeft=”@dimen/activity_horizontal_margin” android:paddingRight=”@dimen/activity_horizontal_margin” android:paddingTop=”@dimen/activity_vertical_margin” android:paddingBottom=”@dimen/activity_vertical_margin” tools:context=”.MainActivity”> <TextView android:text=”@string/hello_world” android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:id=”@+id/textView” android:textColor=”#005599″ android:textAlignment=”center” android:textSize=”16pt” /> <ListView android:layout_width=”match_parent” android:layout_height=”wrap_content” android:id=”@+id/listView1″ android:layout_alignParentTop=”true” android:layout_marginTop=”53dp”

Share

Android Example to show Context Menu Read More »

Android Simple Menu Application

Menu application using Android Following example shows that how to create menu application using Android. Follow the below steps to create. a) copy the following code to “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” android:paddingLeft=”@dimen/activity_horizontal_margin” android:paddingRight=”@dimen/activity_horizontal_margin” android:paddingTop=”@dimen/activity_vertical_margin” android:paddingBottom=”@dimen/activity_vertical_margin” tools:context=”.MainActivity”> <TextView android:text=”@string/hello_world” android:layout_width=”wrap_content” android:layout_height=”wrap_content” /> <ImageView android:layout_width=”fill_parent” android:layout_height=”wrap_content” android:src=”@drawable/save” android:layout_centerInParent=”true”/> </RelativeLayout> b) Now copy the follwoing code

Share

Android Simple Menu Application Read More »

Android program SUM of 2 Numbers

Addition of 2 numbers Step 1. in activity_main.xml file copy the following code. <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” android:paddingLeft=”@dimen/activity_horizontal_margin” android:paddingRight=”@dimen/activity_horizontal_margin” android:paddingTop=”@dimen/activity_vertical_margin” android:paddingBottom=”@dimen/activity_vertical_margin” tools:context=”.MainActivity”> <TextView android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:text=”Enter First number” android:id=”@+id/t1″ /> <EditText android:layout_width=”103dp” android:layout_height=”wrap_content” android:id=”@+id/n1″ android:layout_alignParentTop=”true” android:layout_centerHorizontal=”true” /> <TextView android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:text=”Enter second number” android:id=”@+id/t2″ android:layout_gravity=”center_vertical” android:layout_below=”@+id/n1″ android:layout_toStartOf=”@+id/n1″ android:layout_marginTop=”39dp” /> <EditText android:layout_width=”92dp” android:layout_height=”wrap_content” android:id=”@+id/n2″ android:layout_gravity=”center_vertical”

Share

Android program SUM of 2 Numbers Read More »

Macros in Excel

Excel Macros A macro can be defined as the recording of a series of tasks. It’s the simplest form of automation – show a software program the steps you follow to get something done, and the software will follow along. When used right, macros can save you hours by automating simple, repetitive tasks. A macro

Share

Macros in Excel Read More »

Share
Scroll to Top