Notepad tutorial improvements

by Macarse » Wed, 15 Jul 2009 00:26:49 GMT

Sponsored Links
I've been doing the notepad tutorial @ 

I've added a char counter on top of the body doing this:
note_edit.xml => => 

Questions with this:
- Are there any adapters like swing in android. I just use one method
from TextWatcher and need to override all of them.
- When testing my code mChars.setTextColor(Color.WHITE) on line 92
turns my text bold. Other colors don't do this. Bug?

If I add notes without title, then I can't select them from the list
to delete them.
Which would be the best way to fix this?

Thanks for reading!


Other Threads

1. Create Connection failed msg like the browser app

How do i create a message box that says Connection failed "this
application requires network access to work" and in the message box
you click Settings or canceled. The same message box you get when you
try to use the browser with no Internet connection. I have looked in
the Browser code but could not figure out how the make a button that
take you to the phone setting window.


2. Debug.startMethodTracing() - can't dump file

I'm running into a terrible, terrible problem - an activity that uses
a surfaceview takes somewhere between 3 and 75 seconds before the
surfaceCreated method is called.

I'd like to use Traceview to figure out what's taking so long, but I
get an exception when Debug.startMethodTracing() is called:

First there's an error message:

E/dalvikvm( 6286): Unable to open trace file '/sdcard/dmtrace.trace':
Permission denied

Then there's an exception (file open failed).

Does this have to do with not having root access on ADP1's any more?
How do I get that trace to work?


3. DDMS won't load (or doesn't parse?) KML file

4. Problems with WakeLock

5. how to make user-contorl??

6. Full scree Video View..

7. AppWidget layout in different homescreen applications