Re: [android-developers] Re: Tapping the overflow button make the action mode finish.

2013-11-25 Thread Hilda Chen
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

[android-developers] Re: Introspecting Android style in code

2013-11-25 Thread Y2i
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

[android-developers] Android 4.4 Encryption Code Not Backwards Compatible

2013-11-25 Thread Pent
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 =

Re: [android-developers] Provide events to Calendar-App using ContentProvider

2013-11-25 Thread Danny S.
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.

[android-developers] Re: Android 4.4 Encryption Code Not Backwards Compatible

2013-11-25 Thread Pent
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

Re: [android-developers] Android 4.4 Encryption Code Not Backwards Compatible

2013-11-25 Thread Nikolay Elenkov
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:

[android-developers] Re: Wrong stack behaviour in Android 4.4

2013-11-25 Thread BoD
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

[android-developers] Issues with InputConnection.getExtractedText and bug in InputConnection.getTextAfterCursor in custom input method

2013-11-25 Thread gallagth
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

[android-developers] Immersive mode instructions reappear randomly

2013-11-25 Thread niko001
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;

[android-developers] Re: Immersive mode instructions reappear randomly

2013-11-25 Thread b0b
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

[android-developers] Re: Immersive mode instructions reappear randomly

2013-11-25 Thread niko001
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

[android-developers] How do I show a call screen when my VoIP application is on background?

2013-11-25 Thread flsobral
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

Re: [android-developers] Provide events to Calendar-App using ContentProvider

2013-11-25 Thread Justin Anderson
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

[android-developers] Re: How do I show a call screen when my VoIP application is on background?

2013-11-25 Thread pierre
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

Re: [android-developers] How do I show a call screen when my VoIP application is on background?

2013-11-25 Thread Massimo Messore
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

[android-developers] Re: Google seems unresponsive to reports about two adware developers I found

2013-11-25 Thread Michael Palmer
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

Re: [android-developers] Re: Google seems unresponsive to reports about two adware developers I found

2013-11-25 Thread Steve Gabrilowitz
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

Re: [android-developers] Re: Google seems unresponsive to reports about two adware developers I found

2013-11-25 Thread Michael Palmer
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