- Sync Adapter - Syncs frequently [3 Updates]
- Video streaming frm videoplayer [1 Update]
- Compass Reading - proper implementation. [3 Updates]
- Styling [1 Update]
- Google In-app Billing: is there a way to get "active" products only? [2 Updates]
- How to move a view in the screen with a onscreen Joystick? [1 Update]
- "G. Blake Meike" <firstname.lastname@example.org> Jul 23 09:11AM -0700
I glanced through them and it all looks pretty good to me. If you are sure
that you are never calling notifyChanged with the third arg = true, the
only thing I can suggest is that, somehow, you have setSyncAutomatically =
On Tuesday, July 22, 2014 2:19:02 PM UTC-7, Deepak wrote:
- Deepak Soni <email@example.com> Jul 23 11:41AM -0500
I do have this method call (below) but if I don't set set this the periodic
sync does not execute, should I not be setting this to true?
ContentResolver.setSyncAutomatically(account, Table.AUTHORITY, true);
On Wed, Jul 23, 2014 at 11:11 AM, G. Blake Meike <firstname.lastname@example.org>
- "G. Blake Meike" <email@example.com> Jul 23 09:47PM -0700
Yeah! I'll bet that's it.
Especially the sections entitled:
Run the Sync Adapter After a Network Message
Run the Sync Adapter Periodically
- Deepa M <firstname.lastname@example.org> Jul 24 09:53AM +0530
Is it possible to live stream the video frm videoplayer (which plays
recorded video ) in android?
Thanks and Regards
- Nathan <email@example.com> Jul 23 11:06AM -0700
I have collected more data on the topic that you might be interested in.
Trying to give back.
In five days of Analytics data, I have found
85 devices returning no orientation sensor.
Of these, most do not have a magnetic sensor either, such as the Samsung
SCH-S738C Galaxy Centura. So some people complaining about the compass
won't get a solution.
However ten or so do not return the orientation, but do have the magnetic
sensor, such as a few of the gazillion iterations of the Samsung S III or
Samsung S IV, such as Samsung GT-I9300 Galaxy S III. So some of those
saying the compass doesn't work in one app but does work in some others,
are part of a group that is rare but real. Of course, this doesn't tell us
how many devices return the orientation_sensor, but have erroneous or low
What I have done may be a bit rash, but I released the product preferring
the magnetic/accelerometer whenever API>=9. So far I have a few complaints
that it is jittery (smoothing hasn't been released yet), two people that
were healed, and relatively quiet otherwise.
Do most of you agree with Adam that the rotation sensor is to be preferred
and needs no smoothing when it exists? I haven't tried that one yet.
I've noticed that about 15 devices, including the Amazon KFTHWI Kindle Fire
HDX 7 3rd Gen return a rotation sensor (and sometimes an orientation
sensor) even when they don't return a magnetic sensor. Does this mean their
rotation data is suspect, or just that they might not expose the magnetic
I could post my full findings in another week if people are interested.
One thing I can definitely conclude is that if a customer has a complaint
about a sensor, and gives you the device name simply as "Galaxy S III",
that isn't nearly specific enough.
- Nathan <firstname.lastname@example.org> Jul 23 11:40AM -0700
I have found these examples of using the rotation sensor. Are they correct?
- Adam Ratana <email@example.com> Jul 23 05:58PM -0400
Hi Nathan, I had posted this earlier in the thread --
This is my project where I attempt to get the canonical bearing with
respect to where the user is pointing, which many of the above can get
wrong. It has a few implementations of filters / smoothers and sensors
(mag + accel, rotation vector), device orientations (portrait, landscape)
etc.. the apps I develop have a need for this to be correct, so I've
worked hard on this problem, and of course the project could use some more
love and introspection.
Feel free to PM me off list as well, if this helps or if you have any
questions about it.
- dashman <firstname.lastname@example.org> Jul 23 11:32AM -0700
I've got an activity and would like to set the background to the current
theme background color.
I set the activity's layout android:background="?android:windowBackground"
and that seems to work
Inside the activity I would like to draw some boxes/panels and set the
background to a slightly
different color - based on light or dark theme.
How can I do that.
I tried "?android:panelBackground" and that's not quite what I want.
Any special value out there that'll display a light gray - if the current
window background is white.
- Mathieu Bosi <email@example.com> Jul 23 08:49AM -0700
Apparently with the current version of Google In-app Billing (and / or
Servers) *there's no way of retrieving the in-app product "status"* (Active
or Inactive, as it can be set from the Developer Console)
I've read through Google IAB documentation
no mention is given of any actual effect of setting the "status" of an
Searching the Web, I came across this unanswered question
Another (unanswered) question I was able to find is this one
(cached from StackOverflow, from where it was... deleted?!)
So, to hide inactive products, there's no other way than that of *uploading
a new binary* where the inactive product is never queried?
Does anyone (even at Google) know of any way to get "active" products *only*
Best regards :)
- Mathieu Bosi <firstname.lastname@example.org> Jul 23 10:32AM -0700
Another related question here <http://www.androidpuzzles.com/147_18172718/>.
- saex <email@example.com> Jul 23 08:32AM -0700
i need to add a onScreen Joystick to my game.
I found some code examples of joysticks but none of them moves a view on
the screen, and i dont know how to move a view in the screen with the exact
movement and acceleration of the joystick movement.
This is one of the examples i found:
Source code: http://goo.gl/m0bTse
I have no idea of how to move a view (my game spaceship) in the screen with
the joystick movement.
Thanks a lot