Hi I have recently noticed that when Running the function geoCoder.getFromLocationName() on android 2.2 (Froyo) then i Receive a IOExeption (Which does not occur on other SDK versions).
After some reserch i have found suggentions to add the following Permisions:
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"...
This is an issue that has been plaguing me for a while now. I am trying to use SQLite DBs to store information in my application. Once I open a DB, I close it right after I'm finished. Here is a rough overview of what I do:
getWriteableDB;
// Perform DB Operations
closeDB;
This works great, most of the time. Occasionally, the DB files...
A number of users of my app have reported that on the Nexus One, running Froyo 2.2, the app appears multiple times in the 'Recent Apps' list that is displayed when you long press the home button.
Personally, I have not been able to replicate the issue. Have tried killing the app with a task killer then restarting it to see if that would...
If I launch an activity from my ListView, when I go back to the ListView it is reset back to the beginning - the original position within the ListView is lost.
This does not happen if I change the orientation of the device. onRestoreInstanceState is called and the position within the ListView is maintained.
What is causing the positi...
First and foremost, are there many android developers here? Is this a good place for Android related discussions?
I seem to be missing a rather large concept of Android development. The gist is I am struggling understanding how to tie an application together. I’m not sure how to explain it, so I thought I would do my best with an examp...
Is there a good example showing how to query a server and downloading the response (JSON or XML)?
...
Hi
I just installed the whole shebang in order to develop android apps in Eclipse (I'm running 64-bit gentoo). Everything seems to go fine, and I created the dev group's hello-world example:
package com.nfshost.flyingmonkey.android;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class He...
Log.i("CONNECT TO THE NETZ!","BOOM");
Prints nothing in LogCat. Why?
...
Hello,
I am developping an application using a ContentProvider. It is declared in the manifest :
<provider android:name="foor.bar.FooBarProvider"
android:authorities="foo.bar.FoorBarProvider" />
Everything is working fine, I can access the provider. The problem is that I want to create a demo version of my app and I want it ...
I'm trying to parse an xml file from a website. Let's say the website is "http://example.com"
This website has a htaccess rewrite rule setup to redirect anything with a "www" prefix to the host back to example.com. so "http://www.example.com" would redirect to "http://example.com"
In my code I have a URL that i get the InputStream of....
Hi!
I'm new to opengl-es on android and struggling to get my head around the concept of texturing.
I am looking to produce a tilemap of various difference textures. I understand that it is better to use an atlas of all the combined textures so I don't repeatedly rebind. However I am unsure quite how to then map these textures on to my ...
Ok so I've read the Custom Dialog explanation on the And Dev website
http://developer.android.com/guide/topics/ui/dialogs.html#CustomDialog
It show's you how to make a custom dialog, but not how to customise the title!
Basically my title is too long and I want it to scroll (like textview) or better still have a 'marquee' effect i think...
I have an app that needs to send a periodic heart beat to a server, but when the phone goes into standby mode the background heartbeat thread dies. Is there anyway to wake the phone from standby, send the heartbeat and then go back to sleep programmatically? I want to avoid using PARTIAL_WAKE_LOCK if possible.
Thanks
...
For some reason whenever I checkout my Android project from the SVN repository into Eclipse it fails to recognize that it is an Android project.
Even when I use "Convert to Android Project" it says: "Project1 does not exist."
What might be the problem or how do I checkout an android project from a repository?
...
I've been stuck on this for a while so I thought I would ask. Previously I had an ImageView with buttons underneath. But I would like to have the buttons on top, and the ImageView underneath the buttons, but can't figure out how to do it. Here is the XML I have at the moment. Does anyone know what is wrong?
<LinearLayout
android:ori...
Hello All!
I have an android application that runs well on my emulator, but when i deploy the .apk to a real phone, it works for about 4-5 minutes and then unexpectedly crashes. Is there anyway I could get a stack trace or more helpful information to show up on the android when it does this? Any particular way to get a log?
And also, ...
I typically use Eclipse with the Android Plug-in for mobile phone development. I was wondering how I could use this existing setup to develop and test Android Tablet applications. Anyone have any suggestions/experience with this? Any alternatives for testing?
Update:
http://www.droidsector.com/blog/2010/05/21/how-to-emulate-a-tablet-in-...
I would like to be able to pull out different fields like Name and Symbol etc. How can I create my JSONObject in Android to do this?
{
"query": {
"count": "1",
"created": "2010-08-26T07:09:40Z",
"lang": "en-US",
"results": {
"quote": {
"symbol": "AAPL",
"Ask": "241...
im making an android game and i want to insert a movie clip (.flv) of exlosion into the game, how do i do that?
...
Hi, How can I integrate into the Android SDK tools to do for example:
1) See a list of installed devices
2) Start a new device to run
3) See a list of devices started
4) Install my application (uninstall before install).
I got this from the command line but want to use it from an application.
...