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. OOT; WTA; Whatsapp chat dengan orang dengan beda nomor hp

nanya dong ...

di whatsapp, kalo kita memulai chat dengan orang yang gak punya nomor
telp yang kita gunakan untuk register ke whatsapp apa yang terjadi?

-- 
--
Best Regards
Arianto C Nugroho
http://id.linkedin.com/in/ariantonugroho
YM-i : arianto.nugroho
skype-id : nugroho.arianto
(+254) 728 002 390
(+62) 817 9050 530

-- 
"

2. Mainan baru, besok release?

Htc Sensation?



-- 
"

3. [WTA] Hunting nexus s

4. license fees / royalties for players using audio video codecs offered by Android or device manufactures

5. Not able to write a file completely with fileinputstream and fileoutputstream?

6. How to run application at startup (Java app)

7. Android Developer console not updating