iTunes Image in Project properties - xamarin.ios

In the new MonoDevelop 2.8 and MonoTouch 5, there is an option to put a 512x512 image in project properties, see below. Given that you need to provide that when submitting an app via the iTunes Connect site, why is it needed here?

Related

Spire.net Excel to PDF Conversion with Barcode Font

We are using Spire.Xls library to Convert Excel files to PDF after some transformation.
Things were working fine until we upgraded Spire to latest version.
The document is generated fine, but it doesn't renders Barcode font which we have specified in the Excel Template. It shows numeric digits instead.
We are hosting application in Azure App service, so we can't install those Fonts there.
After going through latest guidelines, it appears that the framework has new approach to embed private fonts to the excel, However it seems like there is some issue related to Font caching.
After adding custom fonts, the barcode appears in the generated PDF. However, it appears only for the first request. All subsequent requests after first request are not loading the document with correct barcode. It shows plain numeric number instead.
Here is the code snippet we tried based on latest documentation.
var fontPath = HttpContext.Current.Server.MapPath("~/ExcelDocuments/idautomationhc39m_free_version.ttf");
Workbook document = new Workbook();
var fontArr = new string[] { fontPath };
document.CustomFontFilePaths = fontArr;
var res = document.GetCustomFontParsedResult();
document.LoadFromFile(template);
//Further processing
document.SaveToFile("d:\\test.pdf", Spire.Xls.FileFormat.PDF);
Does any one had same issue?
Thanks for COMMUNITY EXPERT ryanchill's answer.
App Services are sandboxes and certain workflows therefore aren't supported such as PDF generation. To get around this issue, you can deploy your app as a docker container image with the fonts you need installed on it.
Due to App services are PaaS services, they cannot be supported when it comes to relying on third-party application support (such as Microsoft Office) or system-level (fonts, etc.).
Related Posts:
How to upload custom fonts to Azure AppService and use them in the PDF reporting?

Picture in photo gallery no longer exists once I restart Flutter app (within Android Studio development environment)

Within Android Studio Flutter development environment, I'm choosing a picture from its Photo Gallery, getting its file path and saving the path in database as text, and later retrieve the file path to refer back to the picture in the Photo Gallery.
This works fine, but once I restart the app (again, all within Android Studio), then the picture no longer loads as that file path is no longer valid.
Is Photo Gallery somehow specific to each Flutter session or something? Thanks.
That will depend on how the native part is implemented and the plugin you are using. On Android when you request an image from the Gallery using an Intent, you may receive 'temporal access' to the file.
If you do not copy the image you may lose that permission to access the photo. You can ask the maintainer of the plugin or check if they use grantUriPermission to give access to the image file.

How to detect multiple resolutions images from a single drawable folder at android studio

Iam developing an Android app using Android Studio, I referred this link to use different images resources but i failed to get the output.
What i need is "I have 480x640_240dpi, 480x800_240dpi, 480x854_240dpi, 600x1024_240dpi in my drawable-hdpi folder", but while running the app the images are stretching.
How to detect the correct resolution image to the corresponding device.
And also help me how to add images to the tablet (that too only in landscape mode, in my app tablet wont work on portrait as requirements).
Thanks in Advance.
Targeting specific resolutions is possible with resource directory qualifiers. For example you can create folder drawable-w320dp-h533dp-hdpi for 480px x 800px image on hdpi screen.
EDIT: Since you probably are using Android Studio, you can define the qualifiers in the dialog when you are creating new resource directory.
Put your all images according to the resolutions.
i.e
res/drawable-mdpi/graphic.png // bitmap for medium-density
res/drawable-hdpi/graphic.png // bitmap for high-density
res/drawable-xhdpi/graphic.png // bitmap for
extra-high-density res/drawable-xxhdpi/graphic.png // bitmap
for extra-extra-high-density
for more detail
http://developer.android.com/guide/practices/screens_support.html

External image not displaying in UITableViewCellStyle with MVVMCross

I am working through the touch (iOS) BestSellers sample project for MVVMCross.
When listing all books of a certain category an image is shown for each book. I am currently running this against the iPhone Emulator as I have keychain issues with my actual devices.
The image is not being displayed. Is this an emulator issue?
I cannot seem much on line about UITableViewCellStyle.Subtitles ImageUrl property. Is it as binding the url as a string?
Thanks
I should have paid closer attention to the Output Window.
I recreated the BestSellers sample from scratch as there were issues with Missing methods and Nuget packages.
My Setup.cs in the iOS project was not calling EnsureLoaded on the DownloadCache PluginLoader. I discovered this the long way by going through the MVVMCross code in Github (MvxBaseImageViewLoader)

Build J2Me App programatically from ASP Website

I am having this peculiar problem in hand. I have newly developed J2Me App Midlet, now I want to give this App to the user as a download from my website. I want to build the application programmatically as user clicks the link to download it, It is so because there is a set variable data, I want to hard code inside J2Me App, depending upon the user profile. I can not make sets of J2Me App ready to download as this would be too huge a task.
Can any one tell me how this can be achieved ?
The website is ASP based website.
Instead of hardcoding the data in the class file, why don't you use a jad file property and just generate the JAD File Property while the user download the application. Inside the MIDlet you can just refer to the property using MIDlet.getAppProperty() method to read that JAD property.
Hope this helps

Resources