Re: [android-developers] Getting com.google.zxing.NotFoundException problem?

2012-01-11 Thread skink


Mukesh Srivastav wrote:
 Venu, why do you want to re-invent the things which are already there. too
 much of time and resource consuming..

 When use clicks on Barcode button, see whether the barcode is installed or
 not, if it not, guide the user to the Android market to download and use
 it. as simple as that. you can infact check it in
 ActivitynotfoundException.

 and Regarding the issue, if you see the last line of the error, it says,
  com.google.zxing.NotFoundException. you are missing the class again.

 I have done this before and this should be very simple if you follow the
 approach 1 which i said it  above.


you are wrong; installing barcode scanner will not help as Venu is not
using ZXING via Intents but as embedded library within his app - thus
he have class not found exception and not activity nit fouond
exception

pskink

-- 
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] Getting com.google.zxing.NotFoundException problem?

2012-01-10 Thread venu gopal reddy
Hi friends,

Am developing barcode application using ZXING api , but am getting
below error:

 com.google.zxing.NotFoundException

, How can I solve this Exception?

Please help me

-- 
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] Getting com.google.zxing.NotFoundException problem?

2012-01-10 Thread Kristopher Micinski
That doesn't give us any information.  You'll have to go look into the
API to find out what that exception even means.  Post at least some
kind of a stack trace.

Just taking a pie in the sky guess: it means that zxing didn't find
any product matching that barcode, or something like that, but like I
said, you'll have to provide some surrounding code, is there a
description for that exception, in the API?

kris

On Tue, Jan 10, 2012 at 11:45 AM, venu gopal reddy
venu.andr...@gmail.com wrote:
 Hi friends,

 Am developing barcode application using ZXING api , but am getting
 below error:

  com.google.zxing.NotFoundException

 , How can I solve this Exception?

 Please help me

 --
 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] Getting com.google.zxing.NotFoundException problem?

2012-01-10 Thread venu reddy
ok sorry guys,,I didnt mention clearly..

Below logs are getting when I run the barcode applciation:
01-11 12:37:10.765: I/jdwp(17061): received file descriptor 10 from ADB
01-11 12:37:10.795: D/ddm-heap(17061): Got feature list request
01-11 12:37:10.986: I/System.out(17061): .before image
01-11 12:37:11.045: D/dalvikvm(17061): GC freed 898 objects / 75104 bytes
in 52ms
01-11 12:37:11.085: I/System.out(17061): .after height image400
01-11 12:37:11.125: D/dalvikvm(17061): GC freed 121 objects / 38352 bytes
in 41ms
01-11 12:37:11.135: I/dalvikvm-heap(17061): Grow heap (frag case) to
5.218MB for 640016-byte allocation
01-11 12:37:11.265: D/dalvikvm(17061): GC freed 124 objects / 6168 bytes in
134ms
01-11 12:37:11.435: I/System.out(17061): .sourcr
is-com.google.zxing.client.androidtest.RGBLuminanceSource@43761978
01-11 12:37:11.446: I/System.out(17061): .bitmap
is-com.google.zxing.BinaryBitmap@437566e0
01-11 12:37:11.446: I/System.out(17061): .try block ---1
01-11 12:37:12.135: W/System.err(17061): com.google.zxing.NotFoundException

On Tue, Jan 10, 2012 at 10:24 PM, Kristopher Micinski 
krismicin...@gmail.com wrote:

 That doesn't give us any information.  You'll have to go look into the
 API to find out what that exception even means.  Post at least some
 kind of a stack trace.

 Just taking a pie in the sky guess: it means that zxing didn't find
 any product matching that barcode, or something like that, but like I
 said, you'll have to provide some surrounding code, is there a
 description for that exception, in the API?

 kris

 On Tue, Jan 10, 2012 at 11:45 AM, venu gopal reddy
 venu.andr...@gmail.com wrote:
  Hi friends,
 
  Am developing barcode application using ZXING api , but am getting
  below error:
 
   com.google.zxing.NotFoundException
 
  , How can I solve this Exception?
 
  Please help me
 
  --
  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] Getting com.google.zxing.NotFoundException problem?

2012-01-10 Thread Mukesh Srivastav
Venu, why do you want to re-invent the things which are already there. too
much of time and resource consuming..

When use clicks on Barcode button, see whether the barcode is installed or
not, if it not, guide the user to the Android market to download and use
it. as simple as that. you can infact check it in
ActivitynotfoundException.

and Regarding the issue, if you see the last line of the error, it says,
 com.google.zxing.NotFoundException. you are missing the class again.

I have done this before and this should be very simple if you follow the
approach 1 which i said it  above.

Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad.




On Wed, Jan 11, 2012 at 1:02 PM, venu reddy venu.andr...@gmail.com wrote:

 ok sorry guys,,I didnt mention clearly..

 Below logs are getting when I run the barcode applciation:
 01-11 12:37:10.765: I/jdwp(17061): received file descriptor 10 from ADB
 01-11 12:37:10.795: D/ddm-heap(17061): Got feature list request
 01-11 12:37:10.986: I/System.out(17061): .before image
 01-11 12:37:11.045: D/dalvikvm(17061): GC freed 898 objects / 75104 bytes
 in 52ms
 01-11 12:37:11.085: I/System.out(17061): .after height image400
 01-11 12:37:11.125: D/dalvikvm(17061): GC freed 121 objects / 38352 bytes
 in 41ms
 01-11 12:37:11.135: I/dalvikvm-heap(17061): Grow heap (frag case) to
 5.218MB for 640016-byte allocation
 01-11 12:37:11.265: D/dalvikvm(17061): GC freed 124 objects / 6168 bytes
 in 134ms
 01-11 12:37:11.435: I/System.out(17061): .sourcr
 is-com.google.zxing.client.androidtest.RGBLuminanceSource@43761978
 01-11 12:37:11.446: I/System.out(17061): .bitmap
 is-com.google.zxing.BinaryBitmap@437566e0
 01-11 12:37:11.446: I/System.out(17061): .try block ---1
 01-11 12:37:12.135: W/System.err(17061): com.google.zxing.NotFoundException

 On Tue, Jan 10, 2012 at 10:24 PM, Kristopher Micinski 
 krismicin...@gmail.com wrote:

 That doesn't give us any information.  You'll have to go look into the
 API to find out what that exception even means.  Post at least some
 kind of a stack trace.

 Just taking a pie in the sky guess: it means that zxing didn't find
 any product matching that barcode, or something like that, but like I
 said, you'll have to provide some surrounding code, is there a
 description for that exception, in the API?

 kris

 On Tue, Jan 10, 2012 at 11:45 AM, venu gopal reddy
 venu.andr...@gmail.com wrote:
  Hi friends,
 
  Am developing barcode application using ZXING api , but am getting
  below error:
 
   com.google.zxing.NotFoundException
 
  , How can I solve this Exception?
 
  Please help me
 
  --
  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




--

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