Android Development

A place to discuss Android Development, Eclipes, the SDK, Java, xml and souch issues.

help writing a layout

hello all !

i need to write 2 layouts:

1) a layout with a square in the middle that changes the color in the square during the application, where there are 10 different colors and i change to tje right color when needed.

2) a layout to represent a point(x,y) in a 2-dimension space(XY), when the (0,0) is in the middle of the screen and
i can put for example a red point in (1,1).

I really need help immediately in both of the layers, if you know how to implement only one of them it can also help me.

TX a lot


Programming a target in Android


I'm currently trying to program a target as part of an Android App.
I want the user to be able to touch a particular band within the target and the app to acknowledge the area selected i.e. coordinates and put that data into a database.

Does anyone have any suggestions as to how I can make an image of a target function in this way?



How to read passive RFID cards using Android?

Hi all,

Can anyone please let me know if it is possible to read passive RFID cards using Android phone?

Frequency range of passive RFID cards that i m interested in is 13.56MHz

I have Droid incredible but i have not seen any serial port where in I can insert RFID reader..

Any information about how to read passive or active rfid cards using android is appreciated.


Testing apps on HTC EVO in Eclipse

Cannot get Eclipse to see my phone to test out apps. I downloaded the windows driver and placed it in my Android SDK folder, pointed the windows new hardware installer to it, but it still won't see my phone. Supposedly, when my phone is plugged in, Eclipse should run my application on my phone instead of the emulator. Is there anything else I need to be doing to make this happen? Any help would be greatly appreciated!

Add preferred activity for android 2.2

How to add preferred activity for android 2.2 (froyo) automatically?

Mark Doherty Speaks on AIR 2.5 for Android at Adobe Flash Platform Summit 2010

Ever wanted to extend Flash Player 10.1? Do you need multi-touch in your mobile application? Mark will be in Bangalore this August to walk you through the new features of AIR 2.5 Beta on Android covering all the major features, including Geolocation, Gestures, StageWebView, Camera and Microphone APIs. At Adobe Flash Platform Summit 2010, to be held 15-16 August, Mark will also build a complex application using both Flash Professional and Flash Builder.

Mark Doherty is the Platform Evangelist for Mobile and Devices at Adobe, working to create a vibrant ecosystem around Flash and AIR for devices. He has spent ten years in the mobile industry, including six at Adobe, holding engineering, consulting and marketing roles. Prior to this, Mark has worked with leading OEMs at Mobile Innovation, Nokia, Samsung and Panasonic.

read rss

Hi, How can I do it for read and show RSS content in my screen?


Detect when apps are started

Hi Guys,
There are a few 'app lock' apps out there that request a password before they give access to an app you select.

I'm working on a different project but i'd like to detect when the user starts other apps. I know it can be done because somehow these 'app lock' apps fire each time I open, for example, my messaging app that I chose to protect within the app lock app

Hope that makes sense. Anyone know which classes I should be looking at to accomplish this?

Progress Dialog doesn't work until thread finishes its job

Hello my friends!
I'm have a problem when working with progress dialog and thread.
I want to show all images from sdcard. Because of the long loading time, I'd like to use a progress dialog end then discard it when the loading images finishes.

However, it doesn't work as I expected. The progress dialog hibernates while the thread is running ( the loading images from sdcard and showing them to a listview ).

What's the problem here?

This is my codes:

// use button click to open images from sdcard
btnClick.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
// show progress dialog

// start a new thread to load images and then discard the progress dilog

// Create a new thread for loading images

Android Application Size

Hi Friends,

I am a new to the Android Development. Can any one please clarify my doubt?

What is maximum size of the apk that can be supported by the android ?

Girija Subramanian.

Syndicate content