android

how do i prevent default programs from auto starting on android 2.1

I just got an evo 4G and it is annoying that all my useless Sprint programs and their partners' programs. So I am interested in finding a way to.prevent them starting and not using up memory. ...

Naming conventions and the Android SDK

Is there a publicly available document explaining the naming conventions followed in the Android SDK? ...

Unable to refresh listview

Hello all, I am using customadapter to set data for list which contains a text view, imageview and a layout with some buttons. the buttons layout will be invisible initially. When we click on list item the layout has to appear with user able to click a button. This work fine as long as ImageView is static. But our build will fetch imag...

How do you output messages to the Eclipse console in an Android project?

The question is in the title. ...

Display HttpResponse (string from Handler) in new WebView

I have the following code in a form's submit button onClickListener: String action, user, pwd, user_field, pwd_field; action = "theURL"; user_field = "id"; pwd_field = "pw"; user = "username"; pwd = "password!!"; List<NameValuePair> myList = new ArrayList<NameValuePair>(); myLis...

On logout, clear Activity history stack, preventing "back" button from opening logged-in-only Activites

All activities in my application require a user to be logged-in to view. Users can log out from almost any activity. This is a requirement of the application. At any point if the user logs-out, I want to send the user to the Login Activity. At this point I want this activity to be at the bottom of the history stack so that pressing the "...

How do you scroll one area of a page using Android's web browser?

On the iPhone, safari strips out scrollbars on divs that have overflow set to auto or scroll, but still lets the user scroll with the two-finger swipe gesture. Using an HTC Incredible, we see the scrollbars are again missing, but we cannot figure out any gesture that allows the user to scroll. Is there a special directive we need to ad...

Return ArrayList from .net web service to android application using kSoap

My web service is returning quite a bit of data, so i'm storing it in an arraylist and returning that to my application. I don't know whether or not this is the preferred method or not. When the arraylist is returned and displayed in my application, it also displays the arraylists "anyType" section. I'm new to this whole process so i'm s...

SQL Server and Android

Is there any way to connect to a SQL Server from an Android application and execute/query SQL statements without Web Service/WCF etc? Thanks. ...

Stacking Dialogs in Android

Is there a way to control the relative stacking of Dialogs produced by your own Activity? For instance, there are some more important Dialogs which I would like to ensure are on top and if another Dialog wants to pop up I would want it to pop under the important Dialogs. Example: I want to present to the user an important dialog, Dialo...

What's the best way to monetize Android Game ?

I'm developing an Android game, it has 20k downloads so far. But I'm not in US region, so I can't just SELL it via Android Market, so it's free. So, I'm looking for a best legal way to earn some money from my game. PS: Game already has AdMob ads, and I'm looking for something better. ...

how to differentiate the 480X800 and 480X854 screens in android?

how to differentiate the 480X800 and 480X854 screens. we have an option to put the one image at the hdpi folder.in my case 480X800 image is does not support for the 480X854 image. it shows a blank space at the bottom.Any Idea? Edit: i set the image as a background. on my layout i have transparent image views with margins. if i click the...

Working Android with Arduino

Has anyone tried to make Android and Arduino communicate with each other? I found a couple of projects online: Amarino Android-Arduino What do you guys suggest is the best way to make those two communicate? ...

ScrollView in android

hi, I' have a view that contains several textViews an ImageView and a Button . Because on small screen devices (or in landscape mode on big ones ) not all are visible I use a Scroll as the parent of the whole hierarchy to allow the user to view all the information. The things are suck that the button must be at the buttom of the view . ...

Android: ActivityThread.performLaunchActivity error

Hi, I'm getting an ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord,Intent) error each time I boot up my program in the debugger. The program won't even start up! Any help would be greatly appreciated! I'm very new to this environment. Let me know if you need anymore information/code to help me out. Here is my logcat:...

How to read special owner contact on Android 2.1

Hi, anyone who knows how to query for the special owner contact? (HTC Desire) Thanks, Nicholas ...

android pending intent notification problem

Hi all! I have a alarm thing going on in my app and it launches a notification that then when pressed launched an activity. The problem is that when I create more than one alarm then the activity launched from the notification gets the same extras as the first one. I think the problem is either with the intent i put in the pending intent...

How to properly group SQL results set?

SQL noob, please bear with me!! I am storing a 3-tuple in a database (x,y, {signal1, signal2,..}). I have a database with tables coordinates (x,y) and another table called signals (signal, coordinate_id, group) which stores the individual signal values. There can be several signals at the same coordinate. The group is just an abitrary...

Web Services with Android - why no support for WSDL ?

I'm creating a Client/Server application with Android (Client) and WCF (Web Service). From reading quite alot of discussions, I'm under the impression that there is no tool available to create the web service client in android automatically from a WSDL file. If this is the situation, what is the easiest approach for creating a communica...

Should Android services be completely independent of an application?

We currently have an application that starts its own background services to manage syncing of data and downloads of files/images. We want to automate some of those services and we have a difference of opinion on what the best way forward is. I contend that having services completely separate and driven through intents is a better way to...