Hi guys.
Who wanted a free barcode scanner? Here we are...
No network connection needed; app based on zxing library and Kevin Marshall's (from Clarity Consulting, can't remember his blog url now) code.
I just slightly modified the original code and added a few (probably useful but not sure ) services.
App interface is very simple: run application, focus on barcode, and wait until code is recognized. Touch handset screen to run recognition again.
Buttons description:
- "Save" saves captured barcode to jpeg;
- "Bing" and "Google" used for barcode web lookup (probably this part needs more work)
- "Mail" and "SMS" used for sending recognized code text.
Enjoy!
UPDATE 1: v 1.1, auto focus added;
UPDATE 2: v 1.2, orientation-less UI added, project moved to opensource at googlecode: http://code.google.com/p/barcodescan/
UPDATE 3: v 1.2.1, slightly changed autofocus logic, now works better on HTC. Download link: http://barcodescan.googlecode.com/files/BarcodeScanner.xap
UPDATE 4: v 1.2.2
- barcode search improved;
- added HTC detection, changes in autofocus logic;
http://barcodescan.googlecode.com/files/BarcodeScanner_1.2.2.xap
Is this a marketplace app?
sensboston said:
Hi guys.
Who wanted a free barcode scanner? Here we are...
No network connection needed; app based on zxing library and Kevin Marshall's (from Clarity Consulting, can't remember his blog url now) code.
I just slightly modified the original code and added a few (probably useful but not sure ) services.
App interface is very simple: run application, focus on barcode, and wait until code is recognized. Touch handset screen to run recognition again.
Buttons description:
- "Save" saves captured barcode to jpeg;
- "Bing" and "Google" used for barcode web lookup (probably this part needs more work)
- "Mail" and "SMS" used for sending recognized code text.
Enjoy!
Click to expand...
Click to collapse
I can't seem to get it to do anything. It says 'Scanning...' and I'm trying different distances to codes, but nothing ever happens. Any pointers?
Is this limited to any country or is it just reading out what the barcode says?
OK, lets go through step by step:
- it's not a marketplace app and have no chance to be published 'cause it uses undocumented camera API; you should download and unpack attachment and sideload the app;
- if you can't capture the barcode, try better lighting. Also, move a handset to autofocus camera. In my tests the scanner captured 100% of barcodes: from books, computer part boxes, foodstuff...
- it's not limited to US 'cause (I believe) the barcodes are international. And yes, it's just reads the barcode; however you may bing or google results, in the most cases search engines able to find product/book description or specifications.
It's a very basic scanner; if someone can recommend online API/service to parse barcode value, I can add it to the program (but I really do not want to spend much time for this)
It technically works but the issue is lack of AF or Macro access.
On my Focus, it only works if I scan a barcode off of my PC (do an image search for one) --then it's super fast and quick.
Books, CDs, etc. do not work, regardless of lighting or distance--I suspect because the camera is not trying to AF. Any work around to that?
I've tested first on HTC Surround - work perfect (I can prove). But you've right about Focus'es bad autofocus (LOL, sound nonsense - "Focus have no autofocus"!).
Will see what I can do... Any other suggestions or wishes (about barcode lookup, UI, etc.)?
P.S. Fixed (reload version from the first post), now working good on Samsung Focus.
sensboston said:
I've tested first on HTC Surround - work perfect (I can prove). But you've right about Focus'es bad autofocus (LOL, sound nonsense - "Focus have no autofocus"!).
Will see what I can do... Any other suggestions or wishes (about barcode lookup, UI, etc.)?
P.S. Fixed (reload version from the first post), now working good on Samsung Focus.
Click to expand...
Click to collapse
Boom.
Working great on Focus now. Nice job. Think I'll try an LG next... bwahaha
As far as changes, no none right now. I'm sure what other apps use for barcode price comparisons--but perhaps a tie into Amazon or eBay would be good. Too bad you can't just jack into ShopSavvy's system with it, lol. If I think of any, will post back.
Edit: Working on LG Quantum too!
sensboston said:
I've tested first on HTC Surround - work perfect (I can prove). But you've right about Focus'es bad autofocus (LOL, sound nonsense - "Focus have no autofocus"!).
Will see what I can do... Any other suggestions or wishes (about barcode lookup, UI, etc.)?
P.S. Fixed (reload version from the first post), now working good on Samsung Focus.
Click to expand...
Click to collapse
hmm, 1.0 wasn't upside down, but 1.1 is upside down on my Focus. Anyone else see this?
davux said:
hmm, 1.0 wasn't upside down, but 1.1 is upside down on my Focus. Anyone else see this?
Click to expand...
Click to collapse
Nope. Fine on my Focus. It does work with accelerometer, you sure that isn't it?
Works well on my HD7! Great job! Hopefully it will tie in with Amazon and save previous searches within the app etc
sensboston said:
Hi guys.
Who wanted a free barcode scanner? Here we are...
No network connection needed; app based on zxing library and Kevin Marshall's (from Clarity Consulting, can't remember his blog url now) code.
Enjoy!
UPDATE: v 1.1, auto focus added;
Click to expand...
Click to collapse
Do you have any interest in releasing the source? I may have some time to improve upon this a bit, but I'd rather not start from scratch (or step on any toes re-creating virtually the same thing).
malatesta said:
Nope. Fine on my Focus. It does work with accelerometer, you sure that isn't it?
Click to expand...
Click to collapse
Good call, I was holding it strangely every time I opened it before. It works great.
davux said:
Do you have any interest in releasing the source? I may have some time to improve upon this a bit, but I'd rather not start from scratch (or step on any toes re-creating virtually the same thing).
Click to expand...
Click to collapse
Why not? I'm really do not have time for that project...
Here we are: http://code.google.com/p/barcodescan/
Send me a PM with your gmail and I'll add you to the project contributors. Do not forget comment each commit, increment solution version and promptly build community release (and upload xap to the project's download page!) - and you allset
BTW, there are many things to improve: better UI (completely orientation-less), additional functionality - commit found barcodes to database etc. etc. etc.
Please review and follow these rules, it appears you aren't following them, you most likely aren't following the template. So fix it quick . It is not a harsh criticism, it is just for consistency and better for the user. PM me for help or support!
If this post is here and your thread is closed, it means that you aren't following them and your intentions are for gain only.
~~Tito~~
problem htc hd7
how do i copy this scanner programme to my htc hd7
i really hate this phone i had a htc touch pro 2 and it was far better can someone help me out here and also if some one can teach me how to customize personal ringtone would be great
Thx for the code. Really usefull to learn from this
Sometimes when you scan a barcode and touch the screen to start again. After a few seconds it stops and shows the last barcode again.
It looks like the UI thread is catching up scanning some images. How to get rid of this?
ajhvdb said:
It looks like the UI thread is catching up scanning some images. How to get rid of this?
Click to expand...
Click to collapse
Sorry, I don't have a time for that application now but it should be significantly refactored.If you want you may join the project and continue development, we can share some ideas for app improvement etc.
As for problem u described, you should play with the different capture resolutions or give some hardcoded "pause" to recognition library Also, MS camera API (still not officially allowed) is not documented and very poor... However it's a great field for experiments and hacks
Thanks! That works great on my HD7.
~~Tito~~ said:
Please review and follow these rules, it appears you aren't following them, you most likely aren't following the template. So fix it quick . It is not a harsh criticism, it is just for consistency and better for the user. PM me for help or support!
If this post is here and your thread is closed, it means that you aren't following them and your intentions are for gain only.
~~Tito~~
Click to expand...
Click to collapse
Please follow up on this!
sensboston said:
Sorry, I don't have a time for that application now but it should be significantly refactored.
Click to expand...
Click to collapse
Im not that experienced in multiple threads. Do you think the problem is in the Zxing lib?
Looking at the code the Zxing lib should have a completed event from which you can restart or show the image.
This code works but is racing and racing in the UI thread and after finding a barcode and restarting it looks like something from a buffer is used..
Code:
private void GrabFrame()
{
Dispatcher.BeginInvoke(() =>
{
if (_Camera != null && CameraVisualizer.Visibility == Visibility.Visible)
{
WriteableBitmap wb = new WriteableBitmap(640, 480);
_Camera.GetCurrentFrame(wb);
wb.Invalidate();
ScanBarcode(wb);
wb.DisposeIfPossible();
GrabFrame();
}
});
}
Been a lot of complaints on other forums about the crippled camera app in bada 2.0 and I'd like to restore some of the fuctionality from 1.2. Perhaps it's not actually possible as all I have seen is the KK5 app brought back to enable front camera, and no 1.2 app for bada 2.0 to restore some of the other missing functions like pause in video recording or editing options. So if this is waste of time please let me know, but I though the main problem was passing the sequrity check which has now been solved thanks to kubika. SO if possible this is the precise scope of the project:
It's not just the ability to pause a video recording, or edit anything after, there's a lot of other stuff too...
NO Image Quality selection
NO countinous/sequance shoot mode
NO sharpness, saruration, contrast adjustment... but still have auto contrast check box... as oppesed to what?!?!?
NO thumbnail or info view for picture when reviewing from cammera app
NO edit fuction for anything from anywhere as already mentioned... though admittedly if I really want to edit a pic I'll probably do it on my PC anyway.
Although a noob at this I do have some expeciance with PC's, and my understanding is that bada apps are in C++ so if one can decompile and recompile the camera app. Then ALL missing functions, with possible exception of editing that probably calls on seperate app, should be easily recoverable in the bada 2.0 camera app. I've actually checked the samsung developer website, and it gives guidelines on how to implemnet many of these functions if whishing to create your own app, so the code should be easy to reinsert even for me in their own app. The one problem may be creating/inserting buttons/tiles for the menus if not already available but simply uncalled, which I hope is actually the case since one can easily recover the record call button.
The main issue is I don't know how to decompile the two apps to read and compare the code, and then recompile them, so could someone please point me to the appropriate program(s) with hopefuly some instructions on how to use them. I think this is something that may be appreciated by many since we can now more easily upload modified apps, and is a relatively simple mod for a noob to atempt... so if anyone can offer some help with that to get me started, it's a project I'd be looking to take up .
innovative ..
liked your idea.
+1
to keep it simple, you can't 'decompile' a binary code to a c++ code, the compiling process is a one-way procedure..
Hello community !
I own "Xperia M" for a while and I can tell you that the 5M pixel back camera on this phone is worst than on my old "Xperia ray" ! I compared the streaming video on Skype, in the same conditions, with the same Skype application version - - the result is that Xperia ray shows much better quality, on Xperia M the video is darker and lacks in AF. I consider bad quality of the camera as an issue and I would like to know if this could be fixed with a possible camera mod ?
Thank you in advance
No answer ...yet...I think I will post this question on sonymobile website. I need to know if there can be improvement made on the camera. If not I 'll get rid of this phone.
Thanks again.
The C1905 camera really bad, i had trouble with blueish photo taken and worst in night
Looks like a case-closed on "Xperia Care" web portal. This is what I got from there, kinda chat between me and "uliwooly - Forum legend" :
uliwooly:
It's not your phone's issue, its the app, even if its the same version Skype/microsoft has to address compatibility issues not Sony
me:
Ok. Forget Skype for now. I get out of focus image when I connect directly the phone to the computer, via USB cable, using explorer as camera viewer.Or how do you explain, on the phone, not seeing a focused image in preview mode, before taking a picture - as someone mentioned in another thread.
uliwooly:
This thread was about skype, if you have other camera issues, you should post on that ongoing thread, so other users can help you, also don't forget to check this
http://talk.sonymobile.com/t5/FAQ/Capture-better-photos-in-low-light-conditions/m-p/395397#U395397
one more thing, keep in mind that we are here to help each other, we, users.
me:
I don't know if your job is to create confusion, here on the forum, among us the customers. But:
You provided a weblink - I DID NOT mention anything about low conditions.
If you have admin privileges, please change the title pointing as a general issue for the camera, not only for Skype.
To conclude, I just want to know if the camera quality - a decent quality- can be obtained by software upgrade. If it's a hardware issue I am afraid I already know the answer.
Thank you
uliwooly:
Just contact Sony directly
http://www.sonymobile.com/global-en/support/contact-us/
Click to expand...
Click to collapse
The feeling is that they believe the camera on this phone is working properly.
Personally, I am going to wait a while to see if a workaround will be provided here on xda-developers. If not, finally I will switch to another brand.
And this is my review for Xperia M on gsmarena:
This phone is having issues with the camera focus in preview mode. Preview mode is used when you launch the camera to start shooting photos, but before you half-press the button to adjust focus. As a result, video calls applications like Skype will look very poor.
Click to expand...
Click to collapse
Hi there,
Some of you might have already noticed our project, a ball shaped camera you can throw into the air to capture a fully spherical panorama. We are currently running an Indiegogo crowd funding campaign to raise the funds needed. We see that many campaigns nowadays launch with apps, usually only iOS and most of them don't really put much effort into their apps. We want to go a different way as I am a long member of xda-devs and include the community into the app development. As the camera is supposed to be used with a smart phone or tablet, the app is essential for the Panono.
So what does our app actually do? Well, you can re-experience the situation captured with the Panono camera by navigating the 360x360 panoramas by moving your phone/tablet like a window into the captured moment. If my English failed to make it understandable, please have a look at the video starting from 1:22.
We are facing a problem with our app which is caused by the different implementation of the gyroscope sensor reading in different phone models. Unlike on iOS, only few Android phones have a correct algorithm to calculate the current device orientation. The result is a shaky experience in our app. We are trying our best in optimizing our app to work with all devices. To address this issue, we are also having a talk at droidcon in Stockholm right now.
So what help are we seeking right now?
We need people who have a android phone with built-in gyro test the app. The following feedback would be interesting:
Device model: (e.g. Samsung S4)
Shakyness: (e.g. image is jumping around but the orientation is correct)
Lag: (e.g. it takes a while until the correct orientation is displayed)
Jumps: (e.g. the orientation jumps into some random direction for a few frames and returns to the right direction afterwards)
You can get the app here: https://play.google.com/store/apps/details?id=com.panono.panonoviewer
If you have any question about the Panono as the next-gen accessory for your android device, you can also post here, of course.
Thanks!
I am dissapointed with many missing features in oxygenOS and other things like :
1)Screen pinning with gestures is not possible even though google had implemented this quite a while ago.
2)Bloatware like multiple "file" apps and netflix
3)How confusing it is to access emergency contacts through lock screen
4)Users cannot directly login to their account from lock screen by typing their respective password. It takes too much of time in switching profiles.
5)Call recorded filling the view in voice recorder, it should be in a folder when we swipe right in recorder.
6)Lift to wake feature not present.(the app made for this is a hit or miss sometimes and does not work with ambient display, but kudos to the developer)
7)Being switched off easily without passcode so if stolen the thief can quickly get away. ( I know there are other ways but thiefs are not that smart i assume)
8)60fps video is considerably dull compared to 30fps both in hd and 4k.
9)Manual focus does not provide complete range of focus in pro mode, and you can only shoot from main lens in pro. 48mp mode is also hidden there..
10)System software using 27gb of internal storage, would have bought the 256 gb variant if i knew about this.
And many many other countless things i can't remember at the moment but could be improved very easily by oneplus.
Do you agree with me or am i wrong at some places ? This is my first post so don't hesitate to point out my mistakes.
You expect too much, if you were so concerned with such minute things, you might have stuck with your previous OEM
Oneplus doesnt know what you are used to and what you want, they provide what they feel is best, you should have done a through research if you had such needs, also there are barely 2-3 promotional apps which you call bloatware. Also the file app which you say is installed on every android device by default which is triggered when sharing, its just oneplus gave you an icon to access it separetly too.
aryan2708 said:
I am dissapointed with many missing features in oxygenOS and other things like :
1)Screen pinning with gestures is not possible even though google had implemented this quite a while ago.
2)Bloatware like multiple "file" apps and netflix
3)How confusing it is to access emergency contacts through lock screen
4)Users cannot directly login to their account from lock screen by typing their respective password. It takes too much of time in switching profiles.
5)Call recorded filling the view in voice recorder, it should be in a folder when we swipe right in recorder.
6)Lift to wake feature not present.(the app made for this is a hit or miss sometimes and does not work with ambient display, but kudos to the developer)
7)Being switched off easily without passcode so if stolen the thief can quickly get away. ( I know there are other ways but thiefs are not that smart i assume)
8)60fps video is considerably dull compared to 30fps both in hd and 4k.
9)Manual focus does not provide complete range of focus in pro mode, and you can only shoot from main lens in pro. 48mp mode is also hidden there..
10)System software using 27gb of internal storage, would have bought the 256 gb variant if i knew about this.
And many many other countless things i can't remember at the moment but could be improved very easily by oneplus.
Do you agree with me or am i wrong at some places ? This is my first post so don't hesitate to point out my mistakes.
Click to expand...
Click to collapse
2)Netflix: is mandatory to get HDR certification (Netflix mandatory)
6) You have that option under system settings.
7) All phones, computers, servers... All of them can (and MUST) be switched off without password or software related requisite.
10)A/B partitions (Google mandatory). Thanks to that we can participate in beta programs and have quicker updates.
Pantumaca said:
2)Netflix: is mandatory to get HDR certification (Netflix mandatory)
6) You have that option under system settings.
7) All phones, computers, servers... All of them can (and MUST) be switched off without password or software related requisite.
10)A/B partitions (Google mandatory). Thanks to that we can participate in beta programs and have quicker updates.
Click to expand...
Click to collapse
In samsung mobiles, you are required to put the password before switching off the phone. So i wish that could also be implemented in oneplus.
The lift to wake feature i want is when I pickup the phone, it completely unlocks after seeing my face which is not present.
I wish i also knew about the 27gb thing cause then i would have bought the 256 because overall the phone is great.
Ik i am nitpicking but some points are still valid.
aryan2708 said:
In samsung mobiles, you are required to put the password before switching off the phone. So i wish that could also be implemented in oneplus.
The lift to wake feature i want is when I pickup the phone, it completely unlocks after seeing my face which is not present.
I wish i also knew about the 27gb thing cause then i would have bought the 256 because overall the phone is great.
Ik i am nitpicking but some points are still valid.
Click to expand...
Click to collapse
About Samsung mobiles, I guess you are talking about normal switch off. There is an emergency switch off (vol- + power)that should overrides any pin (in any manufacturer).
Ok, you mean get into home screen. Well, that is a personal preference. I prefer to stay into lock screen but with the notifications expanded to see if I really want/need to unlock the phone.
The space used by the system is that way since android 9. All we know that android is about 10gb so if you have two partitions (A/B) it will be twice the space used. All manufacturers warn about it into the specs with something like "the space available for the user will be less due to blablabla...".