thanks
On Wed, Jun 27, 2012 at 5:49 PM, Justin Anderson magouyaw...@gmail.comwrote:
It looks to me as if one of those dialogs is being created when the
context is null, or at least invalid.
That's kind of what I was thinking too...
Thanks,
Justin Anderson
MagouyaWare Developer
It looks to me as if one of those dialogs is being created when the
context is null, or at least invalid.
That's kind of what I was thinking too...
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Jun 26, 2012 at 5:00 PM, G. Blake Meike
Mahmoud,
I'd be interested in pursuing this, if you are still having the problem.
Would you:
- Post the code for the anonymous onClick handler, in which the exception
is being thrown?
- Post the entire exception that is the problem
Thanks,
G. Blake Meike
Marakana
The second edition of
Event handler that call the AsyncTask
OnClickListener processOnClickListener = new OnClickListener() {
public void onClick(View v) {
try {
createProgressDialog();
pd.show();
new Segement(PreviewActivity.this, pd).execute(path);
How many times are you calling CreateProgressDialog()? It is called in
your onClick() method and in onPreExecute()
Also, what does the Segement class do?
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Jun 26, 2012 at 12:48 PM, mahmoud emam
*no each call in different places and the Segment class its my own class
that i use it to do extract Numbers from an image
I can send you the whole code if you want
*
On Tue, Jun 26, 2012 at 10:15 PM, Justin Anderson magouyaw...@gmail.comwrote:
How many times are you calling
Generally sending the whole code won't be beneficial... How about posting
the code for your activity?
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Jun 26, 2012 at 2:25 PM, mahmoud emam mahmude...@gmail.com wrote:
*no each call in different
public class PreviewActivity extends Activity {
private ImageView previewIV;
private final int CAPTURE_IMAGE_ACTIVITY_REQUEST_CODE = 100;
private String path;
private boolean crop = true;
private boolean resample = true;
private ProgressDialog pd;
OnClickListener
Boy, you are kind of making this hard to sort out ;) What is the name of
the AsyncTask subclass?
It looks to me as if the variable pd is assigned different dialogs at
different times? What is the value of the variable activity when
onPreExecute is called? ...and, it seem that you've posted
9 matches
Mail list logo