ldd for android

by wasabee18 » Fri, 20 May 2011 17:32:13 GMT

Sponsored Links
 Hi everyone,

there is no ldd for android available in the ndk. is it available
somewhere else ?
It is useful when troubleshooting libraries.

i know it has already been been posted in a different list (http://
3e4a52d24373611c/e9503ff6bebb83b1?#e9503ff6bebb83b1) but no reply.



Other Threads

1. Why does addHeaderView make a ListActivity forgetful of its position ?

We have an app with a ListActivity and an edit view. Tap on an item in
the ListActivity, see the edit view of that item, hit the Back key,
see the list view. All very ordinary stuff.

But, in this app, the ListActivity does not retain its postion during
that sequence. After hitting Back, the list is always scrolled to the
very top.

Experimenting on the Notepad sample reveals that adding a header view
to the list causes the same problem there. With the header view, the
list is always scrolled to the top after hitting Back on the note
editor. Without the header view, the list retains its scroll position.

Is that behaviour by design, or a consequence of something we are
doing wrong  ? I can't find any way to turn it off, but it doesn't
seem to be obviously desirable.


Oh - here's the amended Notepad OnCreate:

    protected void onCreate(Bundle savedInstanceState) {


        // If no data was given in the intent (because we were started
        // as a MAIN activity), then use our default content provider.
        Intent intent = getIntent();
        if (intent.getData() == null) {

        // Inform the list we provide context menus for items

        // Perform a managed query. The Activity will handle closing
and requerying the cursor
        // when needed.
        Cursor cursor = managedQuery(getIntent().getData(),
PROJECTION, null, null,

//  >>>>>>>>>>>>>>>>>>>>>>>
//  These two lines stop the list restoring its position

        View newNoteView =
LayoutInflater.from(this).inflate(R.layout.noteslist_item, null);
        getListView().addHeaderView( newNoteView );

// >>>>>>>>>>>>>>>>>>>>>>>>

        // Used to map notes entries from the database to views
        SimpleCursorAdapter adapter = new SimpleCursorAdapter(this,
R.layout.noteslist_item, cursor,
                new String[] { Notes.TITLE }, new int[]
{ android.R.id.text1 });



2. How to do animation when click on a bitmap

In your case you are extending view

however if you use built in views or even your view which holds just the

then u can setanimation and startanimation

   TranslateAnimation animation = new TranslateAnimation(
                            Animation.RELATIVE_TO_PARENT, 0.0f,
Animation.RELATIVE_TO_PARENT, 0.0f,
                            Animation.RELATIVE_TO_PARENT, -0.3f,
Animation.RELATIVE_TO_PARENT, -0.15f

                   // animation.setZAdjustment(Animation.ZORDER_BOTTOM);

here i2 is an imageview

Google it u will find lots of animation examples.

Hope this helps


3. Send key event using native methods or low level classes -- possible solutions ??

4. chatting IRC yuuukk...

5. Mirink

6. Info WiFi Tethering

7. ArrayAdapter use or misuse of the Adapter pattern