Android

Don't say hi. Don't ask questions. Don't have fun. Don't do an...
Oct 3, 2018 12:03
therefore I was asking about foreground service, which I supposed to be working without delay in doze mode. But it looks it doesnt
Oct 3, 2018 11:58
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
Oct 3, 2018 11:56
Mark, it is not about accepting or not. I want to understand how Foreground service works with doze mode.
Oct 3, 2018 11:54
Tim, then why it is said Foreground Service can override Doze mode if it cannot do this?
Oct 3, 2018 11:51
I tried to use a Timer, but this is also not working in Doze mode
Oct 3, 2018 11:50
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?
Oct 3, 2018 11:48
sorry for that.
Oct 3, 2018 11:47
:) ok, I thought it is more correct
Oct 3, 2018 11:46
@TimCastelijns in foreground service
Oct 3, 2018 11:46
@TimCastelijns by seeing that task is implemented much later than 5 mins. and this delay is increasing gradually.
Oct 3, 2018 11:44
@TimCastelijns an operation which is occurring repeatedly. For example, checking battery level every 5 mins
Oct 3, 2018 11:42
@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
Oct 3, 2018 11:35
Hi guys. How are you doing? Does anyone have experience of working with Doze mode? Does Foreground service override Doze mode?
Sep 14, 2018 09:28
@CptEric unfortunately not every friday is relaxing :)
Sep 14, 2018 09:28
@MuratK. many thanks
Sep 14, 2018 09:27
@MuratK. thats a good idea
Sep 14, 2018 09:27
@RaghavSood unfortunately no
Sep 14, 2018 09:25
@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
Sep 14, 2018 09:22
@MarkO'Sullivan why is another question :) I didnt start to develop the project. Now we are forced to change it
Sep 14, 2018 09:21
first of all because of runtime permissions handling
Sep 14, 2018 09:20
changing targetSdkVersion from 19 to 26 doesn't look so easy
Sep 14, 2018 09:17
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.
Jul 11, 2018 09:24
@TimCastelijns anyway not using a Play Store.
Jul 11, 2018 09:21
I think debug.keystore has changed when I updated my Android Studio
Jul 11, 2018 09:17
debug keystore is located here: C:\Users\username\.android\debug.keystore"

So, if I find this file then the issue is soled
Jul 11, 2018 09:15
anyway thanks a lot, it made some thing clear for me :)
Jul 11, 2018 09:15
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.
Jul 11, 2018 09:09
which seems to have expiration time
Jul 11, 2018 09:09
@TimCastelijns I didn't use any dedicated keystore and didn't sign the app. Therefore I guess default debug keystore was used.
Jul 11, 2018 09:04
due to Android Studio upgrade?
Jul 11, 2018 09:03
I wanted to know why it could happen that debug keystore is changed
Jul 11, 2018 09:02
@ColdFire exactly, this is the case.
Jul 11, 2018 09:00
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)
Jul 11, 2018 08:57
The question is, why this happens for a debug app?
Jul 11, 2018 08:56
I know that it is possible to remove the app
Jul 11, 2018 08:56
I don't want to uninstall :)
Jul 11, 2018 08:54
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
Jul 11, 2018 08:52
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?
Jul 10, 2018 12:57
I have read and understood the rules
3
Dec 19, 2017 12:37
I created a question https://stackoverflow.com/questions/47887029/bluetooth-low-energy-ble-how-to-get-uuids-of-service-characteristic-and-des

If you will have any idea or remember something, please put some note there. Thank you.
Dec 19, 2017 12:18
@MarkO'Sullivan thanks for your effort to help me
Dec 19, 2017 12:18
@MarkO'Sullivan I'm sure there is way to do it. at least nRF Connect app (you can find it in Play Store) can do this
Dec 19, 2017 12:05
@MarkO'Sullivan I'm aware of BluetoothGatt.getServices(), Problem is that it returns not only services but all together ingluding characteristics and descriptors
Dec 19, 2017 12:04
@MarkO'Sullivan sorry, I had to leave for some time. let me see what is there
Dec 19, 2017 10:55
@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.
Dec 19, 2017 10:49
@MarkO'Sullivan did you work with BLE ?
Dec 19, 2017 10:47
@MarkO'Sullivan yep :)
Dec 19, 2017 10:44
Hi guys. Maybe someone familiar with Bluetooth Low Energy? I've built an application, but struggling with one stupid issue.
Jul 4, 2017 08:33
Hi guys. Did someone use Google Maps v2 direction library ? (github.com/akexorcist/Android-GoogleDirectionLibrary)
May 29, 2017 18:53
we had 34 today