Iam working on barcode reder app which reads barcode and display it's data using zbar Sdk.
Now client wants to customize the square bracket which appears when camera auto focus the barcode,
my question is that is it possible to customize it,
Thanks
It is possible to customize it, but it's not very documented. Afaik you only have APIs for setting its color and so on. If you want to do further customization, you'll need to re-implement that part yourself.
The code for the built-in tracking can be found here: http://zbar.hg.sourceforge.net/hgweb/zbar/zbar/file/443c9f0e3c8f/iphone
This will disable the autofocus property in zbar sdk
reader.tracksSymbols=FALSE;
Related
I am developing a barcode reader iphone application using zbar SDK.Its working fine for me.While scanning an QRcode it is detecting very fast and decoding it.The problem is , I need to add some for features for scanning functionality.This is my requirement - > While scanning ,if a QRcode is detected it should mark with some green dots.I saw this thing in an app which is using ZXING sdk. Is there any way I can include this features to my app which is using ZBAR SDK
Do you see the cameraOverlayView at all? set the background color to red or something: cameraOverlayView.backgroundColor = [UIColor redColor];
If you don't see the cameraOverlayView at all, then probably you need to set reader. showsZBarControls = NO which will disable the the default controls and use your custom overlay.
If you do see the cameraOverlayView, then the label is probably outside the bounds. Play around with the origin points and get it into position.
BTW I see you're not using ARC, make sure you release instructionLabel!
I need to extend Marmalade for UI component. Find below my requirement:
I need to user WebView component or TextView component of iOS in my app for iPad. I want to know how to achieve this using EDK? I need to show particular UI component at specific location in my app and also need to retrieve data (in case of TextView or TextField).
Let me know whether above functionality is possible or not using EDK. Give me steps and code template for same if possible.
Let me know of further detail is required.
There're inbuilt UI component in Marmalade such as s3eWebView for WebView and IwUITextView for TextView. You can check official documentation which comes with every version of marmalade SDK, for more such UI components.
You can use EDK instead to use native UI component for iOS or Android using objective C (iOS) or Java (Android) too. If you want to learn the use of EDK, you can watch the video tutorial here on Official Marmalade Youtube channel.
Is it possible to handle the animation of moving icons in an iPhone application? If so, how?
As far as I know, you cannot. The icon motion animation is generated by iOS based on the still icon, and you have no control of it.
I think without .gif image you can not make animated icon and ios will not support that so you have no control on it.
Hi
I am developing an ipad Magazine app where I need to display pdf files.I am using leaves project for page curl effect.This works great.
But in landscape page fits to height(768px) and it becomes difficult to read the font.
Thats why I want to support zoom in/out on this view.
I am a newbie to Core Graphics.I think in leaves project they parse pdf to show image of each page.But I dont know why zoom is not supported if it is an image.
There are some more branches of leaves project for implementing this feature but all of them are not perfect.
Shall I continue using leaves or UIViewAnimationTransitionCurlUp/Down will help me for both the problems?
Thanks
here is the code for your requirement. check out this
You can refer this tutorial. Provided by APPLE
Hope it helps.
I have a small query.
If i use the camera api of phomnegap, it brings up the complete camera screen on the app.
Is their a way by which we can use some part of the camera screen for our logo or insert some text.
You can't with the built in camera API. I don't think it would really be expected, either.
Not using stock PhoneGap. You would instead need to use some native iOS AV APIs from Objective C.