O霉? : Android and Faceboo k in a same application

by sylvek » Tue, 03 Mar 2009 19:15:00 GMT


Sponsored Links
 to use it.
1. you need to register O by adding a generated code :
 http://www.facebook.com/code_gen.php?v=1.0& ;api_key=a35f127d062de5d648dff53ba6ef74f7
2. you need to authorize change status :
 http://www.facebook.com/authorize.php?v=1.0& ;ext_perm=status_update&api_key=a35f127d062de5d648dff53ba6ef74f7
3. you can launch the application and navigate to the map. You will
see your friends who stored them locations on the facebook application
or android application.



--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Phone contacts to GoogleMail?

Hi all

I'm probably missing something blindingly obvious, but I can't see a way
of doing this.

What I want to do is copy ALL my phone contacts to my GoogleMail (well
actually GMail) contacts. So if I ever don't have my phone with me, or
the battory is dead, but I have net access, I can still contact people.

I can't think of any good reasons forthis NOT to be possible, but still
can't find a way of doing it.

I've got a HTC Desire on Orange (UK) if that is relivant.

Thanks in advance.

~S


-- 

2. ListView, SimpleCursorAdapter and Cursors

Hi,

I have a very simple issue i actually can't fix :(

I have a basic database with fields, let's say "MyDBHelper.KEY_ID,
MyDBHelper.KEY_NAME, MyDBHelper.KEY_DATA" and a listview where i only
display the "MyDBHelper.KEY_NAME" field.

I used this sample of code :

Cursor c = data_db.getAll();
startManagingCursor(c);
SimpleCursorAdapter adapter = new SimpleCursorAdapter(this,
        R.layout.list_item,
        c,
        new String[]{MyDBHelper.KEY_NAME},
        new int[]{R.id.field_name});
setListAdapter(adapter);

My problem is, I don't know how i can modify simply this code in order
to get the "MyDBHelper.KEY_ID" value when I click an item on the
listView.

I suppose it should be something like this :

Cursor c = data_db.getAll();
startManagingCursor(c);
SimpleCursorAdapter adapter = new SimpleCursorAdapter(this,
        R.layout.list_item,
        c,
        new String[]{MyDBHelper.KEY_ID, MyDBHelper.KEY_NAME},
        new int[]{R.id.field_id, R.id.field_name}); // How to hide the KEY_ID
value ?
setListAdapter(adapter);

Thanks for your help.

-- 

3. XPS application problem

4. Froyo_inkredroid v0.2 was WTI DefroST 0.7 for HTC Desire

5. How to adjust mic gain on HTC dev phone 2?

6. WTT encus to miley

7. OOT: Kapan Antrian Android spt ini?