I am making an app that allows the user to set an alarm based on GPS locations. I am having problems deleting the notifications I create and the alarms I set.
I have found that all the notifications and alarms are deleted permanently when I use the "Advanced Task Killer App". I want to implement whatever it does into my app. Does anyone...
Is it possible to check if an Android device is connected to a VPN server?
A search in the API provides 'paltform highlights' for Android 1.6, so that doesn't fill me with much confidence.
...
When I run this command on my android project workspace:
eclipsec.exe -noSplash -data "F:\Users\awalsh\workspace" -application
org.eclipse.jdt.apt.core.aptBuild
I get this error:
An error has occured. See the logfile F:\Users\awalsh\workspace.metadata.log
There are a bunch of eclipse related errors in the log and then some android re...
I want to create a multiple line editview to enter in some notes. I want the text aligned top left and 4 rows. How do I create that in layout xml file. Assume I am using a linearview.
thanks,
Dean
...
I have searched for references on this issue but all of my attempts have been unsucessful so far. I would like to know to what extent does Android supports the OMA DRM specification? Does anyone knows of a reference that states what can be expected from different versions of Android?
It seems that this specification is actually less sup...
Hi,
I'm creating a ListActivity. In each list item I have a View I've created which contains a RatingBar and an EditText. In the screenshot at the bottom, you can see the virtual keyboard contains a returnline key and no "Done" key. I would like to specify a different style of keyboard to use (and hopefully retain the spell checking ...
The default behavior of ExpandableListView is to collapse a group when its header is clicked. Is it possible to prevent this from happening?
I've tried:
Setting OnTouchListener on the list. This interferes with scrolling.
Setting an OnGroupClickListener on the list (in onCreate()). This works for all clicks after the first.
Has a...
I'm using the Android Emulator during my Android application development. Unfortunately I think my computer is a bit slow so the emulator get some kind of timeout before several processes running in the emulator respond (at least that is what I think happen according to other threads here on stackoverflow).
This result in dialogs poppi...
I have a ListActivity. Each item in the ListView contains a RatingBar. When the user manipulates the RatingBar, I want to update the corresponding data attached to the Adapter.
Unfortunately, inside my RatingBar handler, I can't refer to the position variable. I understand why. I'm just having trouble finding a way around it.
How w...
I am trying to use the SDK's DDMS utility to capture screens off my Droid X.
I have installed the Java JDK and the Android SDK. I set up the USB driver on my Windows laptop and connected my Droid X to the USB port. Windows XP can see the Droid just fine in Windows Explorer as a removable USB device, but the DDMS utility shows no devices...
I have an Android App with 2 activities. I have the following in the AndroidManifest:
<application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="false">
<activity android:name=".MyCellTracker" android:label="@string/activity1_name">
<intent-filter>
<action android:name="androi...
I've tried to find any info on that subject; can't find anything. Strikes me as odd, since JDO sounds like the kind of thing smartphones should be very good at doing. Do you know if JDO is possible at all on Android devices, natively, or with external apps/libraries?
...
Hi,
I would like to launch the Android Email application with a URI similar to the contacts uri. Is this possible?
Thanks,
Sana.
http://tinypic.com/r/nzj8nq/4
...
In Android 1.6 and higher, this menu XML inflates and runs fine. But when run in 1.5 I get an error about a resource not found.
I find that when I remove the @drawable/menu_preferences from the XML in 1.5 it works fine.
Is there a 1.5 work around I can do to get the image to work?
EDIT: The image is in the drawable-mdpi folder.
<menu...
I'd like to display the favicon of the website I am accessing via the android.webkit.WebView. I've tried two ways to get it:
1) WebViewClient.onPageStarted() method has a favicon parameter that is always null.
2) WebChromeClient.onReceivedIcon() method is never called.
3) Called WebView.getFavicon() in onPageStarted() and onPageFinis...
The automatic generation of the R class does not work anymore.
I have tried Project -> Clean...
A warning on all xml files has also showed up: “No grammar constraints (DTD or XML schema) detected for the document.” Maybe that is why the code generation have stoped.
Any idea how to get the R class generated again?
...
As a webapp, not a native app on the iPhone or Andriod. Is it possible to draw with your finger? If so, how?
Anyone have or can provide a barebone simple example that just loads a blank page?
Thanks
...
I have a Image button which doubles as a play and stop button. I need the image in the button to change when the user click on it the first time, so that it now looks like a stop button. But this won't happen till the thread completes playing the song.
ImageButton Sound;
public void onClick(View v) {
selectRandomSong();
Sound.se...
I am trying to understand the intents that get launched when the device is unlocked.
For eg: Say my activity is running, and I press the power button (screen off, to lock the phone). INTENT.ACTION_SCREEN_OFF is launched. The activity is paused and the screen goes blank.
Now, when I press the power button again (INTENT.SCREEN_ON gets ...
I have never used JUnit before, and now I'm trying to set it up on an Android project.
My project under test is fairly complex, including some JNI, but my test project, at the moment, is completely trivial. I have found many examples (that look totally different) online of how to make a test project, but it seems that no matter which o...