I. How to migrate an existing project to AndroidX
In Android Studio 3.2 and higher, you can quickly migrate an existing project to use AndroidX by selecting Refactor -> Migrate to AndroidX from the menu bar.
complile SDK version and target SDK version must be 28
II. AndroidX in a new project
If you want to use AndroidX in a new project, you need to set the compile SDK to Android 9.0 (API level 28) or higher and The following Android Gradle plugin flags to true in your gradle.properties file.
set android.useAndroidX=true , the Android plugin uses the appropriate AndroidX library instead of a Support Library. android.useAndroidX is false by default if it is not specified.
set android.enableJetifier=true , the Android plugin automatically migrates existing third-party libraries to use AndroidX by rewriting their binaries. android.useAndroidX is false by default if it is not specified.
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