Hi everyone, I'm back again.
This is getting kind of serious for me, I wish someone could give me
some explantion of what's going on (specially if Google people are
reading this).
I have downloaded the SDK and Eclipse for another windows machine we
have here (I was using linux on my previous attempts), so I installed
the SDK, oppened Eclipse and created a brand new android project and
only add these few lines in my manifest (seriously, that was all I
did!):
<uses-permission android:name="android.permission.READ_CONTACTS"/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission
android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission
android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission
android:name="android.permission.ACCESS_COARSE_UPDATES" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" /
>
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="8"/>
So I went to publish my application and also decided to create a new
keystore file just to make sure. everything seemed to be going well
and I was doing everything just like it was my first time creating and
publishing an android application. I mean.. another PC, new SDK, new
Eclipse, new keystore and new Android project... what could go wrong,
right? but once again... as soon as I published it I went to check on
my three android devices and the app was only visible (and still) for
the Tattoo on Android Market! what is going on??? I have two developer
accounts one personal and companys, and neither of them worked. =(
I don't know what else to try I've pretty much tried everything! if
any of you would be willing to create just a simple app like mine and
add those few lines on the manifest just to see if this is really just
happening with me I would be really appreciated... or just a
reasonable explanation why is this happening would also be great.
Thanks for the great support so far!
- Gus
Devices:
HTC Tattoo - Firmware version: 1.6 - Model HTC Tattoo A3232
Motorola Milestone (AKA Droid) - Firmware version: 2.0.1 - Model A853
HTC G1 - Firmware version: 2.01 - Model T-Mobile G1
On 4 set, 07:31, San Zhang <[email protected]> wrote:
> Hi Dianne Hackborn,
>
> Your mention is very helpful for me, Thanks.
>
> I have an another question: If android:minSdkVersion is "3" and
> android:targetSdkVersion is "8", how to manager it? Or, is there a priority
> between both attributes?
>
> 2010/9/4 Dianne Hackborn <[email protected]>
>
> > Also on that page:
>
> > Default values for attributes
>
> > The default values for the <supports-screens> attributes differs,
> > depending on the value of
> > theandroid:minSdkVersion<http://developer.android.com/guide/topics/manifest/uses-sdk-element.html>
> > attribute
> > in the application's manifest, as well as on the value of
> > android:targetSdkVersion, if declared:
>
> > - If android:minSdkVersion or android:targetSdkVersion is "3" (Android
> > 1.5) or lower, the default value for everything except
> > android:normalScreens
> > is false. If you are primarily targeting pre-Android 1.6 platforms but
> > also want to support other densities/screen sizes, you need to set the
> > appropriate attributes to true.
> > - If android:minSdkVersion or android:targetSdkVersion is "4" (Android
> > 1.6) or higher, the default value for everything is true. If your
> > application requires Android 1.6 features, but does not support these
> > densities and/or screen sizes, you need to set the appropriate attributes
> > to false.
> > - Note that android:normalScreens always defaults to true.
>
> > But um yeah if you want to be uber-pedantic... wait, no, not even in that
> > case. "This gun lets me kill the bunny." That doesn't imply to me that the
> > gun is the only way I have to kill the bunny. :)
>
> > On Fri, Sep 3, 2010 at 11:57 PM, Indicator Veritatis
> > <[email protected]>wrote:
>
> >> I take your word for this, that it really is true. But I must point
> >> out: strictly speaking that contradicts
> >>http://developer.android.com/guide/practices/screens_support.html
> >> which reads in part:
>
> >> "The platform also provides a <supports-screens> manifest element,
> >> whose attributes android:largeScreens, android:normalScreens, and
> >> android:smallScreens let you specify what generalized screen sizes
> >> your application supports. "
>
> >> By the rules of English grammar, this means that this manifest element
> >> ALONE lets you specify it, minSdkVersion has NO part in it.
>
> >> On Sep 3, 5:14 pm, Dianne Hackborn <[email protected]> wrote:
> >> > On Fri, Sep 3, 2010 at 1:31 PM, Gustavo <[email protected]> wrote:
> >> > > <supports-screens android:largeScreens="true"
> >> > > android:normalScreens="true" android:smallScreens="true"
> >> > > android:anyDensity="true" />
>
> >> > > <uses-sdk android:minSdkVersion="4" />
>
> >> > Note that these two lines are redundant. Making the minSdkVersion 4
> >> implies
> >> > you support different screens.
>
> >> > --
> >> > Dianne Hackborn
> >> > Android framework engineer
> >> > [email protected]
>
> >> > Note: please don't send private questions to me, as I don't have time to
> >> > provide private support, and so won't reply to such e-mails. All such
> >> > questions should be posted on public forums, where I and others can see
> >> and
> >> > answer them.
>
> >> --
> >> 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]<android-developers%[email protected]>
> >> For more options, visit this group at
> >>http://groups.google.com/group/android-developers?hl=en
>
> > --
> > Dianne Hackborn
> > Android framework engineer
> > [email protected]
>
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support, and so won't reply to such e-mails. All such
> > questions should be posted on public forums, where I and others can see and
> > answer them.
>
> > --
> > 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]<android-developers%[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