I am trying to create a xamarin XPKG for component submission as described here.
In Xamarin components store, Xamarin has provided a link to download .exe file for creating the Xamarin package which has to be extracted.
But, for some reason, I am unable to extract that file after downloading. It is not a zip file. What am I doing wrong?
The issue was that the proper file extension wasn't added when downloading the archive to Windows. The solution is to simply re-name the file and add .zip at the end.
Related
In my project (under Drawables) I have .png, .jpg and .mp4 files but when I run my project the .png files are the only ones who are successfully being used in the app. If I screenshot how for instance a .mp4 looks compared to the .png file it looks like this. The .jpg file is also looking like the .mp4 file (white).
When I right-click the files and check the build action they are all set on "AndroidResource". I add the resources both through my XAML file and code directly with the same outcome.
I am following this guide where I try to implement a video-background in xamarin.forms.android: https://www.junian.net/2017/03/fullscreen-video-background-control-for-xamarin-forms.html
Any idea why it isn't working and why the solution cannot recognize/find these files?
It is right on the tutorial you referenced:
...remember that video file on Android need to be stored under Assets directory...
You are adding your .mp4 as a Resources/Drawables, you need to add it within the Android Assets
Xamarin Guilde to Using Android Assets
i am trying to upload my apk on google play store but i am seeing this error: You need to use a different package name because com.phonegap.www is used by a pre-installed application. To upload a pre-installed application, please contact Google Play Developer Support. Learn more.
You need to use a different package name because "com.phonegap.www" already exists in Google Play. i just export my project as html from anyflip book as maker i didn't follow the phonegap normal build, please tell me how to change my package nameenter image description here
Change it in your config file before you upload anything.
In the root folder you have a file called config.xml. The second line of that file starts with <widget and it has an attribute id="com.phonegap.www". Change it to your own domain name for the app you're building, or to any value that should be globally unique. Then zip your folder, upload it to PhoneGap and try again.
I'm working with Brother Label Printer "QL-710W" for printing purpose. I'm using Xamarin forms targeting Android for printing a web view content.
I'm facing problem in communicating with the printer. They have provided android demo application with code which is working fine for me in Android studio.
I'm trying to use provided .jar files and .so files in Xamarin Android. I'm stuck in adding and consuming .jar and dependent .so files.
Can any one suggest, How to add .jar files and .so files in binding project.
This is the error I'm getting
Java.Lang.UnsatisfiedLinkError: Couldn't load createdata from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/PrintPOC.PrintPOC-1.apk"],nativeLibraryDirectories=[/data/app-lib/PrintPOC.PrintPOC-1, /vendor/lib, /system/lib]]]: findLibrary returned null
Following the link for the sample iOS project, I am unable to download the project files to run under XCode. Please advise what the procedure is to access the sample code. Saving the links to Downloads folder does not download the actual files. Thanks, D.J.
I am going to assume you mean the iOS-NestDK sample project. (embedded in the iOS-NestDK sample code doc)
To download the project, click the 'Download ZIP' button from the GitHub repo, then open the project file in Xcode.
I' have to download some images from a server folder and save in my sencha application to show them offline. I've found a phonegap plugin that download and save files in document folder of the app. Once I saved the images how can I show them in my sencha app?
You can probably have a store with the images mapping their paths and use those with the phonegap File Api.
For opening the file in device,you can use
window.plugins.fileOpener.open("file:///path_to file.jpg")
For more details refer to https://github.com/pwlin/cordova-plugin-file-opener2