Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Code Samples & Tips > Additional Libraries
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Additional Libraries Users contributed libraries.
This sub-forum is only available to licensed users.

CCD Camera Library

Reply
 
LinkBack Thread Tools Display Modes
  #31 (permalink)  
Old 07-18-2010, 06:57 PM
sitajony's Avatar
Basic4ppc Veteran
 
Join Date: Mar 2010
Location: France
Posts: 416
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Maybe that you can do this with ErrorLabel? Did you try this?
Reply With Quote
  #32 (permalink)  
Old 07-19-2010, 05:13 AM
Senior Member
 
Join Date: Apr 2008
Location: Duesseldorf, Germany
Posts: 154
Default

Sure, that's possible, but i would like to avoid triggering and catching an exception, especially because i do not know what kind of exceptions are generated if there's no camera.



regards,

TWELVE
Reply With Quote
  #33 (permalink)  
Old 07-19-2010, 10:03 AM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Is it that important to know what exception is being called?
Either you can or you cannot use the camera!!
That's what important to you, right?
So if there is NO camera, or the camera is not compliant, you cannot use it...That should be enought info, for your app...
Why make it more complex, trying to know exactly why, if it is only important to know if it can!
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!

Last edited by Cableguy : 07-19-2010 at 10:06 AM.
Reply With Quote
  #34 (permalink)  
Old 07-19-2010, 07:13 PM
Senior Member
 
Join Date: Apr 2008
Location: Duesseldorf, Germany
Posts: 154
Default

An exception is a critical situation in a program rather than a normal error handling.Certainly, you could build up a program not taking care of errors and do the handling just by throwing and catching exceptions.I personally don't like that and furthermore do not think that this is a good rule for programming.

On the other side, i do not own a device with an internal camera, thus i cannot check safely if the exception is caused by the missing camera support or by an error in the code.The message i get is just not as clear enough to point to a missing internal camera.

regards,

TWELVE
Reply With Quote
  #35 (permalink)  
Old 07-19-2010, 07:20 PM
sitajony's Avatar
Basic4ppc Veteran
 
Join Date: Mar 2010
Location: France
Posts: 416
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Generaly if it works on a device so the code is ok so the only error who can be shown is "No camera found"...
Reply With Quote
  #36 (permalink)  
Old 11-16-2011, 08:36 PM
Senior Member
 
Join Date: Oct 2010
Posts: 127
Default

Is anyone aware of a way to hide the titlebar when using this library ? I'm making a kiosked application and it'd be desireable not to allow them to break out of it when they use the camera...

Thoughts?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Door library (Beta) - Special library Erel Official Updates 60 01-13-2011 11:23 AM
Merging Outlook library and Phone library Erel Official Updates 11 09-15-2010 09:22 AM
camera + barcodes Walter Forum Discussion 5 03-07-2009 07:20 AM
Video or Picture with Alpha over live camera? realvision Code Samples & Tips 0 04-01-2008 12:12 AM
CCD Camera Library/DLL? willisgt Questions (Windows Mobile) 2 11-01-2007 07:09 PM


All times are GMT. The time now is 10:09 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0