Android: how to add google play services to the project in IDEA

It took several hours to find out how to add google Play services to my project in IDEA. Finally, I found a comment on StockOverflow – Create a file ~/android-sdk/extras/google/google_play_services/libproject/google-play-services_lib/src/dummy.java containing class dummy {}. – File->Import Module-> ~/android-sdk/extras/google/google_play_services/libproject/google-play-services_lib – Create Module from Existing Sources – Next->Next->Next->Next->Finish – File->Project Structure->Modules->YourApp – +->Module Dependency->Google-play-services_lib (The + button… Continue reading Android: how to add google play services to the project in IDEA

HTML 5 location detector or Big Brother watches you

Internet brought me an interesting site SunCalc.net. The site realization is interesting itself, but I would like to mention one really wonderful feature, used there. On the site, click on Location input box. In pop-up window, click “Detect my location” button. In Chrome, you will see the following bar message: If you click on the… Continue reading HTML 5 location detector or Big Brother watches you