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. Obscura

Despite the ADC 2 announcement, we've decided to publish our latest
application, and not wait for the developer challenge:

Obscura is a picture safe to keep your private images secure.

Obscura itself is closed source and sold through Android Market, but
all encryption of the images is handled through intents by the open
source OI Safe, similar to how it is done in OI Notepad.

Here are a few screenshots:
http://www.openintents.org/en/node/231
You will notice the similarity to Android's Gallery, on which we based
Obscura.

Any feedback is welcome. Let us know of any bugs you encounter, as
this is the first release.

Peli
www.openintents.org


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

2. Card Requirements to upload applications to Android Market

I understand to upload to Market only developers (or with companies
registered) from USA, UK,
Germany and more countries coming soon.
but,
does credit card that is required for google checkout registration also need
to be from these countries?
What if manager/owner of company is not from any of these countries?
Many companies do not have a business credit card & their owners are
foreign.

So what credit/debit card is possible to use for Android Market
registration?

J

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

3. compile error in 2.6.29

4. Developer does't see comments on android market from other countries

5. AlertDialog setDapter

6. layout_gravity does not center the control

7. how make the ListView be above the button