Re: [android-developers] Simple App Has Stopped Error

2012-06-10 Thread Mark Murphy
or Ant via the USB cable, then you can view LogCat by the same means. -- 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

Re: [android-developers] Printing PDF in Android

2012-06-08 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

Re: [android-developers]

2012-06-08 Thread Mark Murphy
a third-party solution, most likely an expensive commercial one. -- 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

Re: [android-developers]

2012-06-08 Thread Mark Murphy
On Fri, Jun 8, 2012 at 9:35 AM, Vijay Krishnan vijay.vijay...@gmail.com wrote: what about tesseract? http://en.wikipedia.org/wiki/Tesseract -- 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: How to retrieve Intents used by installed apps on the phone

2012-06-07 Thread Mark Murphy
the Intent without decompiling the Android app. Please use another minimum of 50 words to explain what you mean by this.  3) I just want the major Intents to invokes the deputy apps , e.g., Email, Browser, Camera,  SMS What is a deputy app? What is a major Intent? -- Mark Murphy (a Commons

Re: [android-developers] Manifest settings to distinct phones from tablets

2012-06-06 Thread Mark Murphy
://developer.android.com/guide/appendix/install-location.html) for such apps. -- 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] Problems with Linkify in Android 4

2012-06-05 Thread Mark Murphy
in android:mimeType=... to the one data element, replacing ... with the appropriate value for whatever this activity handles. For example, if you are linking to HTML pages, use android:mimeType=text/html. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http

Re: [android-developers] Problems with Linkify in Android 4

2012-06-05 Thread Mark Murphy
normally get things like Open / Open in new tab / Copy link? I am not aware that their changes affect WebView. If I find out otherwise, I'll shout. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The

Re: [android-developers] Showing Overflow menu button on ICS.

2012-06-05 Thread Mark Murphy
that behavior. What remains to be seen is how many Android devices native to ICS or higher wind up with MENU keys versus the navigation soft keys in the system bar. If true, I will tell Jennifer not to spend anymore time on this. And be sure to tell Jennifer that we all said hi!. :-) -- Mark Murphy

Re: [android-developers] How to retrieve Intents used by installed apps on the phone

2012-06-05 Thread Mark Murphy
On Tue, Jun 5, 2012 at 5:23 PM, michael xuetao@gmail.com wrote: Is there any way to retrieve the Intents used by intalled apps on the phone? No, sorry. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com

Re: [android-developers] How to retrieve Intents used by installed apps on the phone

2012-06-05 Thread Mark Murphy
structures (send an Intent to invoke Camera app or Email app or Text Message app?). PackageManager can find out who can *respond* to certain Intent structures. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com

Re: [android-developers] Re: android bindservice rotation

2012-06-04 Thread Mark Murphy
bound service on rotation? It can be, which is why I mentioned it. https://github.com/commonsguy/cw-advandroid/tree/master/Honeycomb/WeatherFragment -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy

Re: [android-developers] Google Nexus loses battery while powered off

2012-06-04 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...At Your Office: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] SipWakeLock

2012-06-04 Thread Mark Murphy
On Fri, Jun 1, 2012 at 7:19 AM, Jesús Gumiel jesus.gum...@gmail.com wrote: Hi everybody. Anybody know what is the reason to use the SipWakeLock?. There is no SipWakeLock in the Android SDK. There is one in the firmware, but that is out of scope for this list. -- Mark Murphy (a Commons Guy

Re: [android-developers] problems implementing fragments in my navigation

2012-06-04 Thread Mark Murphy
. the second problem i Have with fragments is: i need to show a frame by frame animation [works in an activity], but when I haven't figured out yet how to place it on my fragment? Apply it to the background of the ViewGroup that is the content of the fragment. -- Mark Murphy (a Commons Guy) http

Re: [android-developers] Re: android bindservice rotation

2012-06-04 Thread Mark Murphy
: unbindService()); } That needs to be getApplicationContext().unbindService(serviceConnection). If you bind using getApplicationContext(), you unbind using getApplicationContext(). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http

Re: [android-developers] Re: android bindservice rotation

2012-06-04 Thread Mark Murphy
it? On 6月4日, 下午9時20分, Mark Murphy mmur...@commonsware.com wrote: On Mon, Jun 4, 2012 at 9:17 AM, Greenhand cooperateonl...@gmail.com wrote: In onDestroy(), I checked whether theActivityis finishing and bound. If so, I unbindService(). if(isFinishing() serviceBound){    unbindService

Re: [android-developers] Re: android bindservice rotation

2012-06-04 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] Re: android bindservice rotation

2012-06-04 Thread Mark Murphy
the user more direct control over the start/stop of the service itself, with the binding for other communication. -- 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

Re: [android-developers] Re: Problem in calling sms application in android 3.0 and above

2012-06-04 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 Android Training in DC: http://marakana.com/training

Re: [android-developers] Re: How to monitor UI operation in android from pc?

2012-06-04 Thread Mark Murphy
operation with the above three conditions. No, for obvious security and privacy reasons. -- 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] Quick Question About the Creation And Destruction of Activities.

2012-06-04 Thread Mark Murphy
with SomeOtherActivity finishes? Your original activity is started and resumed, then goes back into the foreground. -- 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] problem running Monkeyrunner script in ubuntu

2012-06-04 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 Android Training in DC: http://marakana.com/training/android/ -- You received this message because you are subscribed to the Google

Re: [android-developers] Sending Custom Broadcast received on GB but not on HC or ICS

2012-06-04 Thread Mark Murphy
://stackoverflow.com/a/9955247/115145 -- 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] Problems with Linkify in Android 4

2012-06-04 Thread Mark Murphy
of litigation: http://www.theverge.com/2012/5/16/3024889/htc-one-x-evo-4g-lte-custom-android-build-apple-patent-linkify I presume that they just neutered Linkify to ensure compliance across the board. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http

Re: [android-developers] Getting GPS values without LocationManager's onLocationChanged

2012-06-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 Android Training...At Your Office: http://commonsware.com/training -- You received this message because you are subscribed to the Google

Re: [android-developers] android bindservice rotation

2012-06-03 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...At Your Office: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Ethernet cables?

2012-06-03 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

Re: [android-developers] Adding menus

2012-06-03 Thread Mark Murphy
On Sun, Jun 3, 2012 at 3:25 PM, Mohamed Essam memai...@gmail.com wrote: How can i add menus to built in android app like contacts and sms messages You can't, other than by building your own contacts and SMS client applications. -- Mark Murphy (a Commons Guy) http://commonsware.com | http

Re: [android-developers] Solving Missing R

2012-06-02 Thread Mark Murphy
cannot find in any of the various error-reporting places in Eclipse. -- 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] how to get the name of external card

2012-06-01 Thread Mark Murphy
. If that is not what Environment.getExternalStorageDirectory() returns, then there is nothing in the Android SDK that will return that path. Whether or not your application can use that path, what goes on at that path (e.g., card ejected), etc. is beyond the SDK. -- Mark Murphy (a Commons Guy) http

Re: [android-developers] stacksz

2012-06-01 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] How is this done? App uses fortran and executable?

2012-06-01 Thread Mark Murphy
application? With some difficulty, and that's not even including dealing with ARM vs. x86 vs. MIPS.  Is that what they are doing? I hope they are not doing B. However, you might consider asking them, via the send message link on that Kickstarter page. -- Mark Murphy (a Commons Guy) http

Re: [android-developers] HTML content on AppWidget

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

Re: [android-developers] Check the SMS before send it

2012-06-01 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 _The Busy Coder's Guide to Android Development_ Version 3.7 Available! -- You received this message

Re: [android-developers] Application's resource files' protection

2012-05-31 Thread Mark Murphy
do something like capture the framebuffer, or just grab the raw bytes from the vm (that would, of course, require a rooted device..). Or decompile the APK, find the encryption algorithm and key, and decrypt the images. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com

Re: [android-developers] Menu To Action Bar transition

2012-05-31 Thread Mark Murphy
for 2.2 and 2.3 whatsoever) You will not get an action bar on Android 1.x/2.x devices by setting targetSdkVersion to any value. If you wish to have an action bar on Android 2.1+ devices, consider ActionBarSherlock. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

Re: [android-developers] Menu To Action Bar transition

2012-05-31 Thread Mark Murphy
+ an  action bar will pop up. Correct. Now if this is the case what code changes do i need to make. None, probably, other than setting your targetSdkVersion to 11 or higher, which you already have done. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http

Re: [android-developers] Application's resource files' protection

2012-05-30 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 to turn off the screen while the service is running in background

2012-05-30 Thread Mark Murphy
anyone please help me to find a solution for this. Leave the screen alone, and it will turn off when the user decided that it should turn off. -- 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 to braoadcast keyevent that can be detect by all running application automatically

2012-05-29 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 NYC: http://marakana.com/training/android/ -- You received this message because you

Re: [android-developers] Photo not saving to SD card.

2012-05-29 Thread Mark Murphy
just taken a photo of. It's there but isn't indexed: http://commonsware.com/blog/2011/08/31/mtp-external-storage.html Also, never hardwire /sdcard. Always use Environment.getExternalStorageDirectory() (or, for photos, better yet, Environment.getExternalPublicFilesDirectory()). -- Mark Murphy

Re: [android-developers] multiple_choice with multi text view

2012-05-29 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/ -- You

Re: [android-developers] Re: launching an app

2012-05-29 Thread Mark Murphy
, which is how to *launch* an app, not how to create something that itself can be launched. -- 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

Re: [android-developers] Can I have a service run as a seperate process?

2012-05-29 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] multiple_choice with multi text view

2012-05-29 Thread Mark Murphy
text under each other Use a vertical LinearLayout. -- 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

Re: [android-developers] Re: noob developer, application keeps restarting

2012-05-29 Thread Mark Murphy
the dead the next time the app starts up? By definition, to use exit() properly, you have to detect the conditions where exit() is needed. And, if you can detect when exit() is needed, then you do not need to call exit() -- you can reset your app to a well-known good state. -- Mark Murphy (a Commons Guy

Re: [android-developers] what if package is uninstalled while another package holds its Context?

2012-05-29 Thread Mark Murphy
moments later, and that requests from a package context will succeed in the interim. If you acquired the package context *after* the uninstall... please contact me off-list. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http

Re: [android-developers] what if package is uninstalled while another package holds its Context?

2012-05-29 Thread Mark Murphy
, c'mon now. If things were easy, they wouldn't be paying you the big bucks to write the code! :-) -- 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] Does java.lang.Runtime.getRuntime().availableProcessors() include all CPUs?

2012-05-29 Thread Mark Murphy
On Tue, May 29, 2012 at 12:42 PM, Shri shri.bo...@gmail.com wrote: What is the correct way to find the number of cpus on the device in order to determine which optimizations to enable in my app? I doubt that there is one. I'll be happy to be proven wrong, though. -- Mark Murphy (a Commons Guy

Re: [android-developers] Manifest settings to distinct phones from tablets

2012-05-28 Thread Mark Murphy
on its axis. And if it doesn't, it is unlikely to be your fault. And even if it *is* your fault, we'll all be too busy with the resulting apocalypse to notice... :-) -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http

Re: [android-developers] android:onClick and fragments

2012-05-28 Thread Mark Murphy
) from cooking up a bit of code that takes ralph:onClick attributes and wires them up to the containing Fragment. -- 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

Re: [android-developers] Will google plan to fix bug #26446 in next release?

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

Re: [android-developers] Camera preview sizes on Galaxy Nexus (ICS)

2012-05-28 Thread Mark Murphy
getSupportedPreviewSizes() is relatively new, so developers were welcome to pass in whatever values they want. -- 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

Re: [android-developers] Re: Using NetworkUtils to add a new route

2012-05-28 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...At Your Office: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Using NetworkUtils to add a new route

2012-05-28 Thread Mark Murphy
On Mon, May 28, 2012 at 7:04 AM, Loka Sudharsan lokasudharsa...@gmail.com wrote: Do u know any other way to find the DNS server ip and Default gateway ip? Not via the Android SDK. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog

Re: [android-developers] Re: noob developer, application keeps restarting

2012-05-28 Thread Mark Murphy
, null out the static data members, and start over, along with launching an activity with FLAG_ACTIVITY_CLEAR_TOP + FLAG_ACTIVITY_SINGLE_TOP to let the user know that you had to wipe out their data. You do not need to terminate your process to achieve any of this. -- Mark Murphy (a Commons Guy) http

Re: [android-developers] How to get a reference to the stock launcher activity object?

2012-05-28 Thread Mark Murphy
steal their PIN and transfer all their money to my account in the Caymans. :-) On Mon, May 28, 2012 at 6:47 PM, Daniel daniel.waxwei...@gmail.com wrote: The main aim of this hack is to study the placement of the shortcuts on the screens. Take a screenshot. -- Mark Murphy (a Commons Guy) http

Re: [android-developers] flashboot

2012-05-27 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...At Your

Re: [android-developers] alwaysRetainTaskState doesn't work as expected. Singleton class is losing its state

2012-05-27 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...At Your Office: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Manifest settings to distinct phones from tablets

2012-05-27 Thread Mark Murphy
in portrait. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] What is the official Android 4.0.4 update web page?

2012-05-27 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] incompatible issue in google play

2012-05-27 Thread Mark Murphy
Mobility, which is now a wholly owned subsidiary of Google. I feel rather confident that there are employees in Motorola Mobility who can contact appropriate people in Google regarding Google Play issues. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http

Re: [android-developers] permission to access another apk's assets/ directory

2012-05-26 Thread Mark Murphy
, I too was surprised. I have now made it through the seven stages of WTF? and am now on acceptance. :-) -- 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

Re: [android-developers] why make -j4 failed

2012-05-26 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

Re: [android-developers] permission to access another apk's assets/ directory

2012-05-26 Thread Mark Murphy
storage when your app runs, but you cannot remove the assets, as the APKs are read-only at runtime, and you'd break the digital signature if you modified the APK anyway. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http

Re: [android-developers] drawable-xhdpi-v9 ?

2012-05-26 Thread Mark Murphy
set when you need *different* resources for a given API level (or higher). -- 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] drawable-xhdpi-v9 ?

2012-05-26 Thread Mark Murphy
tested this, but I suppose that using drawable-xhdpi-v9 will stop froyo from seeing those resources at all and so give better-than-nothing runtime exceptions (which in most cases would show up pretty quickly). Correct. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com

Re: [android-developers] Why the CTS Resutls are different with same devices, same android source code and different Wireless AP

2012-05-25 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] Help on Extracting a string from View in Android coding

2012-05-25 Thread Mark Murphy
is something else (e.g., ImageView), there is no string to extract. Besides, since you were the one who put the string in the View in the first place, you should be able to get at the string by other means. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http

Re: [android-developers] getting problem while dealing with maps..........

2012-05-25 Thread Mark Murphy
that, with working maps. -- 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: noob developer, application keeps restarting

2012-05-25 Thread Mark Murphy
not to do something, you would be well advised to heed their warnings. -- 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

Re: [android-developers] permission to access another apk's assets/ directory

2012-05-25 Thread Mark Murphy
to application data - does that mean stuff in assets/ or res/, or just anything an application writes to the SD card (should I say external storage)? Neither -- see above. Also, does it mean anybody can read my assets/ if they know the file name? Yes, and your resources as well. -- Mark Murphy

Re: [android-developers] Re: factory data reset in source code?

2012-05-23 Thread Mark Murphy
are there special permissions involved, but the user has to specifically activate the device admin app through Settings, IIRC. -- 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

Re: [android-developers] Re: factory data reset in source code?

2012-05-23 Thread Mark Murphy
think that is just a poorly-phrased JavaDoc entry. I believe that this really means ask the OS to wipe the user data, not prompt the user to ask them if they would like their data wiped. After all, wipeData() is designed for lost devices and the like. -- Mark Murphy (a Commons Guy) http

Re: [android-developers] added wrong permission but android didn't complain

2012-05-23 Thread Mark Murphy
ignoring permissions that he doesn't handle. How can i make android compiler/builder warn me about them? I doubt that you can, as valid permissions are not knowable at compile time. There is nothing stopping a third-party app from defining the permission that you tried to use. -- Mark Murphy

Re: [android-developers] Force close of service using a password

2012-05-22 Thread Mark Murphy
of service. Is this possible? Fortunately, no. -- 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

Re: [android-developers] Content Providers

2012-05-21 Thread Mark Murphy
need to be sure whether these features will remain as is and the content that content providers provide will be the same across all android phones. They are not going to be the same across all android phones. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

Re: [android-developers] Android

2012-05-21 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 Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you

Re: [android-developers] TimePicker question

2012-05-20 Thread Mark Murphy
and minutes -- any that had seconds was a custom dialog. -- 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

Re: [android-developers] Alarm BroadcastReceiver fog

2012-05-19 Thread Mark Murphy
(this.is.my.action.string)), not a component. -- 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.6 Available! -- You received this message because you

Re: [android-developers] Re: Alarm BroadcastReceiver fog

2012-05-19 Thread Mark Murphy
, but for a sufficiently popular app, some percentage will still do it. An architecture that does not assume that it needs to run continuously (e.g., does polling via AlarmManager) will be more resilient in the face of such user behavior. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com

Re: [android-developers] Multiple IntentServices for one Intent

2012-05-17 Thread Mark Murphy
(...). Otherwise, either have one IntentService, or if the issue is multiple threads, have one Service with your own thread pool. -- 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

[android-developers] Weather List Widget sample app: WTF?

2012-05-17 Thread Mark Murphy
I see it: -- this code is leaking a thread, as the HandlerThread is not being managed by any component -- this code is unreliable, as once the process is terminated, the ContentObserver is gone Has anyone seen this pattern used in production code? Thanks! -- Mark Murphy (a Commons Guy) http

Re: : [android-developers] Weather List Widget sample app: WTF?

2012-05-17 Thread Mark Murphy
goes poof, with presumably some negative impacts on getting updates. -- 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] Weather List Widget sample app: WTF?

2012-05-17 Thread Mark Murphy
approaches, assuming you want to use the observer pattern at all. I'd just push the app widget updates when updating the content provider and be done with the matter. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http

Re: [android-developers] Re: SecurityException: Given caller package com.android.settings is not running in process ProcessRecord

2012-05-17 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...At Your Office: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] BroadcastReceiver: Is it safe to use setOrderedHint method in my code?

2012-05-17 Thread Mark Murphy
with LocalBroadcastManager and ordered-broadcast support, or - abandon LocalBroadcastManager entirely and create a workalike that supports ordered pseudocasts or some such Certainly, I am up for other suggestions. Thanks! -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com

Re: [android-developers] Public Intents for Everybody

2012-05-16 Thread Mark Murphy
in the registerRecevier() call or IntentFilter to say please, I only want local broadcasts. On the plus side, with LocalBroadcastManager, we can start moving away from using registerReceiver() for purely private stuff. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

Re: [android-developers] Public Intents for Everybody

2012-05-16 Thread Mark Murphy
possible that Google could create this database. Ms. Hackborn hinted as much in a post here a couple of years back. I am not holding my breath waiting for it, though. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com

Re: [android-developers] Launch app based on available metadata

2012-05-16 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 App Developer Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google

Re: [android-developers] Add Widget to Homscreen from activity Android

2012-05-15 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] Android for UK??

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

Re: [android-developers] Not able to start service using Broadcast Receiver.

2012-05-15 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

Re: [android-developers] Soft IME additional buttons

2012-05-15 Thread Mark Murphy
own IME, and you can possibly configure the action button for an IME (typically in lower-right corner, but not guaranteed to exist on any given IME). You cannot otherwise add stuff to an existing IME. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http

Re: [android-developers] Android build tool and compilation time library

2012-05-15 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] Blob

2012-05-15 Thread Mark Murphy
, supports byte arrays. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- You received this message because you are subscribed

Re: [android-developers] Record a call in android

2012-05-15 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] supports-screen doesnt work?

2012-05-15 Thread Mark Murphy
, by my reading of the docs. -- 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] supports-screen doesnt work?

2012-05-15 Thread Mark Murphy
display in the Play Store, not anything at runtime on a device or emulator. -- 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

<    4   5   6   7   8   9   10   11   12   13   >