in your manifest explicitly declare the hardware.telephony and set the
required="false". This solves the market filtering issues.

However, you will now have to @ runtime check if the device does indeed
support SMS !!

-Dan


2011/12/22 Kostya Vasilyev <[email protected]>

> While I don't have a workaround - sorry - but this particular device
> is.... quite weird...
>
> FWIW, this is what I recently ran into, it has to do with WiFi:
>
> http://wp.me/pSrdQ-lg
>
> Have you tried calling SmsManager.getDefault() and checking for null?
>
> -- Kostya
>
> 22 декабря 2011 г. 16:48 пользователь Terry <[email protected]> написал:
> > As no one has responed to this issue yet, I shall try to explain it in
> > more detail.
> >
> > In order to DO make an app visible for e.g. the Galaxy Tab 10.1 model
> > GT-P7500, one could put the following in the Manifest file:
> >
> > <uses-feature android:name="android.hardware.telephony"
> > android:required="false"/>
> >
> > In the app code, one could e.g. use the following too check what
> > features are available:
> >
> > PackageManager pm = getPackageManager();
> > boolean hasTelephony =
> > pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY);
> >
> > However, the Galaxy Tab 10.1 model GT-P7500 returns a false on that
> > method.
> >
> > The problem would be solved if there existed a constant like
> > PackageManager.FEATURE_SMS or similar, but there is no such thing.
> >
> > I think that the Market is still not prepared for the type of products
> > like the Galaxy Tab 10.1 model GT-P7500.
> >
> > Any ideas as to how I can solve this?
> >
> > Terry
> >
> >
> > On 21 Des, 12:38, Terry <[email protected]> wrote:
> >> I have tried to ask this question elsewhere, but without getting any
> >> answer I can use. So I try it here also.
> >>
> >> I have some apps which send and receive SMSs. They are invisible for
> >> the new Galaxy Tablets on the Market, and they cannot be dowloaded to
> >> them.
> >>
> >> WHY?
> >>
> >> As e.g. the Galaxy Tablet 10.1, model GT-P7500 does NOT support audio
> >> phone calls - but it DOES support sending and receiving SMSs, there
> >> should be no problem. In fact, when I download these apps to the GT-
> >> P7500  locally, they work as expected.
> >>
> >> The Market however, sees the permissions to SEND_ and RECEIVE_SMS in
> >> the Manifest file of the apps, and interprets this so as to require
> >> hardware.telephony from the Galaxy Tabs. Which is does not seem to
> >> support.
> >>
> >> Any idea how to make a work-around for this problem?
> >>
> >> Terry
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > 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 post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> 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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to