What should I do to get my content provider to return the _count column with the count of records? The documentation says it is automatic, but maybe it's only taking about some built-in content provider. Running a query to the database seems not to return it.
...
Currently I'm running instrumentations tests from the command line this way:
adb shell am instrument -w com.blah.blah/android.test.InstrumentationTestRunner
Is there a way to run them from Eclipse (with automatic installation of the application)?
...
I'm developing a JavaScript application that needs to run on the Google Android Phone OS. Is there a way to enable the JavaScript Error/Debug console within Safari on either the Android Emulator or an actual device? If so any instructions on how to do so would be appreciated.
...
Anyone know of a user interface guidelines document for Android applications? Looking for something similar to Apple's or Gnome's.
...
I am trying to get an address based on the long/lat. it appears that something like this should work?
Geocoder myLocation = Geocoder(Locale.getDefault());
List myList = myLocation.getFromLocation(latPoint,lngPoint,1);
The issue is that I keep getting : The method Geocoder(Locale) is undefined for the type savemaplocation
Any ass...
I am a freshman in college which has been Java programming for over a year. I haven taken a couple of programming courses, both of which were with Java. And I have done web development for several years. So overall, I would't say that I am a complete beginner in programming.
Recently, I have developed a strong interest in developing fo...
I'm building a mobile web app targeting Android users. I need to know what JavaScript events are available to me. I have been able to make the following work, but not terribly reliably:
click
mouseover
mousedown
mouseup
change
I have not been able to get the following to work:
keypress
keydown
keyup
Does anyone know the full list...
I have followed the tutorial at Scala and Android with Scala 2.7.3 final. The resulting Android App works but even the most basic application takes several minutes (!) to compile and needs 900 kb compressed, which is a show stopper for mobile applications. Additionally, the IDE runs out of memory every now and then. I assume dex is not m...
Under what circumstances should I use afterTextChanged instead of onTextChanged and vice versa? Examples would be most instructive with attention to why onTextChanged must be Overridden but afterTextChanged and beforeTextChanged do not have to be Overridden.
...
I am not sure where to start to explain this one.
I have a list view with a couple image buttons on each row. When you click the list row, it launches a new activity. If you review some of my other posts, I have had to build my own tabs because of an issue w/ the camera layout. The activity that gets launched for result is a map. If I c...
Hi to all, That's my question, I want design all the interface of my application within an XML layout but I want to handle all the onTouch events, move ImageViews, etc, from a Java Class, this is possible?
Thank you in advance.
...
Hello, trying to do some Android development, which means Eclipse, however, most of my experience is Microsoft tools (e.g. Visual Studio). My java experience is mostly either Blackberry dev in the JDE and some miscellaneous stuff back in the Java 1.0 days.
My question is this. In VS200x, there is a .sln (solution), .csproj (project)...
I'm thinking about using semantic (web) technogies like RDF and OWL in an application on mobile devices. Currently I'm targeting android, but I'd also be interested in the possibilities on the iPhone and on J2ME.
I would like to use a lib instead of implementing everything from scratch. I know that there are some libraries and framework...
Problem in running Junit tests in eclipse 3.4.1 on Mac OS
I am getting this error:
'Lanuching AllTests' has encountered a problem.
Cannot connect to VM.
!ENTRY org.eclipse.core.net 1 0 2009-01-29 10:07:44.047
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.25
4/16|*.169.254/16 by an external source. This...
Does anyone know if there's a way to either keep the user from uninstalling an app from an Android phone or reinstall it on removal? Before you flame me, please know that I have an app that's intended to be installed on the phone by a parent/employer/etc. and has a password-protected settings screen; the user would need to enter the pass...
Does anyone know what happend with the android.provider.Telephony ?
It is not there anymore.
...
I would like to implement a ListView, which I can do no problem w/ my cursor. Right now depending on which row you click on it takes you to a new activity based on the information pressed on that row (just like it should, and as expected). I would like to have a button however to delete the row, so a user can press any part of the row to...
Is there some kind of guide about shortcuts on Android? I have the typical CRUD and I want to assign familiar shortcus.
...
I have a problem with custom ItemizedOverlay on the MapView in Android.
What I've done: Very simple offspring of ItemizedOverlay class that only wraps my own type of items and uses ItemizedOverlay for all the hard work.
What works: Nearly everything - items are drawn properly, I can tap them etc.
The problem: If I drag the map in the ...
Since the release of Android (over a year ago?), it's momentum seems to have slowed. I'm wondering of your perceptions of adoption and viability in the "long run".
I believe Apple will "lighten up" a bit with real competition and with other platforms appearing to open their platform more to developers, do you feel that Android will be b...