Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Only grey screen on Android #3

Open
yw5aj opened this issue Feb 13, 2014 · 6 comments
Open

Only grey screen on Android #3

yw5aj opened this issue Feb 13, 2014 · 6 comments

Comments

@yw5aj
Copy link

yw5aj commented Feb 13, 2014

Hi,

First of all, thank you for contributing for such a great example!

However, when I tried to use it with Android, I encountered a problem. No matter its my local build or PhoneGap Build, when I open this app with either my Samsung I777 or Nexus 7, all I saw is a silver blank screen. Is that this repository is not working for now?

Thanks!

-Shawn

@tleyden
Copy link
Contributor

tleyden commented Feb 13, 2014

Can you run "adb logcat" and upload the logs to pastebin / friendpaste and
then post the link?

Also, which version of TodoLite-PhoneGap are you running, and what are the
names/versions of the cblite related jars (I believe it's still using the
old beta1 jars).

On Wednesday, February 12, 2014, yw5aj [email protected] wrote:

Hi,

First of all, thank you for contributing for such a great example!

However, when I tried to use it with Android, I encountered a problem. No
matter its my local build or PhoneGap Build, when I open this app with
either my Samsung I777 or Nexus 7, all I saw is a silver blank screen. Is
that this repository is not working for now?

Thanks!

-Shawn

Reply to this email directly or view it on GitHubhttps://github.com//issues/3
.

@deefactorial
Copy link
Contributor

I have had several android clients come to me with this issue. They have been running earlier android versions < 4.3.

I was able to get the Logcat from one of the clients
there was this line in it.
09-27 18:21:54.875 E/Web Console(11395): Uncaught Error: INVALID_STATE_ERR: DOM Exception 11

it was on the line that logged "before create db put".

when I commented out that line and the line with:

    console.log( 'XMLHttpRequest get: ' + xmlHttp.responseText )

the client was able to load the application without the grey screen of death.
Hope that helps someone.

@tleyden
Copy link
Contributor

tleyden commented Sep 29, 2014

@deefactorial thanks for posting this. So removing log lines fixed the Grey Screen Of NonLife?

Can you send a PR with these changes?

@deefactorial
Copy link
Contributor

@tleyden yes that's right.
I can make a pull request.

@deefactorial
Copy link
Contributor

@tleyden can you merge my last PR ?

@tleyden
Copy link
Contributor

tleyden commented Sep 29, 2014

Oops that slipped through the cracks .. taking a look.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants