[android-developers] How can I get a reference to InputMethodService for an Android system app?

2014-01-23 Thread user1235555
I have a requirement of changing the keyboard based on the change of language. I have done a bit of research and found that it can be done using these APIs 1. InputMethodManager setInputMethod(android.os.IBinder, java.lang.String) 2. InputMethodService

[android-developers] AutoCompleteTextView for contacts

2014-01-23 Thread Muhammad Rashid
Hi I would like to say that I am developing an android SMS app. I am using AutoCompleteTextView for contacts suggestions. Here I am using SimpleAdapter with three fields name, phoneNumber and phoneType. But when I put any text like m, it suggests all contacts with phoneType mobile. Same if

[android-developers] Re: Best solution for touchable Toast-like notification for plugin library

2014-01-23 Thread Jose_GD
Why not use the standard Android notification system? Regarding plugins, I found useful this talk from Mark Murphy, since I'm working too in a plugin architecture for one of my apps: http://www.youtube.com/watch?v=Xu8Z_3TaWuE Hope this helps Cheers, José

Re: [android-developers] AutoCompleteTextView for contacts

2014-01-23 Thread TreKing
On Thu, Jan 23, 2014 at 5:54 AM, Muhammad Rashid muhammad.rash...@gmail.com wrote: But when I put any text like m, it suggests all contacts with phoneType mobile. Same if I put h, it suggests all contacts with phoneType home. But I want to get only suggestions for name and phoneNumber not

[android-developers] Open URL in Fragment causes ActivityNotFoundException

2014-01-23 Thread Stanley Lei
Hi all, I'm working on the APP to show multiple images with Fragment which contains an ImageView control. And I also set the onClickListener for the image view to open some URL with startActivity. But unfortunately, the App crashed with ActivityNotFoundException. Below is the code and the

Re: [android-developers] Open URL in Fragment causes ActivityNotFoundException

2014-01-23 Thread Marina Cuello
Does it work if you add http://; to your URL? It sounds like your device/emulator has no application to handle the browsing (right word?) of that kind of data (an URI with no protocol declared). Marina On Thu, Jan 23, 2014 at 2:11 PM, Stanley Lei xiaofeng.lei...@gmail.comwrote: Hi all,

[android-developers] Re: Best solution for touchable Toast-like notification for plugin library

2014-01-23 Thread Glenn Powell
I don't think Notifications will work, since our popups need to show up inside the publisher's app that has integrated our plugin. I believe Notifications are only supposed to be used outside of apps, and I'm not sure if they react to touches like we will need. As for plugin frameworks, we do

Re: [android-developers] Open URL in Fragment causes ActivityNotFoundException

2014-01-23 Thread Stanley Lei
Thanks Marina, you're right, it's working now with the http://; prefix. What a stupid error!! On Thursday, January 23, 2014 10:06:15 AM UTC-8, Marina Cuello wrote: Does it work if you add http://; to your URL? It sounds like your device/emulator has no application to handle the browsing

[android-developers] Outgoing Call

2014-01-23 Thread Arun Kumar K
Hi, I am arun , working as a android developer. now i am stuck with one problem.please help me. My problem is I want to identified my outgoing call is answered or not how can i achieve this. -- *Regards* *Arun* -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Outgoing Call

2014-01-23 Thread sourabh sahu
You can create a broadcast reciever, using this you can register to system events, like a new email has arrived, system boot is complete or a phone call is received and react accordingly. On Fri, Jan 24, 2014 at 11:57 AM, Arun Kumar K arunkuma...@npcompete.netwrote: Hi, I am arun , working