I am building an Android app using PhoneGap. But Font awesome icons used in the code are looking just a square shape. Before Font awesome was linked as CDN. I have removed CDN and copied it to my CSS folder. But now I am getting nothing even squares are also not visible. I checked my code in the browser source. when I click on Font awesome link in the browser it shows Cannot GET /css/css/font-awesome.css
while the path is okay.
<link rel="stylesheet" href="css/css/font-awesome.css"><!-- icons -->
What will be the proper way to add Font awesome in PhoneGap App
using /css is wrong on phonegap since / is the phone root. it's better to use relative paths like:
<link href="css/all.css" rel="stylesheet"> <!--load all styles -->
and of course don't forget to copy webfonts folder to your project www folder