iLanguage / Aublog

Automatically exported from code.google.com/p/aublog
1 stars 1 forks source link

Refactor drafts tree #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 gina.c.c...@gmail.com on 11 Feb 2012 at 3:34