Posts

Showing posts with the label Java

Android useful links which need to every android developer

Android useful links which need to every android developer  Official Android Developer site: https://developer.android.com/guide/ Vysor - To share our mobile remotely (Ex: to give a Demo of app) https://chrome.google.com/webstore/detail/vysor/gidgenkbbabolejbgbpnhbimgjbffefm Interesting references Material Icons: https://design.google.com/icons/ Image convert iOS to Android: https://github.com/Ninjanetic/ios2android https://github.com/asystat/Final-Android-Resizer Image loading and caching library: https://github.com/bumptech/glide Material Nav Drawer: https://github.com/mikepenz/MaterialDrawer Image propotional Scale : http://www.ryadel.com/en/android-proportionally-stretch-imageview-fit-whole-screen-width-maintaining-aspect-ratio/ Nine Patch: https://developer.android.com/studio/write/draw9patch.html Android : mp4 -> Basline Profile brew install ffmpeg ffmpeg -i notifications_video.mp4 -vf scale=-1:720 -c:v lib...

Android - Run app without USB cable every time

Now a days it's a common problem for Android Developers to run an app every time by connecting with USB cable, Some times it may disconnect your device due to loose connection or USB cable issues, Due to this developer can't able to Debug/Run an app very frequently. So here is the solution for this, now you can run android app without USB cable but you need to connect it at least once to connect with your mobile until and unless you switch off your mobile OR change your mobile network. You need to connect your device to your computer via USB cable. Make sure USB debugging is working. You can check if it shows up when running  adb devices . Open cmd in ...\AppData\Local\Android\sdk\platform-tools Step1: Run  adb devices Ex: C:\pathToSDK\platform-tools>adb devices You can check if it shows up when running adb devices. Step2: Run  adb tcpip 5555 Ex: C:\pathToSDK\platform-tools>adb tcpip 5555 Disconnect your device (remove the USB cable). Step3: G...