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
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
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
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
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);
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
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
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
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
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);
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
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
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
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
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
, 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
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
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
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
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
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
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
22 matches
Mail list logo