Ooops...I forgot.....this list doesn't allow posting via e-mail.
>From <> Mon May 30 12:45:12 2011 Delivered-To: [email protected] Received: from pop.gmail.com [74.125.67.109] by n5ial with POP3 (fetchmail-6.3.8) for <jim@localhost> (single-drop); Mon, 30 May 2011 12:45:12 -0500 (CDT) Received: by 10.216.20.197 with SMTP id p47cs136582wep; Mon, 30 May 2011 10:44:12 -0700 (PDT) Received-SPF: pass (google.com: domain of designates 10.236.185.3 as permitted sender) client-ip=10.236.185.3; Authentication-Results: mr.google.com; spf=pass (google.com: domain of designates 10.236.185.3 as permitted sender) smtp.mail=; dkim=pass header.i= Received: from mr.google.com ([10.236.185.3]) by 10.236.185.3 with SMTP id t3mr3395698yhm.23.1306777451470 (num_hops = 1); Mon, 30 May 2011 10:44:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=domainkey-signature:mime-version:from:to:x-failed-recipients :subject:message-id:date:content-type; bh=bLWWexkz4BOlTpzzi3oWHOqi2X4D1bpDG9Q7HMZjdJM=; b=GJwIuupXyZA6kAqmAdFway5p+fPg1a67s/ NBBRDuJbHbMGBcZcJDtuvaZPDzrKOZpZ EN32bIjtucpxxdIik4aw== DomainKey-Signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=mime-version:from:to:x-failed-recipients:subject:message- id:date :content-type; b=HDTLZ9CwqW0VMhilOxpqYdtIIwBjQ62cCl0Lf7GwgspxV/ SD6wn75yyecqpa5tipGW N/X3YH9Leq5lEf1M1SfQ== Received: by 10.236.185.3 with SMTP id t3mr3395698yhm. 23.1306777451469; Mon, 30 May 2011 10:44:11 -0700 (PDT) MIME-Version: 1.0 Return-Path: <> Received: by 10.236.185.3 with SMTP id t3mr4667010yhm.23; Mon, 30 May 2011 10:44:11 -0700 (PDT) From: Mail Delivery Subsystem <[email protected]> To: [email protected] X-Failed-Recipients: [email protected] Subject: Delivery Status Notification (Failure) Message-ID: <[email protected]> Date: Mon, 30 May 2011 17:44:11 +0000 Content-Type: text/plain; charset=ISO-8859-1 Status: RO Content-Length: 4475 Lines: 93 Hello [email protected], We're writing to let you know that the group you tried to contact (android-developers) may not exist, or you may not have permission to post messages to the group. A few more details on why you weren't able to post: * You might have spelled or formatted the group name incorrectly. * The owner of the group may have removed this group. * You may need to join the group before receiving permission to post. * This group may not be open to posting. If you have questions related to this or any other Google Group, visit the Help Center at http://groups.google.com/support/?hl=en_US. Thanks, Google Groups ----- Original message ----- Received: by 10.236.185.3 with SMTP id t3mr3395696yhm. 23.1306777451391; Mon, 30 May 2011 10:44:11 -0700 (PDT) Received: by 10.236.185.3 with SMTP id t3mr3395695yhm. 23.1306777451377; Mon, 30 May 2011 10:44:11 -0700 (PDT) Return-Path: <[email protected]> Received: from fed1rmfepo203.cox.net (fed1rmfepo203.cox.net [68.230.241.148]) by gmr-mx.google.com with ESMTP id l51si2305498yhe. 1.2011.05.30.10.44.11; Mon, 30 May 2011 10:44:11 -0700 (PDT) Received-SPF: neutral (google.com: 68.230.241.148 is neither permitted nor denied by domain of [email protected]) client- ip=68.230.241.148; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 68.230.241.148 is neither permitted nor denied by domain of [email protected]) [email protected] Received: from fed1rmimpo01.cox.net ([70.169.32.71]) by fed1rmfepo203.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20110530174405.uyxm22406.fed1rmfepo203.cox....@fed1rmimpo01.cox.net> for <[email protected]>; Mon, 30 May 2011 13:44:05 -0400 Received: from n5ial-1.pn.at.cox.net ([68.109.99.225]) by fed1rmimpo01.cox.net with bizsmtp id ptjr1g0064rmS0c03tk51m; Mon, 30 May 2011 13:44:05 -0400 X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020204.4DE3D765.00C1,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=PN+ohkdpFDsDQ2sRnkaX3J2v6HqbG4I/ sIKDoh1mFiA= c=1 sm=1 a=z1TLwsU0kBEA:10 a=1csvxmPHctEA:10 a=nDghuxUhq_wA:10 a=kj9zAlcOel0A:10 a=wVSkus2gC08B95IUojpySA==:17 a=pGLkceISAAAA:8 a=JPNar2gQ4MBmv4uBH84A:9 a=CjuIK1q_8ugA:10 a=MSl-tDqOz04A:10 a=wVSkus2gC08B95IUojpySA==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: (from jim@localhost) by n5ial-1.pn.at.cox.net (8.14.1/8.13.6/Submit) id p4UHho0t045829 for [email protected]; Mon, 30 May 2011 12:43:50 -0500 (CDT) (envelope-from [email protected]) X-Authentication-Warning: n5ial-1.pn.at.cox.net: jim set sender to [email protected] using -f Date: Mon, 30 May 2011 12:43:50 -0500 From: Jim Graham <[email protected]> To: [email protected] Subject: Re: [android-developers] getting the current image by resource or filename from Gallery Message-ID: <[email protected]> Mail-Followup-To: Jim Graham <[email protected]>, [email protected] References: <3623e6a2-7a09-4644-b4b4- [email protected]> <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[email protected]> User-Agent: Mutt/1.4.2.3i On Mon, May 30, 2011 at 01:33:13PM -0400, Mark Murphy wrote: > On Mon, May 30, 2011 at 12:48 PM, Spooky <[email protected]> wrote: > > Apologies if this is posted twice, but it doesn't appear to have made > > the e-mail digest since I posted it last night. How do I get the > > currently-displayed image's filename or R.drawable. [filename] from > > the Gallery widget? > > You don't, directly. An ImageView does not retain information on where > the image came from. Use getSelectedItemId() or > getSelectedItemPosition() to backtrack and determine the source of the > image. Wouldn't getSelectedItemId() return the resource ID? Or am I reading too much into the name? :-) I'm just trying to find a reference to the image that I can pass to the wallpaper manager to load that image as wallpaper. Thanks, --jim -- 73 DE N5IAL (/4) MiSTie #49997 < Running FreeBSD 7.0 > [email protected] ICBM/Hurricane: 30.44406N 86.59909W "sigh, once upon a time T-1 was fast...." --seen in alt.sysadmin.net-abuse.email -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

