iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hello Crosslight Team,
is Xamarin.Android.Support.V4 a newer version then Mono.Android.Support.V4?
After doing some Google search I get this impression.
Many new Xamarin components reference the Xamarin.Android.Support.V4 assembly.
Why does Intersoft.Crosslight.Android rely on the "old" Mono.Android.Support.V4?
How can I use any Xamarin component that references Xamarin.Android.Support.V4 in Crosslight?
Will there be a new Crosslight version that references Xamarin.Android.Support.V4?
Best regards, Thomas
Apologize for any inconvenience this problem may have caused you.
I enclosed the signed version of Xamarin.Android.Support.v4.dll assembly as attachment. Please have the attached assembly evaluated on your end and let us hear whether it helps or not.
As soon as this nightly build is stable, the project wizard will also get updated so that the project uses Xamarin.Android.Support.v4 assembly.
FYI, the attached assembly has been tested on a simple project which uses ZXing MobileBarcodeScanner. Should you find any unsupported scenario please feel free to let us know.
Hi Thomas,
Thanks for the post. We are aware of the issue, and we're currently doing a hotfix this month to address your issue, in which we'll change the Mono.Android.Support.V4 assembly to use the new Xamarin.Android.Support.V4. In the next version, we're also planning to drop the support library completely and use the Mono.Android library fully. We will keep you updated regarding this issue. Very sorry for the inconvenience.
Hello Nicholas,
Thanks for answering.
Here is the concrete problem I experienced:
I wanted to use the ZXing component to scan QR codes on Android and iOS.
But on both platforms I encountered problems.
The starting point for my sample is the "drawer project template".
iOS:
- I added the ZXing component via the "Component" folder.
- Then I added the scan process in the "ViewDidLoad" method of the SimpleViewController.
- The scan works fine here, but the problem is that after returning from the scan view, the navigation in the drawer is empty.
- Before starting the scan, I have a navigation there (About, Simple Page, Scan QR Code).
- So where is the navigation gone?
Android: Already anwsered
You can download my example from here: http://81.20.83.35:1973/Intersoft/TEA.App.Hello.zip
Thanks for your support.
Best regards,
Thomas
Thank you for the sample. The reported problem is reproducible using Crosslight 2.0.5000.52 hotfix.
Crosslight 2.0.5000.60 nightly build is now available in here. This update includes the fix for your reported problem.
Please carefully follow the step-by-step guidance in applying the update that can be found in here (http://developer.intersoftpt.com/display/crosslight/Updating+Crosslight). Should the problem persist, please feel free to let us know.
Hello Yudi,
the nightly build fixed the problem on iOS. Thanks.
Please, keep me updated when there is a version which solves the Mono.Android.Support.V4 vs. Xamarin.Android.Support.V4 problem.
Glad to hear that reported problem on iOS is no longer persist after applying the nightly build.
I will keep this thread updated with any news I heard from the team regarding Mono.Android.Support.V4 vs. Xamarin.Android.Support.V4 problem.
any news about the Mono.Android.Support.V4 vs. Xamarin.Android.Support.V4 problem?
When will there be a new "hot fix/monthly update version" available?
I enclosed the nightly build of Crosslight 2 which resolves Xamarin.Android.Support.V4 problem as attachment. Please note that this is a nightly build (pre-release version of hotfix) and was not tested for regression. We hope you can collaborate and test it in your projects.
Should you find any problem, please feel free to let us know.
Does the new update (2.0.5000.61) include the fix for the Xamarin.Android.Support.V4 problem?
The new update, Crosslight 2 build 61, doesn't include the fix for the Xamarin.Android.Support.V4 problem.Once the nightly build is stable, it will be combined with the release version of hotfix.
Unfortunately the nightly build is not working. I am not sure how you tested it. In my solution I included the zxing.net.mobile-1.4.5component through Visual Studio. This adds a reference to the Xamarin.Android.Support.v4 assembly. I replaced all Crosslight assemblies with the one's from the nightly build. Rebuilding the solution fails with error: The type 'Android.Support.V4.App.ListFragment' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Android.Support.v4, Version=1.0.0.0, Culture=neutral, PublicKeyToken=71f3e3261ac778b5'. Though the Xamarin.Android.Support.v4 assembly is included. After doing some investigation I found the problem. See attached screenshot. You added the Xamarin.Android.Support.v4 assembly with a public key token (signed) to the Intersoft.Crosslight.Android assembly, but the component version of the Xamarin.Android.Support.v4 assembly and the original version from Xamarin have a public key token = null (unsigned). So use an unsigned version (which would be the better solution) or deliver the signed version.
Will there be an update of the project wizard, so that the Xamarin.Android.Support.v4 assembly is added to new projects instead of the Mono.Android.Support.v4 assembly?
Please, correct the existing problem and send me another nightly build.
When do you expect this to be stable? I really need this feature in my app.
Thanks for the assembly. I just tried it with my scenario and it worked. Great.
I really hope this will soon be stable and included within the next monthly update.
One more thing. My current scenario is: Having a drawer navigation with a list item "Scan". Clicking on the "Scan" item navigating to a new fragment. There having a scan button which opens the scanner. This works fine. Is it possible to navigate directly from the "Scan" item in the drawer to the barcode scanner without the scan button?
Is it possible to navigate directly from the "Scan" item in the drawer to the barcode scanner without the scan button?
Yes, you can. Please download and evaluate the sample and let us know whether it helps or not.
Perfect. Thanks a lot.
I wonder if I find any documentation about that approach. It would be very interesting to know what is going on under the hood.
The scenario, to navigate directly from the “Scan” item in the drawer to the barcode scanner without the scan button, is implemented using Executing Commands in NavigationItem technique.
However, in certain scenarios, you might want to execute commands directly in NavigationItem Class. For example, introducing a Logout button that triggers the logout command in the view model.
This technique is documented in Implementing Drawer Navigation section. For more detail information, please kindly check them in http://developer.intersoftpt.com/display/crosslight/Implementing+Drawer+Navigation.
Hello Yudi:
Can you send me a Scan QR code code.I'm a student , I want to learn ahout it.My e-mail address is :13372662475@163.com.
Thank You !
Joke.
Please kindly check my post on July 8, 2014 7:16 AM. I uploaded the sample in OneDrive. Simply click the link in my previous post and let me know whether it helps or not.
Hi Yudi,
Thanks for answering.It's work well.Thank you!
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname