RE: [android-developers] General Newbie Question on app development

2017-01-31 Thread James Carter
That answered it. Thanks! From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Marina Cuello Sent: Tuesday, January 31, 2017 12:00 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] General Newbie Question on app

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

2013-02-20 Thread Mark Carter
I posted a new topic here a couple of weeks ago using a new google account. Unfortunately it never appeared here :( Can anyone confirm the moderation queue is being actively processed? -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: If hdpi and xhdpi drawables defined, which drawable is used as base for an mdpi device?

2012-10-21 Thread Mark Carter
#BestMatch and also this is very easy to test just use different coloured bitmaps in each qualified folder. On Thursday, October 18, 2012 1:53:40 PM UTC+1, Mark Carter wrote: If I define a drawable in hdpi and xhdpi but not mdpi, will Android (on an mdpi device) take the xhdpi drawable and scale

[android-developers] Will there be a new density beyond xhdpi to support 440dpi screens as found in the new HTC J Butterfly?

2012-10-19 Thread Mark Carter
ldpi ~120dpi mdpi ~160dpi hdpi ~240dpi xhdpi ~320dpi xxhdpi would then be for 400dpi or 480dpi (depending how you continue the sequence)? -- 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] If hdpi and xhdpi drawables defined, which drawable is used as base for an mdpi device?

2012-10-18 Thread Mark Carter
If I define a drawable in hdpi and xhdpi but not mdpi, will Android (on an mdpi device) take the xhdpi drawable and scale it down by a factor of two or will it use the nearest defined density (hdpi) drawable? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Intent to launch Voice Recognition Settings Activity?

2012-08-08 Thread Mark Carter
I know for pre-Honeycomb devices you need: intent.setClassName(com.google.android.voicesearch, com.google.android.voicesearch.VoiceSearchPreferences); and for Jelly Bean: intent.setClassName(com.google.android.googlequicksearchbox, com.google.android.voicesearch.VoiceSearchPreferences); but

[android-developers] Anyone have a Honeycomb or Ice Cream Sandwich device with Voice Recognition installed?

2012-08-08 Thread Mark Carter
I'm hoping that someone will be kind enough to launch the Voice Recognition system settings and report back what activity is started (by looking at the logs). I started an SO question: http://stackoverflow.com/questions/11860229/how-to-display-voice-recognition-settings-screen-programmatically

[android-developers] Re: Recommendations on Screenshot formats?

2012-07-21 Thread Mark Carter
One year on, now we have xhdpi devices and tvdpi (or whatever it is called for the Nexus 7), what is the recommended screenshot size to use? One thing I don't like with the Galaxy Nexus screenshots, is that they include the soft (back, home, multitasking) buttons - so the user ends up seeing

[android-developers] drawable-xhdpi-v9 ?

2012-05-26 Thread Mark Carter
When using android:minSdkVersion less than 9, is it (or should it be) standard practice to use drawable-xhdpi-v9 instead of drawable-xhdpi? -- 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] drawable-xhdpi-v9 ?

2012-05-26 Thread Mark Carter
. On Saturday, 26 May 2012 23:16:13 UTC+8, Mark Murphy (a Commons Guy) wrote: On Sat, May 26, 2012 at 11:05 AM, Mark Carter wrote: When using android:minSdkVersion less than 9, is it (or should it be) standard practice to use drawable-xhdpi-v9 instead of drawable-xhdpi? It is not standard

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

2012-05-26 Thread Mark Carter
) know about the density configuration and will pick the correct density for you. On Sat, May 26, 2012 at 9:20 AM, Mark Murphy mmur...@commonsware.comwrote: On Sat, May 26, 2012 at 12:12 PM, Mark Carter wrote: When min level is pre-Donut, I remember there is a common approach to use drawable

Re: [android-developers] Error reports where none of the stacktrace elements relate to your code?

2012-05-11 Thread Mark Carter
Thanks for the feedback. Thankfully the user provided a message force crash on keyboard input. So maybe he's using a keyboard which does something dodgy to the compose text. The app has over half a million users, and this is the only example of this crash that I know of. So I'm not worried,

[android-developers] Re: How to detect screen rotation through 180 degrees from landscape to landscape orientation?

2012-03-29 Thread Mark Carter
+8, Mark Carter wrote: I've seen a few other questions similar to this but no answers. Rotating from portrait to landscape (either direction) and back again, we get the helpful call to onConfigurationChanged(). However, when rotating from landscape to landscape (through 180 degrees

[android-developers] Re: Getting Acquired: Selling Apps and Games to a Business/Investor

2012-03-29 Thread Mark Carter
Does Google currently facilitate the transfer of acquired apps/games from one developer account to another? Earlier this month I emailed Google to transfer my paid app from my personal Google account to my Google Apps for Business account. I was expecting it to take days or weeks so thought

[android-developers] How to detect screen rotation through 180 degrees from landscape to landscape orientation?

2012-03-28 Thread Mark Carter
I've seen a few other questions similar to this but no answers. Rotating from portrait to landscape (either direction) and back again, we get the helpful call to onConfigurationChanged(). However, when rotating from landscape to landscape (through 180 degrees) onConfigurationChanged() is not

[android-developers] ArrayIndexOutOfBoundsException when calling Dialog.show()

2012-03-17 Thread Mark Carter
I'm seeing this on a Samsung Galaxy S II (GT-I9100G). I'm building against level 14, targeting level 10 (min level 3). I assume it's something to do with themes but have no idea where to start. I'm pretty sure it's not happening on all Galaxy SIIs otherwise I would be getting a lot more

Re: [android-developers] Installation 64-bit Windows 7 [SOLVED]

2012-03-17 Thread Mark Carter
I *always* run Eclipse as Administrator these days, because of such problems I have experienced in the past. On Sunday, 18 March 2012 06:56:48 UTC+8, Bob Plantz wrote: Thanks to the help posted here, I finally solved the problem by running Eclipse as administrator and installing the SDK that

[android-developers] Re: SQLite Collate UNICODE - not case sensitive in ICS??

2012-03-16 Thread Mark Carter
SQLite was upgraded from 3.6.22 to 3.7.4 for the first Honeycomb release: http://stackoverflow.com/questions/2421189/version-of-sqlite-used-in-android/4377116#4377116 So you may want to verify the problem exists in SDK 3.0, but not in 2.3.3. -- You received this message because you are

[android-developers] Re: Galaxy Nexus is not properly implementing getExternalStorageDirectory; can anyone confirm?

2012-03-15 Thread Mark Carter
One thing (and it's really annoying) I have noticed on the Galaxy Nexus is that when viewing its files from Windows 7, I am not seeing the latest file/directory structure. I guess this is something related to MTP. I usually end up using AirDroid instead. Anyway, to the point, so it could be

Re: [android-developers] Re: Galaxy Nexus is not properly implementing getExternalStorageDirectory; can anyone confirm?

2012-03-15 Thread Mark Carter
It would be nice if there was at least some kind of developer tool/option that sits in between the app and the filesystem and takes care of refreshing/notifying changes etc... 2012/3/15 Kostya Vasilyev kmans...@gmail.com 15 марта 2012 г. 11:27 пользователь Mark Carter mjc1...@googlemail.com

Re: [android-developers] Re: Galaxy Nexus is not properly implementing getExternalStorageDirectory; can anyone confirm?

2012-03-15 Thread Mark Carter
:16, Mark Carter пишет: It would be nice if there was at least some kind of developer tool/option that sits in between the app and the filesystem and takes care of refreshing/notifying changes etc... -- Kostya Vasilyev -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: Galaxy Nexus is not properly implementing getExternalStorageDirectory; can anyone confirm?

2012-03-15 Thread Mark Carter
Even disconnecting from USB often does not work... On 16 March 2012 09:34, Zsolt Vasvari zvasv...@gmail.com wrote: Yes, it;s broken on the Galaxy Nexus. Files simply don't show up even if I hit refresh. Very annoying. On Thursday, March 15, 2012 3:27:31 PM UTC+8, Mark Carter wrote: One

[android-developers] Re: Implementing SharedUserId

2012-02-24 Thread Carter
You can't change the sharedUserId after the app is installed. Once an app is published on the Android Market, the sharedUserId also cannot be changed. It completely breaks. If your apps are still under development, uninstall both apps. Then set the sharedUserId in the manifest and reinstall

[android-developers] Re: Implementing SharedUserId

2012-02-24 Thread Carter
And no, sharedUserId doesn't mean the apps share the same files. On Feb 24, 12:31 am, Michael . mish...@gmail.com wrote: I'm really not understanding how to implement shareduserid My understanding is that: *By default, Android assigns each application its own unique user ID. However, if

Re: [android-developers] Unpublish application

2012-01-31 Thread Mark Carter
It's worth mentioning that even after you unpublish an app, users can still leave comments and ratings. -- 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

[android-developers] Re: In-App Billing Tracking By Android Market

2012-01-31 Thread Mark Carter
The preferred route would be to convert the paid app to use in-app billing and make it free. But this can only be done once the suggestion here has been implemented: http://code.google.com/p/marketbilling/issues/detail?id=17#c7 Then you could ditch the free version altogether. However, please

[android-developers] Re: Lots of Cancelled by Google - Payment declined from one person

2012-01-17 Thread Mark Carter
I've had one customer retry 45 times but that was because of a still-not-fixed problem with in-app billing: http://code.google.com/p/marketbilling/issues/detail?id=50 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Any problems regarding LVL when moving apps from one Google account to another?

2012-01-16 Thread Mark Carter
Trevor Johns has answered this question here: http://stackoverflow.com/questions/7802062/any-problems-regarding-lvl-when-moving-apps-from-one-google-account-to-another -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Logcat is broken every time phone is unplugged

2012-01-15 Thread Mark Carter
Eclipse Indigo SR1, Windows 7 Home Premium 64bit. When I reconnect, I always have to reclick on the device in the Devices view (of the DDMS perspective). However, in the latest version of ADT, I have a similar problem, where clearing the log output results in subsequent log messages not

[android-developers] Re: download number 'adjustments', again

2011-12-13 Thread Mark Carter
Looks like it's fixed now. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com

[android-developers] Paid app availability on WiFi-only tablets?

2011-12-05 Thread Mark Carter
Please can someone with a WiFi-only tablet answer this question: How does Android Market determine your country when deciding whether to make paid apps available to you or not? As a side note (for those who don't already know), on GSM devices, this is done by your SIM card's country. Is it

[android-developers] StackOverflowError when calling SQLiteDatabase.openDatabase()

2011-10-17 Thread Mark Carter
I just received this crash report from a user running SGS2 (10|GT-I9100|GINGERBREAD.ZNKG5.ownhereSGS2.v1.2.4): java.lang.StackOverflowError at java.lang.AbstractStringBuilder.append0(AbstractStringBuilder.java:132) at java.lang.StringBuffer.append(StringBuffer.java:278) at

[android-developers] Re: StackOverflowError when calling SQLiteDatabase.openDatabase()

2011-10-17 Thread Mark Carter
Can anyone explain the stacktrace to me? It looks like openDatabase() is calling itself in a never-ending loop (line 975) and then this throws a StackOverflowError which is caught in the openDatabase(line 916) method and then logged. Is that right? But then why does the stacktrace stop at

[android-developers] Re: StackOverflowError when calling SQLiteDatabase.openDatabase()

2011-10-17 Thread Mark Carter
I presume the reason you don't see my code is because it's fallen off the list due to the 100+ openDatabase() calls. Good thinking about the UncaughtExceptionHandler (because I do use one) but I just checked and I don't call anything which might lead to an openDatabase() call. Even if I did,

[android-developers] Re: StackOverflowError when calling SQLiteDatabase.openDatabase()

2011-10-17 Thread Mark Carter
Absolutely agreed (already) - but the stacktrace does not show the root (at least not in the Android Developer Console Application Error Reports because it seems to only show the first 130 calls). The interesting question is how/why is openDatabase() recursively calling itself? -- You

[android-developers] Any problems regarding LVL when moving apps from one Google account to another?

2011-10-14 Thread Mark Carter
I tried asking this question over on Android Discuss but unfortunately didn't get any reply: http://groups.google.com/group/android-discuss/browse_thread/thread/5598e3682828d3db To summarize: LVL signs responses with your public key (as given in the Edit Profile of your Developer account). So

Re: [android-developers] Re: Freemium Model with In-App Purchases

2011-08-29 Thread Mark Carter
Does it only matter if you link to your app's details Market page or is it also a problem linking to your Other apps...? On 29 August 2011 17:50, Andy m...@tekx.de wrote: If you have a App in the Market it's madatory to make a adress public for billing. And yes, this aplies to links also,

Re: [android-developers] Re: Freemium Model with In-App Purchases

2011-08-27 Thread Mark Carter
Out of interest, how do they get the dev's address? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Regular expressions and ICU4C

2011-08-25 Thread Mark Carter
I have read that Android uses ICU4C to support regular expressions. Does this mean that the java.util.regex.Pattern class uses ICU4C under the hood? If so, why does \U0002A700-\U0002B73F (or similar \U expressions) not work? -- You received this message because you are subscribed to the

[android-developers] Re: How to prematurely stop a long-running SQLite query?

2011-08-23 Thread Mark Carter
Has support for this been introduced recently? I have a feeling a while back I saw something in the change log (maybe 3.0?) but can't seem to find it again... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Re: Failed to register input channel?

2011-08-12 Thread Mark Carter
I'm getting this too (also only on SDK level 10) - anyone find any workarounds? -- 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

[android-developers] Re: Help: BOOT_COMPLETED has started acting weird in 2.3+

2011-08-12 Thread Carter
I bet a number of instances are due to HTC devices with Fast Boot enabled in the Settings. BOOT_COMPLETED isn't broadcast when Fast Boot is enabled. HTC added Fast Boot to the Evo 4G with the Gingerbread update. I think the Thunderbolt also has this feature. Try asking your users to turn Fast

Re: [android-developers] How to detect which market the app was installed from

2011-08-08 Thread Mark Carter
I make the specify things like this in the manifest and then read that from the code: meta-data android:name=com.mycompany.market android:value=GOOGLE / -- 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] How to detect which market the app was installed from

2011-08-08 Thread Mark Carter
That's the main reason why I put it in the manifest. Because when I make a build, I am changing the version number, version name, whatsnew text and other stuff anyway and so also having the Market type there means it's not easily missed. On 9 August 2011 12:00, Nikolay Elenkov

[android-developers] Re: Problems with Orders Inbox?

2011-07-26 Thread Mark Carter
They've just fixed this in the last hour or so: http://www.google.com/support/androidmarket/developer/bin/static.py?page=known_issues.cs -- 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] Re: One app, multiple APKs targeting different SDK levels would be good for adding Honeycomb functionality

2011-07-22 Thread Mark Carter
One thing I don't understand... In advanced mode, why is there a reactivate button next to old versions that can never be reactivated (because they have a lower version code than the active APK)? On 22 July 2011 19:19, Marcin Orlowski webnet.andr...@gmail.com wrote: On 22 July 2011 10:11, gjs

[android-developers] Re: One app, multiple APKs targeting different SDK levels would be good for adding Honeycomb functionality

2011-07-21 Thread Mark Carter
Awesome, thanks very much to the Android Market team: http://android-developers.blogspot.com/2011/07/multiple-apk-support-in-android-market.html -- 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] Re: Merchant account - payouts - fees history - third column?

2011-07-19 Thread Mark Carter
The values look very odd for the last 3 to 4 months. If anything, they now look like they represent the actual 30% that Google takes. -- 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] Re: LVL behavior on client side license validity check for free apps

2011-07-18 Thread Mark Carter
What about if you submit an APK as a paid app and then later reduce the price to zero? Admittedly, this would break down as soon as you want to update the APK, but I'd be interested to know nonetheless. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Problems with Orders Inbox?

2011-07-18 Thread Mark Carter
Yep, I've been getting that too. It happens for failed operator billings (as opposed to credit card billings). I just archive it and so transfer the problem to my Archive folder! I sent a message about this to the Google Checkout team a couple of days ago - no reply yet... -- You received

Re: [android-developers] How long is a paid app considered refundable?

2011-07-17 Thread Mark Carter
On a related note, a paid app is dev-refundable forever which makes me a little nervous... Suppose your Google Account was compromised. The hacker could then go through refunding all of your sales, if they were so inclined. -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: App Widget considerations when enabling installLocation in manifest

2011-06-16 Thread Mark Carter
I plan to show this message when the app detects it has been moved to the SD card (i.e. the first time it runs after the event): Android automatically disables homescreen widgets for apps that have been moved to the SD card. If you would like to use widgets, then please move this app back to

Re: [android-developers] Re: App Widget considerations when enabling installLocation in manifest

2011-06-16 Thread Mark Carter
you could allow sd card for main user and keep widget plugin app on main memory. depending on what your widget shows it may be the way to go On Jun 16, 2011 9:33 AM, Mark Carter mjc1...@googlemail.com wrote: I plan to show this message when the app detects it has been moved to the SD card (i.e

Re: [android-developers] Re: App Widget considerations when enabling installLocation in manifest

2011-06-16 Thread Mark Carter
I wanted to make clear this was an Android limitation rather than something specific to the app. I'm guessing most users would have manually moved the app to SD so they know where to go. But maybe that's not right if the installLocation is auto? Maybe it's enough to include a button (in the

Re: [android-developers] Re: Google removed 10 mallware apps - I'm affected. Please help

2011-06-15 Thread Mark Carter
Were the apps remotely removed from your users' devices? If not, then once you have republished (as Zsolt suggested), you can use House Ads to drive your pulled-app customers to your republished apps. On 15 June 2011 13:40, Zsolt Vasvari zvasv...@gmail.com wrote: What Google has to do is to

Re: [android-developers] Re: Fonts on Android, how are they manage by the OS?

2011-06-09 Thread Mark Carter
Are we talking about two different things here? Font support and locale (?) support? I can understand why a US-only device would not need to ship with support for locales like Japanese and Thai, but there is a stronger argument to include Japanese and Thai fonts (space permitting) because they

[android-developers] IncompatibleClassChangeError

2011-06-07 Thread Mark Carter
java.lang.IncompatibleClassChangeError: java.util.concurrent.TimeUnit$4 at java.util.regex.Matcher.ensureMatch(Matcher.java:637) at java.util.regex.Matcher.start(Matcher.java:457) at java.util.regex.Matcher.start(Matcher.java:543) at java.util.regex.Matcher.appendReplacement(Matcher.java:145) at

[android-developers] Re: How to add a Greek description of my App in android market

2011-06-06 Thread Mark Carter
Simplified Chinese is not even supported - that's 1.3 billion people unable to read app descriptions. If you have a language that is not supported but most (or a large percentage) of your users speak, then I would tag on the translation to the end of (or instead of) the english app description

Re: [android-developers] Re: How to add a Greek description of my App in android market

2011-06-06 Thread Mark Carter
using simplified characters, so even if you don't support the People's Republic, a large percentage of one of the richest countries in the world is not catered for. On Jun 7, 9:17 am, Mark Carter mjc1...@googlemail.com wrote: Simplified Chinese is not even supported - that's 1.3 billion

[android-developers] App Widget considerations when enabling installLocation in manifest

2011-05-31 Thread Mark Carter
I have an app which includes a app widget but only as a relatively minor portion of the total functionality. A significant minority of my users use it. I notice that when setting installLocation to auto, the widgets will disappear as soon as the user moves the app to the SD card. When the app

Re: [android-developers] Re: App Widget considerations when enabling installLocation in manifest

2011-05-31 Thread Mark Carter
Thanks for the feedback. On 31 May 2011 16:58, String sterling.ud...@googlemail.com wrote: As a workaround, I'm currently in the process of implementing a warning of my own in the app's main activity. It'll check to see if it's been installed to SD, and if it has, issue a warning of its own.

Re: [android-developers] Re: App Widget considerations when enabling installLocation in manifest

2011-05-31 Thread Mark Carter
: On Tuesday, May 31, 2011 10:08:19 AM UTC+1, Mark Carter wrote: What is the best way to check the app has been moved to SD? http://developer.android.com/reference/android/content/pm/ApplicationInfo.html#FLAG_EXTERNAL_STORAGE http://developer.android.com/reference/android/content/pm

Re: [android-developers] Re: Moving from free app to a paid model

2011-05-30 Thread Mark Carter
I'm not sure, but isn't it possible to directly access the shared prefs of one app from another (by the same developer/publisher)? -- 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] Re: Purchases stuck again in Google Checkout

2011-05-24 Thread Mark Carter
Same here: about a quarter of my sales are in the limbo state after more than 24 hours. i.e. neither charged nor declined. I'd recommend contacting Google Checkout support - which, in my experience, is generally very good. -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: Purchases stuck again in Google Checkout

2011-05-24 Thread Mark Carter
I've only contacted them a few times but always got a worthwhile response. Maybe I was lucky, or maybe you were unlucky, I don't know. Completely opposite to my Android Market support experience, which I'm not sure actually exists! Here's the response I got to a related question I asked them a

Re: [android-developers] Re: How do you counter repeated bogus reviews from competitors?

2011-04-25 Thread Mark Carter
Idle thought: Instead of comments simply being shown in reverse chronological order, I'd like to see them ranked according to factors like: * Which version commenter had installed when posting comment * Spam/abuse rating for commenter (would like to see this have a big influence!) * How similar

[android-developers] Re: Live Wallpaper, Menu button etc in different languages

2011-04-24 Thread Mark Carter
I asked the same question here about 18 months ago: https://groups.google.com/forum/#!topic/android-developers/siCqOHHlrac but sadly got no answers :( I had an idea of using a statistical approach by parsing through all strings xml files on all the apps on a device and listing the most common

Re: [android-developers] Re: Is there a min SDK level for android.hardware.telephony feature?

2011-04-23 Thread Mark Carter
I've experienced this with the following devices: Motorola Milestone (7), Spice Mi-310 (8), HTC Desire (7), Samsung Galaxy Apollo (7), T-Mobile myTouch 3G Slide (7), ZTE Racer (7), Nokia N90 (10), Taiwan Mobile T2 (7), Samsung Galaxy 5 (7), HTC Legend (7) I expect some more devices will pop up

Re: [android-developers] Re: Is there a min SDK level for android.hardware.telephony feature?

2011-04-22 Thread Mark Carter
From what I have seen so far, TelephonyManager is never null (even for devices without telephony), so that check is no good. Maybe (for SDK level 7 and where the telephony feature value is missing) check TelephonyManager.getSimState() for TelephonyManager.SIM_STATE_READY instead? This is not

Re: [android-developers] Re: Is there a min SDK level for android.hardware.telephony feature?

2011-04-21 Thread Mark Carter
http://developer.android.com/search.html#q=android.hardware.telephony;http://developer.android.com/search.html#q= On 21 April 2011 18:34, lbendlin l...@bendlin.us wrote: there is no such thing as telephony in the android.hardware section

Re: [android-developers] Re: Is there a min SDK level for android.hardware.telephony feature?

2011-04-21 Thread Mark Carter
That last link was broken: http://developer.android.com/search.html#q=android.hardware.telephonyt=0http://developer.android.com/search.html#q= http://developer.android.com/search.html#q=This next link shows it's definitely the correct feature:

Re: [android-developers] Re: Is there a min SDK level for android.hardware.telephony feature?

2011-04-21 Thread Mark Carter
() method before, but I doubt that is causing the problem... On 21 April 2011 18:58:58 UTC+8, Mark Carter mjc1...@googlemail.com wrote: That last link was broken: http://developer.android.com/search.html#q=android.hardware.telephonyt=0http://developer.android.com/search.html#q= http

Re: [android-developers] Re: Is there a min SDK level for android.hardware.telephony feature?

2011-04-21 Thread Mark Carter
Anyone know of a more brut-force check for the presence of telephony? For example, maybe check Context.getSystemService(Context.TELEPHONY_SERVICE) for null? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Is there a min SDK level for android.hardware.telephony feature?

2011-04-20 Thread Mark Carter
I have an app that uses (but does not require) telephony. So (as described by Mark Murphy here: http://commonsware.com/blog/2011/02/25/xoom-permissions-android-market.html) I add the following line to the manifest: uses-feature android:name=android.hardware.telephony android:required=false /

Re: [android-developers] Google Translate's new TTS feature

2011-04-18 Thread Mark Carter
Thanks very much Nikolay. I found this response from a Googler which might be useful: https://groups.google.com/d/msg/google-ajax-search-api/MDIY-N4cPmk/DOzSLcXfe2sJ On 18 April 2011 12:38, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Mon, Apr 18, 2011 at 1:29 PM, Mark Carter mjc1

[android-developers] Google Translate's new TTS feature

2011-04-17 Thread Mark Carter
The latest version of the Google Translate app appears to use some online TTS service (instead of Android's built-in system). Does anyone know how it does this and whether the service is available to 3rd party apps? -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Prices on Market App vs. Market Website

2011-04-16 Thread Mark Carter
I'm not sure how it can possibly work. AFAICT, the currency is determined by the country of the sim card (for Android smartphones). But what happens if (like I do) you have two Android smartphones with different country sims? What currency should the website show then? -- You received this

[android-developers] WifiLock and WakeLock regarding large downloads

2011-03-28 Thread Mark Carter
From what I gather, WifiLock and WakeLock work completely independently and if you are downloading a large file over Wifi then you will need to acquire both locks?? Ideally, you would want something like this: 1. Acquire partial WakeLock 2. Preparing to download large file, check whether on

[android-developers] Specifying textAppearance using a custom attribute

2011-03-27 Thread Mark Carter
If I specify the style directly, everything works fine: TextView ... android:textAppearance=@style/MyTextAppearance / where styles.xml has: style name=MyTextAppearance parent=@android:style/TextAppearance ... /style However, I want to use a custom attribute so that the actual style used is

[android-developers] Re: Specifying textAppearance using a custom attribute

2011-03-27 Thread Mark Carter
I found out the problem: The LayoutInflater had been retrieved from the Application context and not an Activity context and so the theme had not been applied... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] ListView sometimes not calling onScrollStateChanged() when stop scrolling

2011-03-25 Thread Mark Carter
Normally this works fine - when scrolling stops, onScrollStateChanged() is called with SCROLL_STATE_IDLE. However, sometimes it just isn't called. This can be observed from one touch to the next (i.e. it's not an implementation detail). This is a problem, because I use the scroll state to

[android-developers] Adding EditText custom context menu items *before* system defaults

2011-03-23 Thread Mark Carter
I'm trying to added a context menu item *before* the standard Select all, Select text etc menu items. From what I can see, those standard items use CATEGORY_CONTAINER for ordering. Whatever category I specify in the order field of the add() method, the custom menu items always appear *after

Re: [android-developers] Adding EditText custom context menu items *before* system defaults

2011-03-23 Thread Mark Carter
Yep, that's my current workaround - seems to work OK... On 23 March 2011 23:57, TreKing treking...@gmail.com wrote: On Wed, Mar 23, 2011 at 2:37 AM, Mark Carter mjc1...@googlemail.comwrote: Is there any way to override this? Could you remove them, add yours, then re-add the defaults

[android-developers] SQLite attach database not working in Honeycomb

2011-03-14 Thread Mark Carter
My app makes extensive use of this: sqldb.execSQL(ATTACH DATABASE ? AS mydb, new String[] { dbFile.getPath() }); where the dbFile is stored on External Storage. The Honeycomb emulator confirms the File.exists() but when I query the database, it's as if the database hasn't been attached at

[android-developers] Re: SQLite attach database not working in Honeycomb

2011-03-14 Thread Mark Carter
A workaround has been posted on the Stackoverflow link. I've filed a bug report here: http://code.google.com/p/android/issues/detail?id=15499 -- 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] Reasoning behind disabling certain ProGuard optimizations?

2011-03-13 Thread Mark Carter
When using Proguard I was getting a VerifyError on SDK 3 when trying to access the Version.SDK_INT field. With proguard disabled, everything worked fine because I was using the standard approach of using a wrapper class to prevent VerifyErrors: public static int getSdkInt() { int sdkInt =

Re: [android-developers] Binding to a service from within a ContentProvider - when to unbind?

2011-03-11 Thread Mark Carter
Thanks Dianne. I couldn't find any information on the lifecycle of a ContentProvider in the docs. I've just ran a few tests and from what I can see, the ContentProvider is created when the process for the app is created (either because of some Activity being started or Service etc). Now, if

Re: [android-developers] Re: Difference between SQLite on HTC Hero (1.5) and Nexus One (FR72)?

2011-03-11 Thread Mark Carter
For those interested... Using the emulators: - Android 1.5 (Cupcake): 3.5.9 - Android 1.6 (Donut): 3.5.9 - Android 2.1 (Eclair): 3.5.9 - Android 2.2 (Froyo): 3.6.22 - Android 2.3 (Gingerbread): 3.6.22 - Android 3.0 (Honeycomb): 3.7.4 -- You received this message because you

[android-developers] Dynamically including a custom view defined in another app

2011-03-10 Thread Mark Carter
Suppose I have one app who's functionality can be accessed entirely through a single custom view (which does not take up the whole screen, because it needs to be displayed with something else). Now suppose I have another app which wants to be able to show that custom view within one of its own

Re: [android-developers] Dynamically including a custom view defined in another app

2011-03-10 Thread Mark Carter
Carter mjc1...@googlemail.com wrote: Suppose I have one app who's functionality can be accessed entirely through a single custom view (which does not take up the whole screen, because it needs to be displayed with something else). Now suppose I have another app which wants to be able to show

[android-developers] Binding to a service from within a ContentProvider - when to unbind?

2011-03-10 Thread Mark Carter
ContentProviders are instantiated at system startup and remain alive until the system shuts down. I have a ContentProvider that binds to one of my (local) services (which is most likely not already running) and so would like to unbind at some appropriate time. If unbindService is not called

[android-developers] LVL RuntimeException: Unsupp.Type7

2011-03-06 Thread Mark Carter
Anyone seen this before? FATAL EXCEPTION: Thread-32 java.lang.RuntimeException: Unsupp.Type7 at com.google.common.io.protocol.ProtoBuf.parse(ProtoBuf.java:448) at com.google.common.io.protocol.ProtoBuf.parse(ProtoBuf.java:443) at

Re: [android-developers] Re: One app, multiple APKs targeting different SDK levels would be good for adding Honeycomb functionality

2011-03-03 Thread Mark Carter
(orientation == Configuration.ORIENTATION_LANDSCAPE); } by using these flags on simple singleton model, you can easily build out the appropriate view for any scenarioexcept for small. just add a new flag for that ;) -rob On Mar 2, 11:51 pm, Mark Carter mjc1...@googlemail.com wrote: One

Re: [android-developers] Re: One app, multiple APKs targeting different SDK levels would be good for adding Honeycomb functionality

2011-03-03 Thread Mark Carter
That's an interesting idea: at each entry point, have a layer that delegates according to the SDK level. My app has a reasonably complex architecture involving multiple entry-point activities (although only one launcher icon), a few services, a content provider and some widgets. Inter-app

Re: [android-developers] Re: One app, multiple APKs targeting different SDK levels would be good for adding Honeycomb functionality

2011-03-03 Thread Mark Carter
Carter mjc1...@googlemail.comwrote: Therefore, in an ideal world (!), I would like the 1.5/1.6 users to use the existing, well-tested version and the other users will get the newer stuff. This is particularly problematic for paid apps. If you increase the min SDK level and then a lower SDK

Re: [android-developers] Re: One app, multiple APKs targeting different SDK levels would be good for adding Honeycomb functionality

2011-03-03 Thread Mark Carter
I just cleared my Market data/cache again and that app is still not visible... -- 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

[android-developers] One app, multiple APKs targeting different SDK levels would be good for adding Honeycomb functionality

2011-03-02 Thread Mark Carter
One of the main reasons I have not started any Honeycomb-specific development is because of the extra complexity it would bring to my existing codebase. If it were possible to upload multiple APKs (targeting different SDK level ranges) for the same app, I would be much more likely to take

[android-developers] Handling list item click events within the ListAdapter - good or bad practice?

2011-02-22 Thread Mark Carter
I have a ListView where I often swap in and out various adapters of various types. Some adapters display items of varying types. When onItemClick() is called, I check to see which adapter is being used and then direct flow control accordingly. Further querying/inspecton of the adapter is

Re: [android-developers] Handling list item click events within the ListAdapter - good or bad practice?

2011-02-22 Thread Mark Carter
As a specific example, I have an adapter where the final item is More results Clicking on that will fetch more results... The underlying data knows whether there are more results and specifies the queries to get those results. It is also capable of running those queries (although maybe it

Re: [android-developers] Handling list item click events within the ListAdapter - good or bad practice?

2011-02-22 Thread Mark Carter
Yes, entirely different types of data. But really, the key question is more about varying types within an adapter, rather than the switching in/out of adapters. Sorry for the confusion. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

  1   2   3   4   >