android

Different resources for WVGA800 and WVGA854?

Got this really stupid problem: Can find the proper name for the android folder for WVGA800 resources. I've created a folder for WVGA854: drawable-normal-long-hdpi It worked totally fine. For WVGA800 I've tried 'drawable-normal-notlong-hdpi' - emulator and handset still gets resources from 'drawable', not even 'drawable-normal-long-hdpi...

Android Production Logging Best Practice

What are the best practices for logging in Android apps in production mode, keeping in mind the following requirements : 1- Ability to upload logs for debugging 2- Ability to clean up logs or set rollovers Thanks ...

Show pairing notification from android app

Hi, I have a simple Bluetooth app on android that connects to a device using RFCOMM. On the first connection, the device needs to be paired. Android does this by adding a "Bluetooth pairing request" notification which the user then needs to click on by first pulling down the notification area. I know this is "standard" Android behavi...

iPhone test automation - benchmark tools?

Hi we are expanding one of our projects in a major bank to include access via mobile devices. We are evaluating a few tools - inc. perfecto mobile, experitest and deviceanywhere. From our initial evaluation perfecto and device anywhere cover a larger set of handsets inc feature phones. Experitest on the other hand is strong and simple to...

To start Android Applications from website

Hi I am a c# programmer that loves android phones knowing that I am never going to learn Java. What I want to to is an ordinary website that starts the relevant applications from my android phone (Legend) with parameters like: This works: Mail - this opens the email klient with correct [email protected] href="tel:+4512345678" opens the p...

How to get rss feeds android?

I have this url here: http://www.webpronews.com/feeds Now i need to get the feeds and display it in android. Any clue? ...

1x1 size Nine-patch image not showing up on Android emulator device

Hi there, I'd like to use a 1x1 size Nine-patch image from Android drawable resources. When I'm trying to display it with <ImageView> in my layout xml file, this one is never showing up on the Android emulator device. Here's the xml code below: <?xml version="1.0" encoding="UTF-8"?> <LinearLayout xmlns:android="http://schemas.android.c...

Selling apps as a private individual on Android Market

Hi gents, I have spent a while developing an Android app, and am hoping to publish in the coming days. From the Market console, I have tried to make my Checkout account a Merchant account, for which I need to provide both a private (for Google's eyes only) address - which I'm fine with - and an address which the public will see when the...

Is it possible to change the colour of the FadingEdge of a Listview?

I want to give the effect that the ListView has faded from whatever is around it. By default it is set to whatever colour your ListView is. I can adjust the orientation of the FadingEdge and the size of the FadingEdge but not the colour. Is it possible? ...

Parse incoming messages (which are in xml format) via bluetooth, read the value in the message and display a graphic

Hi, I am able to read incoming messages via bluetooth from my phone. I want to parse the incoming stream (new CAN message in xml format every 100 ms), read the value in the message and display a graphic on the main screen of phone. Need help in parsing this dynamic incoming stream. Programming in Java in Eclipse for Android. Thank yo...

How to change the fading orange color In ExpandableListView ?

Hi, How can I change the fading orange color in ExpandableListView while scrolling ? Thanks ...

Android, correct syntax for animating view switch

I have a Test Application with an empty main layout except for 2 buttons on the screen, next and previous. I have two custom views called MyView1 and MyView2 that extends View. They are animated to slide in and out using a custom animation class. Currently I have been playing with something like the following: when "previous" is clic...

removing backgroundcolor of a view in android.

Removing Background color in Android I have set backgroundColor like this in code, View.setBackgroundColor(0xFFFF0000); How to remove this background color on some event.? ...

make third party browser as default

hi can anyone tell me how can we make our browser as default in android. i want to implement that when you open up the internet browser it gives you two options: regular browser and Mybrowser(third party browser which is made by me). If you select the regular broswer it says that the phone cannot access the internet unless it is on the M...

Android: Map Activity stops updating when its view becomes the view of a viewgroup again.

My program consists of tabs, mostly pointing to a viewgroup class. In the viewgroup I store a String array of generated IDs (So I can get the current activity) & an array of Views, which are added by getdecorview, so I can move backwards. The problem is that when I go to the venue list activity (accessed from a menu option in the map act...

what is the need of Asynchronous Task

We have to use Asynchronous Task to start our new Activity on Tab Click event but in the ListView or any view we can directly can start the new activity Why? ...

Android multiple Progress Dialog Not Work..

public class CatagoryVideoPlay extends Activity implements Runnable,MediaPlayer.OnCompletionListener { ImageView iv; Button b1; static ProgressDialog progressDialog; movieclass mv; public static int position; String spath; VideoView mVideoView; String s_url; String f_path; public Timer timer; public TimerTask timertask; MediaController ...

why getlocationscreen() is not working inside a animation

When i am using getlocationonscreen() function inside a animation class it is not working WHY? .I am using TranslateAnimation class for the animation and am using android 1.6 emulator. ...

How do I style selected item in Android ListView?

Hi folks, I am an Android newbie trying to learn the UI side of things and it's doing my head in. Here's what I have right now: breeds_listing.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content">...

how to implement the expandablelist in android?

hi, i amm try to replicate the inbuilt contact app.... how can i have a + button to add multiple phone and email? also i want the fastscrollview to be enabled in it ...