Phonegap Build Windows Phone change pin to start text - windows-phone-7

So i've been building a windows phone app with phonegap build. I'm using the config.xml file. Does anyone know how to change the pin to start text?

This may not be relevant to Phonegap Build but I had exactly the same problem when building a WP8 app locally. I found the only way to change this is by doing the following:
In your Phonegap project, open platforms\wp8\Properties\WMAppManifest.xml in a text editor.
Change the value of Title.
Un-pin the app and then re-pin. The title should now be updated.
This doesn't feel like the right way to do this but changing the PhoneGap config.xml doesn't seem to make any difference.

Related

How to display images in Muti-Platform Xamarin.Forms Project on iOS

I've got a Xamarin.Forms Project containing an Android and an iOS Platform Project.
I've got my whole application working on Android and I am now struggling on the iOS part. I can't get my images to display on iOS.
I've followed the Microsoft guide on how to work with images on Xamarin.iOS, but it's simply not working.
I have created a minimum example from a new project and uploaded it to GitHub, it can be found here.
Output: On Android, the image is being displayed fine, on iOS, the screen stays empty. In addition to that, the logs I've added to AppDelegate.cs show, that the images cannot be found by using UIImage.FromBundle()
I've also checked the CSProject file of the iOS project, but it already contains the <ImageAsset> item groups.
I am on Visual Studio Professional 2022 (Windows) Version 17.4.1
Can someone please have a look into this? I am going crazy...
I have test your project with the Visual Studio 2022 for mac. And I had the same results in the Android platform and ios platform. The small car icon will show at the top of the screen.
But for the iphone 14 pro simulator, which has a notch screen. The car icon almost be covered. So you can try to run it on the ipad or a device without notch screen to check the car icon will show or not.
In addition, I have checked your Assets.xcassets folder and the official sample on the github. There is no a such xxx_vector folder in it.
Background information:
What's deprecated (but still works) is individual resource files (aaa.png, aaa#x2.png), with no xcasset.
An xcasset containing those files is not deprecated. Nor is it likely to become deprecated in the future.
If you still want to test with .pdf containing vectors:
What is problematic about your setup is that you have TWO representations of car_settings. One with .pngs, one with vector pdf.
What happens if you remove the xcasset with .pngs, and rename the one with pdf to match the filename in it? (car_settings xcasset, with car_settings.pdf).
Close VS, and delete all .bin and .obj folders after making this change, to ensure VS correctly rebuilds with the vector version.
If this still fails, then you likely have encountered a bug. Add as an issue at github xamarin forms issues. Be sure to mention the versions of VS and Xamarin.Forms that has the problem.

Android app icon doesn't look the way it should

I am about to add an icon to my android app.
I use the image assest feature in Android studio, follow all the steps, and run my app in my phone (Android Oreo), but the problem is that the image appears really focused in the round icon.
Thank's in advance
Try using going to this website . Go to launch icon generator and import the image you want. Download the zip file and extract it into your project. I tried this with the picture you provided here and it works for me. Let me know if anything else pops up.

Appcelerator App Conversion iOS to Android.

One of our developer developed an app in appcelerator using alloy framework for iOS which works fine. Now we want to run the same app in Android, since the appcelerator is a cross platform tool, we wish to make the Android version of the App. I tried searching about it and explored the applcelerator ide for options but couldn't find it. Can some one please guide me into the right direction?
First of all have a look at this link : http://docs.appcelerator.com/platform/latest/#!/guide/Supporting_Multiple_Platforms_in_a_Single_Codebase this will guide you to update the application for multiple platforms.
Their are basically two different ways to port any application from android to iOS or vise-versa, but before that just let me clear one more thing to you about tiapp.xml.
In the tiapp.xml of your project you need to updated the Development Target by checking for which platform you are developing the application for (iPhone, iPad, android, Mobile Web).
Option 1 :
Cross Platform is build to make code re-usable (i.e. re-use same code for all the platforms), but we have exceptions with many things. Their are lot of components that work fine in iOS but when you use them in android then you will face errors. So in that case you just need to apply conditions for android and iOS like below :
if(OS_ANDROID)
// do something
else if(OS_IOS)
// do something
What you need to do is that you need run the application in android simulator and test the application for these changes and then apply the changes accordingly.
Basically a developer has to target the UI for both the platforms, as their will not be any logical differences between the two. Also their will be UI changes between the same components, like for example a picker in iOS will not look the same as it will when you look it in an android application.
Option 2 :
Now in the project you have assets folder with the platform that you have selected in the tiapp.xml (i.e. iPhone, android etc).
You can create similar structure in the style and view folder, create two folders iOS and android in both the directory (i.e. style and view).
First, move .tss of style folder (except app.tss and index.tss) in the iOS folder, then copy the files in the android folder also.
Repeat the similar process with the View folder also.
Now you have two different structures (i.e. view and styles) according to their platform. Now you can run the application in android simulators and resolve the error that you face.
Hope this small information helps the cause, you can also have look at the documentation of all the components from below link :
http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.TableView

XCode Archive for app store Submission

i have several apps in the AppStore but now i am struggling with one of the apps submission.
I added to my app the chart module, and i used AMCharts for that, so to make it work, i added the AMChartLibrary project into my project, and everything works fine either usgin the simulator and the device itself for testing, and now I am ready to submit the new version to appstore and then the nightmare starts
When i run the archive to create the file to be submitted, it falls under Other Items instead iOS Apps, this disables the button "Upload to App Store", my best guess is that the AMChart library can be used for MAC and iOS apps, and for some reason the xCode organizer is not identifying it as iOS app...
I know i am missing something, but i am not finding it.
Thanks
Problem solved, i should change the skip install for the subproject under Build Settings.

Local Notifications Plugin - Image/Logo

I'm using Local Notifications Plugin for Xamarin, in a Xamarin Forms app.
(https://github.com/edsnider/LocalNotificationsPlugin)
I got it working, but I have a question about the logo beside the notification.
I doesn't understand the readme on GitHub.
Does anyone know how to change it?
(Both on Android and iOS).
Android Image
(I'm not allowed to post more than 2 links that's why I can't send pic on iOS)
Thanks!
Add the icon you want to use to your Android project (under the Resources folder). Make sure the Build Action is set to AndroidResource, this should be done automatically.
Then somewhere in your Android project, probably the MainActivity is a good place, add this line: LocalNotificationsImplementation.NotificationIconId = Resource.Drawable.YOUR_ICON_HERE.
Of course at the place of the YOUR_ICON_HERE you should enter the identifier of your icon, which is probably the filename without its extension of the file you added.
The Following are the steps to follow to change the icon in a flutter local Notification.
Resize the image you want to put to 72 x 72
Transfer the image into the Android-app-src-main-res- drawable folder.
Change the default icon of the Application in the AndroidManifest file to that you put in the drawable folder
Rerun the application and test the Flutter Local Notification and see if the changes appear.
Here are the results

Resources