android

What Programming Language is Google's Nexus One Using?

Is it just Java? ...

Android application

I am developing an App that needs to retrieve some data from a web server, but I have no idea how this can be possible? Many thanks ...

Android SDK fails to install

When I try to install the android SDK it fails to install. My OS is Windows XP I just downloaded and installed Java JDK 1.6 Java -version from the command line returns: http://stackoverflow.com/questions/ask java version "1.6.0_17" Java(TM) SE Runtime Environment (build 1.6.0_17-b04) Java HotSpot(TM) Client VM (build 14.3-b01, mixed mod...

Views and their child views: how to avoid the ugly "boxes" when child views in a View has another color than the background (stateful drawables for example)

Hey! So, I have a simple ListView and on that ListView I have placed a number of custom defined Views. The CustomView has ImageView and two TextViews. The CustomView also has a "stateful drawable" as background, so that the background image (a 9-patch) changes if you press the Row in the ListView. When pressing the Row, the background ...

How to open new view (call an activity) from options menu defined in XML? (android)

I cant seem to open a new view from an options menu item. The program keeps crashing as it applies the intent and listener to the item. I am just beginning, so please be nice. The current view is mnfsms, and the view I am trying to open is mnfsms_settings. I am developing for 1.5. Could someone please help me get the menu working. The...

Is that possible to get the current sample amplitude by MediaRecorder or other class

Hi everyone, I have a media recorder, and want to record a media from mic and get it's amplitude sample. I want to try to get the correct and current amplitude instantaneously when calling some API. But there is just one API in MediaRecorde for getting amplitude: getMaxAmplitude, and it is used to get the maximum absolute amplitude measu...

Android - unable to uninstall application

I have some Android market feedback for my app Hire*A*Droid where users complain that they are unable to uninstall the application. Here's two I have so far (about 10 days apart): janelle: I uninstalled this app, but its still showing that its installed under my downloads. What can i do ? valerie: It's frozen I can't open or ...

How do I set a proxy in Android phones ???

Am really wondering how to set a proxy server in android phone like [tattoo] in order to gain access in some private networks any suggestion would be appreciated ... thanks ...

Streaming Videos in Android and saving to Sdcard?

hii Anyone plz help me to stream videos from an url and then i want to save the video to sdcard. thanks revathys ...

Android: Why are methods for getting neighboring cell signal strengths better than those for current cell signal strength?

I'm writing an android application that collects cell signal strengths. I am having trouble getting the "current" cell signal strength, but I don't have any problem getting the "neighboring" cell signal strengths. To get the current cell signal strength, I created a PhoneStateListener and implemented the onSignalStrengthChanged callbac...

Android XML parsing

hi friends... a strange problem has cropped up... I checked several websites but couldnt find anything wrong with the code... But it returns NullPointerException... try{ SAXParserFactory f = SAXParserFactory.newInstance(); SAXParser parser = f.newSAXParser(); XMLReader reader = parser.getXMLReader(); reader.setContentHan...

Input Field With Custom Input Method

Hi! I would like to show a custom input field (specifically, one containing only 9-0 and two extra buttons containing decimal separator (, or .) and a delete button). I could create a custom IME, but (as far as I know) that would have to be set by the user as the system-wide input method. Is there a way to implement an input method and...

SAXParseException in android

I am following the book "Professional Android Application Development" and trying to code some example. In chapter 5 page 151, the following code throw SAXParseException. Does any one know why? ... Document dom = db.parse(in); .... I tried other xml files, same exception was thrown. ...

how to fit the application for both config like portrait,landscape in android?

Hi,i done my application in portrait configaration but when load my application in to device its coming portraint configaration but i keep in landscape mode missing some controls.how i cam fix the screen for both configarations. ...

Accepting a certificate for HTTPs on Android

I'm trying to make Https connections on the Android phones, using HttpClient. Trouble is that since the certificate isn't signed I keep getting "javax.net.ssl.SSLException: Not trusted server certificate". Now I've seen a bunch of solutions where you simply accept all certificates, but what if I want to ask the user? I want to get a dia...

How to make 2 parted screen with MapView ?

Hi guys. I am trying to make screen with Google Map. This screen has 2 parts. First part includes Button TextView and ListView and places on the top of Screen. Second part includes MapView (Google map) and places on the bottom of Screen. How to make it ? I've done it. But no luck. It throws this exception : 01-07 11:53:12.813: ERR...

Broadcast receiver that listens to hard button in android

Hi Is there a cross device hard button in android that a background service can listen to and act when it is pressed/released? Thanks ...

android how to stop gps

After launching listener by the following code is working fine. LocationManager locationManager =(LocationManager) getSystemService(Context.LOCATION_SERVICE); locationManager.requestLocationUpdates( LocationManager.GPS_PROVIDER, WLConstants.DELAY_HOUR, gpsl .getMinDistance(), gpsl); Afte...

Is there a way to play .flv video files in android app ?

I was just wondering if it's possible out of the box or via a library. Any suggestions are welcome ! ...

Whats the right choice? Create new Activities or just create a different Layout and replace the existing layout?

Hey, since Im new to Android I am now thinking on what is the correct way of doing things. As it stands, the application Im writing has 4 different screens: * Screen 1 - list of nodes (main screen) * Screen 2 - options menu, tableLayout with buttons * Screen 3 - navigation * Screen 4 - text details on version etc These screens can be n...