22 Answers, 1 is accepted
Indeed, just like you have found, the SDKBrowser sample app is shipped with the UI for Xamarin product. Feel free to share if you find the existing examples enough or what more you would expect to see as an implemented sample scenario.
Regards,
Nikolay
Telerik
Could you please share with us the error displayed when trying to compile the examples? It will be vital, if we are to better understand and fix this issue for you.
Thank you for your time and all best!
Regards,
Antony Jekov
Telerik
Hi Antony,
Thanks, I saw your reply on the other thread.
http://www.telerik.com/forums/latest-release
If you want me to setup a ticket to track this I'm more than happy to do it, also happy to test builds etc.
Let me know if you want a ticket created.
Kind Regards,
Norman.
We had forgotten to delete three references to drawer transition classes that no longer exist. The git hub repository has now been updated? Are the missing classes the compiler errors?
Regards,
Victor
Telerik
I don't know Victor.
Is there a newer build of the SDK browser I can try?
You can take the latest version of the SDK examples anytime from out GitHub repository here. It contains SDK examples in Java (Sample-Java), in C# (Samples-Xamarin) and the code of our application available in the store (Store-Demo).
Let us know if the issue persists with the latest version of the examples.
Regards,
Todor
Telerik
This isn't the same Xamarin forms sample I tried which ships with the Forms controls.
Besides I have to wait for the next service release as I identified a bug in the chart control so it's pointless until then.
The fix for the problem you reported is in place and it will be delivered with the next build. However, the Xamarin Forms SDKBrowser app builds just fine on our end, so we might need some additional details here. Basically, all you need to do is restore the nuget packages in the solution and build it. One thing you can check is the Android version used to compile the project -- please, make sure it is 21.
Best regards,
Ves
Telerik
Hi Ves,
Sorry for the delay in replying, I had to package a release of a Forms app (with Chart control) for some senior managers, all worked fine in a signed APK so I know that will work fine.
I feel like I'm hitting my head against a wall on this thread TBH, Todor seems to be referring to the native Android samples.
The sample I refer to is the Xamarin Forms sample which installs to "C:\Program Files (x86)\Telerik\UI for Xamarin Q2 2015\Examples\XamarinForms"
The SDKBrowser.Android project doesn't compile. The API level is set to 21 as it was on the app I compiled to APK yesterday. My point was that that Xamarin Forms SDK sample will not compile. if you set the default project to Android. I think something has been lost in translation.
Kind Regards,
Norman.
That's correct. Sorry about the misunderstanding. So, it seems the errors you see in SDKBrowser appear when using Xamarin.Android.Support.* packages version 22.x.x.x. Please, revert them to use 21.0.3.0 and you should be able to compile SDKBrowser.
Best regards,
Ves
Telerik
Hi Ves,
I shouldn't have updated the nuget packages but I wanted to test it against forms 1.4.3. If the Listview don't support Forms 1.4.3 I can't use it.
I'll probably wait for the next release.
Looking forward to better samples.
Thanks,
Norman.
We have released a new build - version 2015.2.721. It covers all the requirements you have set:
- Fixed the bug you have reported
- Targets Xamarin Forms 1.4.3
- Android projects can use the latest versions of Xamarin.Android.Support libraries
Let us know if further questions arise.
Regards,
Ves
Telerik
Thanks Ves.
Hi Ves,
I downloaded and tried the sample but it won't compile for iOS or Android.
[assembly: Xamarin.Forms.ExportRenderer(typeof(Telerik.XamarinForms.Primitives.RadSideDrawer), typeof(Telerik.XamarinForms.PrimitivesRenderer.Android.SideDrawerRenderer))]
Error2The type or namespace name 'Primitives' does not exist in the namespace 'Telerik.XamarinForms' (are you missing an assembly reference?)C:\Program Files (x86)\Telerik\UI for Xamarin Q2 2015\Examples\XamarinForms\SDKBrowser\SDKBrowser.Android\MainActivity.cs1069SDKBrowser.Android
Error3The type or namespace name 'PrimitivesRenderer' does not exist in the namespace 'Telerik.XamarinForms' (are you missing an assembly reference?)C:\Program Files (x86)\Telerik\UI for Xamarin Q2 2015\Examples\XamarinForms\SDKBrowser\SDKBrowser.Android\MainActivity.cs10124SDKBrowser.Android
All the references are okay and the Telerik.Xamarin.Android.Primitives.dll is in the correct location.
Kind Regards,
Norman.
This is strange. We do not experience such issues in our tests and I just verified it builds just fine for me. I am not sure what might be the reason for this. Maybe you can try to remove the problematic references and re-add them? Or copy the entire solution elsewhere and fix the references? The next step would be to uninstall the product completely and then re-install it. I am afraid it is hard to provide an advice in this case.
Best regards,
Ves
Telerik
Hi Ves,
I uninstalled Xamarin Q1 & Q2, downloaded again and re-installed. After restoring nuget packages it runs fine on Android. I don't know if the issue was that Q1 was also installed. Not sure why that would be.
Anyway, got it working. Slidedrawer looks good. just need to test Chart again my solutions.
Tested on iOS as well, it does something weird in my Visual Studio, if you select iPhone instead of simulator my Visual Studio (2013-SP4 with Xamarin stable) goes into a loop and the compile button flips between Simulator and Hardware devices. It only ever happens on solutions from Telerik, not sure which build of Xamarin for Visual Studio you guys use, I'm on 3.11.666.0.
Kind Regards,
Norman.
Hi Ves,
Just to let the team know, I tested the app with the latest chart and it's all working nicely in iOS :-)
I did encounter one issue when testing in Android, I got the following error:
Error 1 Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'Xamarin.Android.Support.v8.RenderScript, Version=1.0.0.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'Xamarin.Android.Support.v8.RenderScript.dll'
at Xamarin.Android.Tuner.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(ICollection`1 assemblies, AssemblyDefinition assembly, Boolean topLevel)
at Xamarin.Android.Tasks.ResolveAssemblies.Execute() C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets 1146 2 VesselFinder.Droid
I got round it by installing the following Nuget package
https://www.nuget.org/packages/Xamarin.Android.Support.v8.RenderScript/
Is this the correct workaround? I didn't have to do this for the previous version so is this something introduced in Q2 2015? If it's not in the documentation, it's worth adding as it's not mentioned.
http://docs.telerik.com/devtools/xamarin/controls/chart/chart-getting-started
Kind Regards,
Norman.​
​
This is actually the correct approach to the problem. Xamarin.Android.Support.v8.RenderScript is now required by Xamarin.Android.Primitives assembly, so you have found the correct solution. The documentation will be updated shortly. I am sorry for the inconvenience.
Best regards,
Ves
Telerik
Hi all, can ​anyone tell me the expand and collapse feature of listview of xamarin form is available in telerik UI?
I am afraid currently expand/collapse is not supported.
Best regards,
Ves
Telerik