This is still causing me problems. It isn't SDK or platform specific as it has worked as intended on the CLIQ, G1, and Droid (1.5, 1.6, 2.0.1). I seriously doubt that the 90% of cut-off messages I have received are because the user chose to remove the numerous package information items from the email, but not the "Text1" part. No matter how many times I send the email to myself it works. Arg!
On Dec 14, 10:55 am, justinh <[email protected]> wrote: > I recently added a feature to my app that allows the user to send a > report via a message chooser (all have chosen gmail) that helps > mitigate the fact that I don't have all the physical phones to test > on. Execution worked as expected on my G1 and the emulator, however, > to my horror as users began sending them in most of them were > incomplete! > > Pseudo-code of what I am doing is as follows: > > private class SendReport extends AsyncTask<Void, Void, Void> { > private String email = ""; > protected void doInBackground( ) { > email += "Text1\n\n"; > > List<PackageInfo> list = mContext.getPackageManager > ().getInstalledPackages(flags); > > int size = list.size(); > for(int i=0; i<size; i++){ > email+="package name at i\n"; > } > return null; > } > protected void onPostExecute( ) { > send email giving user chooser choice. > } > } > > On my phone and the emulator, all of the packages are inserted into > the email. However, most of the emails I get, even from the same exact > phone model/carrier/OS version, only contain "Text1". Users that have > automatic signature insertions even have that at the bottom, so it's > not that the email is being cut off somehow, it's that size is > apparently 0. That is the only thing I can think of. Every once and a > while I will get a full email though. > > This frightens me because what other APIs run fine in my testing but > not user phones? What's going on here? -- 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

