[SDK][PreAlpha Preview] DualTouch SDK for resistive Screens - Windows Mobile Software Development

Beta Version is HERE (Beta1).
looking for developer to write an Album Application (OpenGlEs?) and utilize the SDK to enable pinch-to-zoom on resistive screens.
Greetings,
Wow right!
finally i was able to perform a dual touch on our resistive screens and you can find the dll in the attachements along with a demo app!
NOTE TO EVERYONE :
Please don't report the 1 finger bug, it's well known and it will be eliminated (BTW, Zoom in is possible with 1 finger but zoom out is not)
this demo app is simply a demo app and only to show that the SDK is functional, it WILL NOT zoom to focus the pinched area! if you can develop a demo application and you have a graphics development experience please be my guest and i will help you with the SDK. the current demo only resizes the image and doesn't relocate it. i can do a proper one but this will mean taking time from the real project.
thank you
documentation will NOT be available as this is a preAlpha and it's just to get you excited
here is the demo
Video
http://www.youtube.com/watch?v=ld_kIpLWa3Y
Notice :
i'm not responsible for anything might happen to your phone (Even though i'm sure there is nothing to go wrong but just in case).
This is just a pre-alpha, and there is no garantee to go beyond this version. i'm doing this for the community for free and as a proof of concept only. i will continue to work on this on my free time but please don't rush!
you are not allowed to to ask people to pay for this SDK.
you are not allowed to disassemble the SDK or reverse engineer it.
you are not allowed to post the attachement(s) below to any other website. you can always link to this tread.
if you are going to use it in your application, you MUST put a link in your application/offical website that reffers to this XDA thread.
i reserve the right to make this a paid SDK at any point of time.
i reserve the right to relocate this SDK to another website or even take it offline.
that was long right?!
ok, let's go to business!
Demo Attached
To Use the demo, place 1st finger on the image, then place the 2nd finger also on the image and slide your second finger in or out!
Requres .Net Compat Framework 3.5,
Tested on
- Touch Pro 2 (HTC Rhodium)
- Touch HD (HTC Blackstone)
- Xperia X1
Regards,
Adel R. Al Zubeir (Anaadoul)

Documentation
How to use the SDK!
create an instanse of the class,
the object wich will detect the mouse clicks MUST have mouse down, up and move.
for example in the demo above the code is as following and i use picturebox
publicpartialclassForm1 : Form
{
DualTouchSDK.DualTouchSDK SDK = new DualTouchSDK.DualTouchSDK();
privatevoid Form1_Load(object sender, EventArgs e)
{
SDK.Zooming += new DualTouchSDK.DualTouchSDK.MultiTouchEventHandler(SDK_Zooming);
}
void SDK_Zooming(DualTouchSDK.MultiTouchEventArgument e)
{
// Do the zooming here e.ZoomRatio returns a value which is the % of the zoom < 1 = zoom in, > 1 zoom out.
}
privatevoid pictureBox1_MouseDown(object sender, MouseEventArgs e)
{
SDK.SetMouseDown(e.X, e.Y);
}
privatevoid pictureBox1_MouseMove(object sender, MouseEventArgs e)
{
SDK.SetMouseMove(e.X, e.Y);
}
privatevoid pictureBox1_MouseUp(object sender, MouseEventArgs e)
{
SDK.MouseUp();
}
}

Known Bugs (V0.0)
- Single Finger sliding causes zoom IN (notice that you CANNOT zoom OUT).

First of all, nice try. As developer I kind of (think to) know the technique involved processing this and for most part this could work. However since WinMo 6.5.x has it's own overlay I must admit it's not working properly on build 28008 (and 28002).
Actually it does work if you don't release the screen, but once you do, it's completely useless. You can't do anything but scroll, this probably because of the kinetic scrolling overlay. (This only happends if the image is larger than the screen ofcourse, everything else works as advertised!)
Second, may I add a suggestion (something I once tried in an application but never finished)? If you place your finger on the photo and then place the second finger the application imediately zooms in to like 400% (depending on the place your finger is placed), This makes it hard to pinch-to-zoom out, since you actually have to place the two fingers on the same position.
My idea is this. Whenever your first finger is placed down (and the coordinates are stored) and you place the second finger on the screen, the app would recognize this as a movement of the first finger but in 0 milliseconds. It might be possible to make a sort of minimum time required to move from 'a' to 'b', so the initial position of the two fingers can be 'stored'.
I hope I made myself clear enough for you to understand, as I do not have too much time to explain it better. If you like I can explain it better, but that would be later tonight, for now got to run!

Maybe this is due to the kenetic scrooling, i hope you can watch the video, the zoom will take effect only when you move your 2nd finger not after placing it!
anyway this requires alot of testing and alot of improvements as it's still pre pre pre alpha.
i tested it and it's working good enough on my TP2 and a WM6.5.0 ROMs

Agreed the video is what I had in mind, I'm sorry I should have watched it (though it wasn't up yet when I started replying). Anyway (still being here) this is not what I get, probably due to my build being different. As soon as I place my second finger on the screen it zooms in about 400% or 500%. I actually can pinch to zoom out if I place my fingers in de top-left and bottom-right corner, and move inwards... since the distance is larger than the amount of zooming done initially I can zoom out. Fact remains that everything only works as long as the image isn't larger than the screen, but all this is rather a Windows Mobile error than yours!
Good work, hope to include it into my projects some day!
Stil forgot to mention some required debuggin information (so you can keep track of things if you want)! I use a Touch HD (BlackStone) T8282 (Original Model). I use homecooked ROMs and now running WinMo 6.5.3 build 28008. Besides the regular HTC stuff I have no applications installed (as most is cooked in). I have no Manila 2.5 running and ... that's it.
anaadoul said:
Maybe this is due to the kenetic scrooling, i hope you can watch the video, the zoom will take effect only when you move your 2nd finger not after placing it!
anyway this requires alot of testing and alot of improvements as it's still pre pre pre alpha.
i tested it and it's working good enough on my TP2 and a WM6.5.0 ROMs
Click to expand...
Click to collapse

pocketnow.com is paying attention - congrats, and I can't wait to see more
http://pocketnow.com/tweaks-hacks/multitouch-coming-to-resistive-screens
Val

Anyone know how to make opera Zoom through an external app?
maybe sendmessage API or something similar?

It probably has a lot to do with sensitivity.
For me, resting one finger and using the other to do the gesture works the best. The key is to make sure the resting finger doesn't jitter much.

gotta try this!!!

Wow it's just awesome!

you can just use 1 finger and move it over the image. it works almost the same

pensoffsky said:
you can just use 1 finger and move it over the image. it works almost the same
Click to expand...
Click to collapse
it seems it registers a second press when you drag! but it works in an unpredictable way!
anyway i will look into it and eliminate this bug!

This is awesome so far! I love the progress. If you need any help with testing at all, let me know.

Nice, had this idea for a while but never felt like doing much work with it.
Demo app works fine on Fuze

I have a Verizon Samsung Omnia i910. It works for the most part here, only complaint is the "dragging" zoom issue that has already been reported. This is a great breakthrough, I'm really impressed! I will be following this thread for updates!

excellent work! i really hope you and the other devs pursue this. this way we can have some basic multitouch apps, defeat the last stronghold of the iphone, and claim victory lol.

Wow, this is an amazing piece of work you've created! I'd love to see this further developed, to either support existing apps (like google maps, Opera Mobile, Pocket Internet Explorer, photo viewers, other apps with zooming, etc.). Also, I'd love to see this refined further to support full pinching to zoom instead of only one finger moving, if that's possible. Regardless, I'd like to say thanks for all your hard work, and thanks for sharing this groundbreaking development with us!

great work...

بارك الله فيك و جزاك خيرا...
God bless you brother !!! Thanks a lot

Related

Project coming soon (prop 215 app)

Well I am interested in developing an app but would like to gauge some interest. Here are the details of the app:
1. App will take advantage of built in light sensors to read your lights lummens output.
2. App will have a nutrient calculator based on (advanced Nutrients, Canna, Dutch Masters, and General Hydroponics)
3. App will also include nutrient charts for all the companies.
4. App will include a DB of pictures with descriptions of different plant diseases and deficiencies.
I have more ideas as well as in how to optimize air flow for your room and much more also will include for outdoor growing as well.
If your interested in seeing an app like this for our winmo phones let me know through this thread and i will post updates and beta versions once they are ready if there is enough interest in something like this.
Sounds nice. Good luck.
seems good,
later i will be doing some project may be i can seek you help then
It seems nice
can be useful
All the best
it is coming along. right now the strain app supports WVGA 480 x 800 resolution. follow my progress in the thread in my sig. I should be about a week away for the MJ's Strain Guide beta. all that is posted right now is an alpha so you get a feel for the UI. Still a lot to do.
Sounds good! Being completely crap at maintaining plants this seems quite useful
I know what you mean. I hope this app helps guide people but when it comes down to it a major factor in your outcome is the genetics. bad genetics of a good strain will give you bad results. i am attaching here a alpha version of my strain app. its also located in the HD2 app section. im not sure it will work on other phones as i have a hd2 right now. I due plan to port to other resolutions and sizes after completion. It will be easier as its just resizing of what i have done. I am also bringing in some friend to port the app to android and iphone/ipad and to make a windows pc based version. if anyone has suggestions or think they can help in anyway let me know. i can always use the help.
PS:
This is the 4th app i have ever made in my life.
Notes:
when app is installed and launched you will get pop up menus. These are due to the controls. Currently they are trail controls. I am sending a payment to get the full license to that will be removed by beta.
currently all list are populated but no data is inputted so when you try to launch a strain in kinetic scrolling it will do nothing. Only one works right now. It is located in Sativa Strains List. It is Cannalope Haze. Let me know what you think of how the data is displayed. If you install this on WVGA device 480x800 it should work so HD2/TP2 should look perfect. Let me know what device you have it installed on and your screen fitment issue only if its WVGA. QVGA and WQVGA are not supported.
enjoy!!
Update:
I have attached a newer version it is the latest i have made so far. I have updated the indica and sativa list and updated how the data is displayed for cannalope haze. The way the cab is made is different so now it will ask if you want to install on sd or phone. I also finally added an icon for the app. i still have a long way to go but i hope you like where its going.

[App][Video] Bash.Org.Ru reader for Wp7

Hi,
Here is the demo of my app for reading popular russian it quote site (bash.org.ru)
http://www.youtube.com/watch?v=xpb6pJRa5I4
Some issues that i see is:
1. The text is too small. I think this will be fixed, when the MS Panorama control will come out, as it use space more wisely.
2. I would like to scroll the quotes itself by the finger gestures, but it just pan the panorama. Don't know if it's more usable, to just lock the panorama scroll to the title or to the whole screen. Could confuse end-user.
In total, I've spent around 2 days of developing it.

[Project] CTaskManager - Spicing up UI [Android-Like]

Hey Everyone...I haven't been around these parts often, but I conceived a pretty good idea [I think]...
My friend recently got a Droid phone, and of course he was flaunting it to me...I love Android, honestly...but I love Windows Mobile too. SO! I thought "Why not merge the best of both worlds?"
Well obviously, I cannot make windows look 100% like Android...that would take tooooooo long. So instead, I thought "What about the Task Switcher!"
So I introduce to you, CTaskManager
Right now it is just a P.o.C (Proof Of Concept), but I have done my research and found pretty much all the API calls I will need [minus one or two, but I'll find those]. It will be fully in C++, and if I can get it working correctly, will be activated by the HOME button.
Attached is a proof of concept image [100% Photoshopped, not real at all].
In any case, this is how I forsee it working:
This will appear on top of any window
Activated by pressing [and holding?] HOME
1st Box will always be the Home Screen
2nd Box will always be the current Window (unless it is the HomeScreen)
You can switch between apps with 2 easy Clicks
First Select the Number of the Dialog
Second, Press CENTER or SPACE to switch to it, or press DEL to quit that app
The program's layout will vary depending on the number of Open Windows
Should be light, fast, and easy to use
Hopefully, since I forsee this to be a really easy project, I will have a release by later today! I am making it for my Excalibur users FIRST, because I owe it to this whole forum [And because I will be switching to an HD2 this upcoming monday, and I want to start a project up for a phone I use NOW]
-Until Later: CycloneZephyrxz7
sweet...thanks..will wait for your release and then will added to the sticky.
I am very pleased that the ONLY component I have yet to get working is getting the screen captures [and window titles]. I need to investigate this ... For some reason, I am getting the same window drawn OVER and OVER again. I think it is because the window handle I am getting from some of the methods is invalid...Its very odd ... I have to figure it out. I should be able to do this winthin the next hour or so
seems cool so its like a multitasker? or somthing
alexrodri0 said:
seems cool so its like a multitasker? or somthing
Click to expand...
Click to collapse
Exactly.
So this is the update:
I got the program to run on Home-Key Press ... Now I am going to just modify it and add a timer or something to get it to run on Home-Key Long Press [since just a press interferes with Smart ToolKit]
An odd bug I have encountered is that when I run this, and wait, the Smart Toolkit taskbar shows up (as it should), and the whole phone locks up...I think it is because both are competing for Keyboard privilages. [I have to use a Keyboard hook to get this working, and it is all undocumented APIs]
I have yet to get the actual Task part working Haha. I can't confirm whether or not it is working, because for some reason my Debugger is acting weird, and all the images are of the current screen. As it turns out, it is impossible to take a snapshot of a minimized / partially visible screen. It will take the screen coordinates, and take a picture of whatever is there right now. I will get that fixed [I am talking to another Dev to see if he will let me in on how he does it in his task manager].
I got the "back" key escape working. Relatively simple.
I have planned out Layouts. Such that when you have JUST the HomeScreen open, it will NOT run. When you have the HomeScreen and 1 OTHER window open, the two will be split on the screen [Maybe make each like 150x113]. When you have 3 to 4 total windows (Including HomeScreen), they will make a 4-quadrant layout. Where each will be around [120x90]. When you have 4 - 6 open, each will be [92x69] (as shown in the ScreenShot) and have a 6-block layout. When you have more than 6 (if that is possible on the Excalibur haha), it will make a second page, and the second page will adapt to however many excess processes there are.
I have to work on getting the Translucent Background working ... that shouldn't be too hard, I just have yet to look into it {I think I have to use AlphaBlend or TransparentBlt}.
In any case, there is actually very little that doesn't work yet haha, but of course it is the most essential parts that don't work.
I will keep you all updated
sweet
looking forward to this, my phone will live on!!!
Thanks to a bunch of help from another Dev, I confirmed that getting the image of a non-visible window is IMPOSSIBLE on windows mobile. [Although it gives me an idea to try to 'fix' that haha ... maybe after this]. In any case, I think I have figured out how to do it. Tomorrow I will write up the code, test it, and hopefully have an Initial release.
The way I see it the releases will be as follows:
1) Initial Release [Basic]
2) Fix-Up of any Bugs
3) Add some Effects
4) Add some customizations
5) Fix-Up of any Bugs
6) FINAL
Hopefully, I can do this in 6 or less releases [And in the meanwhile, adapt it to work on my new HD2 i will get on Monday ]
*PS: For those of you following my projects: Once I get my HD2, I am going to make a fixed up release of FFP_LS, and then open-source it. Thereafter, i won't work much on it anymore. This is so I can start working on my SUPER-HUGE project called "CMessage" ... Here are the contents of the 'sticky note' i have on the desktop reminding me of it:
Suite of Programs:
1. Transport DLL (Send/Receive SMS/MMS/EMail)
2. T-Mail.exe Client (Compose/View SMS/MMS/EMail)
3. Notifier (When new Message Arrives, Display Alert)
4. A new DLL for the HomeScreen [it probably won't be compatible with the old one]
5. API Docs (For future use and adaptation)
6. Sample Programs (I.E. HomeScreen Panel, SMS Games, etc.)
7. Filter Rules Program
8. Macro Program (Get Message ... Do Action)
9. Environment Set-Up DLL/Exe [Cache Contacts, create Message Stores, transfer over old stuff, etc. etc.]
It is going to be a VERY large project. Hopefully, it will also be a very successful one Say bye-bye to CE MAPI?
Cyclonezephyrxz7 said:
Thanks to a bunch of help from another Dev, I confirmed that getting the image of a non-visible window is IMPOSSIBLE on windows mobile. [Although it gives me an idea to try to 'fix' that haha ... maybe after this]. In any case, I think I have figured out how to do it. Tomorrow I will write up the code, test it, and hopefully have an Initial release.
The way I see it the releases will be as follows:
1) Initial Release [Basic]
2) Fix-Up of any Bugs
3) Add some Effects
4) Add some customizations
5) Fix-Up of any Bugs
6) FINAL
Hopefully, I can do this in 6 or less releases [And in the meanwhile, adapt it to work on my new HD2 i will get on Monday ]
*PS: For those of you following my projects: Once I get my HD2, I am going to make a fixed up release of FFP_LS, and then open-source it. Thereafter, i won't work much on it anymore. This is so I can start working on my SUPER-HUGE project called "CMessage" ... Here are the contents of the 'sticky note' i have on the desktop reminding me of it:
Suite of Programs:
1. Transport DLL (Send/Receive SMS/MMS/EMail)
2. T-Mail.exe Client (Compose/View SMS/MMS/EMail)
3. Notifier (When new Message Arrives, Display Alert)
4. A new DLL for the HomeScreen [it probably won't be compatible with the old one]
5. API Docs (For future use and adaptation)
6. Sample Programs (I.E. HomeScreen Panel, SMS Games, etc.)
7. Filter Rules Program
8. Macro Program (Get Message ... Do Action)
9. Environment Set-Up DLL/Exe [Cache Contacts, create Message Stores, transfer over old stuff, etc. etc.]
It is going to be a VERY large project. Hopefully, it will also be a very successful one Say bye-bye to CE MAPI?
Click to expand...
Click to collapse
can't wait!
This program is actually bugging me...haha [get the joke?].
In any case, it is becoming rather tough to get this actually working. Correction: To get it working efficiently. The dev making the 3D iManager app over in the Development/Hacking forum told me how he is doing it, but to me it just seems terribly inefficient (every 5 seconds, check for Foreground Window....LOTS OF BUGS). In any case, I am using a registry notification now, since Windows Mobile has a value that tells me the currently active program and the previously active program [and it updates!] ... this works out because then I can take a screenshot of the new-ly active program, AND check to see if the old one was minimized or closed. Unfortunately, it doesn't seem to be working as I would have hoped.
I don't have much time today for developing [Hooray for a 50 Page AP Government Outline] ... so I will probably get back to this tomorrow [NEW PHONE], or maybe tonight if I get a really good idea/inspiration to finish this!
Cyclonezephyrxz7 said:
This program is actually bugging me...haha [get the joke?].
In any case, it is becoming rather tough to get this actually working. Correction: To get it working efficiently. The dev making the 3D iManager app over in the Development/Hacking forum told me how he is doing it, but to me it just seems terribly inefficient (every 5 seconds, check for Foreground Window....LOTS OF BUGS). In any case, I am using a registry notification now, since Windows Mobile has a value that tells me the currently active program and the previously active program [and it updates!] ... this works out because then I can take a screenshot of the new-ly active program, AND check to see if the old one was minimized or closed. Unfortunately, it doesn't seem to be working as I would have hoped.
I don't have much time today for developing [Hooray for a 50 Page AP Government Outline] ... so I will probably get back to this tomorrow [NEW PHONE], or maybe tonight if I get a really good idea/inspiration to finish this!
Click to expand...
Click to collapse
keep the good work man and again thanks for your effort in developing new stuff for the dash.
Cheers,
So I finished my work
But that isn't pertinent to this forum. What it does mean is that I can work on my developing for today!
Counter-to-my-prior-plan, I am going to release a pretty flawed version of the program ... errr ... rather an Alpha that will run much less efficiently than the final product.
I hate announcing a project, thinking it will be easy, then taking forever with it ... so this is what I am going to do:
I will use the same timer-based approach that iManager 3D uses, but I might make it update more often [3 second intervals maybe] ... it won't be AT ALL battery efficient, but it should be pretty memory efficient. It will serve as NO MORE THAN A PROOF OF CONCEPT OF WHAT THE FINAL PRODUCT WILL BE. The final product should not have a major impact on battery life, and should leave the end user unaware that it is actually running when it is!
I am re-installing Visual Studio because it has been acting up, but once that is done, I should be able to pump out an ALPHA VERSION.
EDIT: Computer Issues ... Expect a release in the coming days. Sorry for the inconvenience.
Cyclonezephyrxz7 said:
So I finished my work
But that isn't pertinent to this forum. What it does mean is that I can work on my developing for today!
Counter-to-my-prior-plan, I am going to release a pretty flawed version of the program ... errr ... rather an Alpha that will run much less efficiently than the final product.
I hate announcing a project, thinking it will be easy, then taking forever with it ... so this is what I am going to do:
I will use the same timer-based approach that iManager 3D uses, but I might make it update more often [3 second intervals maybe] ... it won't be AT ALL battery efficient, but it should be pretty memory efficient. It will serve as NO MORE THAN A PROOF OF CONCEPT OF WHAT THE FINAL PRODUCT WILL BE. The final product should not have a major impact on battery life, and should leave the end user unaware that it is actually running when it is!
I am re-installing Visual Studio because it has been acting up, but once that is done, I should be able to pump out an ALPHA VERSION.
EDIT: Computer Issues ... Expect a release in the coming days. Sorry for the inconvenience.
Click to expand...
Click to collapse
Great! This sounds awesome! And yeah, we finally get more interests and development in non-touch devices! Good luck with building the program and don't forget to contact the News-Writers when it's ready!
This is actually quite upsetting ... I tried re-installing Visual Studio, because it was no longer giving me the 'code suggestions' for C++ ... [like if I typed in a function, it didn't tell me what the parameters were] ... and now it isnt set up for Windows Mobile 6 Standard/Pro anymore. So i tried reinstalling those SDKs .... no joy....I am going to uninstall EVERYTHING OF IT and start all over [backing up my projects of course ].
Hopefully I will get my computer in working condition by tonight.
I got my new HD2 [TMOUS] today I am very happy with it already. BUT I WILL NOT GIVE UP ON MAKING THINGS FOR THE DASH. Non-TouchScreen phones are highly under-appreciated, and I hate that so much [let alone the fact that WinMo is underappreciated] .... I NEED YOUR IDEAS TO MAKE THIS PHONE [Exca] BETTER! So toss me a PM with even the wildest Ideas, and I will try to figure something out
Cyclonezephyrxz7 said:
This is actually quite upsetting ... I tried re-installing Visual Studio, because it was no longer giving me the 'code suggestions' for C++ ... [like if I typed in a function, it didn't tell me what the parameters were] ... and now it isnt set up for Windows Mobile 6 Standard/Pro anymore. So i tried reinstalling those SDKs .... no joy....I am going to uninstall EVERYTHING OF IT and start all over [backing up my projects of course ].
Hopefully I will get my computer in working condition by tonight.
I got my new HD2 [TMOUS] today I am very happy with it already. BUT I WILL NOT GIVE UP ON MAKING THINGS FOR THE DASH. Non-TouchScreen phones are highly under-appreciated, and I hate that so much [let alone the fact that WinMo is underappreciated] .... I NEED YOUR IDEAS TO MAKE THIS PHONE [Exca] BETTER! So toss me a PM with even the wildest Ideas, and I will try to figure something out
Click to expand...
Click to collapse
congrats with your new phone!
"Non-TouchScreen phones are highly under-appreciated, and I hate that so much [let alone the fact that WinMo is underappreciated]!" Yeah that sucks, that's also why I keep developing Apps and ROMs!
Hope you can get VS working again!

Barcode scanner, offline (no internet connection needed)

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();
}
});
}

Panono: Panoramic Ball Camera

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!

Categories

Resources