Do you have android projects for beginner

by cool » Tue, 09 Jun 2009 01:19:09 GMT

Sponsored Links
 New to Android development? Start here. Open to any discussion around
beginner's questions; this is a great way to get up and running with
your new App on ...

Click the bellow link to continue€€€€.




Other Threads

1. Supporting more than one sensor device.

I've been looking through the cupcake sensor framework code.  It's
puzzling me that certain parts of the code look like they are designed
to support multiple devices, in the sense of having multiple control
device file descriptors, but other parts of the code give no means of
accessing things this way.

In sensors.h, function pointers open_data_source and so on are set to
take a pointer to struct sensors_control_device_t.  The original
module open passes in a handle to that pointer type, so obviously one
could set up an array of devices.  It would be nice to then pass a
particular device when, say, changing the sensor event delay.  But in
all the SensorService and SensorManager code, I see no way to use any
parameter besides the base sSensorDevice pointers (which aren't
globally accessible).

So, if I have two devices I need to open (say, /dev/foo and /dev/bar),
am I just supposed to track file descriptors for them internally?
What's the point of passing back a fd at all then?  Seems so close to
be nice and general, but not quite.  Am I missing the point somewhere?

Thanks much,


2. how to get selected indexof a listview (urgent plz)

Hi Android Experts,

i need to get the selected index off my listview

i have it in Activity:

public class myClass extends Activity {

  private ListView myListView;



i got an example to get index in context menu like

public boolean onContextItemSelected(MenuItem item) {
  AdapterView.AdapterContextMenuInfo menuInfo =
(AdapterView.AdapterContextMenuInfo) item.getMenuInfo();
  int index = menuInfo.position;

but i need the index on click ,not in context,

any solution?

3. how to get the current matrix mode

4. In Android can appl send laocation data as MMS or sms?

5. Persistent Sockets on ADP 1.1 (was Jetty Comet Library)

6. touch screen configuration

7. How to import a jar file?