List

by D G » Mon, 16 Nov 2009 12:51:09 GMT


Sponsored Links
 What's the easiest way to stop and start emails from this list without  
needing to unsubscribe and subscribe again? Options on my mail client  
or on the server side?

Thanks

--



List

by PJ » Mon, 16 Nov 2009 16:23:47 GMT


 Both:
1. In Google Groups you can choose to only receive ~1 e-mail a day
(digest/summary) instead of an e-mail for every single post.  But this
is a reduction, not a full stop.
2. Most mail clients have a filtering option where you can do actions
(delete, move to folder, etc.) for e-mails with criteria (to/from).

-- PJ






--


Sponsored Links


list

by Raul Martinez » Sun, 11 Jul 2010 05:20:22 GMT


 can someone help i have this code:

package com.main.Reference;


import android.app.ListActivity;
import android.os.Bundle;
import android.widget.ArrayAdapter;


public class Reference extends ListActivity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    String[] office = getResources().getStringArray(R.array.Office_array);
    setListAdapter(new ArrayAdapter<String>(this, R.layout.list_item,
office));

      }
   }

and i want to be able to click on one of the items on the list and for it to
go to another set of list

--



list

by Justin Anderson » Mon, 12 Jul 2010 10:25:51 GMT


 We have already answered this question in a previous post... please don't
post multiple versions of the same question.  Also, no one is going to write
the code for you...  We all monitor this group in our spare time.  You will
get concepts, perhaps a few code snippets, but I wouldn't expect much more
than that.

And that is what you have been given in your other post.


----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------





>



list

by Raul Martinez » Mon, 19 Jul 2010 10:17:59 GMT


 i have a list with several items, when i click on one of the items i want it
to start another activity but i want it to show the name of the previous
item clicked with an image and a description of the item, how would i go
with doing that

--



LIST

by The Guy » Wed, 23 Feb 2011 03:03:11 GMT


 Am a beginner at android programming and am trying to create a list
view that has several options and within those options there are more
options and when selected information about the selected item appears.

For Example, A list of cars: BMW, TOYOTA, Ferrari and so on. When one
of these is selected, for instance, BMW, a list of the various models
under the BMW make appear. SO, when the user selects the model he
wants it opens a screen that has all the data about that particular
model.

Any suggestions on the way the coding should be ? a brief coding
sample would be appreciated, ive tried doing some but have failed
numerously. Maybe its the fact that i have just started.

Thank you

-- 



Re: LIST

by Justin Anderson » Wed, 23 Feb 2011 03:18:54 GMT


 There are several ways you could do this... You could implement it as an
expandable listview that has the top-level item containing the type of car.
When you click on that it expands and you have a list of the available
models.  When you click on one of the models you can have it display a
separate activity with the information from the model.

Alternatively you can have three different activities... One listview
activity for the type. Selecting one of these displays a second listview
activity for the available models.  Then selecting one of these displays a
third activity for the selected model.

The expandable list view is a little harder to implement, so as a beginner I
would probably start with implementing the standard list views.

You can find a sample for the regular list view here:
 http://developer.android.com/resources/tutorials/views/hello-listview.html 

Depending on how "beginner" you are, I would probably start out with "Hello
World" and the "Notepad Tutorial"
Hello World:
 http://developer.android.com/resources/tutorials/hello-world.html 
Notepad Tutorial:
 http://developer.android.com/resources/tutorials/notepad/index.html 

When I started Android Development I started by reading through all the Dev
Guide documentation (
 http://developer.android.com/guide/basics/what-is-android.html ) and then
working on the links I gave above.

Hope that helps and good luck,
Justin






-- 




Re: LIST

by Robin Talwar » Wed, 23 Feb 2011 06:29:56 GMT


 you can check your api demos which are present in your SDK folder -> samples


Import it and play





-- 



Other Threads

1. App Testing

I have created an app which needs some testing done. I have tested it
on the HTC Hero (UK version) and the HTC Tattoo. Worked well on both
the devices. I wanted to test it on the newer android phones like the
Droid or the Nexus One. If anyone could help me out with the testing,
there is a link to the .apk file below.

This app does functions like silencing the ringtone when the phone is
flipped, switching on the speakerphone when in call etc.

http://dl.dropbox.com/u/556550/FlipShake.apk

Please do let me know if you have any suggestions or complaints. Thank
you.

--

2. Honeycomb / Fragments: can't remove a fragment added in XML layout

Hi,

I can't remove a Fragment that was added in an XML layout file, using
a FragmentTransaction. I don't understand why, I probably
misunderstood something and I would appreciate some explanations.

----
Here's a simple code to demonstrate my problem :

    ** Main layout, main.xml:
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
        android:orientation="vertical"
android:layout_width="fill_parent" android:layout_height="fill_parent"
        android:id="@+id/root"
        >
        <TextView android:id="@+id/hello_view"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="@string/hello"
        />

        <fragment android:name="test.fragments.FragmentA"
            android:id="@+id/fragment_a"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
        />
    </LinearLayout>

    ** Main activity:
    public class TestFragmentsActivity extends Activity {

        @Override
        public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.main);

            TextView helloView = (TextView)
findViewById(R.id.hello_view);
            helloView.setOnClickListener(new OnClickListener() {

                @Override
                public void onClick(View v) {
                    FragmentManager fragmentManager =
getFragmentManager();
                    FragmentTransaction transaction =
fragmentManager.beginTransaction();
 
transaction.remove(fragmentManager.findFragmentById(R.id.fragment_a));
                    transaction.commit();
                }
            });
        }
    }

    ** My fragment class:
    public class FragmentA extends Fragment {

        @Override
        public View onCreateView(LayoutInflater inflater, ViewGroup
container, Bundle savedInstanceState) {
            return inflater.inflate(R.layout.layout_a, container,
false);
        }
    }

    ** Fragment layout, layout_a.xml:
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android" android:layout_width="match_parent"
android:layout_height="match_parent">
        <TextView android:text="TextView A" android:id="@+id/
textView1_a" android:layout_width="wrap_content"
android:layout_height="wrap_content"></TextView>
    </LinearLayout>
----

When I click on the text view, the fragment should be removed, but
nothing seems to happen. If I click again, the application crashes
with the following error messages:

    03-09 09:48:09.248: ERROR/AndroidRuntime(1222):
java.lang.NullPointerException
    03-09 09:48:09.248: ERROR/AndroidRuntime(1222):     at
android.app.BackStackRecord.remove(BackStackRecord.java:365)
    03-09 09:48:09.248: ERROR/AndroidRuntime(1222):     at
test.fragments.TestFragmentsActivity
$1.onClick(TestFragmentsActivity.java:28)


Maybe it's not possible to remove fragments that were added using XML
layouts?

Thanks in advance.

-- 

3. Lost libraries after updating ADT and SDK

4. Sharing data across Activities

5. Identify phone number on web page

6. Is Nexus S NFC card sharing done with P2P or card emulation?

7. Develop Software or Systems? Earn Guaranteed $10 or have $10 donated to FIRST; Chance to Win an iPad 2