Posts

Showing posts with the label adb

"Application not installed" when APK is not signed

I wanted to test a small android app which I was working on, on my phone. I had already tested this app on an emulator and even on a physical device - my phone earlier, but I had done that via ADB. However, I wanted to install it this time from the apk file. Now, when I ran gradlew assembleRelease there were 2 apk files generated in the projectname /build/apk directory. One named projectname -debug-unaligned.apk and the other named projectname -release-unsigned.apk . The release unsigned one seemed to be the right one to try out. So I tried installing it on my phone. Everything went on well until I saw a message when it had just seemed like the app was installed which actually read: "Application not installed". I was a bit confused looking at the message, I didn't quite understand what went wrong as there was no details as to what went wrong in the message. I had pretty much everything configured the way I thought would be required like checking off the box against ...

Adding unlisted locations to the HTC Sense Weather app

The HTC Sense Weather app which comes with the HTC Sensation, has a database which has a predefined set of locations for which it can fetch weather data. But the problem with this is that many locations which you might want to check forecasts for might not be available in it's database. For example, I wanted to list forecasts for Siolim, Goa, India, but the weather app did not have this in it's database. Which means that I just would not be able to have weather forecasts for Siolim, Goa on my phone. But then, I also found out that when I'm in Siolim, I was able to get weather forecasts for Siolim. Later, once when I was googling out about this "issue", I came across a few articles which suggested that it was "possible" to add unlisted locations to the weather app database. For this, you would basically have to "root" your phone and then edit the database file to add your desired locations. Android is an operating system based on Linux, which me...