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. Deleting Incoming SMS???

I have an SMSReceiver that I built to intercept a particular type of
SMS that would run a service.  That is all working great, however, I
would like for this SMS to not show up in the user's inbox.  So
ideally i would like to delete the SMS on the time of Interception.  I
have gone through a ton of threads and having seen anyone accomplish
this yet.

Am I missing something or is this even possible?  I would think there
would be some _id on the incoming SMS that i could use to run the
delete against the SMS store.

I am looking for any solution, and I hope someone out there has
accomplished this.



2. Can we charge some externals stuffs for a paid Android Market game

Hi all,

I have a question about paid applications from AndroidMarket.
I developp a multiplayer game witch interact with a Web site

Can I sell on Android Market an application, and then sell from the
web site (not by the android market) some downloadable content or some
extendable rights ?

Example :
A RTS game on android market that allow you to obtain 500unit/days
(normal functionning)
And then on the webSite or from the Phone you charge to obtain

The game is fully functionnal but you can pay to obtain more turn, or
more data food, or more etc ... as all web online game.

Thanks by advance,



3. How to get the currently foreground activity class name?

4. How to play Video files from MediaStore

5. who can tell me how to achieve this function?! thx!

6. Where is the source code for "Pictures" app

7. Please help! Having problem with wave locked service. it still going sleeping.