Android wear app goes black screen when I tap anything - android

I made my first hello world app, launched it on my smart watch (Gear Live), and it looks fine.
But then, as soon as my finger touches the screen, my watch turns into a pure black screen, and my hello world app is gone. There is nothing in Logcat, not a single word.
Is there a debug setting on this or something that I overlooked?
EDIT: Did more tests, out of 20 times I launched this app from Android Studio, all 20 of them showed "Hello World" on my watch, and 17 of them crashed when I tap anything. 3 of them did not crash when I tap, and they do not crash no matter what I do (until I swipe from left, which closes it).

Related

Xamarin form app stops Displaying when idle for few seconds

I have developed an app using xamarin forms. everything works fine. but the problem now is whenever I launch the app on an android emulator or on any android device, it runs. but then when it's idle for a few seconds, say 15secs,
it stops displaying. the screen goes blank(it displays a white page with nothing on it). then I have to close the app and reopen it for it to continue displaying. what could possibly be the cause?
if I launch the app and I click all the buttons fast enough, the app keeps working but if I delay, it then hangs. No more frontend display.

openfl - android black screen if resuming after a while

I am developing an android game with openfl.
When I test it on my phone, it starts up fine. Now if I deactivate the game app and return to it after a short while it shows a black screen for less than a second then returns to the game.
However, if the game app stays in the background for around 10mins, then if I open it up again it shows a black screen, then the game comes up after waiting for 15 seconds or it doesn't come up at all - just a black screen. (At this point, android is not frozen since I can pull down the notification bar.)
Also there is a music in the game, and it does resume playing during the black screen.
Does any one have any idea what could be going wrong here?
Upgrading openfl to 4.4.1 and lime to 3.4.1 get rids of this problem.

Android app doens't use Color.RED when launched from the device

So, I'm a beginner developing an android app with eclipse.
When I launch it with Eclipse (to the real device) it goes as expected, but when I launch it after, from the device menu like any other app, it goes different.
The app is supposed to red out some imagebuttons, and grey out after pressing six of them. The thing is, when I launch it from the phone it immediately greys them out, not beginning with the red. I have no clue what it might be, should I post the code part? Does it make a difference?

Android: Black screen but touch events working

I notice a strange behavior for my app.
After a while while the app is Foreground or background when it tries to go to the next activity it shows a black screen but the touch events works. There is no crash and the strangest thing is that if he presses in the black screen and navigates to the next activity everything is ok BUT again from there if he goes further then again he has a black screen
This happes regardless version or device.
I am quite sure that has to do with memory and there is not much to do but if anyone had a similar behavior please comment.

Why is my android emulator home screen Blank?

I've been trying out some Android tutorials, and I have a problem with my emulator (I didn't used to have this problem):
When I hit the Home Button, it looks like this:
Even after waiting for half an hour, nothing shows up. Does anyone know why is it that the Home screen is blank ?

Categories

Resources