[android-developers] Why play-servies-location had dependency on play-services-maps?

2015-07-28 Thread Tomas Prochazka
Can you somebody explain me why *play-services-location* has depency on *play-services-map*? It doesn't make sense. If you want only get position you don't need whole map rendering core, it something like 2000 methods in the map package. In reverse way it make sense. Map must have dependency on

Re: [android-developers] Problem in getting height of contetn in Webview

2012-08-01 Thread Tomas Prochazka
In WebViewClient.onPageFinished is getContentHeight still 0 :-( Dne čtvrtek, 10. června 2010 3:17:19 UTC+2 yangjian napsal(a): Did you show the webview in a activity? If you are not show it the getContentHeight() will return 0; Try to call getContentHeight use the WebView reference

[android-developers] Problem with android.hardware.screen.portrait a requirement

2012-08-01 Thread Tomas Prochazka
I found interesting Google Play behavior. If I have in my app at least one activity with * android:screenOrientation=portrait* it automaticaly set feature * android.hardware.screen.portrait* a requirement. This is logical. If device doesn't have portrait mode application will not work. But which

[android-developers] LinearLayout divider broken in ICS?

2012-07-19 Thread Tomas Prochazka
I tried to use android:divider=@drawable/star_off android:showDividers=middle I spent half a day looking for the bug in my code. Than I trying to other android version. On the Android 3.x everything is OK, the same on the 4.1, but on 4.0 it is broken, delimiter will draw not in the gap between

[android-developers] Is possible use AlarmManager to schedule run a Service

2012-01-19 Thread Tomas Prochazka
I use this code to to schedule run Service. AlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE); Intent i = new Intent(this, MyService.class); PendingIntent pintent = PendingIntent.getService(this, 0, i, PendingIntent.FLAG_UPDATE_CURRENT);

[android-developers] Block and resend MMS notification later

2011-12-16 Thread Tomas Prochazka
I'm developing application which can block unwanted calls, sms and MMS. If call or SMS is blocked, user can see it in log. Only problem are MMS. I get only notification header which contain only sender phone number, expiration, type and URL to message body. I want give use possibility to read

[android-developers] Re: ViewFlipper animation and Gallery on the same activity

2011-08-25 Thread Tomas Prochazka
I found that it maybe doesn't cause animation but child.setVisibility(View.GONE) in ViewAnimator class. I tried to call setVisibility(View.GONE) on some my object during Gallery swype and it also cause stop animation of swiping. On Aug 24, 8:39 pm, Tomas Prochazka tomas.procha...@gmail.com wrote

[android-developers] Re: ViewFlipper animation and Gallery on the same activity

2011-08-25 Thread Tomas Prochazka
It is caused by child.setVisibility(View.GONE); in ViewAnimator class it cause remeasure and redraw of whole activity screen :-( I used source code put in on own package and modify it to child.setVisibility(View.INVISIBLE); On Aug 25, 10:33 am, Tomas Prochazka tomas.procha...@gmail.com wrote: I

[android-developers] ViewFlipper animation and Gallery on the same activity

2011-08-24 Thread Tomas Prochazka
Hi. I have ViewFlipper and the Gallery on the same activity. ViewFlipper periodically switch two view with simple fade animation. Problem is when I scrolling in Gallery at every switch start, Gallery stop animation and jump to nearest item. Is almost impossible to scroll if switch period is too

[android-developers] design of accessing to system service

2011-06-13 Thread Tomas Prochazka
I still can't understand some aspects of Android API design or reason to use this design. For example why Android use this: AlarmManager am = (AlarmManager)getSystemService(Context.ALARM_SERVICE); instead of much easier: AlarmManager am = getSystemService(AlarmManager.class);

[android-developers] Re: Java source code for SDK API 11 12

2011-06-07 Thread Tomas Prochazka
Yes, Java was source.zip included also when it was not open sources :- ( But I Have real question. I use google ImageLoader in my app, it works on all Android, but not on 3.1 (Motorola Xoom) It is impossible to find solution without source of framework classes. I tried to use source code of

[android-developers] Re: Java source code for SDK API 11 12

2011-06-07 Thread Tomas Prochazka
Yes and also exists plugin which can provide source code of framework automatically http://code.google.com/p/adt-addons/ (only to API level 9 for now) On Jun 7, 11:00 am, Kostya Vasilyev kmans...@gmail.com wrote: Chris, You don't need to sync up the entire repo just to get the framework

[android-developers] Java source code for SDK API 11 12

2011-06-06 Thread Tomas Prochazka
I know that Google don't open source whole Android 3.0 and 3.1 for some reason. But how I can work on application for Honeycomb tablets without source code of java framework classes? I don't need whole source to compile android, I need only trace and debug me code inside to framework classes or

[android-developers] Re: Java source code for SDK API 11 12

2011-06-06 Thread Tomas Prochazka
SDK for Android 3.0 and 3.1 with API level 11 and 12 is public available! Only source code for java classes used in framework (11 and 12) not. And in this see problem. On Jun 6, 5:43 pm, Prakash Iyer thei...@gmail.com wrote: Really? I'd love to see the code open sourced as well but I am not sure

[android-developers] Re: Java source code for SDK API 11 12

2011-06-06 Thread Tomas Prochazka
And I don't wrote anything about that I need this source code for compile my application. I only wrote that I need them to trace debug framework classes to better understand how it works, if Javadoc is not enough to help me. On Jun 6, 5:43 pm, Prakash Iyer thei...@gmail.com wrote: Really? I'd

[android-developers] Re: Java source code for SDK API 11 12

2011-06-06 Thread Tomas Prochazka
, and it will eventually  be available, but it's not like developers have the source to iOS, Windows, Mac OS, or most other platforms they develop for. On Mon, Jun 6, 2011 at 8:53 AM, Tomas Prochazka tomas.procha...@gmail.comwrote: And I don't wrote anything about that I need this source code

Re: [android-developers] Use standard system browser for OAuth / Keep browser out of history

2011-04-11 Thread Tomas Prochazka
For example possibility to close browser and go back to preview task would be great. But now is to late. It would be usable after few year. -- 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] Re: Problems with Activity Flow during OAUTH Authentication

2011-04-10 Thread Tomas Prochazka
I found that the FLAG_ACTIVITY_NO_HISTORY for browser works, but only if the browser was not running before. If I restart Android and run my app which call browser everything work well. But when I start browser before my app, browser will stay in history. Related question, but also without

Re: [android-developers] Re: Tasks browser activity

2011-04-10 Thread Tomas Prochazka
WebView has two disadvantages 1.) It is security holes. App which open OAuth authorization page in WebView can acces my password 2.) In standard browser I have stored password and I don't need enter it again and again in every app which need acces to me twitter. -- You received this message

[android-developers] Re: Activity stack with browser and protocol handler

2011-04-10 Thread Tomas Prochazka
Yo can use intent.setFlags(Intent.FLAG_ACTIVITY_NO_HISTORY); But I found that this work only if the browser was not running before. If I restart Android and run my app which call browser with this intent everything works well. But when I start browser before my app, browser will stay in

[android-developers] Use standard system browser for OAuth / Keep browser out of history

2011-04-10 Thread Tomas Prochazka
I want use system browser for Twitter/Foursquare OAuth authorization. I think that this is safer then open browser in Webview directly in my app. System browser also can remember user password and he can't enter it again and again. My idea is open the browser via standard intent Intent

Re: [android-developers] Use standard system browser for OAuth / Keep browser out of history

2011-04-10 Thread Tomas Prochazka
Thanks you for reply. But this is not good message. I think that this scenario should be supported by Android. I can integrate Webview to my app but use standard browser is much much better because it can remember user credentials, so user can't enter password again for any new twitter app