Re: [android-developers] Device Default DatePicker Dialog not showing

2014-11-24 Thread Surabhi Jain
Hi I have set targetSdkVersion = 21 but it is not showing native date picker dialog on HTC device whose android version is 4.0.3 When I will run same apk on S4 whose android version is 4.4.2, it works fine. Thanks & Regards Surabhi Jain On Tue, Nov 25, 2014 at 11:27 AM, TreKing wrote: > > On

Re: [android-developers] Re: GPS Background Service Stops Receiving Updates

2014-11-24 Thread TreKing
On Mon, Nov 24, 2014 at 9:17 AM, Tony Pitman wrote: > The whole reason I am doing this is because originally I just put my gps > stuff inside the app itself. I would start my app and then many hours later > I would enter the geofence area I had set up and the app did not trigger > what I wanted i

Re: [android-developers] App Crash

2014-11-24 Thread TreKing
On Mon, Nov 24, 2014 at 4:53 AM, Arun Kumar K wrote: > Some times its fully uploaded and some times the app will be crashed. Debug your app to determine where it is crashing. > I am getting below log If your app crashes, there should be more than 5 lines in the log. And they should have som

Re: [android-developers] Re: Adding an image to the right of a Preference

2014-11-24 Thread TreKing
On Sun, Nov 23, 2014 at 7:49 AM, dashman wrote: > I haven't subclassed Preference class. > > Is that what I have to do? > Yes. Have a look at http://developer.android.com/reference/android/preference/Preference.html#setWidgetLayoutResource%28int%29 http://developer.android.com/reference/android

Re: [android-developers] Device Default DatePicker Dialog not showing

2014-11-24 Thread TreKing
On Mon, Nov 24, 2014 at 5:54 AM, Surabhi Jain wrote: > I have set minSdkVersion = 5 and target sdk version not yet set. You should target the highest version you've tested and support. Since it's not set, it defaults to your min, which is 5, which is fairly ridiculous. Your min really shouldn't

[android-developers] Re: Translate animation in oncreatview of the fragment

2014-11-24 Thread MathieuB
onActivityCreated() -- 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For m

[android-developers] Changes in GPS or compass sensors for Android 5.0?

2014-11-24 Thread Nathan
Android 5.0 is coming out to my customers (not to me yet), and so of course I have to filter through any claims that feature X is broken and when are you going to support Android 5.0. Some are claiming that Compass is broken or GPS is broken. There are always a few that have those problems any

Re: [android-developers] Simple PagerAdapter does not display views

2014-11-24 Thread Kostya Vasilyev
Did you properly implement the adapter's isViewFromObject? How about getItemPosition? -- K 2014-11-25 0:22 GMT+03:00 Doug Gordon : > I have a fragment in which I want to display a number of similar pages > using ViewPager. For some reason I thought that it would be simpler to > extend the base

[android-developers] Simple PagerAdapter does not display views

2014-11-24 Thread Doug Gordon
I have a fragment in which I want to display a number of similar pages using ViewPager. For some reason I thought that it would be simpler to extend the base PagerAdapter to feed views to the ViewPager. My custom PageAdapter implements instantiateItem by inflating a layout, populating its widge

Re: [android-developers] Re: GPS Background Service Stops Receiving Updates

2014-11-24 Thread Tony Pitman
It looks like calling startForeground was the key. I am still not able to kill the app using the method mentioned above, but at least now when I let the app sit for a long period of time the GPS notifications keep coming into the service even when it looks like the app has been shut down by the

[android-developers] Re: Getting Unsupported major.minor version 51.0 in eclipse w/ lollipop

2014-11-24 Thread dashman
Installed JRE 7 and works fine. Thanks. On Monday, November 24, 2014 1:29:49 PM UTC-5, Jonathan S wrote: > > JRE = Java Runtime Enviorment > JDK = Java Development Kit > > I think you need to get the latest version of JDK 7 > > On Monday, November 24, 2014 12:35:34 PM UTC-5, dashman wrote: >> >>

[android-developers] Re: Getting Unsupported major.minor version 51.0 in eclipse w/ lollipop

2014-11-24 Thread Jonathan S
JRE = Java Runtime Enviorment JDK = Java Development Kit I think you need to get the latest version of JDK 7 On Monday, November 24, 2014 12:35:34 PM UTC-5, dashman wrote: > > > I think the problem is the JRE. > > Which one do I need. > > -- You received this message because you are subscribed

[android-developers] Getting Unsupported major.minor version 51.0 in eclipse w/ lollipop

2014-11-24 Thread dashman
I think the problem is the JRE. Which one do I need. -- 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@googlegroups.com To unsubscribe from this group, send email to android-developers

[android-developers] Translate animation in oncreatview of the fragment

2014-11-24 Thread sweety fx
I have a fragment placed in a View Pager. I need to do translate animation of a view once the fragment is launched. The animation works if I click on the view(for which I have added animation to on click listener) but onCreateView I try to do the animation, it doesn't happen. What can I do to mak

Re: [android-developers] Re: GPS Background Service Stops Receiving Updates

2014-11-24 Thread Tony Pitman
Thank you everyone for the replies. Here are my responses: I am holding the home button and the list of apps comes up and I swipe away my app to kill it. This is what others have mentioned above. I don't know if this is samsung only or not. Maybe this method is supposed to kill all running serv

Re: [android-developers] Re: GPS Background Service Stops Receiving Updates

2014-11-24 Thread Mukesh Srivastav
As my understanding here, the service was stopped some where in the code and hence it is behaving like that. On Mon, Nov 24, 2014 at 7:38 PM, Mark Phillips wrote: > On my Samsung Galaxy 4 phone from T-Mobile, I can hold down the home > button and get a list of running apps. I can kill each one i

Re: [android-developers] Re: GPS Background Service Stops Receiving Updates

2014-11-24 Thread Mark Phillips
On my Samsung Galaxy 4 phone from T-Mobile, I can hold down the home button and get a list of running apps. I can kill each one individually with a swipe, and there is a trashcan icon at the bottom of the screen that will kill all the apps running. I use this feature to extend my battery time when

Re: [android-developers] Device Default DatePicker Dialog not showing

2014-11-24 Thread Surabhi Jain
Hi, my issue solved on Nexus S and Nexus 4 using device default theme but It has not been resolved on HTC devices, I have HTC one and HTC Desire C devices. Do you have any idea about HTC devices? Why it will not show device native date picker dialog? I have set minSdkVersion = 5 and target sdk ve

[android-developers] App Crash

2014-11-24 Thread Arun Kumar K
HI guys, I am using intent service to upload some data to server. Some times its fully uploaded and some times the app will be crashed. I am getting below log 11-24 14:59:12.198: E/(9367): Device driver API match 11-24 14:59:12.198: E/(9367): Device driver API version: 23 11-24 14:59:12.198: E/(

[android-developers] Re: GPS Background Service Stops Receiving Updates

2014-11-24 Thread gjs
Hi, What do you mean by - ..."I test this by holding down the home button and killing my app" ? If I start an app, then press & hold down the Home button, the app that was running is sent to the background (not killed) & the only option that appears is a circle that pops up to run Google Now -

[android-developers] Re: GPS Background Service Stops Receiving Updates

2014-11-24 Thread nirm
Try running it in a different process: android:processThe name of the process where the service is to run. Normally, all components of an application run in the default process created for the application. It has the same name as the application package. The