android

how to scroll the tabs in tabview.

I am using six tabs in tab view. In portrait mode tab size become very small .So i want to scroll the tabs in horizontal so that size of each tab will remain original . How we can do this? ...

Max duration for capture video on android

Hi all, I have code for capture video: Intent intent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE); intent.putExtra("android.intent.extra.durationLimit", 30000); intent.putExtra("EXTRA_VIDEO_QUALITY", 0); startActivityForResult(intent, ActivityRequests.REQUEST_TAKE_VIDEO); This code works good on 2.2 but duration limitnot works on 2....

Disable WebView touch events in Android

How do you disable all touch events in an Android WebView (or scrolling in particular)? I would like the activity to handle all touch events. ...

Is there such software/library to convert REST to SOAP and vice versa?

I have some back end web services, SOAP web services. I would like to create an android client to use these. I'm under the impression that SOAP style web services are non trivial to setup on android, and I would prefer to use REST if possible Is there any utility that can convert REST calls to SOAP and back again? Or will I need to cre...

How to handle Android activity lifecycle on wake up (alarm app)

I'm having a couple of problems with an alarm app I am developing. The first thing that I think is a bit weird is that when an alarm goes of and wakes the phone up. These things happend. oncreate onresume onpause onresume Why are they run in that order? The last two should not be called? And this is what's causes me big trouble, b...

What is the Difference between Android, Windows mobile and Apple iOS?

Hi I want to know what is the exact difference between Android, Windows mobile and Apple iOS and what art their limitation ...

need to store files in root folder

Hi guys, i have an application to store files in root folder. do i need to to check the status of the root folder?? amd how can i store files in the root folder??? ...

Fastest way to constantly send and receive data between 2 Android phones

What is the fastest way to constantly send and receive data between 2 Android phones? e.g. long, lat, IM or just some number. not for an always-on connection or push services. The app is running on foreground and waiting for data on both sides. ...

Android MediaRecorder and setOutputFile

Hello, I've read the Android SDK and I've found that the MediaRecorder class can take input from a Camera, Audio or other source and compress it. Through the setOutputFile method you can specify where you want the data to be stored (File or URI), but what if I want to store that data in a memory buffer and send it over a connection? Or ...

Setting the width of the button in android

Is it possible to set the width of the button while clicking the same button ? ...

Android Map View

In my application if i press a button map is loaded in my layout.again i press the button i got error like this. onlu one map is added to a single map activity . how to solve this. ...

Marquee TextView on App Widget

I am developing an AppWidget where I need a TextView to display text as a marquee. I have tried using the following code (as one would do in a regular Activity), but the text does not scroll. <TextView android:layout_width="150dip" android:layout_height="wrap_content" android:text="@string/marquee_forever" android:singl...

Maps in List in a map activity

map activity allows one map in a activity, i have a scenario and hard time implementing it, i have a list of records and for each record i show google map now this is not becoming possible in lmap activity with list having earch row a seperate map?, how can this be achived any recomendations ...

android to appEngine image content type

I'm sending an image from an Android phone to an AppEngine. The AppEngine is throwing content exceptions. My process of elimination has failed so I suspect I've done something larger wrong. Do I have a content type problem or a larger problem? The AppEngine log shows the following errors depending on the content type [content type -->...

Android 2.1 Bluetooth SPP to LM058 (Serial Cable Replacement) problem

Hey I'm relatively new to Android programming (but not programming in general). The Setup: HTC Wildfire (running Android 2.1) LM058 (RS232 Serial Cable Replacement) LM058 will later on be attached to a MCU but for now it's connected to my laptop (terminal) The Goal: To connect Wildfire to LM058 to each other with a 'bidirectional-strea...

How to draw default postion on the google map in android?

Hi, Current the google map display US as default. I want to dispaly India as default on the map. How can i do this? ...

Android phone as computer mouse

I created an Android app that serves the touch screen sensor data to a java client that is listening on Debian Lenny machine. The client maps this data to locations on the screen just like a wacom pad does. I would like to out put the x_loc and y_loc to a file and have the file recognized as a device.(I foggily believe this is how it is...

how to make double quote to accepted by facebook feed post

friend's I need help on posting the feed in facebook when string contains double quote,at the time facebook haven't accepting.. for example if the content is something like this, Help on posting "feed" in facebook for android. suppose i need to post above at the time the feed title is getting null because of double quotes,how can i ...

[Android] UI - How to display GridView and Linear layout togather.

Hello All, I want to display GridView (with text and image) and group of text box below grid view. Problem is my gridview do not have fixed entries. It is varying between 1 & 10. I want to resize it as per count of items in grid view. How can i do that? Where can i get height of gridview in JAVA code? Also, i want to display my group...

coloring app in android

Hi Im a newbie to android and Im trying to develop a coloring app... while developing it ....i was stuck with a problem..Im using layout to display images. The problem is that the images get overlapped... for example i have a circle image inside a rectangle image..... In this case if i color the circle the rectangle also gets colore...