Re: [android-developers] Re: Compatibility mode issues on 4.x

2013-04-18 Thread Mark Murphy
etc., as they are all the same basic screen size, within fractions of an inch. Screen size != screen density. In fact, there is no correlation between the two. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.

Re: [android-developers] Re: Compatibility mode issues on 4.x

2013-04-17 Thread Mark Murphy
ribed 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 >

Re: [android-developers] How to keep WiFi on and let screen go to sleep?

2013-04-10 Thread Mark Murphy
ure nothing in your app is closing the socket? Say, courtesy of an onPause() or onStop() call when the screen turns off? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's G

Re: [android-developers] Re: Proper documentation for SQLite usage missing - I need guidance

2013-04-05 Thread Mark Murphy
ckoverflow.com/a/4377116/115145 > If not, why is there no information on the Android Developer site that > specifies that you could rely on using SQLite 3.7.0 syntax when you are > using level 11 as the minSdkLevel? Because nobody typed up that portion of the documentation. --

Re: [android-developers] Re: zygote preloading jars

2013-03-23 Thread Mark Murphy
ot and change. > I would like to see some simplified article showing how to > achieve it in addition to google link you provided before I start in this > custom rom direction. Read skink's messages. Then ask yourself how you plan on forcing everyone who uses your apps to follow skin

Re: [android-developers] Is there a way to dismiss the Contextual Action Bar (CAB) menu?

2013-03-22 Thread Mark Murphy
. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com

Re: [android-developers] Re: zygote preloading jars

2013-03-22 Thread Mark Murphy
ersion of Android that adds in this library. -- 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 4.7 Available! -- -- You received this messa

Re: [android-developers] How to solve the issue with Dalvik compiler limitation on 64K methods?

2013-03-22 Thread Mark Murphy
Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Mark Murphy (a Commons Guy) http://c

Re: [android-developers] How to solve the issue with Dalvik compiler limitation on 64K methods?

2013-03-21 Thread Mark Murphy
the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Mark Mur

Re: [android-developers] zygote preloading jars

2013-03-21 Thread Mark Murphy
ode. -- 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 4.7 Available! -- -- You received this message because you are subscribed to the Googl

Re: [android-developers] Re: How to display Options Menu Vertically

2013-03-21 Thread Mark Murphy
ups.google.com/group/android-developers?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@goo

Re: [android-developers] version problem for xml themes ,

2013-03-16 Thread Mark Murphy
. On Sat, Mar 16, 2013 at 3:34 PM, Kaushik Pendurthi wrote: > But when i do step 2 i get this error : > > error: Error retrieving parent for item: No resource found that matches the > given name 'android:style/ > Theme.Holo.Light'. > > > On Sat, Mar 16, 201

Re: [android-developers] version problem for xml themes ,

2013-03-16 Thread Mark Murphy
this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/gr

Re: [android-developers] Disable or Enable Applications through our Application.

2013-03-15 Thread Mark Murphy
On Fri, Mar 15, 2013 at 3:52 AM, Seshu wrote: > Is there option Disable or Enable other Android Applications > through our Application? Fortunately, no. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog

Re: [android-developers] Re: Can this variable become null?

2013-03-14 Thread Mark Murphy
over the past few years. -- 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 4.6 Available! -- -- You received this message because you are

Re: [android-developers] Re: OutofMemory Excepton error in android

2013-03-14 Thread Mark Murphy
Your "loop that allocate a whole boat load of memory" is fragmenting your heap space. The only way that your scenario would prove your claim is if your individual allocations in the "whole boat load of memory" are larger than the request that then fails. -- Mark Murphy (a Com

Re: [android-developers] Re: How to replace the ItemizedOverlay with onTap event

2013-03-13 Thread Mark Murphy
u created it. You can get a Projection that will help you convert that to an on-screen pixel coordinate. -- 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 Develo

Re: [android-developers] Re: How to replace the ItemizedOverlay with onTap event

2013-03-13 Thread Mark Murphy
>> it. Can anyone let me know any alternative for getting onTap (or onClick) >>>> listener for the InfoWindow? Or what other control can provide the similar >>>> feature for InfoWindow. >>>> >>>> Many thanks! >>>> >>> --

Re: [android-developers] QR Code or NFC Tag: How to initiate download of a file

2013-03-09 Thread Mark Murphy
n NFC tag point to a URL that, in turn, points to an APK file. At best, all this will do is download the file. The user will still have to manually indicate that they want to install it, manually go through the installation steps, and manually start the app once installed. -- Mark Murphy (a Co

Re: [android-developers] Enumerate sd cards

2013-03-08 Thread Mark Murphy
sd card path. There is nothing in the Android SDK for this, at least at the present time. -- 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_ Vers

Re: [android-developers] Re: My BroadcastReceiver receiver not getting called after phone boots, any ideas?

2013-03-08 Thread Mark Murphy
a member is "android.intent.action.BOOT_COMPLETED". That's not to say that the manifest has no other issues. For example, the ALTERNATIVE stuff is downright bizarre. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/com

Re: [android-developers] Re: My BroadcastReceiver receiver not getting called after phone boots, any ideas?

2013-03-08 Thread Mark Murphy
>// should go off >Calendar alarmTime = Calendar.getInstance(); >Calendar now = Calendar.getInstance(); > > >alarmTime.setTimeInMillis(now.getTimeInMillis() + 1); >firstTime = alarmTime.getTimeInMillis(); > > >// Repeat every day at 5pm

Re: [android-developers] std::locale("").name() returns "C"

2013-03-07 Thread Mark Murphy
cribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Mar

Re: [android-developers] How to block an Intent/Action until complete?

2013-03-07 Thread Mark Murphy
lock/pause the uninstallApp() dialog until that is complete before > the app begins to install? You can't. You will need to wait until you receive word from the OS, from an ACTION_PACKAGE_REMOVED broadcast, that the uninstall was done by the user, before you proceed trying to install the app.

Re: [android-developers] How to programatically install an app (apk)

2013-03-07 Thread Mark Murphy
way to install an app via the market URI, I have > tried half a dozen examples and nothing works. That's not supposed to work. You can lead the user to the Play Store page for an app, but you cannot force the user to download it. -- Mark Murphy (a Commons Guy) http://commonsware.co

Re: [android-developers] Re: API to access remove a device administrator

2013-03-07 Thread Mark Murphy
If you wish, in turn, to attempt to contribute those changes back to the Android Open Source Project, instructions for doing so can be found on http://source.android.com. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http:/

Re: [android-developers] Receiving Intent

2013-03-07 Thread Mark Murphy
; it says it could not find /mnt/sdcard/mnt/sdcard/test.txt Apparently there is a bug in your Java code where you are opening the file. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Code

Re: [android-developers] API to access remove a device administrator

2013-03-07 Thread Mark Murphy
PK file), but the user has to be involved in the process. -- 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 4.6 Available! -- -- You receiv

Re: [android-developers] Handling SQLiteOpenHelper

2013-03-07 Thread Mark Murphy
ns one SQLiteDatabase instance, and SQLiteDatabase is designed to manage operations from multiple threads. -- 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 Developme

Re: [android-developers] Why can't I do complete CTS test?

2013-03-07 Thread Mark Murphy
oid-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe

Re: [android-developers] setAutoExposureLock method is not found in ICS

2013-03-06 Thread Mark Murphy
evelopers?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For m

Re: [android-developers] Make a one app appliance (prevent quitting app)

2013-03-06 Thread Mark Murphy
?hl=en > --- You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit

Re: [android-developers] Tapping the overflow button make the action mode finish.

2013-03-06 Thread Mark Murphy
ceived this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://group

Re: [android-developers] Motorola Razr Maxx HD - freezes?

2013-03-05 Thread Mark Murphy
ere can I rent one of these devices? It doesn't look like TestDroid Cloud or DeviceAnywhere have the RAZR Maxx HD, just the Droid RAZR. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Bu

Re: [android-developers] Re: two activities running at same time

2013-03-02 Thread Mark Murphy
plications"). I suppose that it is conceivable that SMS broadcasts include FLAG_INCLUDE_STOPPED_PACKAGES, though that would surprise me. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Bu

Re: [android-developers] Re: two activities running at same time

2013-03-02 Thread Mark Murphy
ed an activity in the first place. -- 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 4.6 Available! -- -- You received this message because

Re: [android-developers] Obfuscating code

2013-03-01 Thread Mark Murphy
just search for that keyword. Correct. -- 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 4.6 Available! -- -- You received this message bec

Re: [android-developers] Detect activity was started by the Android launcher

2013-02-28 Thread Mark Murphy
pp's package name is what you expect and that your app's signing key matches what you expect. See http://stackoverflow.com/a/6203440/115145 for the latter. Again, all of these checks can be deactivated if somebody puts their mind to them. -- Mark Murphy (a Commons Guy) http://commonsware.c

Re: [android-developers] Re: upgrade to 4.2.2 -- Eclipse sees device offline and unknown

2013-02-21 Thread Mark Murphy
holding the tablet "sorry, you must be on the primary account to activate USB debugging". -- 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] loading SharedPreferences in Fragment

2013-02-21 Thread Mark Murphy
this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.co

Re: [android-developers] Re: upgrade to 4.2.2 -- Eclipse sees device offline and unknown

2013-02-21 Thread Mark Murphy
t; accounts on my tablet and the currently active account was not the "main > account" that is apparently allowed to make these tough decisions. When I > switched to the main account I could finally see that dialog. Surprise, > surprise. Did you happen to file an issue for thi

Re: [android-developers] upgrade to 4.2.2 -- Eclipse sees device offline and unknown

2013-02-21 Thread Mark Murphy
-- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit

Re: [android-developers] Setting Up the ADT Bundle Issue (Eclipse Error)

2013-02-21 Thread Mark Murphy
at > http://groups.google.com/group/android-developers?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-develop

Re: [android-developers] Is there a way to speed up AVD?

2013-02-21 Thread Mark Murphy
end an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- 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] Automatied Environment for Android Building and Testing

2013-02-20 Thread Mark Murphy
gt; --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options,

Re: [android-developers] How use my app's notifications instead of calendar app's?

2013-02-20 Thread Mark Murphy
attery life they are willing to spend. -- 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 sub

Re: [android-developers] How use my app's notifications instead of calendar app's?

2013-02-20 Thread Mark Murphy
to register for > something (a broadcast) or insert my own intent, that would work better. Is > that possible? 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:/

Re: [android-developers] loading .swf file in webview, my code works for 2.3.3 but not working for 4.0.4

2013-02-20 Thread Mark Murphy
e because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_

Re: [android-developers] Posts from new users not passing through moderation?

2013-02-20 Thread Mark Murphy
ion. On Wed, Feb 20, 2013 at 7:18 AM, Mark Murphy wrote: > I haven't seen a moderation queue flush in some time, though they may > have less volume than before and therefore are not quite as > noticeable, at least to me. I was thinking about this just a few days > ago, when I was m

Re: [android-developers] Re: Creating new intent with "".

2013-02-20 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 > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" grou

Re: [android-developers] Posts from new users not passing through moderation?

2013-02-20 Thread Mark Murphy
cr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- 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

Re: [android-developers] Re: MediaPlayer suddenly stopped working in Android 4.2

2013-02-19 Thread Mark Murphy
ndroid-developers?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. >

Re: [android-developers] import android.net.NetworkUtils;

2013-02-18 Thread Mark Murphy
oogle Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Mark

Re: [android-developers] DialogFragment

2013-02-18 Thread Mark Murphy
id Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Mark Murphy (a Commons Guy) http://commonsware.com

Re: [android-developers] DialogFragment

2013-02-18 Thread Mark Murphy
d stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http

Re: [android-developers] Debugging beta apps

2013-02-17 Thread Mark Murphy
own Acralyzer, that do not require the use of Google Spreadsheets. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Localized Android Question-and-Answer Sites: http://www.andglobe.com -- -- You

Re: [android-developers] what versions of sqllite is used in android?

2013-02-16 Thread Mark Murphy
Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Mark Murphy (a Commons Guy) http://commonsware

Re: [android-developers] Activity and Application life-cycle

2013-02-10 Thread Mark Murphy
ense? Off the cuff, no, but, then again, I do not know what "I put the app to sleep and when i wake up" means. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guid

Re: [android-developers] Activity and Application life-cycle

2013-02-10 Thread Mark Murphy
hes into the ether when the whole process does. > And there doesn't seem to be a guarantee of getting called > when the Application object IS destroyed. It is guaranteed that you will not be called. The Application object, at best, is the same as static data members: use them for a c

Re: [android-developers] problem getting Google API V1 key

2013-02-09 Thread Mark Murphy
give me an SHA > fingerprint!! I need an MD5 fingerprint. Why is this happening? It is happening because you are running Java 7, and the keytool command emits SHA-1 by default. Add -v to your command line switches to get an MD5 fingerprint. -- Mark Murphy (a Commons Guy) http://comm

Re: [android-developers] Re: onCreateOptionsMenu being hit too many times

2013-02-09 Thread Mark Murphy
a little in the dark on the best > practices. > > I was using this tutorial as base for what I needed to do: > http://tamsler.blogspot.com/2011/10/android-viewpager-and-fragments.html > > > On Saturday, February 9, 2013 4:56:57 PM UTC-5, Mark Murphy (a Commons Guy) > wrote: >

Re: [android-developers] Re: onCreateOptionsMenu being hit too many times

2013-02-09 Thread Mark Murphy
uot; >> android:layout_height="fill_parent" >> /> >> >> > android:id="@+id/fragmentDetail" >> android:layout_width="0dp" >> android:layout_weight="2" >>

Re: [android-developers] onCreateOptionsMenu being hit too many times

2013-02-09 Thread Mark Murphy
t want to create separate copies. Get your old ones from the FragmentManager, and only create them if the FragmentManager does not already have them. On Sat, Feb 9, 2013 at 3:29 PM, FiltrSoft wrote: > On Saturday, February 9, 2013 2:39:17 PM UTC-5, Mark Murphy (a Commons Guy) > wrote: >

Re: [android-developers] onCreateOptionsMenu being hit too many times

2013-02-09 Thread Mark Murphy
; > > -- > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-d

Re: [android-developers] Google maps api v2 issue

2013-02-09 Thread Mark Murphy
ole directory of Maps V2 working projects, from the aforementioned book: https://github.com/commonsguy/cw-omnibus/tree/master/MapsV2 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's

Re: [android-developers] The method bindAppWidgetId(int, ComponentName) is undefined for the type AppWidgetManager error on Jellybean

2013-02-09 Thread Mark Murphy
velopers?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more op

Re: [android-developers] Google maps api v2 issue

2013-02-08 Thread Mark Murphy
hether that is part of the firmware or installed off the Play Store. > Is this a move by google to force apps to be distributed > only via google play? No. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.co

Re: [android-developers] Unable to obtain Google Maps Android v1 API Key

2013-02-07 Thread Mark Murphy
7 February 2013 17:02:50 UTC+1, Mark Murphy (a Commons Guy) > wrote: >> >> It just worked for me. Make sure that you are using MD5 -- if you have >> Java 7 installed, you might be getting the SHA-1 hash instead, for >> example. >> >> On Thu, Feb 7, 2013 at

Re: [android-developers] Unable to obtain Google Maps Android v1 API Key

2013-02-07 Thread Mark Murphy
unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commo

Re: [android-developers] External video output (USB/HDMI/etc)

2013-01-31 Thread Mark Murphy
the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > >

Re: [android-developers] is Google going to ship Chrome as a default browser for next OS release

2013-01-30 Thread Mark Murphy
You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, vi

Re: [android-developers] ArrayAdapter in background thread

2013-01-28 Thread Mark Murphy
On Sun, Jan 27, 2013 at 7:36 PM, dashman wrote: >> You can modify the ArrayList directly from a background thread. > > How can i do that - i don't see any api for this. java.util.ArrayList has been around for, what, 15 years? Yes, it has an API to allow the list to be modified

Re: [android-developers] ArrayAdapter in background thread

2013-01-27 Thread Mark Murphy
thread if it is already attached to an AdapterView. You can modify the ArrayList directly from a background thread (not via the ArrayAdapter), then call notifyDataSetChanged() on the main application thread when that work is done. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://git

Re: [android-developers] referencing a nested class in xml

2013-01-24 Thread Mark Murphy
gle > 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://

Re: [android-developers] End user ANR stack trace has no line number

2013-01-24 Thread Mark Murphy
ProGuard setup -- you may need to use ReTrace to translate the stack trace into something usable. -- 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/trainin

Re: [android-developers] End user ANR stack trace has no line number

2013-01-24 Thread Mark Murphy
es from LogCat, the Developer Console, BugSense, etc. AFAIK. So long as you are testing your production APK on the device, the stack trace as seen in LogCat should be the same as what would show up in the Developer Console. If you have any evidence to the contrary, please post a link. -- Mark Murphy (

Re: [android-developers] End user ANR stack trace has no line number

2013-01-24 Thread Mark Murphy
ce into your development machine and examine LogCat. -- 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 y

Re: [android-developers] End user ANR stack trace has no line number

2013-01-23 Thread Mark Murphy
means. In terms of testing whether you can now get access to the lines from the stack trace, divide by zero somewhere to force a crash and then go through the process of examining the log. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/

Re: [android-developers] View SQLite database files possible with external DB. Software?

2013-01-23 Thread Mark Murphy
re you have access to internal storage. Or, add a database backup feature to your app that copies the database to external storage. Or, put the database on external storage in the first place during early development. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github

Re: [android-developers] Click events doesn't work on a button after Animation

2013-01-23 Thread Mark Murphy
w 3.0 API level. If you take the time to read what I wrote, you will notice that I pointed you to the NineOldAndroids backport of the ViewPropertyAnimator framework. NineOldAndroids works going back to API Level 1. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github

Re: [android-developers] End user ANR stack trace has no line number

2013-01-22 Thread Mark Murphy
ps "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] [Google Maps API v2] Info windows Title

2013-01-22 Thread Mark Murphy
e > 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.c

Re: [android-developers] Click events doesn't work on a button after Animation

2013-01-22 Thread Mark Murphy
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 (a

Re: [android-developers] Menus handled differently in 4.2 on phone and tablet?

2013-01-21 Thread Mark Murphy
ted. Either use the action bar or get rid of your options menus, using something inside the UI of your activity as a replacement. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Här kan du ställ

Re: [android-developers] Re: how to distribute a Library Project WITHOUT source code (as jar file) as some sort of SDK?

2013-01-20 Thread Mark Murphy
On Sun, Jan 20, 2013 at 1:42 PM, Joe Bowbeer wrote: > The feature that we're awaiting is the .aar binary packaging for libraries, Which hopefully will be ready by next International Talk Like a Pirate Day. :-) -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/co

Re: [android-developers] Re: how to distribute a Library Project WITHOUT source code (as jar file) as some sort of SDK?

2013-01-20 Thread Mark Murphy
ain an R class. -- 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 Googl

Re: [android-developers] LocationManager RequestLocation Updates issue

2013-01-20 Thread Mark Murphy
> 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://gr

Re: [android-developers] GCM

2013-01-19 Thread Mark Murphy
also wish to explain whether you plan to create "a GCM like service" as part of a customized Android OS, as a system app for use on rooted devices, or if you are attempting to pull this off as an ordinary SDK app. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://git

Re: [android-developers] Re: Application.onCreate Method Randomly Called?

2013-01-18 Thread Mark Murphy
fferent than choosing appropriate transaction bounds in database operation. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Aqui estão alguns sites onde você pode perguntar ou responde

Re: [android-developers] Re: Application.onCreate Method Randomly Called?

2013-01-18 Thread Mark Murphy
ext itself. In this case, the "key" is used as the basis of a filename, for the XML file which contains the persisted SharedPreferences. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Aqui

Re: [android-developers] Permissions Security Exception

2013-01-18 Thread Mark Murphy
til and unless you have evidence to the contrary, this is most likely a user problem, IMHO. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Aqui estão alguns sites onde você pode perguntar

Re: [android-developers] Re: Application.onCreate Method Randomly Called?

2013-01-18 Thread Mark Murphy
a members, they should be used as a cache for persistent data or for transient purposes only. > Is there something other than > PreferenceManager.getDefaultSharedPreference to do this? SharedPreferences are persistent, assuming that you use commit() or apply(). -- Mark Murphy (a Commons Guy

Re: [android-developers] Re: intel-accelerated emulator + maps API with SDK v21

2013-01-18 Thread Mark Murphy
And it will put the kibosh on certain models, such as consultants creating unique signing keys (and Maps V1 API keys) as part of a customer deliverable. But since, in my testing, getting Maps V2 to work on Android 2.x is far from bulletproof, some developers may elect to stick with Maps V1 throug

Re: [android-developers] Re: Application.onCreate Method Randomly Called?

2013-01-17 Thread Mark Murphy
then > recreated on account of the alarm having triggered. Having said that, > the timestamps for both events (onCreate and the alarm) are identical. Are you messing around with android:process attributes in the manifest? If so, each process gets its own Application instance. Also, if so, ple

Re: [android-developers] Application.onCreate Method Randomly Called?

2013-01-17 Thread Mark Murphy
gle > 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] Launching play store for specific product

2013-01-17 Thread Mark Murphy
er apps around that respond to market:// requests, that is the user's choice, and the user can use those apps. The choice is the user's, not yours. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsgu

Re: [android-developers] Retrieving current URL from chrome (or browser). Use ContentProvider? Or, other method?

2013-01-16 Thread Mark Murphy
. > I don't see that ContentProvider for browser provides anything with respect > to the current URL. Would the last item in the history > (getAllVisitedUrls(...)) tell me this? AFAIK, Chrome does not use that ContentProvider. -- Mark Murphy (a Commons Guy) http://commonsware.com

Re: [android-developers] Integrate Wireless printer(via Bluetooth/WiFi) with Android Application.

2013-01-16 Thread Mark Murphy
lopers" 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-deve

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-15 Thread Mark Murphy
l 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/com

Re: [android-developers] How to use actionbar to generate tabs at bottom?

2013-01-14 Thread Mark Murphy
top. but how to put it at bottom? >> >> Use android:uiOptions="splitActionBarWhenNarrow" on your or >> . >> >> > I tried " android:uiOptions="splitActionBarWhenNarrow"" at Manifest >> > file. >> >> This will only

  1   2   3   4   5   6   7   8   9   10   >