Re: [android-developers] Focus problem with Option menu

2013-08-10 Thread drenda
Hi Treking, thanks for your reply. I need that option menu always visibile (there is only one icon). If I try to open the keyboard into the method onPrepareOptionsMenu() before the creation of the menu, the keyboard disappers immediatly; insted if I open the keyboard after the menu is created

[android-developers] drawBitmap Flip, Scale and Translate

2013-08-10 Thread decode
I have my code as below : canvas.drawBitmap(bitmap, src, dest,p); (p is null. using default paint, src is null aswell) src and dest are Rect I am trying to flip the bitmap horizontally by using canvas.scale as below canvas.save(); canvas.scale(-1.0f, 1.0f);

[android-developers] Fetching email ids to which user has sent email

2013-08-10 Thread Ansh
I am working on an App where i want to open a mail client and allow user to enter mail ids to send mail.Once User clicks on send button mail should be sent and return back to the my app with all the mail ids i have sent mail to. I have done everything but i don't know how i can get the

Re: [android-developers] Focus problem with Option menu

2013-08-10 Thread TreKing
On Sat, Aug 10, 2013 at 8:48 AM, drenda daniele.re...@gmail.com wrote: I need that option menu always visibile (there is only one icon). Then this UI element shouldn't be in the options menu. This is not what a menu is for. Create your option menu item as a button or something on the UI

[android-developers] MediaController

2013-08-10 Thread bob
Does anyone know why the MediaController class doesn't show up on the screen when I define it in an XML layout? I saw this in the docs: *The way to use this class is to instantiate it programatically.* However, the docs seem to contradict themselves when they go on to say: *Functions like

[android-developers] Text to speech

2013-08-10 Thread shiva pendem
HI every one, i would like to start a text to speech on a incoming call and i have tried the following method, private class CallStateListener extends PhoneStateListener implements TextToSpeech.OnInitListener{ public TextToSpeech tts; @Override public void onCallStateChanged(int state, String

Re: [android-developers] Text to speech

2013-08-10 Thread Fred Niggle
You would help yourself by adding debugging so you can double check things. What permissions do you have set? What device are you testing on? When a call comes in what happens? On 10 August 2013 21:28, shiva pendem pendem.shiv...@gmail.com wrote: HI every one, i would like to start a text

[android-developers] Re: Text to speech

2013-08-10 Thread shiva pendem
Hi, i have been debugging from past 3 days but unable to fine out the reason, As you have said i have added lot many permissions to make it run but it is not working fine, uses-permission android:name=android.permission.READ_PHONE_STATE / uses-permission

Re: [android-developers] Re: Text to speech

2013-08-10 Thread Fred Niggle
Check this out : http://www.codeproject.com/Tips/462145/Handling-Phone-Events-in-Android-Programs Does it help? On 10 August 2013 22:07, shiva pendem pendem.shiv...@gmail.com wrote: Hi, i have been debugging from past 3 days but unable to fine out the reason, As you have said i have added

[android-developers] handling Date and time with the BetterPickers Library

2013-08-10 Thread Ines
Hi , I'm testing the new BetterPickers library(Date time pickers). Every thing is ok until I added more than a one button to my xml file. the displaying of time on button text after picking it via the pickers is stopped . this is my layout xml file: ScrollView