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

Refactor drafts tree #14

Open
GoogleCodeExporter opened this issue Apr 17, 2015 · 0 comments
Open

Refactor drafts tree #14

GoogleCodeExporter opened this issue Apr 17, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Purpose of implementation request:
The drafts tree is loaded half from the apk, half from the sdcard. In Android 
3.0 and above accessing the sdcard seems to be unstable or not best practices. 
This is what lead to issue #6 To remedy this we want to refactor the Drafts 
Tree to future-proof it. There is a persistant bug coming from the JIT code, 
the only way to detangle it is to get the full space tree code rather than the 
minified. 

02-10 21:55:44.413: E/Web Console(9961): Uncaught TypeError: Cannot read 
property 'name' of undefined at file:///android_asset/jit/draft_tree.js:109
02-10 21:55:53.753: E/Web Console(9961): Uncaught ReferenceError: editId is not 
defined at null:2

When implementing the request, please focus on these
steps/functions/components:
Bring in the lastest version of the JIT space tree. Bring in the Copy Assets 
Async Task library if we decided to copy assets off. Another alternative could 
be to load the json through the loadUrl funciton of webview. 

When implementing the request, watch out for the following potential
security/lack of access/lack of data/formatting etc hiccups:


Expect next steps to be:



Original issue reported on code.google.com by [email protected] on 11 Feb 2012 at 3:34

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

No branches or pull requests

1 participant