[android-developers] Digest for android-developers@googlegroups.com - 25 Messages in 13 Topics

Comments: (0)

Group: http://groups.google.com/group/android-developers/topics

    davidj <blahblah676@gmail.com> Apr 30 01:01PM -0700 ^
     
    > use removeCallbacksAndMessages(null)
     
    Thanks. Where is this documented? There's no mention in the Handler
    documentation about passing a null Object to this method.
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Dianne Hackborn <hackbod@android.com> Apr 30 02:27PM -0700 ^
     
    A Handler is associated with a Looper, not an activity. Anyone can make a
    Handler for the main thread, and post messages to it, and they will be
    processed. What happens to activities on that thread has no impact on
    handlers.
     
    Another way to look at it -- you don't pass an Activity to a Handler when
    creating the Handler, so there is no association a Handler has with any
    Activity. (The Looper us implicitly known because there is a 1:1
    relationship between a running thread and a Looper. There is no such
    relationship with an Activity.)
     
    > android-developers+unsubscribe@googlegroups.com<android-developers%2Bunsubscribe@googlegroups.com>
    > For more options, visit this group at
    > http://groups.google.com/group/android-developers?hl=en
     
    --
    Dianne Hackborn
    Android framework engineer
    hackbod@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.
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    davidj <blahblah676@gmail.com> Apr 30 03:24PM -0700 ^
     
    I'm creating the Handler in my Activity, so each time the activity is
    started it creates a new Handler. The issue is that when the activity
    is destroyed and created again, the Handler in the destroyed activity
    still receives some messages. So, am I doing something wrong? Ideally
    I think I should be destroying the handler in the activity's
    onDestroy, but there doesn't appear to be any way of doing that as far
    as I can tell.
     
     
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Mariano Kamp <mariano.kamp@gmail.com> Apr 30 10:22PM +0200 ^
     
    Hi,
     
    I am wondering if there is any way to debug a SIGSEV? I have not much
    experience with those native crashs. This issue only seems to happen with
    the HTC Incredible and I would at least guess that my Java code cannot be
    the actual cause, but maybe there is something I can do to avoid triggering
    it?
     
    Where can I find more information? Is it possible to see which of my code
    lines triggered it?
     
    Cheers,
    Mariano
     
    04-30 15:33:23.329 I/ActivityManager( 77): Starting activity: Intent {
    dat=newsrob://act?activity=com.newsrob.activities.ShowArticleActivity&FILTER_LABEL=all%20articles&FILTER_FEED=10&HIDE_READ_ARTICLES=true&SORT_ASC=false
    flg=0x8 cmp=com.newsrob/.activities.ShowArticleActivity (has extras) }
    04-30 15:33:23.404 D/MultiTouchDetector( 1263): MultiTouchDetector
    v0.36,bAccelerate=true
    04-30 15:33:23.514 D/dalvikvm( 1263): GC freed 10573 objects / 916872 bytes
    in 64ms
    04-30 15:33:23.534 E/webcoreglue( 1263): The real object has been deleted
    04-30 15:33:23.634 I/DEBUG ( 57): *** *** *** *** *** *** *** *** ***
    *** *** *** *** *** *** ***
    04-30 15:33:23.634 I/DEBUG ( 57): Build fingerprint:
    'verizon/inc/inc/inc:2.1-update1/ERE27/161493:user/release-keys'
    04-30 15:33:23.634 I/DEBUG ( 57): pid: 1263, tid: 1264 >>> com.newsrob
    <<<
    04-30 15:33:23.634 I/DEBUG ( 57): signal 11 (SIGSEGV), fault addr
    00000003
    04-30 15:33:23.634 I/DEBUG ( 57): r0 00000003 r1 00000000 r2
    00000003 r3 4184bf90
    04-30 15:33:23.634 I/DEBUG ( 57): r4 00000003 r5 0014a9f0 r6
    00000000 r7 4184bf5c
    04-30 15:33:23.634 I/DEBUG ( 57): r8 100ffcf8 r9 4184bf54 10
    4184bf40 fp 00169e20
    04-30 15:33:23.634 I/DEBUG ( 57): ip ac13e62c sp 100ffcb8 lr
    ac04a340 pc afb04524 cpsr 20000010
    04-30 15:33:23.654 I/DEBUG ( 57): #00 pc 00004524
    /system/lib/libcutils.so
    04-30 15:33:23.654 I/DEBUG ( 57): #01 pc 0004a33c
    /system/lib/libskia.so
    04-30 15:33:23.654 I/DEBUG ( 57): #02 pc 0004a9a0
    /system/lib/libskia.so
    04-30 15:33:23.654 I/DEBUG ( 57): #03 pc 0004aa60
    /system/lib/libskia.so
    04-30 15:33:23.654 I/DEBUG ( 57): #04 pc 0004408e
    /system/lib/libandroid_runtime.so
    04-30 15:33:23.654 I/DEBUG ( 57): #05 pc 0000eef4
    /system/lib/libdvm.so
    04-30 15:33:23.654 I/DEBUG ( 57): #06 pc 00038c18
    /system/lib/libdvm.so
    04-30 15:33:23.654 I/DEBUG ( 57): #07 pc 00013bf8
    /system/lib/libdvm.so
    04-30 15:33:23.654 I/DEBUG ( 57): #08 pc 00019790
    /system/lib/libdvm.so
    04-30 15:33:23.654 I/DEBUG ( 57): #09 pc 00018c60
    /system/lib/libdvm.so
    04-30 15:33:23.654 I/DEBUG ( 57): #10 pc 0004f834
    /system/lib/libdvm.so
    04-30 15:33:23.654 I/DEBUG ( 57): #11 pc 0004f85c
    /system/lib/libdvm.so
    04-30 15:33:23.654 I/DEBUG ( 57): #12 pc 000453d6
    /system/lib/libdvm.so
    04-30 15:33:23.654 I/DEBUG ( 57): #13 pc 00045462
    /system/lib/libdvm.so
    04-30 15:33:23.654 I/DEBUG ( 57): #14 pc 000458ec
    /system/lib/libdvm.so
    04-30 15:33:23.654 I/DEBUG ( 57): #15 pc 00042cac
    /system/lib/libdvm.so
    04-30 15:33:23.654 I/DEBUG ( 57): #16 pc 0000fdf4
    /system/lib/libc.so
    04-30 15:33:23.654 I/DEBUG ( 57): #17 pc 0000f8c0
    /system/lib/libc.so
    04-30 15:33:23.654 I/DEBUG ( 57):
    04-30 15:33:23.654 I/DEBUG ( 57): code around pc:
    04-30 15:33:23.654 I/DEBUG ( 57): afb04514 e8bd4010 e12fff1e e92d4010
    e1a02000
    04-30 15:33:23.654 I/DEBUG ( 57): afb04524 e5920000 e3e03a0f e28fe004
    e2401001
    04-30 15:33:23.654 I/DEBUG ( 57): afb04534 e243f03f 3afffff9 e2810001
    e8bd4010
    04-30 15:33:23.654 I/DEBUG ( 57):
    04-30 15:33:23.654 I/DEBUG ( 57): code around lr:
    04-30 15:33:23.654 I/DEBUG ( 57): ac04a330 e3540000 08bd8070 e1a00004
    ebff7662
    04-30 15:33:23.654 I/DEBUG ( 57): ac04a340 e3500001 0a000002 e3a03000
    e5853000
    04-30 15:33:23.654 I/DEBUG ( 57): ac04a350 e8bd8070 e1a00004 ebff85a5
    e3a03000
    04-30 15:33:23.654 I/DEBUG ( 57):
    04-30 15:33:23.654 I/DEBUG ( 57): stack:
    04-30 15:33:23.654 I/DEBUG ( 57): 100ffc78 afe3db80
    04-30 15:33:23.654 I/DEBUG ( 57): 100ffc7c afe0f190
    /system/lib/libc.so
    04-30 15:33:23.654 I/DEBUG ( 57): 100ffc80 afe3db80
    04-30 15:33:23.654 I/DEBUG ( 57): 100ffc84 afe0f190
    /system/lib/libc.so
    04-30 15:33:23.654 I/DEBUG ( 57): 100ffc88 00000000
    04-30 15:33:23.654 I/DEBUG ( 57): 100ffc8c afe0f0a8
    /system/lib/libc.so
    04-30 15:33:23.654 I/DEBUG ( 57): 100ffc90 afe3db80
    04-30 15:33:23.654 I/DEBUG ( 57): 100ffc94 afe0f190
    /system/lib/libc.so
    04-30 15:33:23.654 I/DEBUG ( 57): 100ffc98 afe3db80
    04-30 15:33:23.674 I/DEBUG ( 57): 100ffc9c afe0f190
    /system/lib/libc.so
    04-30 15:33:23.674 I/DEBUG ( 57): 100ffca0 00000000
    04-30 15:33:23.674 I/DEBUG ( 57): 100ffca4 afe0f0a8
    /system/lib/libc.so
    04-30 15:33:23.674 I/DEBUG ( 57): 100ffca8 00000001
    04-30 15:33:23.674 I/DEBUG ( 57): 100ffcac 00000004
    04-30 15:33:23.674 I/DEBUG ( 57): 100ffcb0 df002777
    04-30 15:33:23.674 I/DEBUG ( 57): 100ffcb4 e3a070ad
    04-30 15:33:23.674 I/DEBUG ( 57): #00 100ffcb8 00000003
    04-30 15:33:23.674 I/DEBUG ( 57): 100ffcbc ac04a340
    /system/lib/libskia.so
    04-30 15:33:23.674 I/DEBUG ( 57): #01 100ffcc0 0014a9f0 [heap]
    04-30 15:33:23.674 I/DEBUG ( 57): 100ffcc4 0014a9f0 [heap]
    04-30 15:33:23.674 I/DEBUG ( 57): 100ffcc8 00000000
    04-30 15:33:23.674 I/DEBUG ( 57): 100ffccc ac04a9a4
    /system/lib/libskia.so
    04-30 15:33:23.904 I/DEBUG ( 57): debuggerd committing suicide to free
    the zombie!
    04-30 15:33:23.904 I/DEBUG ( 1337): debuggerd: Apr 6 2010 21:03:08
    04-30 15:33:23.914 I/ActivityManager( 77): Process com.newsrob (pid 1263)
    has died.
    04-30 15:33:23.934 I/WindowManager( 77): WIN DEATH: Window{466788a0
    com.newsrob/com.newsrob.activities.ShowArticleActivity paused=false}
    04-30 15:33:23.934 I/WindowManager( 77): WIN DEATH: Window{464cc148
    com.newsrob/com.newsrob.DashboardListActivity paused=false}
    04-30 15:33:23.934 I/WindowManager( 77): WIN DEATH: Window{46563360
    com.newsrob/com.newsrob.activities.FeedListActivity paused=false}
    04-30 15:33:23.934 I/WindowManager( 77): WIN DEATH: Window{465c81c8
    com.newsrob/com.newsrob.activities.ArticleListActivity paused=false}
    04-30 15:33:23.934 I/ActivityManager( 77): Start proc com.newsrob for
    activity com.newsrob/.activities.ArticleListActivity: pid=1338 uid=10114
    gids={3003, 1015}
    04-30 15:33:23.934 D/issue ( 77): WindowManager framework defect: detect
    view leak, fix it manually
    04-30 15:33:23.944 D/Zygote ( 59): Process 1263 terminated by signal (11)
    04-30 15:33:23.984 I/dalvikvm( 1338): Debugger thread not active, ignoring
    DDM send (t=0x41504e4d l=38)
    04-30 15:33:23.994 E/ActivityManager( 77): fail to set top app changed!
    04-30 15:33:23.994 I/UsageStats( 77): Unexpected resume of com.newsrob
    while already resumed in com.newsrob
    04-30 15:33:24.004 D/dalvikvm( 59): GC freed 288 objects / 10976 bytes in
    90ms
    04-30 15:33:24.014 I/ActivityManager( 77): Displayed activity
    com.newsrob/.activities.ArticleListActivity: 103 ms (total 641 ms)
    04-30 15:33:24.014 I/dalvikvm( 1338): Debugger thread not active, ignoring
    DDM send (t=0x41504e4d l=26)
    04-30 15:33:24.044 I/ActivityThread( 1338): Publishing provider
    com.newsrob.assets:
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    fadden <fadden@android.com> Apr 30 03:13PM -0700 ^
     
    > the HTC Incredible and I would at least guess that my Java code cannot be
    > the actual cause, but maybe there is something I can do to avoid triggering
    > it?
    [...]
    > 'verizon/inc/inc/inc:2.1-update1/ERE27/161493:user/release-keys'
    > 04-30 15:33:23.634 I/DEBUG   (   57): pid: 1263, tid: 1264  >>> com.newsrob
    > <<<
     
    Since it's not a Google build I can't decode the stack trace. If you
    have an APK and series of steps that reproduces the problem reliably,
    post a bug on b.android.com with the APK attached. If we can make it
    happen on one of our devices we can dig further. If not, it may be
    specific to the Incredible and you will have to work with HTC.
     
    Based on the log message and the library list it looks like it could
    be a libskia (graphics library) problem.
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    DonFrench <dcfrench@gmail.com> Apr 30 12:10PM -0700 ^
     
    I am not sure if it is the same issue but it sounds related. My app
    was eventually able to connect to the device I was having trouble with
    but only after I manually unpaired it. I never deliberately paired it
    in the first place and I was never asked for a pin during the time it
    was failing to connect. The device had apparently been automatically
    paired by Android when it was first detected, as are other nearby
    laptops and phones and PDAs. After unpairing it, I did not re-pair
    through the Android utility but ran my app again and attempted to
    connect to it, at which time I was prompted to enter the pin and to
    pair. This request to pair did not come directly from my code but
    resulted from a call to BluetoothSocket.connect( ). At this point it
    successfully connected and continues to connect. So it seems like the
    automatic pairing does something that prevents later connection. I
    wonder if once it is automatically paired without a pin, future
    attempts to connect recognize that it has been paired but doesn't
    recognize that no pin was ever requested and so fails for lack of a
    valid pin. Just a guess.
     
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    dan raaka <danraaka@gmail.com> Apr 30 03:13PM -0700 ^
     
    is the device being referred here Spica (i5700)?
     
    -Dan
     
     
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Tommy <droidap@gmail.com> Apr 30 02:57PM -0700 ^
     
    Hey everyone. I am trying to use a sliding drawer that will display a
    list of options. I need this to expand over the current ListView on
    the page but I can only get it to expand until it hits the bottom of
    the listview which isn't nearly enough room to display any options. Is
    there a setting I am missing to make it roll over the current objects
    on the page or am I using this widget incorrectly? Below my XML:
     
    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout android:id="@+id/linear"
    android:layout_width="fill_parent" android:layout_height="fill_parent"
    android:orientation="vertical" xmlns:android="http://
    schemas.android.com/apk/res/android">
     
    <TableLayout
    android:id="@+id/widget36"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:padding="3px"
    android:orientation="vertical"
     
    <TableRow
    android:id="@+id/widget37"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:orientation="horizontal"
     
    <TextView
    android:id="@+id/widget38"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:padding="1px"
    android:text="Report Length:"
    android:textSize="12sp"
     
    </TextView>
    <TextView
    android:id="@+id/tvReportLength"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:textSize="12sp"
     
    </TextView>
    <TextView
    android:id="@+id/tvReportLenght"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:padding="1px"
    android:text="1 day"
    android:textSize="12sp"
     
    </TextView>
    <TextView
    android:id="@+id/widget50"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:padding="1px"
    android:text="ID:"
    android:textSize="12sp"
     
    </TextView>
    <TextView
    android:id="@+id/tvStationId"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:padding="1px"
    android:text="TextView"
    android:textSize="12sp"
     
    </TextView>
    </TableRow>
    </TableLayout>
    <TableLayout
    android:id="@+id/widget40"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:padding="3px"
    android:orientation="vertical"
     
    <TableRow
    android:id="@+id/widget45"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:orientation="horizontal"
     
    <TextView
    android:id="@+id/widget51"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:padding="1px"
    android:text="Station Name:"
    android:textSize="12sp"
     
    </TextView>
    <TextView
    android:id="@+id/tvStationName"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:padding="1px"
    android:text="TextView"
    android:textSize="12sp"
     
    </TextView>
     
    </TableRow>
     
    </TableLayout>
     
    <TextView android:layout_width="wrap_content"
    android:layout_height="wrap_content" android:id="@+id/tvNoTide"
    android:text="The NOAA has currently removed this tide report for this
    station. Please check back shortly to see if new tide tables have been
    posted. You may also check other location near his one or check a
    Harmonic station from the statin Listings."
    android:visibility="gone"></TextView>
    <TextView android:id="@+id/TideLoadMessage"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" android:layout_gravity="center"
    android:text="Loading Report, Please wait..."></TextView>
     
    <ListView
    android:id="@+id/lvReport"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:padding="3px"
     
    </ListView>
    <FrameLayout android:id="@+id/frame"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">
    <SlidingDrawer
    android:id="@+id/drawer"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
     
    android:handle="@+id/handle"
    android:content="@+id/content">
     
    <ImageView
    android:id="@id/handle"
    android:layout_width="88dip"
    android:layout_height="44dip"
    android:src="@drawable/icon"
    />
     
    <LinearLayout android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:id="@id/content"
    android:orientation="vertical"
    android:padding="10dip">
     
    <Button android:text="Test1"
    android:id="@+id/Button01"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content" />
     
    <Button android:text="Test2"
    android:id="@+id/Button02"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content" />
     
    <Button android:text="Test3"
    android:id="@+id/Button03"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content" />
     
     
    </LinearLayout>
     
    </SlidingDrawer>
    </FrameLayout>
    </LinearLayout>
     
     
    Thanks in advance,
     
    Tommy
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Mark Murphy <mmurphy@commonsware.com> Apr 30 06:00PM -0400 ^
     
    Tommy wrote:
     
    > </SlidingDrawer>
    > </FrameLayout>
    > </LinearLayout>
     
    Get rid of the LinearLayout, get rid of the FrameLayout, and use a
    RelativeLayout as your root. Put your ListView as the first child of the
    RelativeLayout, and your SlidingDrawer (and its contents) as the second
    child. This should allow your drawer to open over top of the ListView.
     
    --
    Mark Murphy (a Commons Guy)
    http://commonsware.com | http://github.com/commonsguy
    http://commonsware.com/blog | http://twitter.com/commonsguy
     
    Android App Developer Books: http://commonsware.com/books
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Jeremiah Sellars <sylus.mcfred@gmail.com> Apr 30 02:19PM -0700 ^
     
    I'm wondering if this is just an issue with how the emulator is setup,
    but I'm not sure.
     
    I'm (natively) calling this:
     
    int maxt = 0;
     
    glGetIntegerv(GL_MAX_TEXTURE_UNITS, &maxt);
     
    __android_log_print(ANDROID_LOG_VERBOSE, "Native", "Max textures %d",
    maxt);
     
    This only outputs 2... could it be possible that I'm going to be
    allowed only 2 textures? That seems impossible...
     
    GL_MAX_TEXTURE_SIZE reports 4096 which is more than enough. I suppose
    you could lay everything out on a couple of 4096x 4096 images (seems a
    bit crazy) but anyway...
     
    Am I just running into one of things that will be different per phone
    processor?
     
    Thanks everyone,
    Jeremiah
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Mario Zechner <badlogicgames@gmail.com> Apr 30 02:57PM -0700 ^
     
    The number of texture units and the maximum texture size are not
    really related in any way. The number of texture units tells you how
    many textures you can use simultaniously when drawing geometry (how
    many textures can be bound at once). You can have more textures in
    video ram than there are texture units, however, you can only bind
    #texture units textures at any time. A maximum of 2 texture units is
    sufficient for most scenarios where you have a diffuse texture and a
    lightmap for example.
     
    The maximum texture size is really just an estimate with most drivers
    and depends on things such as internal storage (which might be fixed
    by the driver anyways) and so on.
     
    In any case, both numbers will differ from device to device or rather
    chipset to chipset.
     
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Dianne Hackborn <hackbod@android.com> Apr 30 02:30PM -0700 ^
     

    > Just to emphasize Mark's point: Thousands of people have downloaded my
    > app to *prevent* accidental changes to volume controls, primarily the
    > ringer volume.
     
    Hm, so should be be more restrictive about how applications can modify the
    value level(s)?
     
    --
    Dianne Hackborn
    Android framework engineer
    hackbod@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.
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Mark Murphy <mmurphy@commonsware.com> Apr 30 05:46PM -0400 ^
     
    Dianne Hackborn wrote:
    > ringer volume.
     
    > Hm, so should be be more restrictive about how applications can modify
    > the value level(s)?
     
    Bob may be referring to bumping the volume rocker while something is
    playing that will respond to that rocker.
     
    That being said, the current volume control API seems skewed towards
    helping apps that are trying to make persistent changes to the volume. I
    can envision a class of apps -- games, for example -- that might need a
    transient change to the volume, solely while their app is running.
    Having something in the framework that would support that, so apps don't
    accidentally screw up the volume due to coding bugs, might be handy.
     
    --
    Mark Murphy (a Commons Guy)
    http://commonsware.com | http://github.com/commonsguy
    http://commonsware.com/blog | http://twitter.com/commonsguy
     
    Android Training...At Your Office: http://commonsware.com/training
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Ozymandias <jorenm@gmail.com> Apr 30 02:42PM -0700 ^
     
    I have a custom checkbox which I assign a custom resource to using the
    android:button attribute. My problem is that it scales it too large
    and seems to ignore android:scaleType. Does anyone know what's going
    on?
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Bob Kerns <rwk@acm.org> Apr 30 01:09PM -0700 ^
     
    I debug with Eclipse. You should be able to use any Java debugger, but
    there are none that come close to Eclipse, and the SDK provides all
    this nice Eclipse integration you won't get anywhere else.
     
    Why do you want to leave Eclipse behind? I mean, besides the inherent
    shortcomings of using an IDE to do production builds.
     
    On Apr 30, 6:56 am, Leigh McRae <leigh.mc...@lonedwarfgames.com>
    wrote:
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Leigh McRae <leigh.mcrae@lonedwarfgames.com> Apr 30 05:34PM -0400 ^
     
    1) NetBeans has native preprocessor support with build targets like
    VisualC. I really think this is a must when targeting multiple devices
    and platforms. Right now I am porting a project from BlackBerry to
    Android and the lack of a preprocessor is really a drag. There is
    Antenna but NetBeans understands it's own preprocessor and doesn't give
    false feedback.
     
    2) Ant is really well integrated with the IDE. I am able to make my own
    ant tasks that do very specific releases for me. I would agree that
    production builds are not well suited with a default Eclipse project but
    I think NetBeans is.
     
    3) NetBeans handles source files much better. It doesn't force a work
    flow on you. I also hate how Eclipse cache files. I need a little
    monkey just to hit F5 for me from time to time.
     
    4) Eclipse doesn't have a well defined set of files that represent a
    project IMHO. Instead it has a directory littered with god knows what
    from each plugin. Does anyone know which file to check in? NetBeans
    has a couple of XML files in a directory.
     
    Leigh
     
    On 4/30/2010 4:09 PM, Bob Kerns wrote:
    >>>>>> the .class files into .dex files.">
    >>>>>> <property name="classes.dex"...
     
    >> read more »
     
    --
    Leigh McRae
    www.lonedwarfgames.com
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Dianne Hackborn <hackbod@android.com> Apr 30 02:30PM -0700 ^
     
    It would be useful if you actually showed all of the relevant code.
     
    If you are making a broadcast pending intent, FLAG_ACTIVITY_NEW_TASK should
    appear in no place related to it, since that flag is for activities.
     
    > android-developers+unsubscribe@googlegroups.com<android-developers%2Bunsubscribe@googlegroups.com>
    > For more options, visit this group at
    > http://groups.google.com/group/android-developers?hl=en
     
    --
    Dianne Hackborn
    Android framework engineer
    hackbod@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.
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    "emada.adame" <emada.adame@gmail.com> Apr 30 01:12PM -0700 ^
     
    hi im just trying to save some text to a file on android and while it
    works fine on the emulator "dont crash", when i try it on my phone it
    crashes, what am i doing wrong? heres the code:
     
    try{
    File root = Environment.getExternalStorageDirectory();
    if (root.canWrite()){
    File file = new File(root, "file.txt");
    FileWriter writer = new FileWriter(file);
    BufferedWriter out = new BufferedWriter(writer);
    out.write("some data");
    out.close();
    showMes("File saved.");
    }else{
    showMes("Could not save file.");
    }
    }catch(Exception e){
    showMes(e.toString());
    }
     
    i do know it crashes on " File root =
    Environment.getExternalStorageDirectory(); " i just dont know why.
    showMes() is just a function to make toast. thanks for any help.
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    "emada.adame" <emada.adame@gmail.com> Apr 30 01:59PM -0700 ^
     
    Hi Mark thanks for the reply, and yes i WRITE_EXTERNAL_STORAGE set
    like so:
     
    <uses-permission
    android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-
    permission>
     
    and i load the app onto my phone then disconnect the phone from my pc
    and then try my save function, still crashes. any ideas?
     
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Mark Murphy <mmurphy@commonsware.com> Apr 30 05:00PM -0400 ^
     
    emada.adame wrote:
    > permission>
     
    > and i load the app onto my phone then disconnect the phone from my pc
    > and then try my save function, still crashes. any ideas?
     
    Use adb logcat, DDMS, or the DDMS perspective in Eclipse to get the full
    stack trace of the exception.
     
    --
    Mark Murphy (a Commons Guy)
    http://commonsware.com | http://github.com/commonsguy
    http://commonsware.com/blog | http://twitter.com/commonsguy
     
    _The Busy Coder's Guide to Android Development_ Version 3.0
    Available!
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    "Gabriel Simões" <gsimoes@gmail.com> Apr 30 01:47PM -0700 ^
     
    One other interesting thing ....
     
    My FWQVGA avd (android 2.1 + skin WQVGA432) seems to work only for one
    session. If I close and run it again the resolution changes, icons
    appear a lot bigger and it displays the UI componentes totally
    misplaced.
    I don´t know if I made a huge mess with last posts so I will try to
    resume my main concern:
     
    If I set android:largeScreens="false" so android can adapt my layout
    for large screens, my /layout-normal-long isn´t displayed correctly on
    my FWQVGA avd (android 2.1 + skin WQVGA432). If I set
    android:largeScreens="true" the layout is displayed perfectly on the
    same AVD (need to recreate it because, as I said, just work for 1
    session) but is not adjusted for large devices.
     
    Well, took a long time to figure this out because to me it makes no
    sense since this FWQVGA avd emulates a normal device with a low
    density, so no changes to android:largeScreens should have impact to
    it, right?
     
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    sebastian23 <sebastian23@gmail.com> Apr 30 10:03PM +0200 ^
     
    Hi together.
     
    I have an application A and a application B that both have an activity. Now
    i want to send Data from activity A1 to activity B1 and back. Whats the
    easiest way to to dis?
     
    I tried to use Remote Service via AIDL, but this doesn't work very well in
    both directions because I only can pass the primitives data types and not
    every object i like (ok i would have to implement parceable but this is not
    really practicle). Then i read this post by Dianne Hackborn:
     
    If you are communicating via a Service, you can use Messenger as the
    > interface returned by onBind(), and you can stuff fairly arbitrary data in
    > the Message with message.setData().
     
    Now im wondering how this should work. If in the Service implementaiton i
    change the return type to Messenger instead of IBinder im not overriding
    anymore the onbind method of Service. so how to do that??
     
    Then i also tried to use intents. I start my second activity (b1) the
    following way:
     
    Intent intent = new Intent("b.intent.action.Launch");
    > intent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
    > startActivity(intent);
     
    Every time i tried to send a message i sent an Intent to this activity by
    the following code:
     
    Intent intent = new Intent("b.intent.action.Launch");
    > intent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
    > intent.putExtra("test", "testmsg");
     
    To receive the intent i overwrote the onNewIntent() method in the receving
    activity (b1). But nevertheless, the code there is never executed.
     
    So what can i do to solve this problem? Any help is really appreciated.
    Thanks!
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    TreKing <trekingapp@gmail.com> Apr 30 03:06PM -0500 ^
     

    > So what can i do to solve this problem? Any help is really appreciated.
    > Thanks!
     
     
    I think is what BroadcastReceivers are for ...
     
    -------------------------------------------------------------------------------------------------
    TreKing - Chicago transit tracking app for Android-powered devices
    http://sites.google.com/site/rezmobileapps/treking
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    MB <manoj.bist1@gmail.com> Apr 30 12:57PM -0700 ^
     
    I am facing a similar issue on emulator running 1.5. It does not
    happen on emulator running 2.1
     
    You can find more details regarding these difference in the following
    thread (A few comments are conflicting).
     
    http://code.google.com/p/android/issues/detail?id=2545
     
    Perhaps this bug exists even on real devices running firmware 1.5. I
    hope some experience developers can comment on this.
    What is the firmware version on your Tatoo?
     
     
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Digest for android-developers@googlegroups.com - 25 Messages in 15 Topics

Comments: (0)

Group: http://groups.google.com/group/android-developers/topics

    TreKing <trekingapp@gmail.com> Apr 30 11:30AM -0500 ^
     
    OK, we get it, the phones are rolling into the rest of the world, finally.
    Congratulations to all of you.
     
    I'm sure you're all very excited and I'm sure the rest of us are quite happy
    for you, but there's really no need for every single person to confirm
    they've received their phone and update this thread every 10 - 15 minutes.
    =)
     
    -------------------------------------------------------------------------------------------------
    TreKing - Chicago transit tracking app for Android-powered devices
    http://sites.google.com/site/rezmobileapps/treking
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    DKIT Android <dag.koding@gmail.com> Apr 30 10:53AM -0700 ^
     
    In Norway. Still no N1. :-(
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    MrChaz <mrchazmobile@googlemail.com> Apr 30 11:17AM -0700 ^
     
    You just need a 2pin to 3pin converter and the charger will work just
    fine in the UK :D
     
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    pawan nimje <pawannimje@gmail.com> Apr 30 11:08PM +0530 ^
     
    Hi all,
     
    I am adding listview programmatically.
    My code is as follow.
     
    <------- start
     
    LinearLayout llIn2 = new LinearLayout(this);
    llIn2.setOrientation(LinearLayout.VERTICAL);
     
    llIn2.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT,
    LayoutParams.FILL_PARENT));
     
    ListView lv = new ListView(this);
     
    lv.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT,
    LayoutParams.FILL_PARENT));
    lv.setAdapter(new ArrayAdapter<String>(getApplicationContext(),
    android.R.layout.simple_list_item_1, alPlaces));
     
    llIn2.addView(lv);
     
    this.setContentView(llIn2);
     
    <------end
     
    now i want to change the size and color of text.
     
    [there is know method like lv.settextsize / lv.settextcolor ]
     
    Any kind of help will be grateful
     
    Thanks,
    Pawan
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Mark Murphy <mmurphy@commonsware.com> Apr 30 01:52PM -0400 ^
     
    pawan nimje wrote:
     
    > <------end
     
    > now i want to change the size and color of text.
     
    > [there is know method like lv.settextsize / lv.settextcolor ]
     
    You need to change the rows, not the ListView. Instead of using
    android.R.layout.simple_list_item_1, create your own row layout that is
    styled the way you want it to be.
     
    Here is an excerpt from one of my books that covers this process:
     
    http://commonsware.com/Android/excerpt.pdf
     
    --
    Mark Murphy (a Commons Guy)
    http://commonsware.com | http://twitter.com/commonsguy
     
    Android Training...At Your Office: http://commonsware.com/training
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    pawan nimje <pawannimje@gmail.com> Apr 30 11:40PM +0530 ^
     
    hey thanks pal
     
    it worked
     
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Jay-andro <jayandro@gmail.com> Apr 30 10:25AM -0700 ^
     
    Background:
    I have a voice messaging app that needs to send an email with the
    audio file attached when user records and presses send. I dont want
    to
    have the user see a mail client and press Send in it. He's already
    aware my app is going to send an email and has pressed a send button
    in the app. The audio file is in the app folder area, not on the
    sdcard.
     
    Problem:
    Using ACTIONSEND and Intent.EXTRA_STREAM (a) requires the file to be
    on sdcard and (b) displays a mail client UI. I found a library called
    javamail_lbmod.jar but it is over 1MB large; I feel thats overkill
    for
    what I need.
     
    Anyone know of a small library or other solution for my issue. I
    could
    live with the sdcard requirement if I could just suppress the mail
    client UI.
    thanks
    Jay
     
    ps: I posted this message yesterday and it has completely disappeared
    from the list.
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    subrat kumar panda <evergreen.subrat@gmail.com> Apr 30 10:12PM +0530 ^
     
    Hello all,
    In my Gps app there is a Setting page.
    user can make changes to the setting page
    from device and from web , like others(register , login etc).
    so when the user make some changes in the settings page form the web
    how could it get reflected in the device setting page.
     
    i am not finding a flexible solution.
     
    if anybody have knowledge please help me.
     
    Thanking in advance,
     
    Best Regards
    Subrat Kumar Panda
    India
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Brion Emde <brione2001@gmail.com> Apr 30 09:37AM -0700 ^
     
    you could do something like putting your ids in an array and putting
    your discovered buttons in another array and then process them in a
    loop.
     
    Think about how SimpleCursorAdapter is doing what it does.
     
    http://developer.android.com/reference/android/widget/SimpleCursorAdapter.html
     
    Take a look at the constructor.
     
    On Apr 30, 9:46 am, "angushir...@googlemail.com"
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    "Maps.Huge.Info (Maps API Guru)" <coryat@gmail.com> Apr 30 09:35AM -0700 ^
     
    The sites you're seeing this on (like cyrket.com, androlib.com et al)
    have broken the market API, which requires some clever work on their
    part. It's not terribly difficult but you risk getting cut off by
    Google. Hopefully, Google will open up the market API to our use soon,
    I think we're seeing some of this happening with their feedback
    experiment. One thing you can count on with Google, they will make
    data and API's available eventually if there is any good use a
    developer can put it to.
     
    -John Coryat
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    westmeadboy <westmeadboy@yahoo.co.uk> Apr 30 07:20AM -0700 ^
     
    Excellent, that works. Thanks Mark.
     
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Brion Emde <brione2001@gmail.com> Apr 30 06:19AM -0700 ^
     
    I don't see a problem. You should look at your log file or post it.
     
    Have you traced through your code via the debugger? That is a good way
    to see what is happening.
     
     
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Rahul <rahulvarma.kalidindi0207@gmail.com> Apr 30 06:33AM -0700 ^
     
    Here's how the errors in the log looks like... Tried different ways to
    fix the problem. but of no use...
     
     
    04-30 13:09:46.656: INFO/ActivityManager(584): Starting activity:
    Intent { act=android.intent.action.MAIN
    cat=[android.intent.category.LAUNCHER] flg=0x10000000
    cmp=com.WorldToyota/.Alerts }
    04-30 13:09:50.417: ERROR/JSON(924): There was an error parsing the
    JSON
    04-30 13:09:50.417: ERROR/JSON(924): org.json.JSONException:
    JSONArray[0] is not a JSONObject.
    04-30 13:09:50.417: ERROR/JSON(924): at
    org.json.JSONArray.getJSONObject(JSONArray.java:268)
    04-30 13:09:50.417: ERROR/JSON(924): at
    com.WorldToyota.AlertsAdd.retrieveJSONArray(AlertsAdd.java:30)
    04-30 13:09:50.417: ERROR/JSON(924): at
    com.WorldToyota.Alerts.onCreate(Alerts.java:20)
    04-30 13:09:50.417: ERROR/JSON(924): at
    android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
    1123)
    04-30 13:09:50.417: ERROR/JSON(924): at
    android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
    2364)
    04-30 13:09:50.417: ERROR/JSON(924): at
    android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
    2417)
    04-30 13:09:50.417: ERROR/JSON(924): at
    android.app.ActivityThread.access$2100(ActivityThread.java:116)
    04-30 13:09:50.417: ERROR/JSON(924): at android.app.ActivityThread
    $H.handleMessage(ActivityThread.java:1794)
    04-30 13:09:50.417: ERROR/JSON(924): at
    android.os.Handler.dispatchMessage(Handler.java:99)
    04-30 13:09:50.417: ERROR/JSON(924): at
    android.os.Looper.loop(Looper.java:123)
    04-30 13:09:50.417: ERROR/JSON(924): at
    android.app.ActivityThread.main(ActivityThread.java:4203)
    04-30 13:09:50.417: ERROR/JSON(924): at
    java.lang.reflect.Method.invokeNative(Native Method)
    04-30 13:09:50.417: ERROR/JSON(924): at
    java.lang.reflect.Method.invoke(Method.java:521)
    04-30 13:09:50.417: ERROR/JSON(924): at
    com.android.internal.os.ZygoteInit
    $MethodAndArgsCaller.run(ZygoteInit.java:791)
    04-30 13:09:50.417: ERROR/JSON(924): at
    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
    04-30 13:09:50.417: ERROR/JSON(924): at
    dalvik.system.NativeStart.main(Native Method)
    04-30 13:09:50.688: ERROR/JSON(924): There was an error creating the
    JSONObject
    04-30 13:09:50.688: ERROR/JSON(924): org.json.JSONException:
    JSONObject["suggestions"] not found.
    04-30 13:09:50.688: ERROR/JSON(924): at
    org.json.JSONObject.get(JSONObject.java:287)
    04-30 13:09:50.688: ERROR/JSON(924): at
    org.json.JSONObject.getJSONArray(JSONObject.java:362)
    04-30 13:09:50.688: ERROR/JSON(924): at
    com.WorldToyota.AlertsAdd.retrieveJSONArray(AlertsAdd.java:41)
    04-30 13:09:50.688: ERROR/JSON(924): at
    com.WorldToyota.Alerts.onCreate(Alerts.java:20)
    04-30 13:09:50.688: ERROR/JSON(924): at
    android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
    1123)
    04-30 13:09:50.688: ERROR/JSON(924): at
    android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
    2364)
    04-30 13:09:50.688: ERROR/JSON(924): at
    android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
    2417)
    04-30 13:09:50.688: ERROR/JSON(924): at
    android.app.ActivityThread.access$2100(ActivityThread.java:116)
    04-30 13:09:50.688: ERROR/JSON(924): at android.app.ActivityThread
    $H.handleMessage(ActivityThread.java:1794)
    04-30 13:09:50.688: ERROR/JSON(924): at
    android.os.Handler.dispatchMessage(Handler.java:99)
    04-30 13:09:50.688: ERROR/JSON(924): at
    android.os.Looper.loop(Looper.java:123)
    04-30 13:09:50.688: ERROR/JSON(924): at
    android.app.ActivityThread.main(ActivityThread.java:4203)
    04-30 13:09:50.688: ERROR/JSON(924): at
    java.lang.reflect.Method.invokeNative(Native Method)
    04-30 13:09:50.688: ERROR/JSON(924): at
    java.lang.reflect.Method.invoke(Method.java:521)
    04-30 13:09:50.688: ERROR/JSON(924): at
    com.android.internal.os.ZygoteInit
    $MethodAndArgsCaller.run(ZygoteInit.java:791)
    04-30 13:09:50.688: ERROR/JSON(924): at
    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
    04-30 13:09:50.688: ERROR/JSON(924): at
    dalvik.system.NativeStart.main(Native Method)
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Rahul <rahulvarma.kalidindi0207@gmail.com> Apr 30 06:57AM -0700 ^
     
    Really thank you Jose for posting the code. I'll definitely try it out
    and let you know if there are any further issues.
     
    Regarding the logcat, Hey Brion,I have posted wrong log cat in the
    above posts. Sorry for that... Below you can see the exact log cat
    errors...
     
    04-30 13:09:46.656: INFO/ActivityManager(584): Starting activity:
    Intent { act=android.intent.action.MAIN
    cat=[android.intent.category.LAUNCHER] flg=0x10000000
    cmp=com.WorldToyota/.Alerts }
    04-30 13:09:50.417: ERROR/JSON(924): There was an error parsing the
    JSON
    04-30 13:09:50.417: ERROR/JSON(924): org.json.JSONException:
    JSONArray[0] is not a JSONObject.
    04-30 13:09:50.417: ERROR/JSON(924): at
    org.json.JSONArray.getJSONObject(JSONArray.java:268)
    04-30 13:09:50.417: ERROR/JSON(924): at
    com.WorldToyota.AlertsAdd.retrieveJSONArray(AlertsAdd.java:30)
    04-30 13:09:50.417: ERROR/JSON(924): at
    com.WorldToyota.Alerts.onCreate(Alerts.java:20)
    04-30 13:09:50.417: ERROR/JSON(924): at
    android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
    1123)
    04-30 13:09:50.417: ERROR/JSON(924): at
    android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
    2364)
    04-30 13:09:50.417: ERROR/JSON(924): at
    android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
    2417)
    04-30 13:09:50.417: ERROR/JSON(924): at
    android.app.ActivityThread.access$2100(ActivityThread.java:116)
    04-30 13:09:50.417: ERROR/JSON(924): at android.app.ActivityThread
    $H.handleMessage(ActivityThread.java:1794)
    04-30 13:09:50.417: ERROR/JSON(924): at
    android.os.Handler.dispatchMessage(Handler.java:99)
    04-30 13:09:50.417: ERROR/JSON(924): at
    android.os.Looper.loop(Looper.java:123)
    04-30 13:09:50.417: ERROR/JSON(924): at
    android.app.ActivityThread.main(ActivityThread.java:4203)
    04-30 13:09:50.417: ERROR/JSON(924): at
    java.lang.reflect.Method.invokeNative(Native Method)
    04-30 13:09:50.417: ERROR/JSON(924): at
    java.lang.reflect.Method.invoke(Method.java:521)
    04-30 13:09:50.417: ERROR/JSON(924): at
    com.android.internal.os.ZygoteInit
    $MethodAndArgsCaller.run(ZygoteInit.java:791)
    04-30 13:09:50.417: ERROR/JSON(924): at
    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
    04-30 13:09:50.417: ERROR/JSON(924): at
    dalvik.system.NativeStart.main(Native Method)
    04-30 13:09:50.688: ERROR/JSON(924): There was an error creating the
    JSONObject
    04-30 13:09:50.688: ERROR/JSON(924): org.json.JSONException:
    JSONObject["suggestions"] not found.
    04-30 13:09:50.688: ERROR/JSON(924): at
    org.json.JSONObject.get(JSONObject.java:287)
    04-30 13:09:50.688: ERROR/JSON(924): at
    org.json.JSONObject.getJSONArray(JSONObject.java:362)
    04-30 13:09:50.688: ERROR/JSON(924): at
    com.WorldToyota.AlertsAdd.retrieveJSONArray(AlertsAdd.java:41)
    04-30 13:09:50.688: ERROR/JSON(924): at
    com.WorldToyota.Alerts.onCreate(Alerts.java:20)
    04-30 13:09:50.688: ERROR/JSON(924): at
    android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
    1123)
    04-30 13:09:50.688: ERROR/JSON(924): at
    android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
    2364)
    04-30 13:09:50.688: ERROR/JSON(924): at
    android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
    2417)
    04-30 13:09:50.688: ERROR/JSON(924): at
    android.app.ActivityThread.access$2100(ActivityThread.java:116)
    04-30 13:09:50.688: ERROR/JSON(924): at android.app.ActivityThread
    $H.handleMessage(ActivityThread.java:1794)
    04-30 13:09:50.688: ERROR/JSON(924): at
    android.os.Handler.dispatchMessage(Handler.java:99)
    04-30 13:09:50.688: ERROR/JSON(924): at
    android.os.Looper.loop(Looper.java:123)
    04-30 13:09:50.688: ERROR/JSON(924): at
    android.app.ActivityThread.main(ActivityThread.java:4203)
    04-30 13:09:50.688: ERROR/JSON(924): at
    java.lang.reflect.Method.invokeNative(Native Method)
    04-30 13:09:50.688: ERROR/JSON(924): at
    java.lang.reflect.Method.invoke(Method.java:521)
    04-30 13:09:50.688: ERROR/JSON(924): at
    com.android.internal.os.ZygoteInit
    $MethodAndArgsCaller.run(ZygoteInit.java:791)
    04-30 13:09:50.688: ERROR/JSON(924): at
    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
    04-30 13:09:50.688: ERROR/JSON(924): at
    dalvik.system.NativeStart.main(Native Method)
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Leigh McRae <leigh.mcrae@lonedwarfgames.com> Apr 30 09:56AM -0400 ^
     
    What do you debug with? I would love to leave Eclipse behind.
     
    Leigh
     
    On 4/30/2010 3:37 AM, Bob Kerns wrote:
    >>>> <android:apk-builder>
    >>>> <arg file="target/notepad.apk"/>...
     
    >> read more »
     
    --
    Leigh McRae
    www.lonedwarfgames.com
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    polyclefsoftware <djames@gmail.com> Apr 30 06:38AM -0700 ^
     
    Are you guys all seeing this new feedback feature in the Android
    Developer Console?
     
    At first I thought it was an extension of the Android Market
    commenting system, but no...looks like error reporting!
     
    From what I've seen of it so far, this feature looks awesome. I'd had
    to implement my own manual error tracking, having users email stack
    traces back to me. Now I don't have to do that.
     
    Thanks, Android Team.
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Mark Murphy <mmurphy@commonsware.com> Apr 30 09:47AM -0400 ^
     
    polyclefsoftware wrote:
     
    > From what I've seen of it so far, this feature looks awesome. I'd had
    > to implement my own manual error tracking, having users email stack
    > traces back to me. Now I don't have to do that.
     
    This has been experimented with for the better part of a month, at least
    on the device side:
     
    http://stackoverflow.com/questions/2567197
     
    I asked a member of the Android developer advocacy team to have somebody
    make a public statement somewhere about what's going on. AFAICT, no such
    statement has been made.
     
    I agree, it's awesome...so long as it is somewhat controllable. There
    are apps for which this would be potentially troublesome, if the
    developer has no control over what gets reported (e.g., due to medical
    privacy laws).
     
    --
    Mark Murphy (a Commons Guy)
    http://commonsware.com | http://twitter.com/commonsguy
     
    Android Online Training: 10-14 May 2010: http://onlc.com
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Streets Of Boston <flyingdutchie@gmail.com> Apr 30 06:56AM -0700 ^
     
    It's still very 'beta' like. I can't see the feedback of any app but
    my own. At least in IE8, when i choose to see the feedback of
    com.android.browser (or another that's not mine), my browser keeps
    refreshing until eternity (although haven't waited *that* long :-)).
     
    I now can remove my stack-trace logging code. Although, the feedback
    does not send phone-information back (what phone, model, etc). But it
    has reports of freezes, which my strack-trace logging code did not
    have...
     
    It looks like it's still quite 'beta'. I can't wait until it's
    officially rolled out.
     
     
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    TreKing <trekingapp@gmail.com> Apr 30 08:49AM -0500 ^
     
    2010/4/29 D.Y <android.andjoy@gmail.com>
     
    > Our UI Team has some professional idea that the menu layout like I told is
    > more friendly to the customer in my application,
     
     
    I would argue that adhering to the standard conventions that the user is
    accustomed to is more friendly to the customer. But then again, I'm no UI
    expert with "professional ideas".
     
     
    > and I can implement the menu as such in Activity but failed in ListActivity
    > with our own menu implementation.
     
     
    If you can make it work in a standard Activity, there's really no reason it
    can't work in a ListActivity.
     
    -------------------------------------------------------------------------------------------------
    TreKing - Chicago transit tracking app for Android-powered devices
    http://sites.google.com/site/rezmobileapps/treking
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Eurig Jones <eurigjones@gmail.com> Apr 30 06:47AM -0700 ^
     
    I want to get rid of my app registration and embrace OpenID, but is it
    possible to do this type of thing with an Android Application?
     
    Regards,
    Eurig
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Uander <uandroids@gmail.com> Apr 30 06:48PM +0530 ^
     
    Hi All ,
     
    Issue I mentioned here works fine in cupcake android 1.5 .
    it refers to a OHA issue 3985:
     
     
    http://code.google.com/p/android/issues/detail?id=3985
     
    Please suggest how to fix it .
     
    in Alarms.java file , I used DateFormatSymbols(Locale.getDefault()) instead
    of simple DateFormatSymbols() it doesn't work
    while in same file Locale.getDefault().toString()) equates to "ja_JP" that
    indicates japanese locales are supported in eclair 2.1 .
     
    Thanks :
     
    Uander
     
     
     
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Brion Emde <brione2001@gmail.com> Apr 30 06:13AM -0700 ^
     
    Yes, I have a paid version with bells & whistles and a free version
    with the basic functionality.
     
    My demonstration video of the of paid version, so perhaps the free
    version is too big a step down once they see it.
     
    Thanks for the information.
     
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

    Brion Emde <brione2001@gmail.com> Apr 30 06:14AM -0700 ^
     
    Thanks for the information. 250K installs! Wow! Nice work.
     
    On Apr 29, 4:25 pm, "Maps.Huge.Info (Maps API Guru)"
     
    --
    You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to android-developers@googlegroups.com
    To unsubscribe from this group, send email to
    android-developers+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en

     

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en