android

Android How to add/configure Exchange setting programmatically?

Is it me or I can't find any example of how to add/configure Microsoft Exchange programatically? It seems like AccountManager :: addAccount (String accountType, String authTokenType, String[] requiredFeatures, Bundle addAccountOptions, Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) should do the work...

How to put a timestamp on a photo with Android

After taking a photograph with an Android phone, I would like to put a timestamp in the lower right corner. How can one do this without exhausting address space/memory? Typically, when I open large images, I get out of memory errors. Do some phones support a Camera.Parameters option to do this? ...

How to capture key events from Intent's or BroadcastReceivers

Hey guys, Is there a way to capture a key event from the Menu button using an Intent or BroadcastReceiver? Basically I want my app's Service to be activated when the Menu key is pressed. Thanks ...

upload googlemap in android app, using eclipse

I'm tring to upload googlemap in android app, using eclipse. But the results are that I only see white grid with no map on it. Is it because I used a temporary Maps API Key? How can I register for a new Key? ...

Which one to choose - Android 1.5 or Android 2.2? (I am a beginner)

Hi, I want to start programming in Android. I have backgrounds in Java and j2me. As I am new and have budget constraints I was willing to purchase HTC G1 (1.5 cupcake) rather than any 2.2 device. Is that a good idea? (or let me know if there is any lowcost (around $200) 2.2 device) Please give your opinion. Thanks ...

Error received when updating the SDK with the SDK Manager

Hello: I'm completely frustrated with the Android SDK Manager. I'm running Win 7 Home edition and have the SDK installed in its own top level directory on my D:\ drive. When I run SDK Setup.exe from the command line (and I've even opened the prompt as an administrator), I get an error when trying to update the packages. The SDK man...

Android NDK with Visual Studio

Hey All! I'd like to build some native libraries for android using the NDK (native development kit), but i'd like to use Visual Studio 2010 to do it. I've googled quite a bit but haven't found any information on it. Does anyone have any experience with this and know the steps necessary to make this happen? I have CYGWin installed, made...

Available Music API

I am wanting to develop a workout app that will involve certain types of music and I figured the easiest way to get certain genres is to see if a music app allows developers to use their API. If so I would go from there, but first I need to find someone. Does anyone know of a Music App (Pandora, Slacker...) that will allow developers t...

Where and how runtime error logs are saved in Android device ?

While debugging, Log.d() or Log.e() methods come to LogCat, but how do I capture the runtime error or trace log on the Android device when it is not connected to the development environment ? ...

Embed video and play on android

Hello, I embed a mp4 video into a webpage, using the embed src script. I can view it when I browse from iphone, but not android. I did some research and found out that I need to use html 5, which uses the tag. However, how do I find out what version of the video I have? I tried <video width="560" height="340" controls> <source src...

How do I send sms to multiple phone numbers in android

using sms manager it does not work with a csv list; is there any way besides looping and sending more than one text to send to multiple recipients? or is this by design a non-spam feature? ...

Disappearing AppWidgets for Android Development

I am developing an appwidget for android. It works fine when installing and running, but whenever the device is rebooted, the program can no longer use that widget. The activity is still selectable in the launcher, but there is no way to add the widget to the home screen without reinstalling the program. Have you hear of this happening?...

How to store an audio file into database using Android Sqlite?

Hi... I am New to Android. My Requirement is to storing an audio file into database using Android Sqlite. can any one suggest me? Thanks in advance. ...

handling application states in android

i am making a security application ,in which when application goes in background and again comes in foreground i have to prompt for password. going in background means when user press 'home' key or phone get locked automatically.and again when user start application i have to ask for password. can i implement this in onResume()of activit...

How can we turn automatic brightness off in android?

How can we turn automatic brightness off in android? ...

rub image in canvas

I am using android 2.x and I have four bitmaps drawn on a canvas, now i want to replace "yahoo" image with some other image and that image's size is different than "yahoo" image. Now what i want is , i want to rub the yahoo image and replace it with the new one but in such a way that if i rub "yahoo" image then images that are laying in ...

Progress Dialog

-->I am new to Android And i want to show two progress dialog one after another?? -->First i want to show when my image is load from internet, when this process is done i have set A button on that Remote image. -->When i click that button i want Dialog for second time..(on clicking button i have set video streaming code.. before video...

Scroll slider in android ?

I am new to android.I made string array.It has more elements starts with A to Z . I make list View for the array.When i scroll the screen i wish to display the starting letter.If i remove the hand at the letter 's' then i will display the items starts with the letter 's' as like the following link http://www.youtube.com/watch?v=rcPIvGR...

Facebook and twitter integration with my android application

I saw some topics here regarding facebook and twitter integration with Android Application. I need help regarding, is twitter integration with Android App possible in real?? [I need to tweet on user's wall and all] If i wanted to integrate Facebook with my App then whether i go as per explained in following link(and if this is the reco...

display the rotating progress before display the data

Hi i am dispalying some data by using sqlite .when i click on one button data come from database. It takes some time. At that time the screen is black .At that time I want to display the rotating spinner before the data dispaly.For this purpose give me some suggestions.Thanks in advance ...