Attach Email

by Lesjaw Ardi » Sat, 12 Dec 2009 00:24:20 GMT

Sponsored Links
 Buat yg trouble attach email, di market ada app attachemail, bisa attach
file apapun..kompatibel dgn gmail..

Google Groups "


Attach Email

by widi dream » Sat, 12 Dec 2009 04:52:22 GMT

 thnx boss,
daku sudah ke solved problem attach ke email dengan OIFilemanager.
thnx anyway.

salam -widi-

Buat yg trouble attach email, di market ada app attachemail, bisa attach
file apapun..kompatibel dgn gmail..

Google Groups "


Google Groups "


Sponsored Links

Attach Email

by Lesjaw Ardi » Sat, 12 Dec 2009 20:00:53 GMT

Kadang butuh buat ngirim file apk yak...hehehehe

Sent from my Android phone with K-9. Please excuse my brevity.

Google Groups "


Other Threads

1. global application object or current activity...

There is nothing the framework provides -- there is no "the" global
application (you can have multiple applications running in one process), nor
concept of a "current" activity (especially when you mix tabs into the

Given that you know more about what is really going to happen (and not
happen) in your process, though, you can fairly easily make your own static
and set it as appropriate for retrieval by other code.

Dianne Hackborn
Android framework engineer

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.


2. Why does using People._COUNT cause IllegalArgumentException to be thrown?


I am learning about Content Providers, and tried the example from the
official Android tutorial on the topic. Please see the code below:


package com.example.devguide;

import android.content.ContentUris;
import android.database.Cursor;
import android.os.Bundle;
import android.provider.Contacts.People;
import android.util.Log;

public class ContentProviderExamples extends Activity {
    /** Called when the activity is first created. */
    public void onCreate(Bundle savedInstanceState) {

        /* Use the ContentUris method to produce the base URI
         * for the contact with _ID == 23. */
        Uri myPerson = ContentUris.withAppendedId( People.CONTENT_URI, 23 );

        /* Alternatively, use the Uri method to produce the base URI. */
        myPerson = Uri.withAppendedPath( People.CONTENT_URI, "23" );

        /* Query this particular record. */
        Cursor c = managedQuery( myPerson, null, null, null, null );

        /* Form an array specifying which columns to return. */
        String[] projection = new String[] { People._ID,
                                             //People._COUNT, //throws
                                             People.NUMBER };
        Log.i( "CPE", "projection[] = " + projection );

        /* Get the base URI for the People table in the Contacts content
provider. */
        Uri contacts = People.CONTENT_URI;

        /* Construct the query. */
        Cursor managedCursor = managedQuery( contacts,
                                             People.NAME + " ASC" );

        showColumnData( managedCursor );

        Log.i( "CPE", "End of current code" );


    private void showColumnData( Cursor c ) {
        if ( c.moveToFirst() ) {
            String name;
            String phoneNumber;
            String imagePath;
            int nameColumn = c.getColumnIndex( People.NAME );
            int phoneColumn = c.getColumnIndex( People.NUMBER );

            do {
                /* Obtain the field values. */
                name = c.getString( nameColumn );
                phoneNumber = c.getString( phoneColumn );
                Log.d( "CPE", "name = " + name + ", phone = " + phoneNumber

            } while ( c.moveToNext() );

However, the example given did not work, because calling managedQuery with
the array projection as one of the arguments resulted in a
IllegalArgumentException (java.lang.IllegalArgumentException). Android says
that the column "_count" which is the value of the element People._COUNT in
array projection is invalid. Can anyone explain to me the reason for this
exception, even though the names of all the columns are as per the API

Please see the output of LogCat below:

08-26 12:06:20.330: ERROR/AndroidRuntime(1112): java.lang.RuntimeException:
Unable to start activity
java.lang.IllegalArgumentException: Invalid column _count

Pankaj Godbole,


3. Custom ListView With a lable on top

4. how to block the dropdown list in autocompletetextview?

5. Hmm... at last ADC2 is out of our way ... tell about your app and experience

6. which content providers to apps have access to?

7. global application object or current activity...