If I try to use my HTC Desire to test Apps I'm developing with Eclipse, then in the screen where I can choose the emulators and connected devices, it is only listed as unknown and a few question marks.
I read that on Windows you need HTC Sync respectively the drivers in this program, but how can I solve this problem on Ubuntu?
...
hi, i have written a simple app which would speak out to the user any incoming message. Both programmes seem to work perfectly when i lauched them as two separate pgms , but on keeping them in the same project/package only the speaker programme screen is seen and the receiver pgm doesn't seem to work . Can someone please help me out on i...
I have a Service running in the same process as my Application.
Sometimes the Android OS decides to kill my service (probably due to low memory).
My question is: does my Application get killed along with the Service? or how does it work exactly?
Thanks!
...
He is an example of my TextView, which goes off the right side of the screen. I tried setting paddings and stuff, but nothing seemed to work. Any ideas? Here is my hierarchy,
ScrollView,TableLayout
<TableRow>
<TextView
android:layout_column="1"
android:id="@+id/text_price"
android:layout_width="fill_parent"
...
I noticed that the position of the builtInZoomControls in WebView (bottom, horizontal right) is not consistent with the default position in the MapView (bottom, horizontal center).
1) Why is that not consistent? (Probably a question to be asked to Google)
2) Is there a way to horizontal center the builtInZoomControls of the WebView wit...
I've been able to successfully display the notification number count on the Android emulator. However, it doesn't display anything when I use it on an actual Android phone. Any suggestions on why there might be a difference?
...
Hi,
Is it possible to change the android application icon at run time? I've read through Changing the application icon text dynamically in Android
and How can i change an application icon programmatically in Android?. All answered can't. I use Android 1.6. Is there any way?
...
My widget stops working (becomes unresponsive to a button press) when the view changes from portrait to landscape or vica versa, does anyone know why it does this and if there is a fix?
EDIT: found the solution. I needed to sending all PendingIntents across with each RemoteViews update, even if they've already been set. When the orienta...
What do most people use?
...
I would like to add some sort of icon that a user can press in order to flip a variable in a broadcast receiver my app uses. Basically I just can a icon that they can press which will flip the value of a boolean in the broadcast receiver, and change the icon to indicate something happened. I think I need to do something with a widget? ...
While developing a sample android application i have constructed two activities
1)Activity 1
2)Activity 2
Now Activity 2 is the foreground activity whereas Activity 1 is the background one. Now user presses Home key. The application(i.e. both the activities) dissappear. Now is we relaunch the application we see Activity 1 as the foregro...
I want to send a tweet from Android.I have executed the following code.But I am not bale to send any tweets.Avtually the button I created is not working.Can anybody tel me wats the prob?
This is my code..
package samplecode.sampleapp.sampletwidgitpublicintent;
import android.app.Activity;
import android.content.ActivityNotFoundExcept...
Hi,
As you all might be knowing that Paypal has launched an in-App purchase model for Anroid. I will like to know whether this is legally allowed in Android market or not.
I know this may not be the best place to ask this but being developers if anyone has developed an application which uses Paypal In-App and is on Android Market then...
hi,
i am new to android.i am working on speech recognition.i need some sample programs.anyone can guide me.thanks in advance.
...
Hey all,
I made a very simple application to start playing around with Android development.
It works fine on the emulator, but it gives me the following error when I try to install it on my HTC Hero (v1.5):
Sorry!
The application Simple Dial (process com.foo.simpledial) has stopped unexpectedly. Please try again. (Force Close button)...
how can i get the resource id of an image if i know its name (in android)
...
Hi all
I want to communicate two emulators via DatagramSocket in Android. Each of them is a Node in a P2P system. Thus each of them has a server Thread and client Thread (created per GUI event). This is how I create server
public static final String SERVERIP = "10.0.2.15";
//...
run() {
InetAddress serverAddr = ...
[2010-06-15 12:01:37 - helloNDK]Android Launch!
[2010-06-15 12:01:37 - helloNDK]adb is running normally.
[2010-06-15 12:01:37 - helloNDK]Performing com.android.helloNDK.helloNDK activity launch
[2010-06-15 12:01:37 - helloNDK]Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'my_avd'
[2010-06-15 12:01...
friends,
i am using following code to display bitmap on screen and having next and previous buttons to change images.
and getting out of memory error
New Code
HttpGet httpRequest = null;
try {
httpRequest = new HttpGet(mImage_URL[val]);
...
Hi,
I'm working on an app that uses AudioRecord class to get input data from the phone mic. For some reason I'm unable to mute the mic. I have tried with different AudioSources (DEFAULT, MIC and VOICE_UPLINK) when creating the AudioRecord object, but there's no difference in the muting behaviour.
The muting itself, I'm trying to achiev...