Notepad tutorial improvements

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


Sponsored Links
 Hi,
I've been doing the notepad tutorial @
 http://developer.android.com/guide/tutorials/notepad/index.html 

1)
I've added a char counter on top of the body doing this:
note_edit.xml =>  http://pastebin.com/f5fda29fe 
NoteEdit.java =>  http://pastebin.com/f4495e573 

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?

2)
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. Sensor values returned by tricorder

> >> Of course, that depends on where The Island is.


Now I got it :-) The value is the secret number from lost.

http://www.4815162342.com/
GRAVITY_THE_ISLAND = 4.815162

I have to admit I have not seen the series, so that made recognizing
this number more difficult :-)

Peli

--~--~---------~--~----~------------~-------~--~----~

2. How can get the source code of the embedded app Pictures?

Hi All,

I like this app very much, and want to add some SNS features to it.
How/Where can I get the source code of the embedded app Pictures?
Or maybe I should wait for google open source all of android.
Thanks.

Anthony
--~--~---------~--~----~------------~-------~--~----~

3. Android Maps application source code

4. Parsing a complex Dataset(containing diffgram) using SAX parser

5. 2 tier view of tab list

6. how to display a local image in the browser android

7. MediaPlayer in 0.9?