android-developers@googlegroups.com wrote:

>=============================================================================
>Today's Topic Summary
>=============================================================================
>
>Group: android-developers@googlegroups.com
>Url: http://groups.google.com/group/android-developers/topics
>
>  - How to place controls properly inside of a custom list view. [1 Update]
>    http://groups.google.com/group/android-developers/t/7b54e021e20a6a12
>  - Broadcast receiver execution. [1 Update]
>    http://groups.google.com/group/android-developers/t/a520636e18952db
>  - R17: a library project cannot depend on another library project? [2 
> Updates]
>    http://groups.google.com/group/android-developers/t/1e179daaa985853c
>  - Remove text edit border [1 Update]
>    http://groups.google.com/group/android-developers/t/22952346c99cd4ce
>  - onActivityResult not being called [1 Update]
>    http://groups.google.com/group/android-developers/t/ae2be5c27d2ecbe5
>  - ALOGV not found [3 Updates]
>    http://groups.google.com/group/android-developers/t/6ffa09773e5ff363
>  - Android keystore password recovery tool [1 Update]
>    http://groups.google.com/group/android-developers/t/6f680da1a746745
>  - R17 does not add dependent jars unless exported [1 Update]
>    http://groups.google.com/group/android-developers/t/3eee4e908e8d6949
>  - Modify a textview value in a custom listview after clicking [1 Update]
>    http://groups.google.com/group/android-developers/t/b7a069e9ba495cb9
>  - Launching default messaging app for mms [9 Updates]
>    http://groups.google.com/group/android-developers/t/e50a57e07cee177
>  - How to set the background image in ListView [1 Update]
>    http://groups.google.com/group/android-developers/t/8bbf740d7460da8d
>  - httpclient post - debug the request? [1 Update]
>    http://groups.google.com/group/android-developers/t/c92274088e291ed7
>  - Notifications when App in background! [1 Update]
>    http://groups.google.com/group/android-developers/t/1a551dd8f5f641d2
>  - How to get string text from AutoCompleteTextView in android? [1 Update]
>    http://groups.google.com/group/android-developers/t/4aca4d8486b8002a
>
>
>=============================================================================
>Topic: How to place controls properly inside of a custom list view.
>Url: http://groups.google.com/group/android-developers/t/7b54e021e20a6a12
>=============================================================================
>
>---------- 1 of 1 ----------
>From: Put_tiMe <putt...@gmail.com>
>Date: Mar 25 08:52PM -0700
>Url: http://groups.google.com/group/android-developers/msg/23ae77047e87b3b7
>
>It kind of worked when I switched to a framelayout.
>Otherwise it was turning out to be a pain trying to position the controls.
> 
> 
>I didn't try the layout_weight, it looks like that might have worked.
>But anyway....
> 
> 
>
>On Sunday, March 25, 2012 7:21:15 AM UTC+5:30, MagouyaWare wrote:
>
>
>
>
>=============================================================================
>Topic: Broadcast receiver execution.
>Url: http://groups.google.com/group/android-developers/t/a520636e18952db
>=============================================================================
>
>---------- 1 of 1 ----------
>From: Put_tiMe <putt...@gmail.com>
>Date: Mar 25 08:49PM -0700
>Url: http://groups.google.com/group/android-developers/msg/c8aa5d5f5963aa0b
>
>I have a class which is derived from 'BroadcastReceiver'.
>Here I've signed up for screen-off, screen-on, battery-changed and 
>user-present intents.
> 
>I want to know how my class receives messages.
> 
>Are they received in the order they were raised?
> 
>Or is there a chance that messages could arrive out of order.
> 
>Ex. assume the screen was on. Now I switch it off, and immediately switch 
>it back on. Then I switch it off immediately. Then I switch it on 
>immediately.
>I'm talking about this whole sequence of events happening in less than a 
>second.
> 
>In this case will I be receiving the messages in this order:
>1. Off
>2. On
>3. Off
>4. On
> 
> 
>Is there any chance they can be out of order?
> 
> 
>Thanks
>
>
>
>=============================================================================
>Topic: R17: a library project cannot depend on another library project?
>Url: http://groups.google.com/group/android-developers/t/1e179daaa985853c
>=============================================================================
>
>---------- 1 of 2 ----------
>From: James Su <james...@gmail.com>
>Date: Mar 26 11:08AM +0800
>Url: http://groups.google.com/group/android-developers/msg/e95099539e56afce
>
>Hi all,
>  Yesterday I updated my development environment to Android SDK R17, and
>then it failed to build one of my library project (say A) which depends on
>another library project (say B), because B's R class cannot be found in A.
>I checked the code in A's gen/ and found that B's R class was no longer
>there, but it was there when using R16.
>  Does anybody know how to fix this issue?
>
>Thanks a lot
>James Su
>
>
>---------- 2 of 2 ----------
>From: Nikolay Elenkov <nikolay.elen...@gmail.com>
>Date: Mar 26 12:23PM +0900
>Url: http://groups.google.com/group/android-developers/msg/99c782c4bf1b8a7f
>
>> checked the code in A's gen/ and found that B's R class was no longer there,
>> but it was there when using R16.
>>   Does anybody know how to fix this issue?
>
>Change each project to use it's own R file. It will include all resources from
>projects it depends on. For example:
>
>In project B:
>
>import com.project.b.R;
>
>In project A:
>
>import com.project.a.R;
>
>
>
>=============================================================================
>Topic: Remove text edit border
>Url: http://groups.google.com/group/android-developers/t/22952346c99cd4ce
>=============================================================================
>
>---------- 1 of 1 ----------
>From: Leo <pavened...@gmail.com>
>Date: Mar 25 08:25PM -0700
>Url: http://groups.google.com/group/android-developers/msg/849b9f02bd056486
>
>Hi all developers,
>
>I am trying to make a text edit which has the border in harmony with
>the background. I set the textedit background the same with its
>parent's, but there still  a rectangle border between the text edit
>and its parent so far. I already did some searches but there still not
>any good news so far.
>
>I wonder if android allows developers to make such a text edit like
>that or not. I understand there should be something between a text
>edit and its parent so the users and distinguish them, but my case is
>quite special.
>
>Does anyone have experience in this problem before? Do you have any
>suggestion for my case? I really appreciate any help or suggestion.
>
>Thanks,
>Leo
>
>
>
>=============================================================================
>Topic: onActivityResult not being called
>Url: http://groups.google.com/group/android-developers/t/ae2be5c27d2ecbe5
>=============================================================================
>
>---------- 1 of 1 ----------
>From: Joey Selah <josephsela...@gmail.com>
>Date: Mar 25 08:08PM -0700
>Url: http://groups.google.com/group/android-developers/msg/1d81baa9e6d7b540
>
>I switched the launch mode for BaseIngredientEdit to standard and
>still nothing.  What am I missing?  If I got some free time tomorrow
>I'm going to try to make a sandbox project with just skeleton code to
>get OnActivityResult() to trigger for me to compare against.  Any
>ideas in the mean time?
>
>
>
>
>=============================================================================
>Topic: ALOGV not found
>Url: http://groups.google.com/group/android-developers/t/6ffa09773e5ff363
>=============================================================================
>
>---------- 1 of 3 ----------
>From: Eric <heree...@gmail.com>
>Date: Mar 25 07:09AM -0700
>Url: http://groups.google.com/group/android-developers/msg/a732b5345e567c4f
>
>Hi, all
>
>I have compiled through the ics codebase from google, but when I tried
>to compile some module separately, I got such errors, and I don't know
>what's the problem
>
>error: 'ALOGV' was not declared in this scope
>
>any suggestion will be appreciated, thanks
>
>
>---------- 2 of 3 ----------
>From: Justin Anderson <magouyaw...@gmail.com>
>Date: Mar 25 07:16PM -0600
>Url: http://groups.google.com/group/android-developers/msg/1b9ee3084aeb4ae8
>
>This is not the appropriate forum for this type of question.  This group is
>for developing android SDK applications.
>
>Thanks,
>Justin Anderson
>MagouyaWare Developer
>http://sites.google.com/site/magouyaware
>
>
>
>
>---------- 3 of 3 ----------
>From: Kristopher Micinski <krismicin...@gmail.com>
>Date: Mar 25 09:27PM -0400
>Url: http://groups.google.com/group/android-developers/msg/3147cbf93c93bf00
>
>Try android-platform
>
>kris
>
>
>
>
>=============================================================================
>Topic: Android keystore password recovery tool
>Url: http://groups.google.com/group/android-developers/t/6f680da1a746745
>=============================================================================
>
>---------- 1 of 1 ----------
>From: Nikolay Elenkov <nikolay.elen...@gmail.com>
>Date: Mar 26 10:17AM +0900
>Url: http://groups.google.com/group/android-developers/msg/5a7968860cfd642e
>
>> https://code.google.com/p/android-keystore-password-recover/downloads/list
>> It helped for me, maybe you can recover your key, too.
>> Good luck
>
>Interesting, there is also Patator, which is a bit more universal.
>Might want to compare notes :)
>
>http://code.google.com/p/patator/
>
>
>
>=============================================================================
>Topic: R17 does not add dependent jars unless exported
>Url: http://groups.google.com/group/android-developers/t/3eee4e908e8d6949
>=============================================================================
>
>---------- 1 of 1 ----------
>From: Nikolay Elenkov <nikolay.elen...@gmail.com>
>Date: Mar 26 10:13AM +0900
>Url: http://groups.google.com/group/android-developers/msg/54f59a787cb4e80a
>
>> being added to the apk.  Is this intentional?  Seems odd that my code
>> compiles in Eclipse, but then fails to run on the device unless I
>> check the "exported" box.
>
>Yes, it is intentional, and documented. Jars under libs/ are automatically
>exported, all other you need to set as exported. If you thing of 'exported'
>as 'added to classes.dex', it does make sense.
>
>http://tools.android.com/recent/dealingwithdependenciesinandroidprojects
>
>(there might be a more 'official' doc as well)
>
>
>
>=============================================================================
>Topic: Modify a textview value in a custom listview after clicking
>Url: http://groups.google.com/group/android-developers/t/b7a069e9ba495cb9
>=============================================================================
>
>---------- 1 of 1 ----------
>From: Justin Anderson <magouyaw...@gmail.com>
>Date: Mar 25 07:12PM -0600
>Url: http://groups.google.com/group/android-developers/msg/f7d61df36104b295
>
>Modify the data in the adapter and then call notifyDataSetChanged().  Once
>the view has been created and displayed on the screen you should NEVER
>modify it directly.
>
>Thanks,
>Justin Anderson
>MagouyaWare Developer
>http://sites.google.com/site/magouyaware
>
>
>
>
>
>=============================================================================
>Topic: Launching default messaging app for mms
>Url: http://groups.google.com/group/android-developers/t/e50a57e07cee177
>=============================================================================
>
>---------- 1 of 9 ----------
>From: Mark Murphy <mmur...@commonsware.com>
>Date: Mar 25 07:28PM -0400
>Url: http://groups.google.com/group/android-developers/msg/8de6abfc95c827d7
>
>> is giving a chooser.
>
>> Is there a way to find the default messaging application or the built-in
>> messaging, and set its package in the intent above?
>
>If there is a default, it is because the user chose it to be the
>default, and no chooser dialog will appear -- the user will be taken
>straight to that default.  If there is only one messaging app, no
>chooser dialog will appear -- the user will be taken straight to that
>app. If there is no default and there is more than one app, PLEASE
>ALLOW THE USER TO CHOOSE WHICH SMS CLIENT THEY WANT TO USE.
>
>Hence, please delete:
>
>picMessageIntent.setPackage("com.android.mms");
>
>so your app does what the USER wants and will work on more devices.
>
>-- 
>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 *Advanced* Android Development_ Version 2.5
>Available!
>
>
>---------- 2 of 9 ----------
>From: "A. Elk" <lancaster.dambust...@gmail.com>
>Date: Mar 25 04:57PM -0700
>Url: http://groups.google.com/group/android-developers/msg/d081281f7ff8a2d6
>
>There is no "default" messaging app. Any messaging application that chooses 
>to handle MMS can respond to this intent. If the *user* chooses to make one 
>of the applications a default, then it becomes one until the user unsets it 
>as the default.
>
>You seem to have a reason for wanting "one" application to handle MMS. I 
>would like to know why. Perhaps I can provide further wisdom in this 
>regard. In general, Android promotes the idea of letting the *user* decide 
>which application to use.
>
>On Sunday, March 25, 2012 4:21:57 PM UTC-7, Farhan wrote:
>
>
>---------- 3 of 9 ----------
>From: Farhan Tariq <farhan....@gmail.com>
>Date: Mar 26 04:57AM +0500
>Url: http://groups.google.com/group/android-developers/msg/3bf2fd0af51c4bae
>
>I understand that the user should be given option to choose an application,
>and why. But it is the requirement of the client that the application
>should use the messaging application that came with the phone OR the
>default messaging application to send the mms. /And i am kind of stuck here.
>
>Also, in the chooser, applications like evernote, facebook, gmail, etc show
>up, that are capable of ACTION_SEND action. To exclude them, what should be
>done? I look into intent filters?
>
>
>
>---------- 4 of 9 ----------
>From: Mark Murphy <mmur...@commonsware.com>
>Date: Mar 25 08:08PM -0400
>Url: http://groups.google.com/group/android-developers/msg/d84b0f1a8f235276
>
>> and why. But it is the requirement of the client that the application should
>> use the messaging application that came with the phone OR the default
>> messaging application to send the mms. /And i am kind of stuck here.
>
>Tell the client that this desired feature is not supported by Android,
>because it is user-hostile, and the core Android team wants to make
>users happy.
>
>> Also, in the chooser, applications like evernote, facebook, gmail, etc show
>> up, that are capable of ACTION_SEND action. To exclude them, what should be
>> done? I look into intent filters?
>
>Use ACTION_SENDTO and an smsto: Uri instead of ACTION_SEND.
>
>-- 
>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
>
>
>---------- 5 of 9 ----------
>From: Farhan Tariq <farhan....@gmail.com>
>Date: Mar 26 05:10AM +0500
>Url: http://groups.google.com/group/android-developers/msg/aab897290e579b0a
>
>The reasoning to use 'one' app would simply be that my client wants it to
>be like that.
>
>Plus, other applications in chooser do not work properly too. Like, the
>addresses do not get populated in the chosen application. It does not give
>a choice for the "SMS" applications, but from a HUGE list if different
>applications, like facebook, gmail that do not seem to work fine with the
>data being passed with the intent.
>
>
>
>---------- 6 of 9 ----------
>From: Farhan Tariq <farhan....@gmail.com>
>Date: Mar 26 05:12AM +0500
>Url: http://groups.google.com/group/android-developers/msg/a63814c5d79b2cf6
>
>The "smsto: uri " part makes more sense to me. I'll try that. Thanks
>
>
>
>---------- 7 of 9 ----------
>From: Kristopher Micinski <krismicin...@gmail.com>
>Date: Mar 25 08:32PM -0400
>Url: http://groups.google.com/group/android-developers/msg/ae778856a0436484
>
>If that's the case, then you've written the intent wrong.
>
>However.  If you want to artificially impose the constraint of using a
>specific messenger, you can always check if the intent will succeed
>and fall back to a more generic intent otherwise, by checking to see
>if there's anyone registered to receive it.
>
>kris
>
>
>
>---------- 8 of 9 ----------
>From: Farhan Tariq <farhan....@gmail.com>
>Date: Mar 26 05:50AM +0500
>Url: http://groups.google.com/group/android-developers/msg/85eca3b013078b1
>
>>> you can always check if the intent will succeed
>>> by checking to see if there's anyone registered to receive it.
>
>How to go about these?
>
>On Mon, Mar 26, 2012 at 5:32 AM, Kristopher Micinski <krismicin...@gmail.com
>
>
>---------- 9 of 9 ----------
>From: Justin Anderson <magouyaw...@gmail.com>
>Date: Mar 25 07:02PM -0600
>Url: http://groups.google.com/group/android-developers/msg/a0151643c2047f74
>
>
>> How to go about these?
>
>http://developer.android.com/reference/android/content/pm/PackageManager.html#queryIntentActivities%28android.content.Intent,%20int%29
>
>But seriously... you need to tell your client that they shouldn't lock the
>user into trying to use one app.  I don't use the default mms app, and if
>an app EVER forced me to use the default one it would get uninstalled in
>half a second.
>
>Thanks,
>Justin Anderson
>MagouyaWare Developer
>http://sites.google.com/site/magouyaware
>
>
>
>
>
>=============================================================================
>Topic: How to set the background image in ListView
>Url: http://groups.google.com/group/android-developers/t/8bbf740d7460da8d
>=============================================================================
>
>---------- 1 of 1 ----------
>From: Justin Anderson <magouyaw...@gmail.com>
>Date: Mar 25 06:58PM -0600
>Url: http://groups.google.com/group/android-developers/msg/e11ee905b0e954f6
>
>I don't know if it would work, but you could possibly try making the
>background image for each item as a transparent drawable and then setting
>the one background image you want on the listview...
>
>Thanks,
>Justin Anderson
>MagouyaWare Developer
>http://sites.google.com/site/magouyaware
>
>
>
>
>
>=============================================================================
>Topic: httpclient post - debug the request?
>Url: http://groups.google.com/group/android-developers/t/c92274088e291ed7
>=============================================================================
>
>---------- 1 of 1 ----------
>From: Danny D <daniel.m.dev...@gmail.com>
>Date: Mar 25 05:54PM -0700
>Url: http://groups.google.com/group/android-developers/msg/e66f8d3c8fd8370f
>
>Hey Paul,
>
>I've had good luck with the TCP Monitor that's built into Eclipse.
>That seems to work really well for me.  I've been debugging from one
>instance of Eclipse with the Android debugger against another instance
>of Eclipse running my servlet code in Tomcat.
>
>I've been able to use the TCP Monitor to see the XML traffic that I'm
>sending around pretty easily.  It seems that the hardest thing about
>running this is figuring out the GUI and the difference between the
>listening ports
>
>DD
>
>
>
>=============================================================================
>Topic: Notifications when App in background!
>Url: http://groups.google.com/group/android-developers/t/1a551dd8f5f641d2
>=============================================================================
>
>---------- 1 of 1 ----------
>From: "A. Elk" <lancaster.dambust...@gmail.com>
>Date: Mar 25 05:12PM -0700
>Url: http://groups.google.com/group/android-developers/msg/d1c7c740b5356746
>
>There's an alternative way of handling this that doesn't require opening an 
>Activity.
>
>The new Android Design guide is a good reference for this.
>
>Although the existing Developer Guide conflates the two, dialog boxes and 
>notifications are fundamentally different UI experiences. It's important to 
>choose the right one, based on the UI situation at the moment.
>
>A dialog is an *alert*, which brings attention to a situation in the 
>currently-running activity. A Toast can also be an alert. In general, you 
>should reserve Toasts for informative messages that confirm a user action. 
>A dialog box is better suited to unusual conditions that the user should 
>consider before moving on to another operation. You should use both of them 
>with a bit of reserve. When possible, anticipate what the user would do 
>next, and do it. For example, don't ask users if they want to make another 
>move in a game if you already know that they can't. This is just annoying.
>
>A *notification* is a report from some part of an application that is not 
>in the foreground, which sounds like the situation the OP is encountering. 
>Notifications are displayed in the status bar. You can set the notification 
>so that the user can remove it from the status bar by clicking it or 
>sliding it. You can also set the notification so that it can only be 
>removed by an application. One of these is what the OP is looking for.
>
>You should handle C2DM broadcasts in the background, in a service. The 
>service can send a notification to the status bar. It could also send an 
>intent to an Activity, but I don't think that's necessary. Anything related 
>to communications between the network and your app should be done in the 
>background. Of course, one should *never* pop an Activity into the 
>foreground. Make the notification, then let the user decide what to do. If 
>you think about it, all of the default applications that come with Android 
>do this.
>
>BTW, handling notifications this way has nothing to do with C2DM. Anything 
>that's not of immediate interest to the user should happen in the 
>background, and any information that comes from the background should go 
>into a notification.
>
>On Friday, March 23, 2012 4:31:33 PM UTC-7, PinkFluffyBunny wrote:
>
>
>
>=============================================================================
>Topic: How to get string text from AutoCompleteTextView in android?
>Url: http://groups.google.com/group/android-developers/t/4aca4d8486b8002a
>=============================================================================
>
>---------- 1 of 1 ----------
>From: SUNIL KUMAR <geekysu...@gmail.com>
>Date: Mar 24 11:21AM -0700
>Url: http://groups.google.com/group/android-developers/msg/621ce02209d6f1ec
>
>please solve this 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+unsubscr...@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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to