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. PV Architecture Question

I would like to have the capability to have multiple parser nodes in
the node-graph/pipeline where the output of one parser node provides
input to a second parser node (which may provide input to yet another
parser node). My current understanding is that the PV architecture
only allows the output of a source node to be the input to either a
sink node or a decoder node and that the maximum length of the node-
graph is 3 (source node->decoder node->sink node). Do I have a correct
understanding of the architecture?

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Compache dan Swa

penjelasan singkatnya mungkin begini :

Swap adalah Virtual Memory, bisa menggunakan partisi khusus linux swap atau 
partisi yg sudah ada, swap bertindak sebagai extra RAM, tapi bukan artinya 
"near comparable" ke RAM asli ya, peningkatan performance akan terasa saat RAM 
kita sudah penuh dan saat multitasking, tapi jg bukan artinya mempercepat 
eksekusi sebuah aplikasi.

Compache adalah sebuah command/script utility yg akan mengkompress isi RAM, 
sehingga lebih banyak data yg bisa di masukkan kedalam RAM, kelemahannya adalah 
saat proses kompresi dan dekompresi akan memakan power usage CPU.

kedua hal tersebut harus di support oleh ROM supaya bisa aktif..

buat para suhu silahkan ditambahkan, kelemahan, kekurangan dan kelebihannya...
--~--~---------~--~----~------------~-------~--~----~
=========================
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group:

Click  

3. PhoneStateListener::onSignalStrengthChanged

4. Bestpractice Android 1.6 Gestures and WebView

5. java.lang.IllegalStateException: Content of adapter changed but ListView didn't

6. detect whether the network is connect

7. Problem in debugging android webkit