[android-developers] Re: in-app biliing purchase flow with promo code return empty payload, why?

2016-03-02 Thread Henrik Lindqvist
I've tried to get an answer to the same problem: http://stackoverflow.com/questions/35381104/promo-codes-breaks-remote-server-verification On Wednesday, February 10, 2016 at 9:39:04 PM UTC+1, Frédéric Ravetier wrote: > > Hi, > > I code in ap billing in my application. Everything works fine exce

[android-developers] Re: Android 4.4 WebView cannot load "content://" urls in html page

2014-02-19 Thread Henrik Lindqvist
This is a app breaking change. Android's content sharing is built around content:// uri's, this make that impossible. Every one please star: https://code.google.com/p/android/issues/detail?id=63033 On Friday, January 10, 2014 8:30:05 PM UTC+1, ankur wrote: > > We found some behavior changes o

[android-developers] Developer console (store page) analytics

2013-09-28 Thread Henrik Lindqvist
In the Google I/O 2013 video presenting coming features for the Developer Console, Riccardo Govoni talks about Analytics for Google Play Store page view etc.: https://www.youtube.com/watch?feature=player_detailpage&v=SDaf7f9yl6E#t=1259 When will this feature be launched? Do my app have to incl

[android-developers] Google Play Store hidden ratings

2013-03-27 Thread Henrik Lindqvist
My app only got 3 written review and 2 ratings. Why can't i see who gave the rating only, i see who made the written review!? Wasn't the whole point of forcing users to user Google+ to make anonymous reviews/ratings impossible! Does the pre-Google+ ratings score for as much as the post-Google+

[android-developers] Re: Shape drawing - issue with corners

2011-01-25 Thread Henrik Lindqvist
The docs say you should do the following if you only want some corners rounded: Never got that it work tho. On Jan 25, 2:30 pm, Kostya Vasilyev wrote: > Lior, > > Apparently, something like this works a little better: > > android:topLeftRadius="15dp" > android:topRightRadius="15dp" > android

[android-developers] startActivity(ForResult) at Activity start (on/Create/Start/Resume) not working

2011-01-18 Thread Henrik Lindqvist
I'am trying to start a child Activity with startActivity(ForResult) when the main Activity starts. It doesn't work. If the child Activity used Theme.Dialog it doesn't show up at all. With a normal Theme it's displayed, but when I close the top child activity, a RuntimeException is thrown: Activity

[android-developers] Re: Widgets size

2011-01-17 Thread Henrik Lindqvist
This is how I calculate the AppWidget size: protected Point getAppWidgetPixelSize (AppWidgetProviderInfo appWidgetInfo, Point point) { int cx = (appWidgetInfo.minWidth + 2) / 74; int cy = (appWidgetInfo.minHeight + 2) / 74; float density = getResources().getDisplayMetrics().density;

[android-developers] Re: When NOT to update AppWidget from a Service

2011-01-17 Thread Henrik Lindqvist
ode doesn't waste time updating 5-10-88 (yes, I've seen that > number) widgets when there is only one on the screen. > > http://kmansoft.wordpress.com/2010/06/22/per-widget-options-stale-wid... Thanks for the tip. I'am already doing this. > > Some causes of this are f

[android-developers] When NOT to update AppWidget from a Service

2011-01-17 Thread Henrik Lindqvist
My AppWidgets are updated by a Service at user-defined intervals or when certain intents occur. To save battery, I only update the AppWidgets when the screen is on (SCREEN_ON). Is there any other way to stop updating AppWidgets unnecessarily? Only when the home screen is visible? Only when a spec

[android-developers] Re: ImageView, no scaling and gravity

2011-01-16 Thread Henrik Lindqvist
only could get the clipped edge faded for a nice "ellipsize" effect. :) On Jan 16, 7:38 pm, Mark Murphy wrote: > On Sun, Jan 16, 2011 at 11:48 AM, Henrik Lindqvist > > wrote: > >> Of course. That's a rule for any container/child relationship in Android. > &

[android-developers] Re: ImageView, no scaling and gravity

2011-01-16 Thread Henrik Lindqvist
wouldn't be a problem. Or setting custom typefaces through xml. Sigh. > -- > Kostya Vasilyev --http://kmansoft.wordpress.com > 16.01.2011 19:06 пользователь "Mark Murphy" > написал: > > > On Sun, Jan 16, 2011 at 11:02 AM, Henrik Lindqvist > > wrote: >

[android-developers] Re: ImageView, no scaling and gravity

2011-01-16 Thread Henrik Lindqvist
On Jan 16, 5:04 pm, Mark Murphy wrote: > On Sun, Jan 16, 2011 at 11:02 AM, Henrik Lindqvist > > wrote: > > I've already tried that. It works if the bitmap is smaller than the > > ImageView, it aligns to the right edge correctly. But, if the bitmap > > is larg

[android-developers] Re: ImageView, no scaling and gravity

2011-01-16 Thread Henrik Lindqvist
f the view is larger than the text. > > On Jan 16, 11:12 am, Henrik Lindqvist > wrote: > > > I have a runtime generated Bitmap, for a RemoteView, that I wan't > > displayed within a ImageView without scaling, so I use > > scaleType="center". Now, if t

[android-developers] Re: Variable size App Widget

2011-01-15 Thread Henrik Lindqvist
The receiver needs to have a diffrent android:name, provider class. Just create one for each size. On Jan 16, 4:30 am, John Gaby wrote: > Is there a way to allow the user to choose the size of the App Widget > when he places it on his Home screen?  I tried creating 2 > ... sections in the manif

[android-developers] ImageView, no scaling and gravity

2011-01-15 Thread Henrik Lindqvist
I have a runtime generated Bitmap, for a RemoteView, that I wan't displayed within a ImageView without scaling, so I use scaleType="center". Now, if the bitmap is smaller than the ImageView I wan't it to gravitate to the right. Or, if the bitmap is to large, crop the left side. ImageView seems to

[android-developers] Re: TextView setCompoundDrawables inconsistent size

2011-01-09 Thread Henrik Lindqvist
Jan 9, 4:04 am, Romain Guy wrote: > You should use setCompoundDrawablesWithIntrinsicBounds() > > On Sat, Jan 8, 2011 at 6:40 PM, Henrik Lindqvist > > > > wrote: > > I'am trying to use TextView's setCompoundDrawables feature because i > > wan't a butto

[android-developers] TextView setCompoundDrawables inconsistent size

2011-01-08 Thread Henrik Lindqvist
I'am trying to use TextView's setCompoundDrawables feature because i wan't a button with a label above it. I set android:drawableBottom to my button drawable, which is a with a button background, an icon and a toggle indicator. First app launch every thing looks nice, close app, launch again and

[android-developers] Re: ProgressBar with moving image. Drawable resource using .

2011-01-05 Thread Henrik Lindqvist
Think I've got it, even without the 9-patch hack. Using to translate/move a separate with gravity to prevent scaling the needle itself. Sure at low "progress" it will be clipped, as the 9-patch would be "squashed". But that's easy to compensated for. On Jan 5, 3:

[android-developers] Re: ProgressBar with moving image. Drawable resource using .

2011-01-04 Thread Henrik Lindqvist
to make your progress drawable be a > nine-patch PNG, where the needle is outside of the stretch area. That > may not give you quite accurate results for low progress values, but > it will asymptotically approach accuracy by the time you complete the > bar. > > On Tue, Jan 4, 20

[android-developers] ProgressBar with moving image. Drawable resource using .

2011-01-04 Thread Henrik Lindqvist
I'am trying to make a ProgressBar with a moving needle. Since it's in a app-widget I can't make any custom code. It all needs to be done with Drawables. Creating a rotating ProgressBar is easy, just use . But to move a needle image I've tried , it gives an error "invalid drawable tag translate".

[android-developers] Re: One local service multiple binding activities

2010-11-20 Thread Henrik Lindqvist
Solution: http://stackoverflow.com/questions/2914921/android-context-bindservice-always-returns-false-and-serviceconnection-object-is Use: getApplicationContext().bindService(...) Issue: http://code.google.com/p/android/issues/detail?id=2483 On Nov 20, 8:20 pm, Henrik Lindqvist wrote: >

[android-developers] Re: One local service multiple binding activities

2010-11-20 Thread Henrik Lindqvist
o a service, onServiceConnected will never be >> called. > >This is a bug that should be fixed in the future. Not documented because we >didn't realize it was broken. :) Seems like an old, ignored bug in TabActivity. Sigh! On Nov 20, 6:53 pm, Henrik Lindqvist wrote: > I have

[android-developers] One local service multiple binding activities

2010-11-20 Thread Henrik Lindqvist
I have a local Service to which multiple activites needs to bind. In the first launched Activity, bindService returns true and onServiceConnected is called. But in any additionally launched activites bindService returns false, and I can't get a reference to my Service. How can multiple activities

[android-developers] Stop AlarmManager sending past repeating alarm.

2010-11-10 Thread Henrik Lindqvist
When the device awakens from sleep state the AlarmManager sends all "missed" alarms. Can I prevent this from happening, grouping past alarm to a single intent instead? There is an intent extra "android.intent.extra.ALARM_COUNT" which seems to suggest it's possible? -- You received this message b

[android-developers] Re: AlarmManager starting service, API Level?

2010-11-10 Thread Henrik Lindqvist
Thank. I'll sleep well tonight knowing raptors are extinct. On Nov 11, 1:30 am, Mark Murphy wrote: > On Wed, Nov 10, 2010 at 7:27 PM, Henrik Lindqvist > > wrote: > > Thanks. I'am using the AlarmManager to send PendingIntent.getService > > with a "Explicit Int

[android-developers] Re: AlarmManager starting service, API Level?

2010-11-10 Thread Henrik Lindqvist
ote: > On Wed, Nov 10, 2010 at 7:00 PM, Henrik Lindqvist > > wrote: > > I've read comment that the AlarmManager in a earlier API version > > couldn't start services. Prior to which API Level was that? > > I don't know where you read that. PendingIntents h

[android-developers] AlarmManager starting service, API Level?

2010-11-10 Thread Henrik Lindqvist
I've read comment that the AlarmManager in a earlier API version couldn't start services. Prior to which API Level was that? I'am currently testing in the emulator with API Level 4 and it start a service just fine. -- You received this message because you are subscribed to the Google Groups "And

[android-developers] Re: service intent-filter

2010-11-09 Thread Henrik Lindqvist
On Nov 10, 1:53 am, Mark Murphy wrote: > On Tue, Nov 9, 2010 at 7:51 PM, Henrik Lindqvist > > wrote: > > I've got a IntentService started by an alarm. I also want it to start > > on other intents, like ACTION_TIME_CHANGED. Do I have to create an > > BroadcastReceiv

[android-developers] service intent-filter

2010-11-09 Thread Henrik Lindqvist
I've got a IntentService started by an alarm. I also want it to start on other intents, like ACTION_TIME_CHANGED. Do I have to create an BroadcastReceiver that start the service when it receivers the TIME_SET intent, can't the service be started by the intent in the first place. I tried to add // b