Browse files

addes some notes re memory leaks

  • Loading branch information...
1 parent 49afc67 commit 29e9223bf9933eb325298bf32a6dcbfad42edb8a @wildabeast wildabeast committed Dec 18, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1
@@ -55,8 +55,9 @@ Your application should run inside Firefox, with the phonegap API functioning an
- - Accelerometer and orientation are currently crashing. Appears to be a memory leak in the registerForNotification call, as discussed here: There's not much to do about this until nokia fixes this, unless we find a workaround.
+ - The memory available to WRT apps is very limited. Loading large javascript files into memory, playing sound files, and excessive monitoring of sensors can fairly easily crash your application. Minify js files, and use sensor monitoring (accel, gps, etc) conservatively.
- If your symbian phone has contacts synced via PC Suite or Ovi Sync, and you attempt to query the contacts api, your app will crash. This is discussed here: Hopefully nokia will fix it soon.
+ - Javascript animation in WRT is not great. I've tried dojo, scriptaculous, & emile, to no avail. You can leave it in ... your app will reach the animation end state ... but the animation itself won't be pretty.
Helpful Links

0 comments on commit 29e9223

Please sign in to comment.