Re: [android-developers] EditText causes app to crash

2011-05-13 Thread TreKing
On Thu, May 12, 2011 at 11:50 PM, Dianne Hackborn hack...@android.comwrote:

 On Thu, May 12, 2011 at 8:21 PM, TreKing treking...@gmail.com wrote:

 Just two quick points:
 1 - Most, if not all, of the complaining about lack of support is directed
 squarely at the Android Market. I think you know this.


 Well except the comment I was replying to here wasn't about Market.


You're absolutely correctly. I think I generally associate any comments
about Google Support here to be related to the Market.


 2 - Google takes a $25 signup fee and 30% cut of every paid app sold
 through the Android Market. Considering that, I think it's reasonable to
 expect some semblance of support from that particular group.


 My response here isn't about Market, so this doesn't really apply.


Fair enough. I'll leave that at that.

I can certainly appreciate your frustration with the other unrealistic
requests regarding other areas of the platform you cited.

On Thu, May 12, 2011 at 10:38 PM, Bob Kerns r...@acm.org wrote:

 I think the Market folks need to seek out and hire a Dianne Marketborn.


LOL - Seriously.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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] EditText causes app to crash

2011-05-13 Thread Justin Anderson
As the person who accidentally started this whole issue, I would like to
formally apologize.  In truth I was really hacked off with HTC yesterday
because they literally provide Zero developer support.  I made my comment
quickly without thinking of the ramifications and consequences it would have
and it was out of line.  After sending it I quickly sent another message to
try and ease the sharpness of it (obviously quite unsuccessfully).

I am truly grateful for Android and all the effort that goes on behind the
scenes to make it a successful platform.  In many of the posts that Dianne
referred to about ridiculous demands I have actively stood on the side of
Google.

Sometimes, being on the outside, it is easy to remember that there is a lot
of effort going on that we can't see.  And being human, what we can't see
often times doesn't exist (until it is pointed out again and again).

So, Dianne, and everyone else at Google (whether active contributors to this
group or not), thank you for your efforts in making Android a success.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Fri, May 13, 2011 at 6:37 AM, TreKing treking...@gmail.com wrote:

 On Thu, May 12, 2011 at 11:50 PM, Dianne Hackborn hack...@android.comwrote:

 On Thu, May 12, 2011 at 8:21 PM, TreKing treking...@gmail.com wrote:

 Just two quick points:
 1 - Most, if not all, of the complaining about lack of support is
 directed squarely at the Android Market. I think you know this.


 Well except the comment I was replying to here wasn't about Market.


 You're absolutely correctly. I think I generally associate any comments
 about Google Support here to be related to the Market.


 2 - Google takes a $25 signup fee and 30% cut of every paid app sold
 through the Android Market. Considering that, I think it's reasonable to
 expect some semblance of support from that particular group.


 My response here isn't about Market, so this doesn't really apply.


 Fair enough. I'll leave that at that.

  I can certainly appreciate your frustration with the other unrealistic
 requests regarding other areas of the platform you cited.

 On Thu, May 12, 2011 at 10:38 PM, Bob Kerns r...@acm.org wrote:

  I think the Market folks need to seek out and hire a Dianne Marketborn.


 LOL - Seriously.


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

  --
 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


-- 
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] EditText causes app to crash

2011-05-13 Thread Justin Anderson
* Sometimes, being on the outside, it is easy to remember that there is a
lot of effort going on that we can't see*

That should have read it is easy to forget...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Fri, May 13, 2011 at 9:27 AM, Justin Anderson magouyaw...@gmail.comwrote:

 Sometimes, being on the outside, it is easy to remember that there is a lot
 of effort going on that we can't see

-- 
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] EditText causes app to crash

2011-05-12 Thread Justin Anderson
* Try HTC support forums - maybe it's their bug.*
*
*
Good luck with that... In my experience they provide as much support for
developers as Google does.
***
* Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Mon, May 9, 2011 at 6:50 AM, TreKing treking...@gmail.com wrote:

 Try HTC support forums - maybe it's their bug.

-- 
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] EditText causes app to crash

2011-05-12 Thread Justin Anderson
Actually less because they don't even have a forum or group like this for
developers.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, May 12, 2011 at 5:27 PM, Justin Anderson magouyaw...@gmail.comwrote:

 * Try HTC support forums - maybe it's their bug.*
 *
 *
 Good luck with that... In my experience they provide as much support for
 developers as Google does.
 ***
 * Thanks,
 Justin Anderson
 MagouyaWare Developer
 http://sites.google.com/site/magouyaware



 On Mon, May 9, 2011 at 6:50 AM, TreKing treking...@gmail.com wrote:

 Try HTC support forums - maybe it's their bug.




-- 
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] EditText causes app to crash

2011-05-12 Thread Dianne Hackborn
On Thu, May 12, 2011 at 11:27 PM, Justin Anderson magouyaw...@gmail.comwrote:

 * Try HTC support forums - maybe it's their bug.*
 Good luck with that... In my experience they provide as much support for
 developers as Google does.


I increasingly get tempted to stop posting on this forum.  It would sure
give me time to do other stuff to improve the platform.

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

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 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] EditText causes app to crash

2011-05-12 Thread Justin Anderson
Dianne,

I added a quick after-post stating that Google does more than HTC because
HTC does not have any sort of forum for the developers like this...

I have defended Google and developers like yourself on several occasions
because of the support you do provide and am very grateful for your
contributions to the platform and this forum.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, May 12, 2011 at 5:31 PM, Dianne Hackborn hack...@android.comwrote:

 On Thu, May 12, 2011 at 11:27 PM, Justin Anderson 
 magouyaw...@gmail.comwrote:

 * Try HTC support forums - maybe it's their bug.*
 Good luck with that... In my experience they provide as much support for
 developers as Google does.


 I increasingly get tempted to stop posting on this forum.  It would sure
 give me time to do other stuff to improve the platform.

 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 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 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


-- 
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] EditText causes app to crash

2011-05-12 Thread B Lyon
I don't know anything about HTC, but wanted to ditto Justin's
gratefulness to the android developers for the information they
provide via this forum, especially Dianne.

On Thu, May 12, 2011 at 7:38 PM, Justin Anderson magouyaw...@gmail.com wrote:
 Dianne,
 I added a quick after-post stating that Google does more than HTC because
 HTC does not have any sort of forum for the developers like this...
 I have defended Google and developers like yourself on several occasions
 because of the support you do provide and am very grateful for your
 contributions to the platform and this forum.
 Thanks,
 Justin Anderson
 MagouyaWare Developer
 http://sites.google.com/site/magouyaware


 On Thu, May 12, 2011 at 5:31 PM, Dianne Hackborn hack...@android.com
 wrote:

 On Thu, May 12, 2011 at 11:27 PM, Justin Anderson magouyaw...@gmail.com
 wrote:

  Try HTC support forums - maybe it's their bug.
 Good luck with that... In my experience they provide as much support for
 developers as Google does.

 I increasingly get tempted to stop posting on this forum.  It would sure
 give me time to do other stuff to improve the platform.
 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 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 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

 --
 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

-- 
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] EditText causes app to crash

2011-05-12 Thread Dianne Hackborn
It's not just about me posting to this group.  Google puts significant time
and money in to creating, documenting, and supporting the Android SDK, in to
maintaining and improving the developer tools, in to improving the platform
in ways that developers request.  All of this, including all of the
generated source code, is given a way.  All of it for free.

From watching all of this for a few years now, I honestly believe that
giving things away for free like this has a strange tendency to cause people
to feel entitled about what they are getting and expect they should be
getting unreasonably more than they are.

I don't want to discount all of the time and effort that third party
developers put in to the platform and how much it benefits the platform.  I
certainly appreciate this.  The expectation coming back about what Google
owes developers however often seems to be way over the the top, or at least
very unappreciative of everything Google does do.

On Thu, May 12, 2011 at 11:38 PM, Justin Anderson magouyaw...@gmail.comwrote:

 Dianne,

 I added a quick after-post stating that Google does more than HTC because
 HTC does not have any sort of forum for the developers like this...

 I have defended Google and developers like yourself on several occasions
 because of the support you do provide and am very grateful for your
 contributions to the platform and this forum.

 Thanks,
 Justin Anderson
 MagouyaWare Developer
 http://sites.google.com/site/magouyaware


 On Thu, May 12, 2011 at 5:31 PM, Dianne Hackborn hack...@android.comwrote:

 On Thu, May 12, 2011 at 11:27 PM, Justin Anderson 
 magouyaw...@gmail.comwrote:

 * Try HTC support forums - maybe it's their bug.*
 Good luck with that... In my experience they provide as much support for
 developers as Google does.


 I increasingly get tempted to stop posting on this forum.  It would sure
 give me time to do other stuff to improve the platform.

 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 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 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


  --
 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




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

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 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] EditText causes app to crash

2011-05-12 Thread TreKing
On Thu, May 12, 2011 at 9:40 PM, Dianne Hackborn hack...@android.comwrote:

 From watching all of this for a few years now, I honestly believe that
 giving things away for free like this has a strange tendency to cause people
 to feel entitled about what they are getting and expect they should be
 getting unreasonably more than they are.


Just two quick points:
1 - Most, if not all, of the complaining about lack of support is directed
squarely at the Android Market. I think you know this.
2 - Google takes a $25 signup fee and 30% cut of every paid app sold through
the Android Market. Considering that, I think it's reasonable to expect some
semblance of support from that particular group.

That said, I wholeheartedly agree with everything else regarding the
platform itself, documentation, samples, and tools.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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] EditText causes app to crash

2011-05-12 Thread Bob Kerns
I think we need to clearly distinguish between Support provided by Google, 
and Support provided by Dianne Hackborn. (And a few other notables, but 
especially you.)

There's no question that if you stopped posting, you'd have time to do other 
stuff to improve the platform.

But I really don't think there's anything you could code up that would 
contribute as much to the success of the Android platform, as what you do, 
posting here.

You can have great code, but if your developer community is not thriving and 
successful, it'll go to waste.

Technically, what you do here isn't support. But it fills the void, and in a 
much more cost-effective way.

It's education.

It's also an insider view, and inside access, and a communications channel.

But mostly, it's education, and the impact of your efforts go far beyond 
answers to individual developers questions. Support simply does not have the 
reach you do!

I hope your bosses appreciate that fact. I hope the people here on the forum 
do.

You do a great job.

On Thursday, May 12, 2011 4:31:36 PM UTC-7, Dianne Hackborn wrote:

 On Thu, May 12, 2011 at 11:27 PM, Justin Anderson magou...@gmail.comwrote:

 * Try HTC support forums - maybe it's their bug.*
 Good luck with that... In my experience they provide as much support for 
 developers as Google does.


 I increasingly get tempted to stop posting on this forum.  It would sure 
 give me time to do other stuff to improve the platform.

 -- 
 Dianne Hackborn
 Android framework engineer
 hac...@android.com



-- 
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] EditText causes app to crash

2011-05-12 Thread Bob Kerns
Dianne, there's another way to look at this.

I don't think it is as much a matter of entitlement, as investment. People 
are emotionally and financially invested in the success of the Android 
platform -- as are you!

A lot of what you see isn't so much I am entitled to X, as Android really 
needs X.

It still boils down to unreasonable demands on the Android team, but a lot 
of the time, the motivations are more of a matter of rooting -- urgently -- 
for your success.

And I think it's natural that the weakest links in that success come in for 
the greatest heat. Most would agree that the weakest link -- and arguably 
the most important -- has been the market, which went for a very long time 
without any notable improvement -- and notably, without any public 
communication of the type you provide for the platform itself.

I think the Market folks need to seek out and hire a Dianne Marketborn. I 
know they've been making new efforts and progress, but connecting them 
better to their developer community would pay off.

But even so, you'll always have impassioned people urgently wanting you all 
to do even more. But think about it -- what's the alternative? A community 
that doesn't care what you do?

Ultimately, this situation is a mark of, and measure of, your success.

On Thursday, May 12, 2011 7:40:34 PM UTC-7, Dianne Hackborn wrote:

 It's not just about me posting to this group.  Google puts significant time 
 and money in to creating, documenting, and supporting the Android SDK, in to 
 maintaining and improving the developer tools, in to improving the platform 
 in ways that developers request.  All of this, including all of the 
 generated source code, is given a way.  All of it for free.

 From watching all of this for a few years now, I honestly believe that 
 giving things away for free like this has a strange tendency to cause people 
 to feel entitled about what they are getting and expect they should be 
 getting unreasonably more than they are.

 I don't want to discount all of the time and effort that third party 
 developers put in to the platform and how much it benefits the platform.  I 
 certainly appreciate this.  The expectation coming back about what Google 
 owes developers however often seems to be way over the the top, or at least 
 very unappreciative of everything Google does do.

 On Thu, May 12, 2011 at 11:38 PM, Justin Anderson magou...@gmail.comwrote:

 Dianne, 

 I added a quick after-post stating that Google does more than HTC because 
 HTC does not have any sort of forum for the developers like this...

 I have defended Google and developers like yourself on several occasions 
 because of the support you do provide and am very grateful for your 
 contributions to the platform and this forum.
  
 Thanks,
 Justin Anderson
 MagouyaWare Developer
 http://sites.google.com/site/magouyaware


 On Thu, May 12, 2011 at 5:31 PM, Dianne Hackborn hac...@android.comwrote:

 On Thu, May 12, 2011 at 11:27 PM, Justin Anderson magou...@gmail.comwrote:

 * Try HTC support forums - maybe it's their bug.*
 Good luck with that... In my experience they provide as much support for 
 developers as Google does.


 I increasingly get tempted to stop posting on this forum.  It would sure 
 give me time to do other stuff to improve the platform.

 -- 
 Dianne Hackborn
 Android framework engineer
 hac...@android.com

 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 android-d...@googlegroups.com
 To unsubscribe from this group, send email to
 android-develop...@googlegroups.com
 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 android-d...@googlegroups.com
 To unsubscribe from this group, send email to
 android-develop...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 -- 
 Dianne Hackborn
 Android framework engineer
 hac...@android.com

 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at

Re: [android-developers] EditText causes app to crash

2011-05-12 Thread Dianne Hackborn
On Thu, May 12, 2011 at 8:21 PM, TreKing treking...@gmail.com wrote:

 Just two quick points:
 1 - Most, if not all, of the complaining about lack of support is directed
 squarely at the Android Market. I think you know this.


Well except the comment I was replying to here wasn't about Market.  I very
much avoid reading any threads related to Market here because they are not
worth the time.  And there are numerous examples of people complaining that
Google is not giving them as much as they deserve besides anything to do
with Market.  In fact there were two nice (and common) ones just the other
day at the fireside chat:

- Someone asking about when Google is going to completely open-source
Android, and then clarifying open-sourcing everything down to the hardware
drivers and radio layer.  When it was pointed out that these are not things
Google has direct control over because they are owned by other people, but
if you look at the progress over the last few years there have been a lot of
improvements in the situation and Google will continue to work to make
things better, the response is well I'm disappointed.  Nice.

- Someone asking for Google to open-source their proprietary apps so others
can learn from real full working apps.  This person was not too happy
about the response of that not happening...  at which point I would have
liked to ask what full working apps *that* person had open-sourced for
others.  Not to mention that there are plenty of full working apps in the
open-source platform (contacts, music, calendar, etc) that Google did
implement and give away.

I'm not saying there is anything wrong with asking for such things and
bringing them up.  What annoys me is the attitude that often goes along with
it when these requests and demands are not fully met that Google is somehow
not doing enough.


 2 - Google takes a $25 signup fee and 30% cut of every paid app sold
 through the Android Market. Considering that, I think it's reasonable to
 expect some semblance of support from that particular group.


My response here isn't about Market, so this doesn't really apply.  On the
other hand -- just compare this with other platforms: on iOS and Windows
Mobile you get the same 30% cut but have to pay $99 a year for the privilege
of distributing any apps.  On Windows MSDN is about $800/year.

A single $25 signup fee is trivial.  And if you don't want to pay it, we
made Android so that you could still publish your apps outside of Market.

Anyway I did say that I don't read threads about Market, and I don't want to
get into another one here.

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

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 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] EditText causes app to crash

2011-05-09 Thread TreKing
On Sun, May 8, 2011 at 10:09 PM, Abhinav Asthana ricky...@gmail.com wrote:

 Caused by: java.lang.NullPointerException

at *com.htc*
 .textselection.TextSelectionMethodImpl.initAnchorAndMagnifier(TextSelectionMethodImpl.java:
  310)
 at *com.htc*
 .textselection.TextSelectionMethodImpl.initialize(TextSelectionMethodImpl.java:
  297)

 The same thing happens with an EditTextPreference item. I have no idea how
 to solve this, and whatever I have tried has failed.


Try HTC support forums - maybe it's their bug.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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] EditText causes app to crash

2011-05-08 Thread Abhinav Asthana
I have been breaking my head over this for the past 1 month over this
error I am having on certain HTC models. The app runs fine on other
phones but crashes with a long list of exceptions. This is what I got
from the market:

java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.vtcreator.android360/com.myapp.MyActivity}:
android.view.InflateException: Binary XML file line #16: Error
inflating class android.widget.EditText
at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2838)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2859)
at android.app.ActivityThread.access$2300(ActivityThread.java:136)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:
2179)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:143)
at android.app.ActivityThread.main(ActivityThread.java:5073)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:858)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #16:
Error inflating class android.widget.EditText
at android.view.LayoutInflater.createView(LayoutInflater.java:513)
at
com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:
56)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:
563)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:621)
at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
at
com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:
217)
at android.app.Activity.setContentView(Activity.java:1701)
at
com.vtcreator.android360.activities.SelectUsernameActivity.onCreate(SelectUsernameActivity.java:
24)
at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
1088)
at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2802)
... 11 more
Caused by: java.lang.reflect.InvocationTargetException
at android.widget.EditText.init(EditText.java:53)
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:446)
at android.view.LayoutInflater.createView(LayoutInflater.java:500)
... 23 more
Caused by: java.lang.NullPointerException
at
com.htc.textselection.TextSelectionMethodImpl.initAnchorAndMagnifier(TextSelectionMethodImpl.java:
310)
at
com.htc.textselection.TextSelectionMethodImpl.initialize(TextSelectionMethodImpl.java:
297)
at android.widget.TextView.setText(TextView.java:2743)
at android.widget.TextView.setText(TextView.java:2623)
at android.widget.EditText.setText(EditText.java:82)
at android.widget.TextView.init(TextView.java:924)
at android.widget.EditText.init(EditText.java:57)
... 27 more


The same thing happens with an EditTextPreference item. I have no idea
how to solve this, and whatever I have tried has failed. Have posted
this as a bug on the Android bug list as well as on StackOverflow.

http://code.google.com/p/android/issues/detail?id=16640colspec=ID%20Type%20Status%20Owner%20Summary%20Stars
http://stackoverflow.com/questions/5500609/app-crashing-in-desire-hd

-- 
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