11-13-2007, 07:48 PM
|
#3 (permalink)
|
| Thumbs Must Hurt
Join Date: Nov 2007 Location: atm: Kunming norm: Berlin Model: 8700v PIN: N/A Carrier: ChinaMobile
Posts: 55
Post Thanks: 0 Thanked 0 Times in 0 Posts
| ... My Problem was how to access to the Context's fields and methods without knowing its class (getClass says eg MemoImpl as context is a Memo). Then I recognized, that memoImpl is just a "implemented" version of teh interface BlackBerryMemo...so you can simply cast(when you are sure it is a memo (if (context instanceof BlackberryMemo)) the context to BBMemo and than do whatever you want to do... |
| Offline
| |