We are planning to extend (upgrade) our current Xamarin.iOS / Xamarin.Android app to support Carplay and Android Auto.
The existing app is mobile parking and navigation app which is developed with Xamarin.iOS and Android.
Can anyone with the experience to suggest the basic strategy and approach regarding the upgrade (extend) the app to support Carplay and Android Auto? The team hopes to continue Xamarin platform (either Xamarin.iOS/Android or Xamarin.Forms) as we all love Xamarin.
Any ideas are very welcome and appreciated.
For iOS/iPhone Apps :
- Language : Swift (Version 2.x)
- IDE : XCode (Version 7.x.x)
For Android Apps :
- Language : Java (Version 7 / 8)
- IDE : Android Studio (Version 2.x.x)
For Web Panel & Admin Panel :
- Language: PHP with OOPS based Core PHP Structure following MVC Architecture
in my Xamarin page i have a button that browse the gallery to allow a user to bind it to an image editor , after selecting the image , the page refreshes to the first page that led to this current page. i would like to make it keep it in the current page after image selection . below is the code on my button
async private void Btnupload_Clicked(object sender, EventArgs e)
GenericMethods.IS_IMAGE_SELECTON = true;
await DisplayAlert("Photos Not Supported", ":( Permission not granted to photos.", "OK");
var file = await CrossMedia.Current.PickPhotoAsync(new Plugin.Media.Abstractions.PickMediaOptions
PhotoSize = Plugin.Media.Abstractions.PhotoSize.Medium
if (file == null)
filePath = file.Path;
readytosave = GenericMethods.StreamToByteArray(file.GetStream());
Uri uri = new Uri(file.Path);
filename = string.Empty;
filename = System.IO.Path.GetFileName(uri.LocalPath);
var extension = filename.Split('.').ToLower();
file_extension = extension;
imageEditor.Source = ImageSource.FromStream(() =>
var stream = file.GetStream();
imagepopup.IsOpen = true;
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
The emoji's that are used on whatsup are Unicode characters judging from the high quality graphics that get displayed on the chat area and also on the text entry where a selected emoji is displayed before the message is sent. i would like to have a text entry that can allow me to put a png of emoji in an entry or custom entry control and also include text when text are there as depicted below
I have an existing sqlite database in the android project under Assets.
I use the following to copy the database to the application personal folder
public async Task<string> GetDBPathAndCreateIfNotExists()
string databaseName = "DBQDive.db3";
var docFolder = System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal);
var dbFile = Path.Combine(docFolder, databaseName); // FILE NAME TO USE WHEN COPIED
FileStream writeStream = new FileStream(dbFile, FileMode.OpenOrCreate, FileAccess.Write);
The problem is that even after uninstalling the app from the phone
ALWAYS find a database file and therefore never copies the new database because the database has been created by a previous installation.
How can I detect if this is the first time the app is run so I can delete the database before it should be copied over?
Never underestimate the power of human stupidity -
I'm old. I know stuff - JSOP