Re: [android-developers] Re: Tapping the overflow button make the action mode finish.
I am sorry, This is the android system's problem and I have no solution. 2013/10/22 Cliffus cliff.ophalv...@gmail.com can you please post the answer to your question? thanks! Cliff Op woensdag 6 maart 2013 09:13:53 UTC+1 schreef Hilda Chen: Dear All: I have added some menu items to action mode of EditText, and two menu items gone to overflow. But when I tapped the overflow button, the action mode disappeared at once. Why? Thanks! Hilda -- 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-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to a topic in the Google Groups Android Developers group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-developers/kd4e0PKuox8/unsubscribe . To unsubscribe from this group and all its topics, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Hilda Thanks and Regards! -- 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-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Introspecting Android style in code
Context.obtainStyledAttributes() implemented as public final TypedArray obtainStyledAttributes(int resid, int[] attrs) throws Resources.NotFoundException { return getTheme().obtainStyledAttributes(resid, attrs); } and Theme.obtainStyledAttributes() has a different problem that I asked about in another posthttps://groups.google.com/d/msg/android-developers/ChUiruJ_UKw/a4BaGEipgocJ:( I'll probably have to create a custom component and analyze custom attributes in its constructor instead of trying to introspect the style. That approach at least works. On Sunday, November 24, 2013 11:46:18 PM UTC-8, Piren wrote: use this method instead http://developer.android.com/reference/android/content/Context.html#obtainStyledAttributes(int, int[]) -- 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-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Android 4.4 Encryption Code Not Backwards Compatible
Since 4.4 my encryption code (working since Android 1.5) fails with... java.security.InvalidKeyException: initialisation vector must be the same length as block size at the init call in the following code: String passphrase = pass; String alg = PBEWITHSHA-256AND256BITAES-CBC-BC; PBEKeySpec keySpec = new PBEKeySpec( passphrase.toCharArray(), salt, 2001 ); SecretKey key = SecretKeyFactory.getInstance( alg ).generateSecret( keySpec ); Cipher ecipher = Cipher.getInstance( key.getAlgorithm() ); AlgorithmParameterSpec paramSpec = new IvParameterSpec( initVector ); ecipher.init( Cipher.ENCRYPT_MODE, key, paramSpec ); initVector and salt are both 8 byte arrays. ecipher.getBlockSize() reports 16, so yes, it doesn't match the initialization vector. Presumably some default has changed somewhere. This leaves all my users who used encryption in any way completely stuck. I've tried to arrange without success that the cipher block size is set to 8. For instance: Cipher.getInstance( AES/CBC8/PKCS5Padding ); Gives: java.security.NoSuchAlgorithmException: can't support mode CBC8 On the other hand, making initVector a 16 byte array causes init() to throw: java.security.InvalidKeyException: invalid parameter passed to AES init - com.android.org.bouncycastle.crypto.params.ParametersWithIV Any ideas ? TIA, Pent -- 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-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Provide events to Calendar-App using ContentProvider
Hi Justin, first thanks for your answer. I googled a lot before posting for searching a good approach for providing my events to the Android Calendar API. I think my own solution will be to gather all my events to save them to the calendar using the calendar API if it does not already exists. The event ID then has to be a unique identifier for my data object. This way old events can stay in calendar and new, not existing events can be added this way. (something like: http://stackoverflow.com/questions/7859005/how-to-read-and-edit-android-calendar-events-using-the-new-android-4-0-ice-cream) Regards! -Danny Schimke Am Freitag, 22. November 2013 17:27:41 UTC+1 schrieb MagouyaWare: Step 1: Read this - http://android-dev-tips-and-tricks.blogspot.com/2012/08/so-you-need-help.htmlhttp://www.google.com/url?q=http%3A%2F%2Fandroid-dev-tips-and-tricks.blogspot.com%2F2012%2F08%2Fso-you-need-help.htmlsa=Dsntz=1usg=AFQjCNG4gp6Lt3caONN0oaRLvZ2UdNRMIQ Step 2: http://lmgtfy.com/?q=android+calendar+content+providerhttp://www.google.com/url?q=http%3A%2F%2Flmgtfy.com%2F%3Fq%3Dandroid%2Bcalendar%2Bcontent%2Bprovidersa=Dsntz=1usg=AFQjCNEDZFIM6ZK-DWm1cCWo_tPf6NE35Q Step 3: Read up on Calendar Provider (the very FIRST link in the above search) Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyawarehttp://www.google.com/url?q=http%3A%2F%2Fsites.google.com%2Fsite%2Fmagouyawaresa=Dsntz=1usg=AFQjCNF1GlPVn12XOJ4zx5vsopPGYE4trA On Thu, Nov 21, 2013 at 12:22 PM, Danny S. danny@googlemail.comjavascript: wrote: Hi, I want to provide events from my application to the standard Android calendar (com.android.com). Now I know, that a ContentProvider is used to give other applications access to application data. First I thought about adding my own ContenProvider to allow the calendar-APP accessing my events indirectly, but this isn't possible, because the calendar doesn't know my provider. Do I have another chance instead of adding events manually to the Android calendar, or is it possible to create my own ContentProvider using the calendar's URI? I need an approach how to keep the sync between the calendar and my applications data. I only want to use a local calendar, no synchronization with a server! If my app becomes new data I need to remove old events and add new ones. Other events should stay in the calendar... Thats what I am thinking about... Thanks very much in advance! -Danny Schimke -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- 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-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Android 4.4 Encryption Code Not Backwards Compatible
Correction: this one: Cipher ecipher = Cipher.getInstance(AES/CBC/PKCS5Padding); Works with a 16 byte initVector. That doesn't help me recover old users data though. Pent -- 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-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Android 4.4 Encryption Code Not Backwards Compatible
On Mon, Nov 25, 2013 at 9:59 PM, Pent supp...@apps.dinglisch.net wrote: Since 4.4 my encryption code (working since Android 1.5) fails with... java.security.InvalidKeyException: initialisation vector must be the same length as block size at the init call in the following code: String passphrase = pass; String alg = PBEWITHSHA-256AND256BITAES-CBC-BC; PBEKeySpec keySpec = new PBEKeySpec( passphrase.toCharArray(), salt, 2001 ); SecretKey key = SecretKeyFactory.getInstance( alg ).generateSecret( keySpec ); Cipher ecipher = Cipher.getInstance( key.getAlgorithm() ); What does key.getAlgorithm() return on 4.4 and previous versions? What does ecipher.getProvider().getName() return on 4.4 and previous versions? Note that Using Cipher.getInstance() without specifying explicitly the algorithm, mode and padding is a recipe for disaster. You could try to get the old behaviour by calling Cipher.getInstance( key.getAlgorithm(), oldProvider); where 'oldProvider' is the value returned by ecipher.getProvider().getName() on pre-4.4 versions. That won't work if the provider is the same, but internal implementation details have changed. AlgorithmParameterSpec paramSpec = new IvParameterSpec( initVector ); Where does initVector come frome and how was it generated? ecipher.init( Cipher.ENCRYPT_MODE, key, paramSpec ); initVector and salt are both 8 byte arrays. ecipher.getBlockSize() reports 16, so yes, it doesn't match the initialization vector. Most importantly, what encryption algorithm are you trying to use? AES's block size is 16 bytes (128 bits) so there is no way it can work 8 byte (56 bit) IVs. Presumably some default has changed somewhere. This leaves all my users who used encryption in any way completely stuck. I've tried to arrange without success that the cipher block size is set to 8. This won't work, each algorithm has a specific block size, you can't change it. -- 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-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Wrong stack behaviour in Android 4.4
Hello? Anyone from Google reading this mailing list? -- BoD On Monday, November 18, 2013 10:44:19 AM UTC+1, BoD wrote: Hi! I am observing a different Main/History stack behavior in Android 4.4 as described in this bug : http://code.google.com/p/android/issues/detail?id=61950 Are you observing issue with Stacks in you apps too ? Any documentation about this change ? Thanks for your help, -- BoD PS: this message is originally from my friend who cannot post to this list because his message was moderated and never approved (see my previous mail)... -- 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-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Issues with InputConnection.getExtractedText and bug in InputConnection.getTextAfterCursor in custom input method
Hi all, I'm developing an InputMethod and therefore relying on InputMethodService and it's getCurrentInputConnection to retrieve an InputConnection. I'm trying to extract the current text from the input connection, via the getExtractedText method and it works *most* of the time. However, most is not enough and for instance when calling it on a textfield in a webview it returns null without any valid reason or any errors thrown in the log. I also tried the three other functions of the InputConnection class: getTextBefore/AfterCursor and getSelection and my input method manages to crash certain system apps (Browser or Search for instance) with the following type of error. E/AndroidRuntime( 7032): FATAL EXCEPTION: main E/AndroidRuntime( 7032): java.lang.IndexOutOfBoundsException: getChars (70 ... -2147483579) has end before start E/AndroidRuntime( 7032): at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1009) E/AndroidRuntime( 7032): at android.text.SpannableStringBuilder.getChars(SpannableStringBuilder.java:913) E/AndroidRuntime( 7032): at android.text.TextUtils.getChars(TextUtils.java:74) E/AndroidRuntime( 7032): at android.text.TextUtils.substring(TextUtils.java:260) E/AndroidRuntime( 7032): at android.view.inputmethod.BaseInputConnection.getTextAfterCursor(BaseInputConnection.java:393) E/AndroidRuntime( 7032): at com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:202) E/AndroidRuntime( 7032): at com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:77) E/AndroidRuntime( 7032): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 7032): at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime( 7032): at android.app.ActivityThread.main(ActivityThread.java:5041) E/AndroidRuntime( 7032): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 7032): at java.lang.reflect.Method.invoke(Method.java:511) E/AndroidRuntime( 7032): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) E/AndroidRuntime( 7032): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) E/AndroidRuntime( 7032): at dalvik.system.NativeStart.main(Native Method) W/ActivityManager( 2733): Force finishing activity com.android.browser/.BrowserActivity Thanks for any help from fellow input methods developers! -- 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-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Immersive mode instructions reappear randomly
Hi, my app uses the new immersive mode by calling (in onCreate()): int uiOptions = getWindow().getDecorView().getSystemUiVisibility(); uiOptions |= View.SYSTEM_UI_FLAG_HIDE_NAVIGATION; uiOptions |= View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY; getWindow().getDecorView().setSystemUiVisibility(uiOptions); This works great, but on some devices, the how-to popup (Swipe down from the top to make the navigation controls reappear) appears almost every time the Activity is launched, even though the user has acknowledged the popup. Following the instructions once (to demonstrate to the system that the user knows how to get the navigation controls back if needed) also doesn't help. As far as I understand, the popup is automatically generated by the system, so there's nothing I can do to change this situation, correct? This happens on multiple devices running 4.4, including the Nexus 4 and 5. Thanks! Best regards, Nick -- 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-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Immersive mode instructions reappear randomly
I use immersive mode and doesn't have the problem you describe. But I'm not calling setSystemUiVisibility() on the decor View but on a subclassed View (a ViewPager in my case) pretty much following the System UI Visibility Kitkat API Demo sample. -- 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-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Immersive mode instructions reappear randomly
Thanks, Bob! I've tried using a different View and calling setSystemUiVisibility() in onWindowFocusChanged(), but the problem stays the same :-/! On Monday, November 25, 2013 4:43:13 PM UTC+1, b0b wrote: I use immersive mode and doesn't have the problem you describe. But I'm not calling setSystemUiVisibility() on the decor View but on a subclassed View (a ViewPager in my case) pretty much following the System UI Visibility Kitkat API Demo sample. -- 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-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] How do I show a call screen when my VoIP application is on background?
I'm working on an application that uses VoIP and I need to force the call screen on the foreground when the phone receives a call, just like a regular phone call. I know this is generally a bad thing to do, but this feature was requested by the customer and the application won't be publicly available. I know this is possible, but I couldn't get it done. Any ideas? Thanks in advance. -- 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-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Provide events to Calendar-App using ContentProvider
Hi Danny, I'm glad you are able to find a working solution. In the future if you provide some information that you've actually done research, then I promise I won't reply with links telling you to do some homework first... :-) Thanks, Justin Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Nov 25, 2013 at 6:39 AM, Danny S. danny.schi...@googlemail.comwrote: Hi Justin, first thanks for your answer. I googled a lot before posting for searching a good approach for providing my events to the Android Calendar API. I think my own solution will be to gather all my events to save them to the calendar using the calendar API if it does not already exists. The event ID then has to be a unique identifier for my data object. This way old events can stay in calendar and new, not existing events can be added this way. (something like: http://stackoverflow.com/questions/7859005/how-to-read-and-edit-android-calendar-events-using-the-new-android-4-0-ice-cream ) Regards! -Danny Schimke Am Freitag, 22. November 2013 17:27:41 UTC+1 schrieb MagouyaWare: Step 1: Read this - http://android-dev-tips-and- tricks.blogspot.com/2012/08/so-you-need-help.htmlhttp://www.google.com/url?q=http%3A%2F%2Fandroid-dev-tips-and-tricks.blogspot.com%2F2012%2F08%2Fso-you-need-help.htmlsa=Dsntz=1usg=AFQjCNG4gp6Lt3caONN0oaRLvZ2UdNRMIQ Step 2: http://lmgtfy.com/?q=android+calendar+content+providerhttp://www.google.com/url?q=http%3A%2F%2Flmgtfy.com%2F%3Fq%3Dandroid%2Bcalendar%2Bcontent%2Bprovidersa=Dsntz=1usg=AFQjCNEDZFIM6ZK-DWm1cCWo_tPf6NE35Q Step 3: Read up on Calendar Provider (the very FIRST link in the above search) Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyawarehttp://www.google.com/url?q=http%3A%2F%2Fsites.google.com%2Fsite%2Fmagouyawaresa=Dsntz=1usg=AFQjCNF1GlPVn12XOJ4zx5vsopPGYE4trA On Thu, Nov 21, 2013 at 12:22 PM, Danny S. danny@googlemail.comwrote: Hi, I want to provide events from my application to the standard Android calendar (com.android.com). Now I know, that a ContentProvider is used to give other applications access to application data. First I thought about adding my own ContenProvider to allow the calendar-APP accessing my events indirectly, but this isn't possible, because the calendar doesn't know my provider. Do I have another chance instead of adding events manually to the Android calendar, or is it possible to create my own ContentProvider using the calendar's URI? I need an approach how to keep the sync between the calendar and my applications data. I only want to use a local calendar, no synchronization with a server! If my app becomes new data I need to remove old events and add new ones. Other events should stay in the calendar... Thats what I am thinking about... Thanks very much in advance! -Danny Schimke -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: How do I show a call screen when my VoIP application is on background?
You may use PowerManager.WakeLock with ACQUIRE_CAUSES_WAKUP and ON_AFTER-RELEASE flags (and apropriate authorizations). Pierre -- 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-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] How do I show a call screen when my VoIP application is on background?
There are many open source VoIP client out there that you can look at. You can google for imsdroid or csipsimple, for example. The main idea is to implement a service that runs even when your app is in background and listens to VoIP events (like incoming calls). Then the service launches an intent to show the call screen activity in foreground when a new call arrives. You would probably also manage the display wakeup and unlock if the device is in standby and locked when the call arrives. Both the VoIP clients above have such features. Regards. Il 25/nov/2013 19:27 flsobral flsob...@gmail.com ha scritto: I'm working on an application that uses VoIP and I need to force the call screen on the foreground when the phone receives a call, just like a regular phone call. I know this is generally a bad thing to do, but this feature was requested by the customer and the application won't be publicly available. I know this is possible, but I couldn't get it done. Any ideas? Thanks in advance. -- 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-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Google seems unresponsive to reports about two adware developers I found
Well, it's been a full month since I reported the first app I mentioned here, and it's still up. It's been over a week since I reported the second app. -- 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-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Google seems unresponsive to reports about two adware developers I found
Maybe you should post the URL of both your app and the non compliant ad infested copycat so that we can all post comments on the adware telling people what it is and where to go get your app instead! On Nov 25, 2013 7:53 PM, Michael Palmer meicpal...@gmail.com wrote: Well, it's been a full month since I reported the first app I mentioned here, and it's still up. It's been over a week since I reported the second app. -- 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-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Google seems unresponsive to reports about two adware developers I found
On Monday, November 25, 2013 10:30:21 PM UTC-5, Steve Gabrilowitz wrote: Maybe you should post the URL of both your app and the non compliant ad infested copycat so that we can all post comments on the adware telling people what it is and where to go get your app instead! I already posted URLs in the first post in this thread. Comments might not be a good idea - it is probably better to flag the app instead. -- 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-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.