Tim, I just gave an example. I don't have any requirement to build an app checking battery level every 5 mins. It can also be a mediaplayer, or radia, gps navigator, anything which should run in background in doze mode
Tim, you said that even using Jobscheduler will not work in Foreground Service. But what can work? If there is a thread running, can it work and dont stop in Doze mode?
@TimCastelijns I also thought it should. But I cannot see that. The tasks which I create in foreground service are suspended when a device goes into doze mode. I used foreground service from github github.com/JimSeker/service/tree/master/ForegroundServiceDemo
@RaghavSood compilation doesn't have any issue. Issue is for example in finding where to apply runtime permissions handling. I planned to use Inspect Code feature because it should show me all places in code where I should handle runtime permissions. However, for some reason inspect Code doesn't show that necessary code areas
Hi guys. Does someone of you have any experience of changing targetSdkVersion of a big android project to meet Google Play's target API level requirement? What is the best way to start changing the project? I plan to do it using Inspect Code.
This old version of app is installed on many devices to which I don't have access. I wanted to make small modification to the source code and build a newer version which can update the installed app. At that time I didn't know and didn't plan to support it.
it is not a version code issue first of all because in that case I would get another error message and secondly I already increased the version code (mentioned it in the question)
Hi guys. How are you doing? I have question. 1 year ago I built an unsigned debug app. Just recently I wanted to build it again by incrementing its version code and install on a device which has its older version. I couldn't succeed to install it due to incompatibility reason. Nothing is changed from source code. I'm not sure what can be the reason of this behaviour. Maybe newer Android Studio version?
@MarkO'Sullivan I'm aware of BluetoothGatt.getServices(), Problem is that it returns not only services but all together ingluding characteristics and descriptors
@MarkO'Sullivan sounds nice. then I hope some of you can help. My question is how to get UUIDs of services and characteristics in a way that we can say that this characteristic is contained in this certain service.