Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black screen when start application for the 1st time #92

Closed
VaneskaSousa opened this issue Aug 4, 2020 · 4 comments
Closed

Black screen when start application for the 1st time #92

VaneskaSousa opened this issue Aug 4, 2020 · 4 comments
Assignees
Labels
Android Issue related to the platform Android bug Something isn't working
Milestone

Comments

@VaneskaSousa
Copy link
Collaborator

Describe the bug

When installing an application created with TotalCross and strart for the first time everything is black. You need to close the app and start it again for the UI appear.

To Reproduce

Generate a .apk from a hello world or any other application using TotalCross 6.1.0 in VSCode and intall the app on your phone.

Expected behavior

The first time you open your application must to appear the app UI

Screenshots or videos

video

Devices:

Please complete the following information:

  • Device: Moto G7 play
  • OS: Android
  • OS Version: 10
  • TotalCross Version: 6.1.0

Additional context

The transition animation between modes (night and day) is very slow. But I don't know if this has to do with the reported problem.

@VaneskaSousa VaneskaSousa added the bug Something isn't working label Aug 4, 2020
@ItaloYeltsin ItaloYeltsin added Android Issue related to the platform Android c labels Aug 4, 2020
@ItaloYeltsin
Copy link
Contributor

This might be problem with screen update. We have to somehow force a screen update in this and when the application comes back from the sleep state.

@acmlira acmlira removed c++ labels Aug 20, 2020
@nmarquesin nmarquesin added this to the 7.0 milestone Oct 5, 2020
@nmarquesin
Copy link
Contributor

nmarquesin commented Oct 30, 2020

Suggested next steps:

  • Build Skia for android in branch chrome/m87
  • PoC
  • Update Skia
  • Handle the patches made by Allan from Skia
  • Integrate SDL to TotalCross
  • Update cloud machines with the latest build
  • Integration
  • Test
    if it works, integrate with TotalCross

@acmlira
Copy link
Contributor

acmlira commented Nov 10, 2020

Suggested next steps:

  • Build Skia for android in branch chrome/m87
  • PoC
  • Update Skia
  • Handle the patches made by Allan from Skia
  • Integrate SDL to TotalCross
  • Update cloud machines with the latest build
  • Integration
  • Test
    if it works, integrate with TotalCross

Outdated. Tracked in #196.

@flsobral
Copy link
Member

Fixed by #212

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Issue related to the platform Android bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants