Re: [android-developers] Showing Action Bar ONLY on tablet?

2012-07-14 Thread Mark Murphy
r. * If you have a "kids painting app", please put your "menu" inside the actual app's UI itself, as many games do. -- 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] Different item types in Gallery?

2012-07-14 Thread Mark Murphy
mmatically, and in both cases, it works, but after scrolling a > while, all items get the same layout. You probably forgot to override getViewTypeCount() and getItemViewType() on your Adapter. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonswa

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

2012-07-13 Thread Mark Murphy
ia custom firmware, but that is out of scope 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

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

2012-07-13 Thread Mark Murphy
ending 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 this message becau

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

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

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
for users 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

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
hrough 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 Development_

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

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

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

2012-07-12 Thread Mark Murphy
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 received this m

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

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

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

2012-07-12 Thread Mark Murphy
ec(), 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://c

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
n. I 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 to the

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
ionLevel is also 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_ Versio

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
subscribe 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://comm

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 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://twitter.com/co

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 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 Training in NYC: h

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

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

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 subscri

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

2012-07-11 Thread Mark Murphy
ot;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.c

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

2012-07-11 Thread Mark Murphy
ds="15") Step #3: Read in the layout resources yourself, using getResources().getXml(), passing in the R.layout.whatever ID of your layout resource to getXml() Personally, I wouldn't do this, at least for the sort of thing that you are describing. maxAllowedForKids is a controller

Re: [android-developers] DCOM and Android.

2012-07-11 Thread Mark Murphy
s" 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 --

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

2012-07-10 Thread Mark Murphy
gt; AppCache while the other elements do not? Because the 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: http://

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

2012-07-10 Thread Mark Murphy
p. > 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 -- M

Re: [android-developers] Stock Email Notifications

2012-07-10 Thread Mark Murphy
ock 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 Android

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

2012-07-10 Thread Mark Murphy
m 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/b

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

2012-07-10 Thread Mark Murphy
d 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-de

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

2012-07-10 Thread Mark Murphy
On Sun, Jul 8, 2012 at 11:46 AM, Joe Plante 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 (a Commons G

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

2012-07-10 Thread Mark Murphy
t;)); IETF 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/ --

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:

Re: [android-developers] Gingerbread minimum hw requirements

2012-07-10 Thread Mark Murphy
ribe 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/blo

Re: [android-developers] HDMI out

2012-07-10 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 DC: http://

Re: [android-developers] Royality to Microsoft

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

Re: [android-developers] Minimum HW Requirement

2012-07-10 Thread Mark Murphy
s@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] New preferences and PrefFragments

2012-07-10 Thread Mark Murphy
On Sat, Jul 7, 2012 at 7:08 PM, billb 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 Murphy

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

2012-07-10 Thread Mark Murphy
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.goo

Re: [android-developers] ICE CREAM SANDWICH

2012-07-10 Thread Mark Murphy
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://marakana.com/training/android/ --

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

2012-07-10 Thread Mark Murphy
u 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 g

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

2012-07-09 Thread Mark Murphy
for. I am 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 th

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

2012-07-08 Thread Mark Murphy
, 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 Commo

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 wrote: > On Sat, Jul 7, 2012 at 3:26 PM, Mark Murphy 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 that there are plenty of blog posts

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

2012-07-07 Thread Mark Murphy
ons 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 Android Training

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

2012-07-07 Thread Mark Murphy
er and getMemoryClass() 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://commo

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 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 wrote: >> > Just wondering, how are Android devices with cameras 8 MP or higher >> > supported in Java, wh

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

2012-07-07 Thread Mark Murphy
ap 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 are s

Re: [android-developers] detect home screen arrival

2012-07-07 Thread Mark Murphy
gt; 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/com

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 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://twitter.

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

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

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

2012-07-06 Thread Mark Murphy
ous choosers. To fix this, delete the and start up the activity using an explicit Intent from elsewhere in your app (e.g., startActivity(new Intent(this, ItemizedOverlay.class))). Or, tweak the to be more specific than claiming to handle all HTTP URLs. -- Mark Murphy (a Commons Guy) http://co

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

2012-07-06 Thread Mark Murphy
o: 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/common

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

2012-07-06 Thread Mark Murphy
ned 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 this message because

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

2012-07-06 Thread Mark Murphy
t 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 to Androi

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

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

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

2012-07-05 Thread Mark Murphy
o add 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] charging mats

2012-07-05 Thread Mark Murphy
ications 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] What is the function of "Intent.ACTION_PRE_BOOT_COMPLETED"?

2012-07-05 Thread Mark Murphy
od of Android belong elsewhere -- 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_ Ve

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

2012-07-05 Thread Mark Murphy
esumably. > > This is why I think 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:/

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
any 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

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 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 http://commonsware.

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
ome android 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 Co

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

2012-07-04 Thread Mark Murphy
s 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 | h

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

2012-07-04 Thread Mark Murphy
selection = FileSchema.Columns.DATA + " LIKE \"" + > folderPath + "/%\""; > > int numberOfDeleted = SqliteWrapper.delete(getContext(), > getContentResolver(), FileSchema.getContentUri("external"), selection, > null); > >

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

2012-07-03 Thread Mark Murphy
ng 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 are subscribed to

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

2012-07-03 Thread Mark Murphy
nually 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 this mess

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

2012-07-03 Thread Mark Murphy
of us find out, 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://twitt

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

2012-07-03 Thread Mark Murphy
ced 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 this mess

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

2012-07-03 Thread Mark Murphy
ed? IOW, how 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 _

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

2012-07-03 Thread Mark Murphy
; 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 _The Busy Coder's Guide to Android Development_

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

2012-07-03 Thread Mark Murphy
es where you are explicitly supplying a contentIntent, 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/com

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.

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

2012-07-03 Thread Mark Murphy
underlying implementation is limited to 1M > that the query is done in batches 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://common

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

2012-07-03 Thread Mark Murphy
tes). Do you 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://

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

2012-07-03 Thread Mark Murphy
r this undocumented and unsupported 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 a

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

2012-07-03 Thread Mark Murphy
om 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? -- M

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

2012-07-03 Thread Mark Murphy
NVISIBLE) > 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

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

2012-07-03 Thread Mark Murphy
ssuming 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) h

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

2012-07-03 Thread Mark Murphy
ell-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://twitter.com

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 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 (a Commons

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 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 Com

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

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

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

2012-07-01 Thread Mark Murphy
tions on http://developer.android.com/sdk/installing/index.html Step #4: Return here and ask more specific questions here if needed > I am also confused on how to get jelly bean on to my phone because I am a > developer. You wait for an over-the-air (OTA) update, reportedly due out in July.

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

2012-07-01 Thread Mark Murphy
. 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://github.com/

Re: [android-developers] GCM error: unavailable

2012-07-01 Thread Mark Murphy
o 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] Noob question: where to go for new development

2012-07-01 Thread Mark Murphy
her 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://marakana.com/train

Re: [android-developers] Help Required

2012-07-01 Thread Mark Murphy
gt; 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.co

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 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://commonsware.com

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

2012-07-01 Thread Mark Murphy
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] 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 wrote: > How can I create an app that print in android? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/b

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

2012-07-01 Thread Mark Murphy
tContentView(R.layout.activitymain); > > ActionBar actionBar = getActionBar(); > actionBar.show(); > return; > } > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to

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

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

Re: [android-developers] Re: Renderscript Deprecated

2012-07-01 Thread Mark Murphy
n notice) and instead focus 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/commo

Re: [android-developers] Re: Renderscript Deprecated

2012-06-30 Thread Mark Murphy
as "experimental". 2. If half a subsystem is now deprecated, why is that announcement buried in release notes, rather than being called out a bit more visibly? At the end of the day, Google can do whatever it wants to. Personally, I am just trying to figure out where the communications bre

Re: [android-developers] Battery usage per app

2012-06-30 Thread Mark Murphy
veloper.qualcomm.com/mobile-development/development-devices/trepn-profiler), > but then as u mentioned it needs to be used with their expensive MDP > devices. That's odd. Trepn Profiler is built into the MDP firmware -- it isn't something you run on the development desktop or something. Bu

Re: [android-developers] Re: about the number of processes in Android app

2012-06-29 Thread Mark Murphy
; other processes. weird to me. The kernel system calls are off-topic for this list. Please visit the Community tab on http://source.android.com. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy

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

2012-06-29 Thread Mark Murphy
On Fri, Jun 29, 2012 at 1:58 PM, rayk wrote: > I am puttting this out there again.  I have not been able to take my app off > the chooser lis. Get rid of the that is causing it to be an option in the chooser. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/comm

Re: [android-developers] Remote database for users' game data - Best Practices

2012-06-29 Thread Mark Murphy
d represent a tiny loss of revenue. Personally, I think you have already spent more time worrying about it than it is worth, but that's just me. Or, as Kristopher pointed out, if you can detect this condition during game play, nuke 'em from orbit. -- Mark Murphy (a Commons Guy) http://

Re: [android-developers] about the number of processes in Android app

2012-06-29 Thread Mark Murphy
On Fri, Jun 29, 2012 at 12:57 PM, M wrote: > Is this case true that one single Android app has multiple processes Not normally. > and each process has multiple threads? Yes. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.co

Re: [android-developers] Remote database for users' game data - Best Practices

2012-06-29 Thread Mark Murphy
d in-app purchasing, I would hope there is some sort of verification mechanism you can use for that which is part of their system. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder

Re: [android-developers] Re: about the communication channels between android apps

2012-06-29 Thread Mark Murphy
e http://source.android.com to learn about the Android 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 t

Re: [android-developers] Re: Need help - hidden GPS monitoring app

2012-06-29 Thread Mark Murphy
e > service start-up settings? They can simply uninstall your app. The only way to stop this would be custom firmware. > And of course: can the service open the 3G/GPRS connection at any time > without generating additional dialogs? Yes, for some definitions of "open the 3G/GPRS connection

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