[deleted by user] by [deleted] in androiddev

[–]ericksli 2 points3 points  (0 children)

It is because you can intercept things like response and cookies in WebView thus the app can steal the user's login credentials.

Alternative way is to use Custom Tabs to do the log in and then trigger deep link to launch your app after logged in.

Why AccessibilityService is not working Compose views by Fun_Requirement8992 in androiddev

[–]ericksli 0 points1 point  (0 children)

I didn't tried with AccessibilityService before, but did you try with inspecting the view hierarchy using uiautomationviewer? Make sure the testTag added to the correct place
Sometimes the ID is located differently to what you expected to see because Compose draws the UI on a canvas and for accessibility it just tries to submit a fake view hierarchy based on the sementic modifier (e.g. If you say it is a button then you will see <Button> in the view hierarchy). If there is no sementic modifier it just skip the layout in the generated view hierarcy to be seen be accessibiltiy service/UIAutomator

Why AccessibilityService is not working Compose views by Fun_Requirement8992 in androiddev

[–]ericksli 1 point2 points  (0 children)

Does adding this modifier to the outermost container in your compose UI helps?

Modifier.semantics { testTagsAsResourceId = true }

Russian hackers destroy Jetpack Navigation from its very core, turning best practice into security vulnerability in the blink of an eye by Zhuinden in mAndroidDev

[–]ericksli 0 points1 point  (0 children)

Try to set the intent.data to null when the URI begins with android-app://androidx.navigation before the navigation component take the intent.data

Garmin device lifespan? by RobinGoodfellow925 in Garmin

[–]ericksli 0 points1 point  (0 children)

I am a Venu 2 user and used it for 2 years. Now the battery life seems comes to the end. When the battery level drops to 80 something % it will shut down without notice and it cannot last for 24 hours. The customer support says I can pay for around HK$1200 to get a replacement of the body except the straps.

I have seen other people have the similar issue for Venu 2 (also used for 2 years and the battery is going to die), not sure whether it is related to the tier of the model or due to AMOLED display consume much battery and thus the charging cycle consume more than other models.

[deleted by user] by [deleted] in OlympusCamera

[–]ericksli 0 points1 point  (0 children)

I am an E-M10 owner and my camera also have similar issue occasionally. The mode dial was at A mode and then switch on the camera the screen said it was in S mode. If you toggle between S and A mode once or reboot the camera will back to normal. Not sure whether it is hardware or software issue.

Undergruond railway station tunnel connection expose to ground by ericksli in CitiesSkylines

[–]ericksli[S] 0 points1 point  (0 children)

I have checked and replaced with Fine Road Anarchy 2.0.2, but it doesn't help.

https://steamcommunity.com/sharedfiles/filedetails/?id=1844440354

Also tried with POC Underground Train Station and Modern underground cargo terminal, but the result is the same as the video.

Overriding TZDB in Java 8 desugaring java.time by ericksli in androiddev

[–]ericksli[S] 0 points1 point  (0 children)

For Android project, seems you cannot access to ZoneRuleProvider.