Android : Check Current Status Of GPS Receiver?
Jan 7, 2010
How can i check the current status of the GPS receiver?
I already checked the LocationListener onStatusChanged method but somehow it seems that is not working, or just the wrong possibility. So basically i just need to know if the gps icon at the top of the screen is blinking (no actual fix) or solid (fix is available)..
View 18 Replies
Apr 21, 2010
I need to check if my registered receiver is still registered if not how do i check it any methods?
View 2 Replies
View Related
Jul 13, 2010
I have a situation where i want to show a dialog. However, the code that calls the method to show the dialog can be running either in the ui thread or not. How can i find if the current thread is running in the ui thread or not?
View 12 Replies
View Related
Jul 19, 2010
i want to check current running applications in android programmatically same like it shows 6 applications if we press and hold HOME button. actually i want to check application names.
View 1 Replies
View Related
Feb 14, 2009
Is there any way to poll the state of a given hardware key? I'm not talking about using an event.
View 3 Replies
View Related
Nov 6, 2010
I was wondering if would be possible to perform an action for each time the USB status of the device changes.
For example if the user plugs in the cable and it is in sync/charge mode it performs a certain action, if the user then changes the phone into USB Memory Card mode another action is performed and if the user then disconnects the cable then the another action is done.
View 1 Replies
View Related
Nov 15, 2010
I have to do login with my app.
After the login, if it is correct, I wanna show a tabview with:
- My Stats
- Upload Photo
- MapView
This is my code for the login activity
CODE:.......
How can I check if the Login is correct or not?
View 2 Replies
View Related
Nov 15, 2010
I know there is the Date() class built into the API, but line of code actually grabs the time of day?
View 3 Replies
View Related
Aug 12, 2009
I'm basically trying to check that the device is connected to the internet to that I can access and parse an RSS feed. This is also the 1st android app I have written so I'm still finding my way around so any help/advice would be appreciated. I'm sure the variables should be assigned to something but I don't know what. The classes don't appear to have public constructors so I can't do "WifiInfo info = new WifiInfo()".............
View 5 Replies
View Related
Jun 6, 2009
I'm trying to check if the phone is currently asleep in a service. It's currently a very messy implementation (I'm reading a file in the filesystem that says if the phone is asleep or awake every 10 seconds) so I'm wondering if this is possible with PowerManager or something.
View 3 Replies
View Related
Sep 2, 2010
I have made an app that sets notifications in the drop-down status bar of Android phones. However, there is a bug in my code (sometimes the notifications are set, sometimes they are not). I want to be able TO CHECK (in the code) IF THE NOTIFICATION IS VISIBLE TO THE USER. (i.e. can the user see the notification in the status bar?).
How can I do this?
View 2 Replies
View Related
Jun 15, 2010
Android developers can check this code to check the network status on wifi and 3g mobile
You need the following permission to get status view source print? 1 <uses-permission android:name="android.permission.INTERNET"></uses- permission> 2 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"></uses- permission>
View 2 Replies
View Related
Aug 16, 2009
My applications carries on processing when the user presses the home key, and generates status bar notifications if something happens the user requested to be notified about.
If a user holds the home key and then selects the application, it is restored in its correct state with the activity on top that showed when the user left.
However, since the intent that is associated with the status bar notification is FLAG_ACTIVITY_NEW_TASK and I put in the class name of the activity that launched the application (I assume this is what I must do?), the launcher activity is started when the notification is "clicked". I can then switch the application back to the current activity by starting that "active" activity again, but then I seem to have two instances of the activity in memory, since I have to press back twice to leave it. And I suspect my activity stack is then messed up as well.
I have set the launcher activity to be singleTask, but that only helped a bit. From my reading I thought this would just give the task focus if the launcher activity is not on top, but instead it gives the launcher activity the focus.
Is there a way for a notification click to work more like the task switcher provided by long pressing the home button?
View 10 Replies
View Related
Jul 17, 2010
Does anyone know what the current status is on froyo and when it will come out for the droid X?
View 1 Replies
View Related
Feb 28, 2014
I'm about ready to make the jump from iOS to Android. I am pretty deeply imbedded with Apple by having an iPad, macbook and family using apple. We use the iCloud calendar quite a bit so it would be a requirement that I continue to use it. What is the current situation with syncing and using a 4.4 os with iOS 7? I have read some stuff, but it was older. Has anything changed? Is it still something that can be done with relative ease? Those who are using it... Any caviets you noticed or wish you had done differently?
View 3 Replies
View Related
Nov 1, 2011
Is a mod possible that displays the current data/network traffic speed in the status bar whenever there is any traffic? The text should be displayed whenever there is any traffic and hides automatically when there is no traffic. The place where date is displayed should be good.
View 4 Replies
View Related
Jun 5, 2010
Is there a widget for sound profiles? I know I can create a shortcut for the "sounds and display" setting but it would be a lot easier if I can toggle say, normal, silent, and vibrate from a simple widget.
Also I frequently have bluetooth devices connected to my phone. I've found a lot of bluetooth toggle widgets, but I'd like to be able to check the device status via my home screen.
View 6 Replies
View Related
Jul 16, 2010
I used Toast to make notification, but it seems it will appear even its activity is not in the current screen and some other activity has been started.I want to check this situation, when the activity is not the current one, I'd not send the Toast notification. But how to do ?
View 1 Replies
View Related
Apr 23, 2013
I have tried searching the database for this and googled it and I couldn't find anything.
I'm not very experienced in Android, however, I am trying to develop an application. Within the application I want to check if the current time falls between time ranges
pseudo code
[HIGH]if (currTime > 9am AND currTime < 7pm)
{
//do this
}
else if (curTime>7pm AND currTime <10pm)
[Code]...
View 1 Replies
View Related
Sep 28, 2009
trying to create a broadcast receiver which responds to system events and change system settings. I don't need any interaction from the user so I don't need an activity and have been trying to do everything through the manifest file. I've put a log event into my onReceive method but it never logs anything so I'm presuming my method is never called. I've tried this with both the 1.5 and 1.6 SDKs. I was hoping somebody could have a look at my code please and let me know if there are any problems.
View 2 Replies
View Related
May 13, 2010
The default behavior of an activity when BACK softkey is pressed is, GO BACK TO PREVIOUS ACTIVITY. If some the same activity is waiting for some response from server or some data updation is going on and then press BACK, I want to wait on the same screen till the current task is completely processed and then move out to the previous activity.
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+unsubscribe@googlegroups.com For more options
View 12 Replies
View Related
May 21, 2009
I've got the following row xml file which consists of CheckboxView and TextView;
CODE:............
When the app run, i'm unable to "tick" any of the check boxes...
View 2 Replies
View Related
Sep 2, 2010
Check for system updates doesn't check.
View 9 Replies
View Related
Nov 6, 2009
Menu - Settings - Location - Enable GPS satellites
It states that enabling this will "require more battery plus view of sky"
When checked, it states "deselect to conserve battery"
So, the question is, should this be enabled?
I imagine for some applications, knowing your precise location should be useful, especially if the turn-by-turn maps are installed and used.
I'm thinking to deselect this, and selecting it at times when I need it.
So, to check or not to check?
View 2 Replies
View Related
Jul 9, 2013
how to add percentage of battery status on status bar like xperia z?
Innos i6c (Xperia Style)
View 2 Replies
View Related
Aug 16, 2009
How much accurate are the coordinates received by the GPS antenna in the reality?I'm using the emulator but it doesn't work well with coordinates too much close is there nobody that have tested an application based on the package "Location" in a real device(I don't have a real one yet..) and knows how to answer me?
View 7 Replies
View Related
Jul 3, 2010
Can Android use Bluetooth GPS Receivers in its various applications, such as MyTracks, CardioTrainer, Google Maps etc, is there an app I can install to allow this, or does the functionality have to be supported by the relevent software application (MyTracks, GoogleMaps etc) itself.If the latter, are there any navigation programs I can install which support this?
View 1 Replies
View Related
Mar 18, 2010
Hi we get an event when new sms come in android but can we get any event when user send a messages, in short is there any receiver to track sending sms as we track incoming sms.
View 1 Replies
View Related
Dec 22, 2009
I'm trying to write a simple application that attempts to receive SMS messages and handle them. I've followed several tutorials but I'm getting nowhere, when I send a SMS to the emulator, the Intent never seems to get fired.I'd really appreciate some guidance with what's going wrong. I'm just getting into Android development but I think I have my head wrapped around (most of) it. While monitoring the emulator's logcat, the log events never come up, and debugging breakpoints are never hit, so I have a feeling it's somewhere in my intent filter.
View 4 Replies
View Related
Aug 31, 2010
I am having an inner class which extends BroadcastReceiver.But I am getting error Unable to instantiate receiver org.example.test.OuterClass$InnerClass.
View 2 Replies
View Related