using C/C++ code in android on windows

by amateur » Wed, 14 May 2008 12:18:36 GMT


Sponsored Links
 i have searching for ways to use C/C++ code in android. i got some
details regarding this but they were for linux and only directed to
arm gnu toolset. please can anybody help me with this on windows xp.
--~--~---------~--~----~------------~-------~--~----~



using C/C++ code in android on windows

by amateur » Wed, 14 May 2008 12:18:49 GMT


 i have been searching for ways to use C/C++ code in android. i got
some details regarding this but they were for linux and only directed
to arm gnu toolset. please can anybody help me with this on windows
xp.
--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. How to keep the selected item highlighted when menu button is clicked?

Everything is explained in the article I linked to. It is a much
better design choice for the user and it is what matters. I know that
developers are confused by this but I have yet to see a report of user
complaints about this :)

As for keeping a selection, again, read the article. It explains that
you can use ListView's choice mode feature to keep a persistent
selection.










-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

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

2. How to keep the selected item highlighted when menu button is clicked?

I have list of items displayed in ListActivity by

onCreate() {
  ...
          setListAdapter(new SimpleAdapter(this, myData,
                android.R.layout.simple_list_item_1,
                new String[] {MyItemClass.Items },
                new int[] { android.R.id.text1 }));
}

when I mov my key up and down, the item get highlighted, which is
great. But when I push the menu button by

    public boolean onCreateOptionsMenu(Menu menu) {
        super.onCreateOptionsMenu(menu);
        menu.add(0, ADD_ID, 0, R.string.menu_ADD_NEW_ITEM);
        menu.add(0, DELETE_ID, 0,
R.string.menu_DELETE_SELECTED_ITEM);
        return true;
    }

the highlight goes away. Can I somehow keep the highlight even after
the menu button is clicked?

Thanks a lot,
--~--~---------~--~----~------------~-------~--~----~

3. Necessity of Map API Key

4. Can I put multiple selector nodes in one xml file and reference them from layout xml file?

5. Major Animation Frustration

6. Cupcake on older x86 architecture unstable

7. android build problems