Re: [android-developers] Keeping it fresh, back to service...

2012-07-14 Thread Mark Murphy
() in your service, as you have an infinite recursion for anything other than VOLUME_DOWN, since you call your own dispatchKeyEventTake2() again in the default case. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com

Re: [android-developers] Keeping it fresh, back to service...

2012-07-14 Thread Mark Murphy
and the OS. -- 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.8 Available! -- You received this message because you are subscribed to the Google

Re: [android-developers] Broadcast receiver not working in ICS

2012-07-13 Thread Mark Murphy
-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training

Re: [android-developers] Broadcast receiver not working in ICS

2012-07-13 Thread Mark Murphy
is for the one sending the broadcast, not for the one receiving it. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- You received

Re: [android-developers] Re: Fullscreen Magnifire for Android4.0 or higher

2012-07-13 Thread Mark Murphy
for this list (see http://source.android.com). It might be possible on a rooted device. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- You

Re: [android-developers] copying DB file from assets to data/data/package throwing exception

2012-07-12 Thread Mark Murphy
options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android

Re: [android-developers] GCM client can't receive any push message

2012-07-12 Thread Mark Murphy
On Thu, Jul 12, 2012 at 3:20 AM, feitian testpus...@gmail.com wrote: who can help me? Perhaps the people on the android-gcm Google Group. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android

Re: [android-developers] Re: Tools for porting .NET code

2012-07-12 Thread Mark Murphy
On Thu, Jul 12, 2012 at 4:21 AM, MMM monikamit...@gmail.com wrote: I tried but i didn't find it except mono for android. That is because that is probably the only option. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http

Re: [android-developers] New Android Developers site: Where is the reference of system apps and supported locales for each release?

2012-07-12 Thread Mark Murphy
to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy

Re: [android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-12 Thread Mark Murphy
undocumented (see http://code.google.com/p/android/issues/detail?id=34785). -- 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.8 Available! -- You

Re: [android-developers] New Android Developers site: Where is the reference of system apps and supported locales for each release?

2012-07-12 Thread Mark Murphy
have no idea. -- 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.8 Available! -- You received this message because you are subscribed

Re: [android-developers] READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-12 Thread Mark Murphy
Runtime#exec(), and I don't see a command-line switch on logcat to limit output to just your own process' lines. (BTW, count me as one of the fans of this decision, despite the very loud grumblings I expect you will receive from various quarters) Thanks! -- Mark Murphy (a Commons Guy) http

Re: [android-developers] AppCache not working in WebView with loadDataWithBaseURL()

2012-07-12 Thread Mark Murphy
in the literal HTML. Even if there was a protocol difference, I can't understand why that would make a difference in the internal AppCache-fetching logic. On Tuesday, July 10, 2012 3:22:47 PM UTC-7, Mark Murphy (a Commons Guy) wrote: On Tue, Jul 10, 2012 at 1:19 PM, Andy Erickson wrote

Re: [android-developers] android.intent.action.ACTION_SHUTDOWN is ordered?

2012-07-12 Thread Mark Murphy
it is not documented as being ordered, that behavior is subject to change. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- You

Re: [android-developers] Android library as a single jar file

2012-07-12 Thread Mark Murphy
indicated that they are working on this. -- 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.8 Available! -- You received this message because you

Re: [android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-12 Thread Mark Murphy
, perhaps through Settings, to get to the same behavior: http://code.google.com/p/android/issues/detail?id=34815 -- 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

Re: [android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-12 Thread Mark Murphy
to accomplish. -- 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.8 Available! -- You received this message because you are subscribed to the Google

Re: [android-developers] DCOM and Android.

2012-07-11 Thread Mark Murphy
@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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http

Re: [android-developers] How to add metadata to EditText in the res\layout\main.xml file ?

2012-07-11 Thread Mark Murphy
for the sort of thing that you are describing. maxAllowedForKids is a controller concept IMHO; EditText should not care about that. -- 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

Re: [android-developers] Why the macro LOGxxx be changed to ALOGxxx ?

2012-07-11 Thread Mark Murphy
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 -- Mark Murphy (a Commons Guy) http

Re: [android-developers] app autostart on first device reboot after install (for Android 3.0 and higher)

2012-07-11 Thread Mark Murphy
one of your components. -- 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.8 Available! -- You received this message because you are subscribed

Re: [android-developers] Building ApiDemos with android JB 4.1 SDK?

2012-07-10 Thread Mark Murphy
://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in DC: http://marakana.com/training/android/ -- You received this message because you

Re: [android-developers] ICE CREAM SANDWICH

2012-07-10 Thread Mark Murphy
://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in DC: http://marakana.com/training/android/ -- You received this message because

Re: [android-developers] Re: GCM(Google Cloud Messaging) Implementation Error

2012-07-10 Thread Mark Murphy
at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in DC: http://marakana.com/training/android/ -- You received this message

Re: [android-developers] New preferences and PrefFragments

2012-07-10 Thread Mark Murphy
On Sat, Jul 7, 2012 at 7:08 PM, billb b...@briskynet.com wrote: Question: If there's only one fragment is there a way to skip showing the header and then just show the contents of the fragment? Not that I am aware of, other than by bypassing the headers and using the original API. -- Mark

Re: [android-developers] Minimum HW Requirement

2012-07-10 Thread Mark Murphy
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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http

Re: [android-developers] Karbonn Smart Tablet1

2012-07-10 Thread Mark Murphy
this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in DC: http://marakana.com/training/android/ -- You received

Re: [android-developers] Royality to Microsoft

2012-07-10 Thread Mark Murphy
+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in DC: http

Re: [android-developers] HDMI out

2012-07-10 Thread Mark Murphy
-- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in DC: http://marakana.com/training/android/ -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Gingerbread minimum hw requirements

2012-07-10 Thread Mark Murphy
-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training

Re: [android-developers] AppCache not working in WebView with loadDataWithBaseURL()

2012-07-10 Thread Mark Murphy
is there for is to resolve relative URL references AFAIK. I will be rather surprised if what you are trying to do is supported. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in DC: http

Re: [android-developers] SMS intent ACTION_VIEW w/ multiple numbers not working on jelly bean (4.1)?

2012-07-10 Thread Mark Murphy
5724 says the separator should be a comma. http://www.ietf.org/rfc/rfc5724.txt -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in DC: http://marakana.com/training/android/ -- You

Re: [android-developers] Android logcat / strings security

2012-07-10 Thread Mark Murphy
On Sun, Jul 8, 2012 at 11:46 AM, Joe Plante joseph.ct...@gmail.com wrote: What are good ways to keep the Logging and/or strings secure? Don't log in production. Wrap your log calls in if (BuildConfig.DEBUG), and ProGuard should strip them out as dead code on a release build. -- Mark Murphy

Re: [android-developers] Quit the app from within the Webview

2012-07-10 Thread Mark Murphy
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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http

Re: [android-developers] emulator problem whit 1920x1200 resolution

2012-07-10 Thread Mark Murphy
+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http

Re: [android-developers] Stock Email Notifications

2012-07-10 Thread Mark Murphy
this for the standard stock email App in Android. There are no documented and supported broadcasts for the AOSP email app, any more than there are for the Gmail app. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy

Re: [android-developers] Will enabling the new GCM service affect an existing published app with C2DM

2012-07-10 Thread Mark Murphy
-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training

Re: [android-developers] AppCache not working in WebView with loadDataWithBaseURL()

2012-07-10 Thread Mark Murphy
the AppCache while the other elements do not? Because the iframe was downloaded over HTTP(S), and the other elements were not. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC

Re: [android-developers] Google I/O 2012 video session on Game development

2012-07-09 Thread Mark Murphy
hoping that these are merely delayed, not lost. -- 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.8 Available! -- You received this message

Re: [android-developers] detect home screen arrival

2012-07-08 Thread Mark Murphy
On Sun, Jul 8, 2012 at 5:57 AM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: On Sat, Jul 7, 2012 at 3:26 PM, Mark Murphy mmur...@commonsware.com wrote: Write your own home screen. Alright Mark, but how to do that? Not only is there a Home sample in your SDK, but I suspect

Re: [android-developers] API project ID vs. project number

2012-07-08 Thread Mark Murphy
email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com

Re: [android-developers] detect home screen arrival

2012-07-07 Thread Mark Murphy
at http://groups.google.com/group/android-developers?hl=en -- 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.7 Available! -- You received

Re: [android-developers] how are Android cameras 8 MP and up supported in Java?

2012-07-07 Thread Mark Murphy
sizes are generally larger for such devices. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in DC: http://marakana.com/training/android/ -- You received this message because you

Re: [android-developers] how are Android cameras 8 MP and up supported in Java?

2012-07-07 Thread Mark Murphy
On Sat, Jul 7, 2012 at 3:22 PM, Jim Graham spooky1...@gmail.com wrote: On Sat, Jul 07, 2012 at 03:15:38PM -0400, Mark Murphy wrote: On Sat, Jul 7, 2012 at 3:13 PM, Jim Graham spooky1...@gmail.com wrote: Just wondering, how are Android devices with cameras 8 MP or higher supported in Java

Re: [android-developers] how are Android cameras 8 MP and up supported in Java?

2012-07-07 Thread Mark Murphy
() to determine how big your heap size is. Step #2: Ask the Camera getSupportedPictureSizes(). Step #3: Choose a picture size based upon the memory class and needs of your app. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http

Re: [android-developers] Android app for office (customer point of view)

2012-07-07 Thread Mark Murphy
is for developing applications with the Android SDK. Random musings belong on your own blog, your own social network account, or the android-discuss Google Group. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy

Re: [android-developers] How to use offline map in my Application.

2012-07-06 Thread Mark Murphy
for that library and ask that library's support group further questions specific to that library and provider If you really are asking how to use offline Google Maps in my Application, that is not possible with today's edition of the Google Maps add-on for Android. -- Mark Murphy (a Commons Guy) http

Re: [android-developers] Enable and disable GPS programatcally

2012-07-06 Thread Mark Murphy
not enable it, but instead pop a dialog notifying the user, and supplying a button to go to the right Settings page to make the fix. -- 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

Re: [android-developers] How to get default emergency dialer

2012-07-06 Thread Mark Murphy
on the device or are signed with the signing key of the firmware. -- 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.7 Available! -- You received

Re: : [android-developers] Re: Color Picker Preference

2012-07-06 Thread Mark Murphy
: https://github.com/commonsguy/cwac-colormixer I did not go with the color wheel, as I found that to be infuriating to use with a finger. I went with the three-SeekBar approach for mixing RGB values, with a color swatch. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com

Re: [android-developers] Re: prevent your app from showing in defautl app selection

2012-07-06 Thread Mark Murphy
in your app (e.g., startActivity(new Intent(this, ItemizedOverlay.class))). Or, tweak the intent-filter to be more specific than claiming to handle all HTTP URLs. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com

Re: [android-developers] Re: Android 4.1 Jelly Bean GIF Images Not Showing?

2012-07-06 Thread Mark Murphy
://b.android.com, with a sample project demonstrating the issue. -- 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.7 Available! -- You received this message

Re: [android-developers] Noob question: where to go for new development

2012-07-06 Thread Mark Murphy
On Fri, Jul 6, 2012 at 5:21 PM, Daniel Struve dstr...@gmail.com wrote: thanks for the reply. Man, wish there was a faster way. You could try to get a job at Google. :-) -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http

Re: [android-developers] TransactionTooLargeException exception calling queryIntentActivities()

2012-07-05 Thread Mark Murphy
Google needs to do the underlying work in batches or otherwise overcome the 1M limitation. This is happening on regular user devices. File an enhancement request at http://b.android.com and hope for the best. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

Re: [android-developers] What is the function of Intent.ACTION_PRE_BOOT_COMPLETED?

2012-07-05 Thread Mark Murphy
-- this list is for developing applications using the Android SDK. -- 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.7 Available! -- You

Re: [android-developers] charging mats

2012-07-05 Thread Mark Murphy
applications with the Android SDK. -- 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.7 Available! -- You received this message because you

Re: [android-developers] Re: NotificationManager, get methods

2012-07-05 Thread Mark Murphy
such a method in a contribution to the AOSP, if you feel sufficiently strongly about it. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in DC: http://marakana.com/training/android

Re: [android-developers] Abnormal behavior of media scanner when I renamed a folder which have some media files.

2012-07-04 Thread Mark Murphy
; break DELETE_FOLDER; } return isSuccessful; } On Wednesday, July 4, 2012 1:58:22 AM UTC+9, Mark Murphy (a Commons Guy) wrote: How did you do the re-scanning? On Tue, Jul 3, 2012 at 12:53 PM, Hyuck hyuckmin.k...@gmail.com wrote: Hi All, I

Re: [android-developers] Re: need help in compiling source code

2012-07-04 Thread Mark Murphy
://groups.google.com/group/android-developers?hl=en -- 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

Re: [android-developers] How to get handle for cut copy paste menus from the system genereted action bar in android

2012-07-04 Thread Mark Murphy
provided callbacks for all of them.. Fortunately, this is not possible, for obvious security and privacy reasons. You are welcome to make your own Android mod and install that custom firmware on your own Android device that has this capability, if you so choose. -- Mark Murphy (a Commons Guy) http

Re: [android-developers] How to get handle for cut copy paste menus from the system genereted action bar in android

2012-07-04 Thread Mark Murphy
On Wed, Jul 4, 2012 at 10:09 AM, Bunty syed itsmeatfo...@gmail.com wrote: is there any way to remove or block the system generated Menus For your own app, perhaps, but certainly not for the whole system. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

Re: [android-developers] How to get handle for cut copy paste menus from the system genereted action bar in android

2012-07-04 Thread Mark Murphy
callback which is called on invoking tat menu It might be a context menu (see onCreateContextMenu()), but on some devices, the device manufacturer has replaced the context menu with their own thing. It is not possible for you block cut/copy/paste across all devices, even for your own app. -- Mark

Re: [android-developers] Re: Problem optimizing views for having a fast scroll

2012-07-03 Thread Mark Murphy
comfortable that for any well-written custom View subclass, the ViewHolder pattern can apply. There should be nothing magic about your particular subclass of View compared to any other. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http

Re: [android-developers] Re: Problem optimizing views for having a fast scroll

2012-07-03 Thread Mark Murphy
, assuming your lines of dashes are supposed to be the ListView row divider lines (and therefore are not part of your actual row). Use SpannableStringBuilder, along with ForegroundColorSpan and StyleSpan, to handle the color changes and weight (bold vs. not) changes. -- Mark Murphy (a Commons Guy

Re: [android-developers] Re: Problem optimizing views for having a fast scroll

2012-07-03 Thread Mark Murphy
setVisibility(INVISIBLE) on each one. Or, conceivably, use a URLSpan for the clickable ones. -- 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.7

Re: [android-developers] HELP! Google removed my app with millions of users!

2012-07-03 Thread Mark Murphy
the play store. The app has been around for over 2 years now and has around 1.5 million active users, and nearly 5 million downloads. It's been in the top 5 of its category for well over a year. It has over 65,000 ratings with an average of 4.6/5. What is the app? -- Mark Murphy (a Commons Guy

Re: [android-developers] Re: java.lang.IllegalArgumentException: contentIntent required

2012-07-03 Thread Mark Murphy
action. So, first, create a test case that is: 1. Reproducible (otherwise, there's little anyone can do), and 2. Does not use things that you should not be using, like TTS_SETTINGS, that may cause your test case to be ignored Then, and only then, file an issue on http://b.android.com. -- Mark

Re: [android-developers] Re: java.lang.IllegalArgumentException: contentIntent required

2012-07-03 Thread Mark Murphy
see a pattern in OS versions in the devices that are hitting this? I would recommend using an Intent that points to one of your activities -- that avoids the TTS_SETTINGS problem and avoids the null contentIntent. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com

Re: [android-developers] TransactionTooLargeException exception calling queryIntentActivities()

2012-07-03 Thread Mark Murphy
and hidden from the developer or that an API exists to do it in batches myself. Yeah, I don't know how you would do page at a time type stuff here. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy

Re: [android-developers] Re: java.lang.IllegalArgumentException: contentIntent required

2012-07-03 Thread Mark Murphy
. There appear to be two cases which call the postNotification() where that exception is raised, and only one of those is for a startForeground() scenario, if I am reading the source properly. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog

Re: [android-developers] Re: java.lang.IllegalArgumentException: contentIntent required

2012-07-03 Thread Mark Murphy
, it should no longer be null. Are you doing anything to the Notification object after you call notify()? -- 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_

Re: [android-developers] Abnormal behavior of media scanner when I renamed a folder which have some media files.

2012-07-03 Thread Mark Murphy
-developers?hl=en -- 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.7 Available! -- You received this message because you are subscribed

Re: [android-developers] Re: java.lang.IllegalArgumentException: contentIntent required

2012-07-03 Thread Mark Murphy
short might a few moments be? I'm just brainstorming possible things that you are doing differently than the norm. -- 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

Re: [android-developers] Re: java.lang.IllegalArgumentException: contentIntent required

2012-07-03 Thread Mark Murphy
be reproduced tend to be problematic in all software development. -- 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.7 Available! -- You received

Re: [android-developers] Re: NotificationManager, get methods

2012-07-03 Thread Mark Murphy
, when future releases are released. If not, maybe somebody know how to get Intent object out of PendingIntent? There is no API for that, sorry. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The

Re: [android-developers] How much time take for Google certification for apps

2012-07-03 Thread Mark Murphy
, who manually review each application. Google does not. -- 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.7 Available! -- You received

Re: [android-developers] Re: Getting action bar height while minSdkVersion is 7

2012-07-03 Thread Mark Murphy
that is receiving the touch event. -- 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.7 Available! -- You received this message because you

Re: [android-developers] Best books for learning Android

2012-07-02 Thread Mark Murphy
On Sun, Jul 1, 2012 at 10:31 PM, Kristopher Micinski krismicin...@gmail.com wrote: Buy a subscription to Mark Murphy's books. Hands down, the fastest and easiest way to both learn the platform and keep up to date on new developments. Thanks for the kind words! -- Mark Murphy (a Commons Guy

Re: [android-developers] what needs to be change to enable call recording on android platform?

2012-07-02 Thread Mark Murphy
On Mon, Jul 2, 2012 at 10:49 AM, Hitendrasinh Gohil hitendrasin...@gmail.com wrote: hey mark murphy, can u pls guide me on this? As I have written, perhaps 100 times between here and StackOverflow, call recording is not supported, except perhaps in speakerphone mode. -- Mark Murphy

Re: [android-developers] Re: Renderscript Deprecated

2012-07-01 Thread Mark Murphy
on building out Renderscript's GPU-compute support and developing Renderscript further especially for applications such as image processing. Thanks for the clarification! -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http

Re: [android-developers] Dev Phone - Galaxy Nexus

2012-07-01 Thread Mark Murphy
that legitimately has the Play Store on it is a dev phone. What do you think about the news as well? Would it be affect the sale of Android Phone? This list is for developing applications with the Android SDK -- your questions are off-topic for this list. -- Mark Murphy (a Commons Guy) http

Re: [android-developers] ActionBar and forcing items into the overflow menu

2012-07-01 Thread Mark Murphy
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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http

Re: [android-developers] How can I create an app that print in android?

2012-07-01 Thread Mark Murphy
Step #1: Find some third-party printing API Step #2: Try using it On Fri, Jun 29, 2012 at 7:30 PM, Yuri Feitosa Duarte yuri...@gmail.com wrote: How can I create an app that print in android? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http

Re: [android-developers] Maximum device registration using same Product key

2012-07-01 Thread Mark Murphy
/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- You received this message because you are subscribed

Re: [android-developers] SDK Rev. 20 Breaks Emulation

2012-07-01 Thread Mark Murphy
On Sat, Jun 30, 2012 at 7:49 PM, Terry Cox terrence...@gmail.com wrote: All 4.0/4.1 emulation using anything other than the default WVGA800 is now broken. WXGA, for example, works fine here. The problem, whatever it is, is with your environment. -- Mark Murphy (a Commons Guy) http

Re: [android-developers] Help Required

2012-07-01 Thread Mark Murphy
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 -- Mark Murphy

Re: [android-developers] Noob question: where to go for new development

2012-07-01 Thread Mark Murphy
are likely to be rather expensive (developer editions for 2012 I|O attendees are 1500 USD IIRC). Step #2: Ask again then. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http

Re: [android-developers] GCM error: unavailable

2012-07-01 Thread Mark Murphy
...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com

Re: [android-developers] application launching process...?

2012-07-01 Thread Mark Murphy
or process for this. Can anyone suggest me any websites or docs to know these things. http://source.android.com is the home of the Android open source project and for all questions pertaining to the behavior of the operating system itself. -- Mark Murphy (a Commons Guy) http://commonsware.com | http

Re: [android-developers] How test Jelly Bean on my galaxy nexus (i am a paid developer)

2012-07-01 Thread Mark Murphy
. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: How to get jelly bean if i am an android developer

2012-07-01 Thread Mark Murphy
released as open source yet; any current builds of Jelly Bean have been copied -- without a license -- from an existing device. The conventional term for those distributing and consuming such software is pirates. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http

Re: [android-developers] Battery usage per app

2012-06-30 Thread Mark Murphy
. -- 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.7 Available! -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: Renderscript Deprecated

2012-06-30 Thread Mark Murphy
! -- 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.7 Available! -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] SQLite custom file

2012-06-29 Thread Mark Murphy
; assets are stored in the APK file in a compressed format. -- 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.7 Available! -- You received

Re: [android-developers] Battery usage per app

2012-06-29 Thread Mark Murphy
level breakdown of each app. It is also only accurate for the Nexus One, last I checked. A better solution is the Qualcomm MDP and their Trepn software, but this is rather expensive. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog

Re: [android-developers] Is there any way of providing a prebuilt database within an app?

2012-06-29 Thread Mark Murphy
to package a SQLite database in assets/ and unpack it automatically on first run: https://github.com/jgilfelt/android-sqlite-asset-helper -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy

Re: [android-developers] Is it possible to see the display of my android device in a PC?

2012-06-29 Thread Mark Murphy
. If not, and your device supports HDMI out, buy an HDMI input card for your PC. -- 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.7 Available

Re: [android-developers] Unlocking bootloader Xperia Ray under Linux, bootloader unlocking allowed: yes

2012-06-29 Thread Mark Murphy
/group/android-developers?hl=en -- 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.7 Available! -- You received this message because you

Re: [android-developers] Is it possible implement an Android spinner with out using the XML layout file ?

2012-06-29 Thread Mark Murphy
. Also note that ArrayAdapter does work without a layout resource file, but you have to override getView(), not chain to the superclass, and handle row creation and recycling yourself. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog

Re: [android-developers] Re: How can I open my app with power button?

2012-06-29 Thread Mark Murphy
to power button presses. Instructions for building and modifying your own firmware can be found on http://source.android.com, along with discussion groups relevant to that topic. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http

<    2   3   4   5   6   7   8   9   10   11   >