I received this error while trying to open a dialog from my Android activity. A Google search did not provide any helpful interpretations. Hoping someone has some idea what this exception even means?
08-21 00:42:48.515: ERROR/AndroidRuntime(880): Uncaught handler: thread main exiting due to uncaught exception
08-21 00:42:48.595: ERROR/A...
I am about to start writing a web app for the latest smartphones using HTML5, CSS3 and JavaScript. I don’t need a framework so much as a library like jQuery.
I looked at jQTouch which is great for iPhone and apparently has support coming for Android too but I am looking to cover Blackberry device Software v4.6 upwards and WebOS 5 as wel...
I'd like the activity stack for my app to contain multiple instances of the same activity, each working on different data. So I'd have activity A working with data a, b, c and d in my activity stack ad I'd have 4 instances of activity A that I'd call A(a), A(b), A(c) & A(d). I'd also like to arrange it so that if the user asks to work ...
I am trying to create a very simple help page in my app. The layout xml for the page contains only a textview that displays the help info. In the Eclipse layout view, the layout looks perfect... however, when i try to load it in the emulator (via an OptionsMenu) it comes up as a blank black screen. What am I doing wrong??
Here is the Co...
I am trying to create an App that has a similar layout as the view you get when you edit a contact. The main functionality I need is the ability to click a "+" or "-" button in the row and add/remove another row where the user can input another line of data.
What is the best way to go about doing this?
I have looked into the expandable...
I saw in Android 2.1 highlight it said new platform support: "Bluetooth 2.1, New BT profiles: Object Push Profile (OPP) and Phone Book Access Profile (PBAP)". Now I have bluetooth adpater with OPP support. I can search and pair with it. But how can I get the txt file it send to me. There is no API for this function. I'm using the Bluetoo...
I have an application that listens for screen off, and user present intents. Since you cant register to receive screen off intents from the manifest, I am registering them in a service.
Do I really need to have a whole service to ensure that I always get notified of when the screen shuts off, and the user unlocks the phone? Seems real...
As part of learning android, I am following the NotePad tutorial
One thing I noticed in the tutorials, the DB connection isn't being closed explicitly and it makes sense since startManagingCursor() handles it itself.
But if start/stop the app in a speedy manner (I manually started app by clicking it's icon and closed it by pressing bac...
I've seen the "share via" dialogs that are in apps like TFLN (texts from last night).
Looks like this: http://garr.me/wp-content/uploads/2009/12/sharevia.jpg
I am looking to share text. Can someone point me in the right direction? Is this done with intents?
...
Hi all
I need help with server and I'm new with it. Got a help from my friend but still can't work. I can't login. There is no error so called 'detected' when running the application. I can't login. Somehow the connection wasn't properly established.
This is my java file open in eclipse;
package log1.log2;
import java.io.ObjectOut...
I have two buttons that increment and decrement a value by one with each press and they're working just fine with the onClickListener. I see that an onLongClickListener exists, which I assume is for touch and hold events. How would I have the number rapidly increment/decrement if the button is held?
Am I correct in assuming that onLongC...
Hi guys,
Well, here's my request. I don't know OpenGL already, and I'm not willing to learn it, I want to learn OpenGL ES directly since I'm targeting my development to android, however. I want to learn openGL ES in order to develop my 2D games, I choosed that for performances purpose (since basic SurfaceView drawing isn't that efficien...
I was able to setup geolocation accessibility in my webview for any android phone running 2.0 and up easily. However I really need to get this feature working on 1.5 and 1.6 phones as well. From what i've read it seems like this feature used to be accomplished with "Gears" and apparently there is a way to use addJavascriptInterface to im...
I'm adding admob ads to my app that has a CountDownTimer that changes a time countdown display in its onTick() callback function. The time display uses a TextView and is changed via .setText().
Everything works fine until I add the admob code. Seems that the ads break the TextView redraws when running. When I stop the CountDownTimer and ...
Hello everyone--
I'm pretty new to Android app development, and I've been playing around with swipe gestures using Android's SimpleOnGestureListener and a ViewFlipper. There are 3 children of the ViewFlipper, and each is a ScrollView. They're all dynamically populated when the Activity loads, and they don't change after that. The Scr...
I was reading over http://android-developers.blogspot.com/2009/04/backward-compatibility-for-android.html But I'm really not grasping how to ignore certain lines of code. I have this Activity (posted below) and it's a simple webview. However, I want to have geolocation enabled(even if it is only for 2.0 and up phones), since these method...
I want to use my image to replace the Compass image of MyLocationOverlay, how can i implement?
...
What are the disadvantages of running services in Android in Foreground.??
I recently read that if you want your services to last longer and not get killed easily we need to run the service in foreground.
...
How to i disable the keyboard when a button is pressesd.
...
I tried using the following data in my intent filter:
<data android:scheme="http" android:host="an.example.i.p" android:pathPrefix="t" />
Why doesn't the following url trigger it?
http://an.example.i.p/t/v2.aspx/chase/a.test.auto
...