android

Eclipse complains android:scrollbars and android:fadingEdge do not allow Strings - includes code.

Having a problem in Eclipse with regards to an XML file. Eclipse complains that android:scrollbars and android:fadingEdge do not allow Strings. I checked the Android developer site and they do in fact accept strings in the xml file. A related question posed had the problem where there was a missing :android after xmlns. As you can see f...

Problem -- My Android "Hello World" App Won't Say 'Hello"

Hello, I hope that I have come to the right post for a beginner’s question abut Android programming. If not, please feel free to direct me to a better forum. I created a hello world application, and the system generated most of the Android language below. When running the app without the system.out statement, there is no “hello” in ...

Android Market, Search results position Mystery.

How is an app's position in the Android Market search results determined? Is it as mysterious and complex as Google Web search results? We obviously don't want to change any words in our app's title or description that would hurt our position. Same question applies for not only search results, but when clicking on a Category in the An...

Default Record Voice in Android

Hi, i notice in the Android Default Voice Recorder that can sense how loud is your voice and show it to you in UI parameter . Can i use this from the intent or how can i program a code that sense the loudness of the voice in Android. ...

Using java.util.regex in Android apps - are there issues with this?

In an Android app I have a utility class that I use to parse strings for 2 regEx's. I compile the 2 patterns in a static initializer so they only get compiled once, then activities can use the parsing methods statically. This works fine except that the first time the class is accessed and loaded, and the static initializer compiles the ...

Is there a way to animate on a Home Widget?

Hi All, I want to use an animation on a Home page Widget, i.e. an AppWidgetProvider. I was hoping to use the "Frame Animation" technique: http://developer.android.com/guide/topics/graphics/2d-graphics.html#frame-animation which I've used successfully in an activity. But I can't translate that code to an AppWidgetProvider. Basically...

Width of a scroll bar in android

Hi in my application scroll bar is just too skinny to use. Does anyone know how to change the width of this? Thanks in advance ...

Android Live Wallpaper: waitForCondition(ReallocateCondition)

I've been developing a live wallpaper using GLWallpaperService, and have gotten good results overall. It runs rock-solid in the emulator and looks good. I've dealt with OpenGL many times before so have a solid command of how to do things... unfortunately I'm having a hell of a time getting this to actually be stable on the actual hardw...

Poor Transparency on Images

I am having problems getting transparency to work well on an ImageView. The images at (http://img265.imageshack.us/img265/6233/whatn.png) were screen captured from a Droid (hdpi). The top image I made in Photoshop and left the background white. The bottom image is the same image with the background transparent and the layout's color (whi...

Android: "Edit Source Lookup Path...".

I am developing on a Mac with Eclipse and have the skeleton for an app that implements the standard framework callbacks (onCreate, onDestroy, onPause, etc..). When I set breakpoints in the callbacks the debugger stops and displays a tab that says "ActivityThread.performLaunchActivity(ActivityThread $ActivityRecord,Intent)line:2477" and i...

Problem with onscreen keyboard on Droid

Hi all i am developing an application which has a general text entry form. So while testing on my moto droid, i am facing a strange issue-- when i touch an input field ( which is at lower end of the screen) -- the on screen keyboard pops up and hides the input field. So user have to enter blindly. So is this a sdk issue OR it is particu...

hide keyboard in android?

Hello all, I am new to android development. I am creating an application in which when app launches the edittextfield getfocus automatically and the keyboard pop-up.I want to hide the keyboard by default and show when edittextField get focus.I have tried this method but it's not working. InputMethodManager imm = (InputMethodManager)ge...

How to figure out that mp3player is delayed when seek bar is working with ??

While playing mp3 by mediaplyer and showing the progress with seek bar, the problem is that mp3playing sound is delayed when mediaplyer and seekbar working at the same time. I used thread, handler, timer for solving that problem on seekbar.setProgress(mediaplayer.getCurrentPosition()). what do I do?? sdk can take more playb...

KSoap2 Android not valid SOAP

Hello all, I am trying to post to my own test soap server (C#) with Android in combination with KSOAP2. Now I have the specifications from the SOAP server, it expects: POST /SharingpointCheckBarcode.asmx HTTP/1.1 Host: awc.test.trin-it.nl Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/chec...

Specify intervals for Location Manager to broadcast current location in Android

Hi, Is there any way to specify the time intervals that the Location Manager broadcasts the current location? I am using a method called startListening: public void startListening() { locationManager.requestLocationUpdates( LocationManager.GPS_PROVIDER, 0, 0, t...

GridView row remove and animation - Android

I have a GridView in which each row has a custom view. The grid view adapter has an array that keeps the custom view. At click of a button, I want to remove a specific row from the Grid and while doing so I want animation on it. I have an AnimationListener. When I remove the upper most row from the array and setAdapter in onAnimationEn...

How do I add a View (dynamically) in an android widget? (API-level 3)

How do I add a View dynamically in an android widget? I realize that the RemoteViews works as a container of updates, but the RemoteViews.addView is only available on API level 7 (and I want my widget to work on HTC Hero phones, which has API level 3). ...

Displaying Longitude and Latitude values stored in a SQLite db as a Route on a MapView in Android (Not Real Time).

I am currently in the process of creating an application that records current location of a mobile device in intervals, displaying the route as a coloured line on the device in real-time. At the same time the application is storing the longitude and latitude in a SQLite database as I want the user to be able to bring up that specific rou...

How to always run a service in the background

Hi I am in the process of creating an app that is similar to the build-in SMS app. What I need: - a service that is always running in the background - every 5 min. the service checks the current location of the device and calls a web service - if certain criteria are meet, the service should generate a notification (just like the SMS a...

steps of integrating Facebook in android

How can we integrate Facebook in android? ...