To import a library on Arduino IDE 1.7.x, follow these steps:
- Download the library.
- Open the Arduino.org IDE.
- Select Sketch>Import library>Add library.
- Select the folder or the Zip file of library and click on Open.
- Wait the confirmation message on console.
Now that you have imported the library, you can use it in your sketches.
If instead you want use the imported library examples then scroll the Examples list from File>Examples menu, as shown in the below image:
To include the library in a sketck do so:
for example if you include the GSM library: