Where are the Android Sources, like strings display on the device,where are they?

by Chi Kit Leung » Tue, 08 Sep 2009 09:35:19 GMT


Sponsored Links
 do you mean the characters set or just displaying a string on screen?






-- 
Regards,
Michael Leung
 http://www.itblogs.info 
 http://www.michaelleung.info 

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



Other Threads

1. Versi eropa N1 ada multitouch

dear rekan rekan,saya baru baca nehh di engadget :

http://short.to/12omz

Versi eropa dari N1 dilengkapi dengan multitouch ,just like kasus
droid-milestone,dan disitu juga ada keterangan kalo versi eropa yg bakal
dibundel sama vodafone ini akan sefera datang(in coming week)
huff.....untung kemaren blom beli :)  (ngeles mode:on padahal lagi ga ada
budget)

2. Passing messages between threads.

Hi Everyone,

Currently I have two threads, other than the UI thread, which need to
communicate with each other. Thread one needs to be able to send
messages directly to thread two, and vice versa. What is the best way
to implement this?

At the minute, my code looks like this:

runnable1 = new myRunnable();
runnable2 = new myOtherRunnable(runnable1);
runnable1.setOtherRunnable(runnable2);
sThread = new Thread(runnable1);
sThread.start();

Then, inside runnable1, I've got:

public void run() {
        Thread otherThread = new Thread(runnable2);
        .....*snipped code*.....
        if (event){
                runnable2.sendMessage(message);
                otherThread.interrupt();
        }
}

Thread two is in a constant sleep loop, until he is interrupted, at
which point he'll check his message queue and act on it.

-----------

I feel like there should be a better way to do this - this looks
particularly messy to me:
"runnable1 = new myRunnable();
runnable2 = new myOtherRunnable(runnable1);
runnable1.setOtherRunnable(runnable2);"

Add the fact I'm going to add a third thread that will also need to
send messages to and get messages from thread 2, which makes my head
near to exploding point thinking about it.

Should I be using callbacks/interfaces? Is there a good place to read
about this somewhere? I'm very new to this side of things really.

Many thanks,
~redders.

3. file system

4. Null Pointer Exception with getIntent().Extras....

5. Nexus bug

6. Access internet while bypassing permission check?

7. How much is the weight of the shipped box?