When i call the progressDialog=ProgressDialog.show(this, "Working..", "Searching!", true,false); from onKeyListener progressDialog.dismiss() is not working properly and i can't stop `progressDialog without force closing.However when i use entire same code with a button and onClickListener it works like charm.Is this some kind of bug or a...
Hi, When executing a PostMethod with httpclient , the request is not stopped at
the defined timeout.
Running on the acer liquid with 3G network ,but in the emulator it works fine and it generate a SocketTimeoutException
HttpParams httpParameters = new BasicHttpParams();
// Set the timeout in milliseconds until a connection is e...
am using android 2.2 platform. my problem is when i attempt to run map applicatin it displays grids , and also when I run the emulator and choose the map icon
from the home screen shows the grids followed by message "network failure"
...
I have a ListViewItem with a custom gradient background. The default selector no longer highlights these rows anymore. Highlight only works if I set the background to transparent. How can I get the highlight?
<ListView android:id="@+id/symbolsListView"
android:layout_width="fill_parent" android:background="@drawable/transparent_...
Hi all, I have an activity here.
I want to click a button and then hide the activity GUI.
That is, GUI is needed and you can hide it by clicking a "Hide App" button. How can i
implement this "Hide App"?
Somebody help! Thanks in advance!
...
I downloaded the sdk and added the library to my workspace, then the sample for market licensing. The sample app seems to force close somewhere after/during the instantiation of LicenseChecker. I tried running on the emulator with Google API 8 and on a droid x with froyo and it force closes. The stack shows PerformLaunchActivity as th...
It seems like the example they give for the licensing server uses the main activities window to display licensing. I'm wondering what is a realworld example that uses the licensing server.
Use their main sample activity and if it allows go right to your actual main activity?
It seems like there should be a sample that checks acces...
I'm having trouble setting up the Android SDK. I've set up Eclipse before but it didn't work, so I uninstalled it, but I'm trying again.
Does Eclipse need to be extracted to a particular folder for it to work? Where should I extract to?
Edit:
I'm using Eclipse 3.5 on Win7 Ultimate x64
...
Hi ,
Can any one tell me how to reject incoming call programatically in android ?
Thank you,
Srinivas
...
how can we automatically turn on airplane mode when radio signal is very low in android???
...
I haven't done any work with the Android or iOS platforms, but I have recently been pitched a project and I'm trying to see if it is even feasible.
Is there currently API hooks in the iOS and Android platforms for accessing / manipulating the voice / data streams? What I would like to do is encrypt all outgoing steams and decrypt all i...
Hi,
I want to draw a straight vertical line on my Android activity, when a button is pressed. Please explain how I can draw the line with a position & length I want.
Elaboration:
I have a linear layout with vertical orientation. A set of buttons constitute this linear layout. When I press one button, I want a line to appear to the righ...
I want to be able to make a TextView bold. This is how I am setting it's appearance (I need to do this in code):
nameText.setTextAppearance(getApplicationContext(), R.style.BlueText);
priceText.setTextAppearance(getApplicationContext(), R.style.BlueText);
changeText.setTextAppearance(getApplicationContext(), R.style.BlueText);
Here is...
I'm setting up Eclipse for Android and when attempting to install the ADT plugin, I encounter the following error:
Edit: Notice the more complete error message here.
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 0.9.9.v201009221407-60953 (co...
I've written an OBJ loader which parses the vertices, texture coords, and normals, each are stored in a FloatBuffer, and passed to opengl:
gl.glVertexPointer(3, GL10.GL_FLOAT, 0, fbVertices);
gl.glNormalPointer(GL10.GL_FLOAT, 0, fbNormals);
However I am stumped as to how i am supposed to pass my index buffer to glDrawElements, I've re...
how do i get access to the audio recorded by the microphone before it is accessed by the other applications.
...
Hi Folks,
I would like to design a layout for my android app which has imageviews/Textviews placed as shown in the figure below.
Right now, i tried to use Absolute layout, but i know that will create problems as the screen size changes.
Please help me with your ideas.
All comments are welcomed.
Thanks & Regards,
Sen
...
My android application is using a shared library call to connect to a USB remote device.
In a few of the commands, the communication is a bit time consuming, so that it will take a few(say 30) seconds to get the response.
In such cases the application terminates after waiting for a few seconds.
How can I increase this time interval?...
How to decode the .apk files, I followed http://dedexer.sourceforge.net/ but ddx.jar didnot produce any output file.
...
Hi Stackoverflw team
I have a problem in implementing the code android camera. when i implements the code then it will run successfully but there is 1 problem here is that it captures multiple images as a waste images which shows nothing with 1 actual image i am using following code:-
preview = new Preview(this);
((FrameLayout) fin...