The easiest way to play any GIF image on an Android Activity or View is by using “webview”. Here is the Git link for the source code. https://github.com/ismithpasha/PlayGifOnAndroidActivity
App Permissions to ‘AndroidManifest.xml’ file. Code: activity_main.xml Code: MainActivity.java In location setting it has to be high accuracy or GPS only. This piece of code will work. App Permissions for the version lower than lollipop will automatically approved. For marshmallow and higher version app needs runtime permission. Courtesy: https://stackoverflow.com/questions/46906017/getting-location-offline
Connection with Arduino: NEO-6 GPS Module VCC with Arduino 3.3V NEO-6 GPS Module GND with Arduino GND NEO-6 GPS Module RX with Arduino TX NEO-6 GPS Module TX with Arduino RX Arduino Code: TinyGPSPlus Library: https://github.com/mikalhart/TinyGPSPlus
Git/Source Code: https://github.com/ismithpasha/gsmSIM900A Connections of GSM Sim900A 1 to: No connection needed2 to: GND of Arduino near 5V3 to: Digital Pin 0 of Arduino (RX)4 to: Digital Pin 1 of Arduino (TX)5 to: GND (Digital GND near Pin 13)6 to: 5V of Arduino Arduino Code: Server side Code (PHP): savedata.php functions.php connection.php
Recent Comments