0

How to Link a PDF to a power point presentation

Posted by Nantharupan on 11:39 AM
You may encounter the issues of linking one PDF file to the power point presentation. Its pretty simple, Follow the steps :)

    1. Select the text or object you want to use to link to the PDF file
    2. On the Insert tab, in the Links group, click Hyperlink
    3. Under Link to, Click Existing File or Webpage
    4. Select the PDF file you want to link and then click Ok
    5. Verify the link

Reference  


0

Customize the Windows 7 folder icon :)

Posted by Nantharupan on 2:56 PM in ,
Step 1: Download .ico file or create a .ico file
Step 2 : Right clikc on the folder you want to change and click Properties 



Step 3 :  go to Customize tab and click Change icon
Step 4 : Click browse and give the location of your .ico file 

Out come will be some thing similar to following.  Cool :)




0

HTTP Methods

Posted by Nantharupan on 1:13 AM in ,
In the web world there are many methods used by HTTP.  Following are the main methods for HTTP/1.1 specification. Every methods implemented for a specific reason. Every method have pros and cons as well. we can catercorised these methods into two divisions ass follows

1. Safe methods - GET, HEAD
2. Idempotent Methods- DELETE, GET, PUT, HEAD, OPTION TRACE

Methods 


  1. GET
  2. POST
  3. HEAD
  4. PUT
  5. DELETE
  6. TRACE
  7. CONNECT
  8. OPTION


  


0

PhoneGap Android Splashscreen

Posted by Nantharupan on 8:04 PM in , ,
When we developing android application using Phone Gap we might come across a situation where we need to show a splash screen when application starts. 

We can't have any splash screen in our html pages.

We need to do that in our Eclipse Android project,

Steps to Show a splash Screen

1.  Add a config file in app/res/xml/ folder and name it as config.xml

2. Add the following line in the config file

<plugin name="SplashScreen" value="org.apache.cordova.SplashScreen"/>

3. Copy your splash screen into your res/drawable  folder

4.  Add following line of code into your MainActivity which extends DroidGap.

 super.setIntegerProperty("splashscreen", R.drawable.splash);
    super.loadUrl("file:///android_asset/www/Phone/index.html,5000);

The first line 'super.setIntegerProperty sets the image to be display as splashsceen, The second line is normal load method, but second parameter to set the timeout value for the splash screen


  
Reference 


0

Run your First Android Apps in Emulator

Posted by Nantharupan on 3:15 AM in , ,
To run Android app in the Emulator, First We need to create the Emulator

Steps To create Emulator

1. Launch the Android Virtual Device Manager (AVD Manager) 
         By clicking the Icon AVD Manager from the Tool bar 
       Or By Click Window- Android Virtual Device Manager



2. In the AVD Manager Panel Click New



3. Enter the Details Specialty Select the Device screen Size, as well as Target Version and select other properties if you want, for the moment don't do anything to others


4.  That's all Emulator created, Click the Emulator in the AVD Manager and click Start button


Now we have created the Emulator, Its matter of running the app in the Emulator now,

1. Click the Application and Right click and select the Run as and Select Android application 

Eclipse installs the app on your AVD and starts it.

Your First Android App is ready, It will look like follows in Emulator









0

Build your First Android Apps using Eclipse

Posted by Nantharupan on 2:35 AM in ,
First you need to install following in order to start the android development.
1. Android SDK
2. Install ADT( Android Development Tool) Plug in for Eclipse
3. Download latest SDK tools and platforms using SDK manger in Eclipse

You can refer following document.

http://rupanl.blogspot.com/2012/07/getting-started-with-android.html


We are ready to develop our first Android Apps

1. Click File New Select Android folder and choose Android Application Project



2. Click Next and Fill the Application Name and Project Name and Package Name
( These are very important when it comes to real application that has to be deployed to android Market, Any way we can change them later)

Application Name - It will be shown as application Name in the Phone
Package Name - Only one application can be there in the Market with the same name 

Minimum Required SDK - Specify the lowest Android Version of the Android OS the app can run

Target SDK - Specify the Highest Version of the of the Android OS this application can run




3. Click Next, This section is to configure the Project location. 



4.  Click Nest This Section is to Configure the Launcher icon( Icon which will be displayed in the phone as the application icon), If you want to put your icon browse the icon you want to use. 

5. Click Next, This is the Screen to create the Activity Class( Class for the Screen). Select BlankActivity and Click Next.


6. Click Next and Click finish to create First Android application. 

This screen showing the Activity Name - Class related to our screen ( in Android Term Activity is class related to one screen)

Layout Name- XML file related to Layout of our Activity


We are done with our First Android Project. an Android Project created to you with necessary folder structure. 

Folder Structure we got is some thing like following



We will look the running and debugging the app in next post

Hope It helped you!!






0

How to Change the title of the JavaScript Alert

Posted by Nantharupan on 9:48 PM in , , ,
There was a requirement to change the title of the javascript alert. But unfortunatley we can't change the default title "Alert" of the alert box.

Alternatively we can do some thing like this,

We have to define our css in order to show a box on top of the screen.

When you want to show the alert box , just change the visibility of that css class.


This is How you call the OVER LAY to pop up This is the style of the OVER LAY Java script function which change the Visibility to true or false This is the HTML for the OVERLAY By using this Mrthod you can have different pop ups as you want

Popular posts

Copyright © 2009 On the way All rights reserved. Theme by Laptop Geek. | Bloggerized by FalconHive.