android

OpenGL ES 2.0 Extensions on Android Devices

Hello, As this page for OpenGL ES 1.x, i collect OpenGL ES 2.x Extensions for Android Devices on this page. The list can be found with my benchmark tool gpubench. Thanks for your help, ...

Company Registration in Android Market

Hi, Sorry, the question is not programming related but I have nowhere else to ask, I asked in android help center and support without any responses. What do I need to open a company account in Android Market? I want my company to be seen as seller. How will they authenticate the company, what documents do I need to supply to the market?...

Can you programmatically detect white noise?

The Dell Streak has been discovered to have an FM radio which has very crude controls. 'Scanning' is unavailable by default, so my question is does anyone know how, using Java on Android, one might 'listen' to the FM radio as we iterate up through the frequency range detecting white noise (or a good signal) so as to act much like a norma...

set FEATURE_PROGRESSS as In indeterminate mode where the progress bar shows a cyclic animation.

Hello, I would like to know how do I set the activity to show a Cyclic animation for the progress bar, to show work is being done in the background. when searching I found this on the android website: "An activity can display a progress bar to notify the user that something is happening. To display a progress bar in a screen, call Acti...

Programmatically determine if application is the MarketPlace version.

I have an application that's offered in and outside of the MarketPlace. Is there a way of determining from within the code where the application came from? I've got a few indirect methods ... 1) I could simply infer from whether they have "Allow installation of non-Market applications" ticked ... http://developer.android.com/referenc...

Is there an easy way to strike through text in an app widget?

Hi! I was wondering if there is an easy way to strike text within an app widget in Android. In a normal activity, it is pretty easy, using textview flags: textView.setPaintFlags(textView.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG); But since in an app widget, I can use only remoteviews... I do not know if this is possible Anyone ...

Android Send mail Application

I use the following send mail application in android from http://stackoverflow.com/questions/2020088/sending-email-in-android-using-javamail-api-without-using-the-default-android-ap/2033124#2033124 and got the warning 10-07 17:58:22.762: INFO/SSLSocketFactory(925): Using factory org.apache.harmony.xnet....

How to increase response message size

Hi, I am sending xml through a HttpResponse from an aspx page(this part works) to my android client(this part works on emulator but not on device). When using the android emulator, the full xml response comes through. But the moment I install it on a device (SE X10 or Archos 7 tablet) the response gets cut off at the same point on both...

Question related to current View

Is there any way by which we can get the current view by specifying the position of the view? I have the view position with me and I need to get View. Is there any way? ...

blocking Incoming call - Android

i have incoming call broadcast receiver and phone state listener class , how to block or reject incoming call and the ringing notification BroadCastReceiver public class PhoneCallReceiver extends BroadcastReceiver{ private static final String TAG = "Phone call"; @Override public void onReceive(Context context, Intent ...

Android: Can't type into EditText using Hardware Keyboard

I have encountered a very weird problem with using the physical/hardware keyboard when typing in an EditText. It would have been simpler if all hardware keyboard input in any EditText didn't work. But its not, in one Activity, typing with they device keyboard in the EditText works, but in another Activity, typing loses the focus of the ...

Android - Detect Path of Complex Drag

I am recently getting into Android programming and want to make a simple game using 2D canvas drawing. I have checked out the Lunar Lander example and read up on some gestures, but it looks like I can only detect if a gesture occurred. I am looking to do a little more complicated detection on a swipe: I want to make a simple game whe...

Android 2.2.1 Nexus one : Voice recognition problem

HI Folks, I have a strange problem for Voice recognition on Google Nexus one phone which have Firmware:2.2.1.Voice recognition gives multiple interpretations of the spoken word When I speak "Hello" to the voice recognition, the results received is "hello, hotels, photos, fomdem, honda" which is expected to come only "hello" The same thi...

min height fill_parent and height wrap_content in ScrollView? (or just the email app compose layout's code)

Question If I have the following: <ScrollView android:layout_width="fill_parent" android:layout_height="fill_parent"> <LinearLayout android:layout_width="fill_parent" android:layout_height="?" android:orientation="vertical"> <EditText android:layout_width="fill_parent" android:layout_height="?" android:hint="Subject" android...

Issue with Android OpenGLES lighting.

Hey all, I'm writing a little 3D engine for android to better learn the platform and opengl. I hope to eventually use it as a base for little 3D games. I'm trying to implement lighting right now, and generally following the NeHe opengl android port tutorials. I have a simple spinning cube and 1 light that should not change posit...

How to Change color of Button in Android when Clicked

Hi, I am working on Android Application. I want to have 4 buttons to be placed horizontally at the bottom of the screen.In these 4 buttons 2 buttons are having images on them.The border of the buttons should be black color and the border should be as thin as possible.When I click the button, I want the back ground of the button should be...

Updating SeekBar in ListView

I have a ListView where each item represents a podcast that can run up to 90 minutes. Selecting an item will display a SeekBar and start streaming in the audio from a URL using MediaPlayer. I could use some pointers on how to handle maintaining the state of the SeekBar after it scrolls off the page and then scrolled back into view. I ...

Using Android's TabActivity in an Object-oriented manner

I'm fairly new to object-oriented programming, and I'm really interested in learning it correctly. My problem is this: I am trying to create a TabActivity which plots the user's data over time in each tab's content. Then only thing the tabs are going to control is the timespan of the graph. (i.e. one tab for 'past year', one for 'past m...

Android gesture detect problem

I have a my main.xml as a ViewFlipper which imports 5 views for my program. If I wrap the whole main.xml in GestureoverlayView I can detect gestures just fine with my listener, however, it displays the gesture on the screen. I don't want the gestures shown i just want them detected so I tried applying the touch listener to the ViewFlipp...

Is there a way to catch the Search key so that the Google Voice Search dialog doesn't appear?

I'm aware that the home key cannot be caught, and I'm worried that a long-press on the Search key is another "Android-OS protected" key press. Just for testing, I tried to catch all keys with this code within my Activity, but it does not stop the Google Voice Search dialog from being triggered. @Override public boolean dispatchKeyEvent...