[android-developers] Re: Receive SMS

2013-06-04 Thread amro alfares
Hello Ehsan to receive from certain numbers , you have to do the following : 1- make a BroadcastReceiver for receiving SMS messages and declare it in the AndroidManifest.xml 2- in the onReceive(Context context, Intent intent) you take the incoming message by doing this Bundle bundle = inten

[android-developers] Re: receive sms application. need help.

2013-06-04 Thread amro alfares
Hello to start activity from a BroadcastReceiver in the onReceive(Context context, Intent intent) method do the following : Intent myIntent = new Intent(context, MyActivity.class); myIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity(myIntent); Hope that Helps Regards On

Re: [android-developers] Android to connect / disconnect PLC devices

2013-06-04 Thread Yaron Reinharts
Hi, There is no general solution since there is no standard for PLC devices, each manufacturer defines a proprietary protocol to communicate with his devices. Once you know the manufacturer and the device model you can try to find libraries which encapsulates the protocol. Here is a post exp

[android-developers] Re: Cannot install a release build

2013-06-04 Thread TobyKaos
Hello I have the same problem with the S2 of my customer. How to fix it? Or maybe when release will be on the google play the error will not occur. -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to an

Re: [android-developers] Re: Hello. I am Japanese. Is it possible to divide View used using a conditional expression within a xml file?

2013-06-04 Thread rauf qureshi
Xml is only used for layout which will load at run-time. On Tue, Jun 4, 2013 at 9:16 AM, Jonathan S wrote: > Not in XML. You only do that in Java. > > > On Monday, June 3, 2013 10:15:54 PM UTC-4, マキレット wrote: >> >> Hello. >> I am Japanese. >> Is it possible to divide View used using a condition

Re: [android-developers] Re: Hello. I am Japanese. Is it possible to divide View used using a conditional expression within a xml file?

2013-06-04 Thread rauf qureshi
Xml file is not used for layout which will load on run-time. On Tue, Jun 4, 2013 at 9:16 AM, Jonathan S wrote: > Not in XML. You only do that in Java. > > > On Monday, June 3, 2013 10:15:54 PM UTC-4, マキレット wrote: >> >> Hello. >> I am Japanese. >> Is it possible to divide View used using a condi

[android-developers] Re: Deepak Yadav ..6/4/2013 4:49:43 PM

2013-06-04 Thread Deepak Yadav
http://www.cr5.nl/djqxn/jjvuuuxphaoltfxrmgr.owocahokpf -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-develo

[android-developers] :jhonny Villarroel:

2013-06-04 Thread jhonny Villarroel
http://restaurante-capricho.com/qbrg/xgdphdkdvvsrcnrzb.zer -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-de

Re: [android-developers] Re: Simulate an incoming call from a test?

2013-06-04 Thread Kristopher Micinski
I'm not sure I understand, but... http://stackoverflow.com/questions/10784174/instrumentation-activitymonitor-not-monitoring-intent-action-call ? Kris On Tue, Jun 4, 2013 at 9:23 AM, Larry Meadors wrote: > That's not from a test - if I were going to do that, it'd be easier to > telnet to the

[android-developers] Re: Simulate an incoming call from a test?

2013-06-04 Thread Larry Meadors
That's not from a test - if I were going to do that, it'd be easier to telnet to the emulator and send "gsm call 1234567890". I am looking for a repeatable way to do this in code so I can write a test to verify that my app behaves correctly without clicking through all the steps manually (because

[android-developers] Re: Simulate an incoming call from a test?

2013-06-04 Thread Marty Ballard
Here you go, I figured it worked this way as this is the same for testing sending an SMS. Launch a second emulator and get the console port number (such as 5554) from the first emulator. Click the phone app and enter that console port number and dial. On Monday, June 3, 2013 5:20:44 PM UTC-5,

[android-developers] Webviews: Problem with onReachedMaxAppCacheSize and setAppCacheMaxSize

2013-06-04 Thread BearTi
Hi, I´ve a little problem with my WebView. I´ve added a WebChromeClient it an want now to response when the cache is reached. Problem: The method "onReachedMaxAppCacheSize" is never called! Is this a bug? Want can I do? Also myWebView.getSettings().setAppCacheMaxSize(1024); seems not to wor

[android-developers] Re: Global Search only displaying one search suggestion in 2.2

2013-06-04 Thread Ian Warwick
I know this is years old but just so someone else does not experience this nightmare, the problem described by James was happening to me because of the subtle difference between SearchManager.SUGGEST_COLUMN_INTENT_DATA and SearchManager.SUGGEST_COLUMN_INTENT_DATA_ID If you use SearchManager.SUG