Is there a Settings.System AUTO_ANSWER_TIMEOUT preference?
Hi, was there a Settings.System preference called AUTO_ANSWER_TIMEOUT (probably EClair or earlier) that got moved or deprecated? If so, is there a replacement? Thanks. ...
Hi, was there a Settings.System preference called AUTO_ANSWER_TIMEOUT (probably EClair or earlier) that got moved or deprecated? If so, is there a replacement? Thanks. ...
I'm trying to provide an in-app Activity which displays thumbnails of photos in the device's media store, and allow the user to select one. After the user makes a selection, the application reads the original full-size image and does things with it. I'm using the following code to create a Cursor over all the images on the external sto...
I'm writing an app, that lets users subscribe to notification for TV transmissions. Currently the user can choose email, sms or push, but it all feels a bit overkill for a simple timed notification. I wonder if I can tell Android to simply "show this Notification at 11:30"? ...
With the Android 2.2 update came a new car dock app. If my app is in the foreground when I dock my phone, my app gets killed or paused or something, and when I try to re-open my app, it's all messed up. It has lost its state information. Does anybody know what the car dock app is doing? At very least, it seems to be force killing all r...
I tried posting this before, but can't find it now; apologies if this is a double post. Hello all, I'm creating a custom theme for my application, in the hopes of being able to allow the user to change the theme later on down the road. I've got the theme implemented, and it's default values for things like textviews are working swimmin...
I have a class (RestClient.java) that extends AsyncTask: package org.stocktwits.helper; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.client.ClientProtocolException; i...
I am just learning application development using Android platform. I want to know how if we post something in twitter app will go to twitter..how do they integrate these two ? Thanks, Ananth. ...
I don't want my app to crash if the user doesn't have wifi or 3g connectivity. How can I catch this at runtime in my app? ...
I'm working on developing a native android application to retrieve data for a user from my company's website. Because the data is specific to the user, I need to authenticate with our web server, but I'm unsure of the best way to go about this. I've been reading about REST/SOAP/HTML form auth, but I can't really find any definite 'this...
The problem is that the following method gets called one time when the Menu button is pressed: public boolean onCreateOptionsMenu(Menu menu) How can I recreate the menu at a later time in order to change some options, disable some options, etc? ...
package com.FlickrView; import android.app.Activity; import android.os.Bundle; import java.net.*; import java.io.*; public class FlickrView extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); se...
Is it possible to implement a custom way to lock/unlock an android mobile phone? I know that in versions 2.1 from android and before, there was only the locking pattern available, and that in version 2.2 it is now possible to set a password as well, but what if i want to make a custom way of locking/unlocking it myself (such as recogniz...
I have a lengthy (20K) text file I need to display (the terms and conditions document written by an obviously overpaid lawyer). What's the best/simplest way to show this to a user? I loaded the text from a raw resource and added it as the message to an AlertDialog, but the text is cut off about half way. I couldn't find any obvious limi...
I'd like to use the RandomAccessFile class to access a file that ships with my application. However, that class only accepts a String which is the path to the file. If I place my file somewhere like the assets directory, how do I construct a path to that file? I know I can use the getAssets methods to read up resources, but those only re...
Dear All Having little experience in Opengl es (or opengl) I was hoping somebody could help me out with this. I'm creating an opengl es application and I would like to be able to dynamically create the text of my buttons etc. The 2 obvious reasons for that are: -to be modular (changing the text quickly without using photoshop) -to ...
All I want to do is set an imageView to the screen from an image on a website. So I create a new ImageView then do imgView.setImageURI(uri); When I launch the app there is nothing but a blank screen and Logcat throws the error, resolveUri failed on bad Bitmap Uri (uri). Any ideas on how to solve this? ...
How to drawText when button click? How can i setContentView(R.layout.main) to see the button and draw the text when button click? I cannot make it, and below is my code for drawing text.public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); drawView = new DrawView(this); setContentView(drawView); } ...
I'd like to start creating Android apps but I don't like Java. I read that scala can be used to do it. Are there another option?(Clojure?) I'm a Python/Django developer so it would be great to learn a pretty different language. ...
I've got an Activity with two views set up in a ViewFlipper. One of the views is a layout with a GLSurfaceView and a few other widgets, the other just has a layout with a TextView and a VideoView. When I click on something in the GLSurfaceView, the ViewFlipper swaps so the video can play. In this screenshot, you can see the plain GLSurfa...
I am new to git and repo. I am in window 7 so I use cygwin. I have installed git from cygwin setup. After that I try to repo with the following command in cygwin. $ repo init-u git://android.git.kernel.org/platform/manifest.git error like these> bash : repo: command not found I think I need to make setup in cygwin for repo. What do...