Umer Farooq

Results 46 comments of Umer Farooq

@diggit Actually the underlying sensor stops delivering sensor values when device goes in sleep mode. The only thing a programmer can do is force device to not go into sleep...

> Today I noticed, that SernsorServer stops providing data when it's running in background/not focused. even when screen is on. It happened on your device only or have you tried...

> I didn't have a chance to try it different device. My device is Samsung Galaxy S10e with LineageOS ROM, Android 11. SensorServer does not stop sending data immediately after...

> Tested with linked tool and data stops coming after 1 minute since app is moved to background. I am not sure if it's device specific or android OS related...

Try ```java mSession.getVideoTrack().setStreamingMethod(MediaStream.MODE_MEDIACODEC_API_2); ``` It worked for me

Try ```java mSession.getVideoTrack().setStreamingMethod(MediaStream.MODE_MEDIACODEC_API_2); ``` It worked for me

@mpuz Custom JSON fields can be added by adding `messageData.put("Custom field", "value")` under https://github.com/bogkonstantin/android_income_sms_gateway_webhook/blob/4fdc0da51651fcfac02715ea5ac8720bb27d7e54/app/src/main/java/tech/bogomolov/incomingsmsgateway/SmsReceiver.java#L88-L99 But this also requires to update UI to take custom fields from user

> Today I noticed, that SernsorServer stops providing data when it's running in background/not focused. even when screen is on. App has been updated (Foreground service added). Now app can...

- Does this behavior always occur on your device? In other words, have you noticed this happening every time you try to stop the server? - Are you able to...

It sounds like the issue might be specific to your device. Have you tried stopping the server from the notification bar?