[android-developers] Re: Market device-filtering question

2012-03-18 Thread Keith Wiley
Thanks for responding.  Here's my permission list:

uses-permission android:name=android.permission.INTERNET /
uses-permission
android:name=android.permission.ACCESS_FINE_LOCATION /
uses-permission android:name=android.permission.WAKE_LOCK /
uses-permission
android:name=android.permission.WRITE_EXTERNAL_STORAGE /
uses-permission android:name=android.permission.CALL_PHONE /

Hmmm, your followup question concerns me.  My manifest doesn't have
the uses-feature tag at all (the app goes back to 2009 and as I have
upgraded it I haven't added extraneous stuff that was unnecessary; I
have only made changes that new SDKs require in order to build and run
the app).  At the very least I would expect that leaving the filter
wide open (by specifying no required features) would make it maximally
visible.  Why wouldn't someone with a Galaxy Tab be able to see the
app as a result of the uses-feature tag?  It seems to me like the uses-
feature tag could only make an app *less* visible (by indicating a
feature which someone's device lacks).  If I indicate no features at
all, doesn't that prevent it from being filtered on anyone's device?
I think I misunderstand how this tag works.
Thank you.

On Mar 17, 11:50 am, Mark Murphy mmur...@commonsware.com wrote:
 What permissions are you requesting? And, did you add the appropriate
 uses-feature elements as needed for things the permissions imply
 that you do not actually need?

 http://developer.android.com/guide/topics/manifest/uses-feature-eleme...









 On Sat, Mar 17, 2012 at 2:12 PM, Keith Wiley kbwi...@gmail.com wrote:
  I realize this question is more about the market than android code
  development, but by Google's own admission they have completely shut
  down the market forums coincident with the switch to Google Play, and
  my question *is* about how to properly configure an app for the
  market, so that's sort of a developer question.

  My problem is that a potential customer with a 10.1 Galaxy Tab says
  he can't see my app in the market (or Play or whatever stupid name
  they recently gave it that makes it seem like Google only sells silly
  games and not serious business software!), but he *can* see it from
  his phone...so it isn't excluded for his region or some currency
  issue.  Rather, it would appear that the market is filter-excluding my
  app specifically on his tablet.  I have the following entry in my
  manifest, which I would have expected to avoid this kind of problem:

         supports-screens
                 android:xlargeScreens=true
                 android:largeScreens=true
                 android:normalScreens=true
                 android:smallScreens=true
                 android:anyDensity=true /

  Is there something else I need to put in the manifest to make the app
  appear on tablets?  At a higher level of abstraction, is there a
  general way of knowing precisely why an app is being excluded for
  certain devices so that developers can readily solve these kinds of
  problems?

  Thank you.

  Cheers!

  --
  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
  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/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

 Android Training in DC:http://marakana.com/training/android/

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Market device-filtering question

2012-03-18 Thread Mark Murphy
On Sun, Mar 18, 2012 at 11:27 AM, Keith Wiley kbwi...@gmail.com wrote:
 Thanks for responding.  Here's my permission list:

        uses-permission android:name=android.permission.INTERNET /
        uses-permission
 android:name=android.permission.ACCESS_FINE_LOCATION /
        uses-permission android:name=android.permission.WAKE_LOCK /
        uses-permission
 android:name=android.permission.WRITE_EXTERNAL_STORAGE /
        uses-permission android:name=android.permission.CALL_PHONE /

 Hmmm, your followup question concerns me.  My manifest doesn't have
 the uses-feature tag at all

And therein lies your problem. Tablets are not phones, and CALL_PHONE
implies android.hardware.telephony.

 At the very least I would expect that leaving the filter
 wide open (by specifying no required features) would make it maximally
 visible.

You did not read the page I linked to:

http://developer.android.com/guide/topics/manifest/uses-feature-element.html#permissions

Here is a year-old blog post on the same topic:

http://commonsware.com/blog/2011/02/25/xoom-permissions-android-market.html

Here is an Android Developers Blog post on the same topic:

http://android-developers.blogspot.com/2011/02/best-practices-for-honeycomb-and.html

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 4.1 Available!

-- 
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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Market device-filtering question

2012-03-18 Thread Keith Wiley
On Mar 18, 8:48 am, Mark Murphy mmur...@commonsware.com wrote:
 On Sun, Mar 18, 2012 at 11:27 AM, Keith Wiley kbwi...@gmail.com wrote:
  Thanks for responding.  Here's my permission list:

         uses-permission android:name=android.permission.INTERNET /
         uses-permission
  android:name=android.permission.ACCESS_FINE_LOCATION /
         uses-permission android:name=android.permission.WAKE_LOCK /
         uses-permission
  android:name=android.permission.WRITE_EXTERNAL_STORAGE /
         uses-permission android:name=android.permission.CALL_PHONE /

  Hmmm, your followup question concerns me.  My manifest doesn't have
  the uses-feature tag at all

 And therein lies your problem. Tablets are not phones, and CALL_PHONE
 implies android.hardware.telephony.

  At the very least I would expect that leaving the filter
  wide open (by specifying no required features) would make it maximally
  visible.

 You did not read the page I linked to:

 http://developer.android.com/guide/topics/manifest/uses-feature-eleme...

Yes I did.  Thank you.  I simply missed the reference to cell-phones.
I don't think of my app as requiring cell-phone capability (it's a
spread sheet), so I tend to completely forget about it and not
consciously reference any cell-phone aspect of a webpage or discussion
since it's barely relevant to my app.  The app only needs the
associated permission because it's possible to dial a phone number
directly from a spreadsheet in my app, but obviously, by no means does
that extra capability prevent the app from being useful on android
nonphone devices (and it's such a tiny inconsequential feature I
totally forget it's even in there).

I'll look into how to make that permission or feature optional so it
still appears in the market on nonphone devices.

Thanks.

-- 
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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Market device-filtering question

2012-03-18 Thread Keith Wiley
Looks like this is the trick:

uses-feature android:name=android.hardware.telephony
android:required=false /

...plus a few related entries for location access, etc.

Thanks again.

Cheers!

-- 
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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en