ZXing.Net.Mobile customising scannable area in xamarin.forms - xamarin.forms

There is an overlay feature available in the library. The overlay feature is nice but functionality wise it is just there to mask the UI.
Is there a way to customize the scannable area, I mean reduce the area that is scannable on the screen? When this can't be done there is no point in having the overlay right? The overlay does not really do anything.
This android app which uses the core Zxing library developed in java by the Zxing team https://play.google.com/store/apps/details?id=com.google.zxing.client.android you can see that - if the barcode/qr code lies outside the scanning area, it does not process it. That is what I am looking for. Is this possible?

According to this link github.com/Redth/ZXing.Net.Mobile/issues/87
the author of the library says
Unfortunately there's not a great short fix that I can think of for this scenario. Yes I could only check a certain region, but what would the region be set to? It makes sense to use the non-gray areas if you're using the default overlay, but if you use a custom overlay, you might not want the same region checked.
Just need some time to implement it (on ALL platforms - which is what takes so much effort).
It has been a more than a year since this issue was raised on github, so I don't think it will be implemented anytime soon.

Related

How to make a draggable and scrollable map with inertia. C#

i am actually trying to follow this tutorial: "How to create a HTML draggable and scrollable map with inertia using Phaser framework" (google it, www. emanueleferonato .com)
Im using Unity but i configured it "pixel perfect" so i can use directly pixels like in AS3 and flashdevelop.
I basically need to make a map for the game where the player can drag in the X axis of the map.
I have no clue of how to do it, also it should have acceleration and deceleration.
Edit:
As i say before, i am using a custom framework that does not allow components, or UI, it works like FlashDevelop and AS3, so imagine the answer is in AS3.
Thanks!
I recommend looking up Unity's UI documentation (AND TUTORIALS!) :D They have really good articles, and the forums are a great resource too.
Regarding your specific problem- Scroll Rect is what you are looking for. You can implement 2D dragging, along with acceleratoion, deceleration, and other kinds of UI physics (inertia, elasticity, etc.) with it.
Please look for tutorials if you're just beginning to dabble with these. I hope that helps!

ASP.NET Timeline control

I have looked over other questions on this website, but am yet to find a solution that meets our requirements.
We need a Timeline control that makes it possible to display some HR information (distribution of consultants) over longer periods of time (months). The screenshot below illustrates the requirement.
We currently use a Windows-based component from a third party. We need this application to be visible on the web, including display on iPad devices. Are there any controls on the market that support this functionality?
I haven't explored many of the options yet, but I'm working on an application that uses DayPilot Lite (the open source version) from http://www.daypilot.org/ to display a calendar. The scheduler control looks like it could do something like what you're looking for.
maybe Telerik Scheduler
http://demos.telerik.com/aspnet-ajax/scheduler/examples/timelineview/defaultcs.aspx
Here's one from codeplex that might work...
http://timelinenet.codeplex.com/releases/view/11981
There's also the "viewer" approach you could take -- for example, you could put a view of Visio or MS Project, etc. in a window on your page. Not sure how interactive it would be, but if your need is just for view-only, it might work.
http://www.codeproject.com/KB/applications/ASPNETVisioCustomControl.aspx
Have you looked at Google Charts? Specifically you could, perhaps, use their Annotated Timeline.
Google charts have some serious issues if any asp.net project is deployed in IIS.

Client Technology Choice - Any HTML5/Canvas libraries as capable as Flash/Flex?

I know similar questions have been closed for it being "impossible to answer objectively", but stick with me here.
I built a prototype in Adobe Flex, they (customers) liked it. Everything was fine until they later told me that iPads / iOS needs to be supported too.
I checked out Adobe's Packager for iPhone. We're evaluating that and we will know if it works out in a couple of days. (We need to get through Apple's red tape and certificates raj so this angle is delayed by a few days!)
There is a growing voice for using HTML5/Canvas as a technology platform itself. And despite being quite proficient in Flex, I think this makes sense.
I'm in need of a HTML5 library that can:
Render "widgets" i.e. containers with forms and components (this should be easy and possible using POHJC - Plain old HTML, JavaScript and CSS ;-) )
Provide a Tree like control for laying out some data
Provide a Canvas where data structures can be represented as basic shapes
Provide drag and drop capabilities between Trees, Buttons and Canvas
Provide some sort of Tab Navigator container (I guess JQuery works here)
Interact with back-end services (JSON/XML calls will be okay, but mapping directly with back-end entities will be awesome!)
Renders on latest versions of major browsers, Android OS and iOS (WebKit for mobile?)
Am I asking for too much?
I'm ready to give JQuery & JQuery UI a try.
I looked at Sencha / ExtJS but it seems we need to maintain two code bases one for normal browsers and the other for mobiles (is that correct?)
Are there any other JS libraries worth trying out?
My concerns areas are
Single code base, I don't want to suggest to them that multiple code bases for the client need to be maintained. That's a last resort option and would lead to complete ruling out of HTML5 with Flash apps and native apps being developed.
Canvas capabilities - I don't want to work with raw canvas and shape tags. This too is a last resort option. Is there any abstraction available?
Integration with back-end services, obviously I need some capability here!
Help me out. Communitywikify this if required.
Thanks,
Sri
How about trying Vaadin?
http://vaadin.com/comparison
I do construe its irrelevant to your question, but still this framework can help in great deal. I still use Flex and PHP as main base for many application, but actually fell in love with Vaadin and started using it for my new projects.
Grant Skinner the flash guru is working on a html5 libary. It has some features you requested. It is still in development.
The new Canvas element in HTML5 is powerful, but it can be difficult to work with. It has no internal concept of discrete display elements, so you are required to manage updates manually. The Easel Javascript library provides a full, hierarchical display list, a core interaction model, and helper classes to make working with Canvas much easier.
The libary is called easeljs, you can find it here : http://easeljs.com/
For the normal html and css manipulations without html canvas JQuery is very easy to learn.

Can Flex wrap Java applets?

I'm just learning about Flex and I'm loving it. Unfortunatly I still have to make the decision on which RIA technology to use and its dependent on, among other things, from the following case:
How can we wrap a java applet around a Flex application? More specifically, I would like to wrap/integrate NASA's World Wind applet in a Flex panel, similar to what Adrew Trice did with the Google Earth API.
An alternative would be id Flex would support direct access to the 3D hardware through OpenGL or DirectX. But I do not think that that is the case yet, not even through AIR.
Any information on the above items would be great. Thanks
If you're going to be running in a browser, you can definitely do something much like the example you cite, which essentially runs both the Flash player and the Google Earth plug-in alternatingly on top of one another (in that case, Google Earth situated atop Flash), using JavaScript as the glue responsible for hooking the two together.
As for wrapping Java applets, accessing the hardware, etc., though, no -- you're pretty much confined to the player in that sense. If you're hosting the Flash player in an installed application (as we often do here), or in a browser (e.g., as described above), you can reach out of the box using ExternalInterface, or if you're not, you can plug in to another app using AS3's Socket classes, but that's about it; Flash Player has no facilities for wrapping/embedding non-Flash binaries.
Hope that helps -- feel free to post back in comments and I'll try to help explain whatever additional questions you might have.
What you need to ask yourself is why on Google Earth would you want to do such a thing? Flex is Flex, not a Java wrapper. There's a reason Flex exists: Java Applet FAIL.

I need to design usa interactive Map in flex

i need of simple UsA map in flex ,all Area need to be click able as button .
Is there any tool available for designing buttons in various shape in flex or any build in free map is available in flex.
As vector format so that zoom in will not affect the quality.
i need to design like as shown in this site
http://www.futurevision.com.ua/products/usa_flash_map.php
This is the Degrafa Map Demo. It is still in the samples section so perhaps the site was down at the time.
data viz sample page here:: http://www.degrafa.org/samples/data-visualization.html
Load the "Map Dashboard" sample and Right click/View source to get at the code.
Cheers
Jason.
I posted a similar question a while ago but needed more customization.
I used SVG path data in Degrafa to create custom maps of the world, continents, USA.. for a customer. Degrafa used to have a nice US map demo (with source code) as part of its samples, but it disappeared from the web. I don't know of any tool that would help to design clickable Flex shapes. I have no doubt though that Degrafa will provide more support and tools for converting and using SVG.
Some products I found: ilog, ArcGis
And also found this open-source library : GeoVis (birdeye)
But it's very unstable and haven't seen many changes recently.
I'll do that (or, I'll have a designer to do that) in illustrator, and then import the vector format in flex, with the [Embed] metadata.
I don't know if it is a downside for you (for me is a plus), but in this way you have to do everything in code, not with the FlexBuilder UI.

Resources