Thread String

by Bobbie » Fri, 06 Mar 2009 14:01:09 GMT

Sponsored Links
 I am trying to pass a string variable to a thread, but as soon as the
app gets to the thread that is requesting the variable, the
application crashes.  Any ideas?  Can you show me some examples of how
to pass a public string to a thread?  Please let me know.  Thanks!

Thread String

by Bobbie » Fri, 06 Mar 2009 20:56:49 GMT

 It's a really strange situation.  I can pass other strings to a
thread, but this string for some reason won't be passed.  The string

static String sesid = "";

I have other static strings declared as well and they are working
perfectly fine.



Sponsored Links

Thread String

by Stoyan Damov » Fri, 06 Mar 2009 21:03:12 GMT

 What do you mean by "pass a string to a thread" - this doesn't make any sense.
Then, when your app crashes, what does the stack trace look like?


Thread String

by Bobbie » Fri, 06 Mar 2009 22:55:27 GMT

 Nevermind, I'm an idiot.  The thread was trying to call something that
didn't exist and I didn't see the line of code in there.  Sorry about


Other Threads

1. Need Advice: In-App Purchase of Physical Goods

I'm going to be releasing a game to the market soon, and I'd like to
offer users the ability to purchase shirts, mugs, and other shiny
things for physical delivery.

I really want to keep the process brain-dead easy.  I'd like to NOT
require the user to re-authenticate with any particular checkout
service.  Click buy, enter the quantity and shipping address, verify
and submit.

Seems like Google's in-app purchases are a viable option, although I'd
need to pass the 30% fee on to the user in this case, since it is a
physical good with manufactured cost.  It would be nice to NOT do

Has anyone else done something similar?  How would you approach doing
something like this?

Thanks for any opinions...


2. Transactions in android market not clearing?

I was wondering why the payout from 4/24 was lower than it should
based on the number of sales.  But it looks like transactions since
about 9:00 pm EDT on 4/24 haven't cleared.  Is anyone else noticing
this? (Grey circles in the charge and ship columns in the Orders tab)



3. Android jtwitter app

4. Cannot update/upload apps in Developer Console

5. Amazon Sales

6. Xml parsing using SAX parser

7. How to debug NPE when stack trace does not show any reference to my app code?