rotating the text on a button/rotating the button.

by Ravinder » Thu, 25 Feb 2010 15:13:27 GMT


Sponsored Links
 Hi ,

how can i rotate a view and keep it like that.  I have tried the
Animation method discuss in the following discussion thread.




rotating the text on a button/rotating the button.

by Ravinder » Thu, 25 Feb 2010 20:20:58 GMT


 Hi,

i could get my task done by extending the existing button view and
rotating the canvas while drawing the text.

thanks,
Ravinder Chouhan



> 


Sponsored Links


Other Threads

1. Filter email Exchange di Android

para suhu android, mau nanya nih

Saya di kantor menggunakan email exchange 2007. Bisa nggak ya untuk proses
sync di handset kita, dikasih filter email mana saja yang kita download?
soalnya di email kantor saya ada banyak email (dari milis) yang secara
reguler dikirim dan tidak ingin saya import ke handset saya

kalau di BB kan ada fitur email filter, kalo di handset andro ada gak ya?
saya cari2 gak ketemu soalnya

-- 
"Indonesian Android Community [id-android]" 

2. Best httpclient re-use stategy

Hi there,
I'm new using android sdk/httpclient

I'm writing a small application which needs httpclient lib, basically
to manage the cookie/session automatically.
The website I'm targeting needs a valid session, so, between each http
call, I need to send the cookie. Httpclient does it well. This is a tv
stream application and I have to fetch the channel url, the url has a
token parameter and I have to be logged / authenticated / (=> have a
valid cookie/sessionid) to fetch the channel url.

I got the first cookie/sessionid with the first connection to the
website. The cookie is valid for a certain amount of time, there is no
"expires" but I don't know if there is any server cron to cleanup the
sessions. I assume I have to "ping" every x secondes to maintain the
session valid.

Between each http call, the time could be from 1 sec to several
minutes, it depends if the user wants to change the watched tv
channel. The http call (to fetch the url) is not made by the UI
Thread.

There are several possibilities to manage the httpclient :
- a single httpclient static singleton instance accessed by a custom
synchronized getClient() on an helper class => when / how to release
the http connection ? How to handle that correctly if the user got a
phone call / does not use the application for now (unvalidate during
onResume, etc)?
- Save the cookie (String serialized into SharedPreferences) and
create every time a new httpclient instance (then set the cookie to
the new instance) => overhead to get the http connection
- other ?

I'm asking here what is the best way to implement that.

-- 

3. Penampakan HP Cina Dual Booting Android/WM 6.5 T535

4. Module to Hold On to Camera

5. Video guide to Xperia X10 root

6. Mapping (x,y) to (latitude,longitude)

7. Regarding Opencore Node Level Buffering