Asking : Istilah Android

by Rafles Marpaung » Fri, 23 Apr 2010 05:31:03 GMT


Sponsored Links
 As subject...

Mohon maaf kalo pertanyaan ane tolol banget. Tapi ane bener2 buta masalah
android. Bisa tolong di-share, apa itu root, rom, jd2, flash, pantheon,
dsb...

TIA...
€€€€sent from black spica by T-sel
japri : marp....@gmail.com
twitter : @raph_id
gtalk : rafles....@gmail.com
€€€€
-- 
"



Other Threads

1. Listview and scrolling

I have some problems when creating a ListActivity.

I have a listview and some other widgets and my listview is filled
with a custom adapter.

You can see the images of this activity here:

http://www.grabup.com/uploads/ecd0d0eeb7b947e98b2e0d6c1be5478f.png?direct

Now the problem is. I have a scrollview and all the other views and
widgets are placed inside of it.
As you can see on the image, I don't see all of my 6 comments (that is
the list). When i don't place the scrollview the height of the list is
perfect (i have set android:layout_height to wrap_content (to my
listview and parent LinearLayout). This is perfect but I have other
widgets under the list and when the list reaches the bottom of the
screen I can't to scroll to view my other widgets..

How can I fix this? I can set the height of the linearlayout manually
but the problem is that the height doesnt has to be the same all the
time (it loads the commens from my web service).. It has to fit the
height of all  the comments (like wrap_content normally does..)

Here is a part of the code with the layout and listview..

<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/ScrollView01"
 android:layout_height="wrap_content"
 android:layout_width="wrap_content"
.. OTHER WIDGETS
<LinearLayout android:id="@+id/commentslayout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_marginTop="15px">
        <TextView android:text="Comments(0)"
        android:id="@+id/friendview_comments"
        android:layout_width="wrap_content"
         android:layout_height="wrap_content">
</TextView>
        <ListView android:id="@android:id/list"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:listSelector="@drawable/list_selector_background"
        android:textFilterEnabled="true"
        android:divider="@android:color/transparent"
        ></ListView>
         <TextView android:id="@+id/android:empty"
               android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:text="Nothing!"/>




</LinearLayout>
</ScrollView>

Thank you,

Wouter Goossens

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

2. Orientation : onStop onDestroy called from BACK key or not ?

Also you can check isFinishing() in onDestroy() to find out of the activity
is actually being finished.  This is described in the onDestroy()
documentation:
http://developer.android.com/reference/android/app/Activity.html#onDestroy()

<http://developer.android.com/reference/android/app/Activity.html#onDestroy()>For
retaining active state across configuration changes, the "ideal" way is to
onRetainNonConfigurationInstance():

http://developer.android.com/reference/android/app/Activity.html#onRetainNonConfigurationInstance()

<http://developer.android.com/reference/android/app/Activity.html#onRetainNonConfigurationInstance()>Unfortunately
I don't know if we have any good examples of using this to model after, but
I am working on one that can serve the purpose for the next release.








-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

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

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

3. store data in registory

4. DisplayMetrics issue on Android1.6 SDK

5. Certificate has expirted

6. Help magic restart2

7. Resuming a Large File Download