[android-developers] appcompat action bar fragment oncreateview called twice

2013-09-05 Thread Greenhand
I followed the way that http://developer.android.com/guide/topics/ui/actionbar.html#Tabs says to use appcompat actionbar to add tabs. However, I found that the added fragments oncreateview() will be called twice. After searching the web, I found there is a workaround solution at

[android-developers] oncreateview() called twice of added fragments of appcompat action bar

2013-09-05 Thread Greenhand
I followed the way that http://developer.android.com/guide/topics/ui/actionbar.html#Tabs says to use appcompat actionbar to add tabs. However, I found that the oncreateview() of added fragments will be called twice. After searching the web, I found there is a workaround solution at

[android-developers] No exit transition when Translucent theme is set

2013-09-05 Thread LukaszR
Hello! Following problem, if I set the theme in manifest.xml to Translucent for my second activity and I use the method overridePendingTransition(enterAnim, exitAnim) in my first activity, the exit animation isn't applied. *Manifest.xml* activity

[android-developers] android can we get current time ?

2013-09-05 Thread ashish
Hi, i want to perform some time based operation in android device? but user can change the device time manually as the result current time varies..is there any way so that i can track the current time? -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] android can we get current time ?

2013-09-05 Thread Michael Banzon
No. On Sep 5, 2013 10:58 AM, ashish ashish.a...@gmail.com wrote: Hi, i want to perform some time based operation in android device? but user can change the device time manually as the result current time varies..is there any way so that i can track the current time? -- You received this

[android-developers] Re: Listener sound in Android?

2013-09-05 Thread Ray da Costa
2013/9/4 Ray da Costa raydaco...@gmail.com Personal greetings Help. Anyone know if there is any audio listener in Android? Ie, when the Android detect a noise he does warn? -- Ray da Costa Knowing is not enough, we must apply. Willing is not enough, we must do. Bruce Lee --

[android-developers] Re: android can we get current time ?

2013-09-05 Thread Alex Avance
If you're wanting to do an operation based on elapsed time, there are java based options. System.nanoTime() returns a value based on elapsed time as measured by the VM from which it is called. https://developer.android.com/reference/java/lang/System.html#nanoTime()

[android-developers] GooglePlayServices not found

2013-09-05 Thread igor ganapolsky
Ever since updating the latest Android Studio and the latest SDK, I cannot see google maps in my project. It just shows a blank map. Logcat prints the following error: *GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that

[android-developers] Re: android can we get current time ?

2013-09-05 Thread Nobu Games
Android provides the SystemClockhttp://developer.android.com/reference/android/os/SystemClockcomponent that gives you the elapsed milliseconds since boot. I guess that's pretty much what you want. On Thursday, September 5, 2013 3:57:34 AM UTC-5, ashish wrote: Hi, i want to perform some

Re: [android-developers] android can we get current time ?

2013-09-05 Thread Siva Kumar
U create a broadcast receiver.registered in manifest file for time,date change intent. In that rereceiver's on receive method u must set the network time On Sep 5, 2013 2:28 PM, ashish ashish.a...@gmail.com wrote: Hi, i want to perform some time based operation in android device? but user can

Re: [android-developers] Re: android can we get current time ?

2013-09-05 Thread Michael Banzon
This depends very much on what is meant by current time. Although my first reply was a bit short and non-explaining I do stand by it. If by current time we mean the actual time of day according to solar/planetary movement - then no - there is no way to be sure what time it is. The usefulness of

Re: [android-developers] Nested JSON Parsing with Volley

2013-09-05 Thread Παύλος-Πέτρος Τουρνάρης
Please share the stack trace too..! On Thu, Sep 5, 2013 at 10:04 PM, Raza Rahil Hussain razara...@gmail.comwrote: Hello everyone, I'm trying to parse Nested JSON with Volley Library but i'm getting problem somewhere catching object. Any can please look up the code -

Re: [android-developers] Nested JSON Parsing with Volley

2013-09-05 Thread MathieuB
Is it me or getString(temp) can't work. Temp is 297.009 in your json, not a string. -- 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

[android-developers] Re: GooglePlayServices not found

2013-09-05 Thread John Coryat
If you include the Google Play services in the Android SDK manager (under Extras), that should solve this. -John Coryat On Thursday, September 5, 2013 11:13:08 AM UTC-5, igor ganapolsky wrote: Ever since updating the latest Android Studio and the latest SDK, I cannot see google maps in my

[android-developers] Re: Designing Help into Your App

2013-09-05 Thread Nathan
I've had an alternate suggestion: You need a 150 or so page PDF manual, with links to Wikipedia, YouTube, etc. I would start with geology in Wikipedia to get list of terms. I don't consider knowledge of geology to be an important prerequisite to using my app. I'm not sure what it says about

[android-developers] Nested JSON Parsing with Volley

2013-09-05 Thread Raza Rahil Hussain
Hello everyone, I'm trying to parse Nested JSON with Volley Library but i'm getting problem somewhere catching object. Any can please look up the code - https://gist.github.com/razarahil/6149775 -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] can we check usb tethering and hotspot on/off in android?

2013-09-05 Thread Robert Greenwalt
No - this functionality is not currently exposed. On Wed, Sep 4, 2013 at 9:29 PM, ansal ashish.a...@gmail.com wrote: Hi , can we check usb-tethering and hotspot on/off in android? -- You received this message because you are subscribed to the Google Groups Android Developers group. To