Download, save and show images with sencha touch and phonegap - image

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

Related

how to change android package name on phonegap build website

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.

Xamarin Component Submission - Unable to extract XPKG archive on Windows

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.

Saving PDF files to my iOS app

Is there any way to save the PDF files that come as attachment in Mail to my iOS app like copying to the iBooks ?
Any tutorials would be helpful.
You can open that file in your app. Then you can save it where ever you want. check this https://developer.apple.com/library/ios/documentation/FileManagement/Conceptual/DocumentInteraction_TopicsForIOS/Articles/RegisteringtheFileTypesYourAppSupports.html#//apple_ref/doc/uid/TP40010411-SW1

Xamarin cross platform UWP images are missing

I am working on Xamarin cross platform project where if I placed the images inside the sub folder it is not loading on the screen.
Please refer my code and folder structure along with properties
Put your Images folder under Assets Folder like this:
Assets/Images/*.png
and if you are using Localizing make like this:
Assets/Images/en/*.png
Assets/Images/another language/*.png
for more information you can check this Working with Images
i hope that answer you question.

how to extract the html and css of installed app from mobile

We can get the source HTML, JS and CSS for a website by right-click and getting the source code. Is there any way we can get the same for installed Mobile app?
It is for my app. I developed a UI and installed it in my mobile to test it. Later I made some changes to my UI and couldn't recover my old changes. So I'm trying to recover it from my mobile. Any help would be appreciated.
Change file extension from ipa or apk to zip.
Then extract it somewhere. By skimming through those files you could find those html, js and css files.

Resources