|
OP is a spammer (terminated).
|
|
|
|
|
if you are using Visual studio its easy. but if you using other other IDE like AndroidStudio then you can look at this Migrating to AndroidX | Android Developers
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vimalsoft.com
vuyiswa[at]vimalsoft.com
|
|
|
|
|
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.
|
|
|
|
|
I want to create a taxi app like Uber with latest taxi booking features
Anyone here to Guide me about how can I create my own app.
|
|
|
|
|
Step 1: Learn how to do software development.
Step 2: Write your application.
Step 3: Profit!
|
|
|
|
|
|
How do you know he is a spammer - profile says Marketing that says it all!
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
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
|
|
|
|
|
For Android platform Eclipse or Android studio would surely work, as for IOS IDE like Xcode or AppCode would work fine, though their aren't many options with IOS compare to Android.
|
|
|
|
|
Good Day
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;
if (!CrossMedia.Current.IsPickPhotoSupported)
{
await DisplayAlert("Photos Not Supported", ":( Permission not granted to photos.", "OK");
return;
}
var file = await CrossMedia.Current.PickPhotoAsync(new Plugin.Media.Abstractions.PickMediaOptions
{
PhotoSize = Plugin.Media.Abstractions.PhotoSize.Medium
});
if (file == null)
return;
filePath = file.Path;
paths.Enqueue(filePath);
readytosave = GenericMethods.StreamToByteArray(file.GetStream());
Uri uri = new Uri(file.Path);
filename = string.Empty;
if (uri.IsFile)
{
filename = System.IO.Path.GetFileName(uri.LocalPath);
}
var extension = filename.Split('.')[1].ToLower();
file_extension = extension;
imageEditor.Source = ImageSource.FromStream(() =>
{
var stream = file.GetStream();
return stream;
});
imagepopup.IsOpen = true;
}
Thanks
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vimalsoft.com
vuyiswa[at]vimalsoft.com
|
|
|
|
|
sir as you made vext_CPv2 so in this we have spinner but i want only message could so could you please tell me the message code only
|
|
|
|
|
If you're talking about code from an article, you need to use the forum at the bottom of that article to ask questions about it.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Good Day All
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
https://us.v-cdn.net/5019960/uploads/editor/pv/yacw7deyp8fw.png
how can i make this possible
thanks
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vimalsoft.com
vuyiswa[at]vimalsoft.com
|
|
|
|
|
Vimalsoft(Pty) Ltd wrote:
how can i make this possible By linking an emoji library to your app, and using an emoji-enabled "edit text" control. Every language and every platform does this a bit differently, though. Here is how Android does it.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
modified 24-Apr-19 9:28am.
|
|
|
|
|
i see , i thought there is another way. let me stick to that. you answered my question
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vimalsoft.com
vuyiswa[at]vimalsoft.com
|
|
|
|
|
dear master
I am a newbie in react native programming.I have a question when run Android emulator on AVD Manager showing "Android" only.How to fix it ?
Name is Nexus 5 API 23, Resolution 1080 x 1920 xxhdpi, API 23, Target Android 6,0, CPU/ABI Arm,
Size on Disk 3.5 GB.RAM 1536 MB Internal storage 800 MB, Studio Manage 512 MB
VP Heap 750 MB.
Spesification Laptop
Operating System Windows 10 Enterprise.Processor AMD A8 7410 APU with AMD RADEON
RAM 4.0 GByte (3.47 GByte usable)
|
|
|
|
|
Member 13574900 wrote: ...AVD Manager showing "Android" only. Can you provide a screenshot?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
On my Desktop, this works fine...
- Plug USB Cable into Desktop Computer (This is USB Type A)
- Plug USB Cable into Android Phone (This is USB 2.0 Micro B)
Within ten seconds (normally sooner) Windows File Explorer sees my phone, and allows me to access it just like another drive with file folders, etc.
I do the exact same sequence on my notebook computer.
Fail.
Asking Google about this produces answers galore.
After the first N of those answers proved themselves wrong, I decided to ask here.
Make a friend ! Give me a clue as to why this fails.
Enhance your reputation exorbitantly ! Tell me how to fix this.
Details...
Desktop: Win 7 (EL-Cheap-O eMachines from WalMart)
Notebook: Win 8 (EL-Cheap-O Acer Aspire)
Phone: Android, LG Stylo 3
|
|
|
|
|
C-P-User-3 wrote: I do the exact same sequence on my notebook computer.
Fail. Need to update driver?
What exactly does "Fail" mean?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
David Crow wrote: What exactly does "Fail" mean?
I don't know anymore.
The two parts just started cooperating three hours ago.
You guys give the best advice on the internet.
(Now, if only they cooperate tomorrow)
|
|
|
|
|
Did you try these suggestions[^]?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
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);
if (!File.Exists(dbFile))
{
FileStream writeStream = new FileStream(dbFile, FileMode.OpenOrCreate, FileAccess.Write);
await MainActivity.Instance.Assets.Open(databaseName).CopyToAsync(writeStream);
}
return dbFile;
}
The problem is that even after uninstalling the app from the phone
if (!File.Exists(dbFile)) 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 -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
Just a guess, but when you reinstall the app, the allowBackup element in the manifest may be restoring your database.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
Thanks for the hint - had nothing to do with the problem
The issue was with precedence, I was creating a SQLite database in the DAL base class BEFORE copying over the existing DB.
new SQLiteAsyncConnection(FilePath);
This actually creates an empty database in that location and it was called prior to the copy from android.
Last major issue nailed before I can deploy to the UAT people Yah!!!
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
I am trying to implement a MVVM ContentPage with a ListView that needs to bind to populated generic list of XML model objects in a ViewModel but the binding fails. The code that is shown calls an API that does return a valid list of XML data. The same code works fine when the binding is done directly in the code behind of the XAML Xamarin contentpage by setting the ItemSource in the codebehind. As said, the problem only happens when trying to pass the ListView through the ViewModel assigned to the contentpage. I have stepped through the code in the ViewModel and the ListView is populated successfully but the binding just doesn't work. I have other controls that are on the page not shown that the model binding does work for but the only control that doesn't work is the ListView. The code is shown below:
ViewModel:
namespace RestDemo.ViewModel
{
public class ViewModel : INotifyPropertyChanged
{
public ViewModel ()
{
GetRequest();
}
List<XmlPizzaDetails> _objPizzaList;
public List<XmlPizzaDetails> ObjPizzaList
{
get { return _objPizzaList; }
set
{
if (_objPizzaList != value)
{
_objPizzaList = value;
OnPropertyChanged("ObjPizzaList");
}
}
}
public async void GetRequest()
{
if (NetworkCheck.IsInternet())
{
Uri geturi = new Uri("http://api.androidhive.info/pizza/?format=xml");
HttpClient client = new HttpClient();
HttpResponseMessage responseGet = await client.GetAsync(geturi);
string response = await responseGet.Content.ReadAsStringAsync();
ObjPizzaList = new List<XmlPizzaDetails>();
XDocument doc = XDocument.Parse(response);
foreach (var item in doc.Descendants("item"))
{
XmlPizzaDetails ObjPizzaItem = new XmlPizzaDetails();
ObjPizzaItem.ID = item.Element("id").Value.ToString();
ObjPizzaItem.Name = item.Element("name").Value.ToString();
ObjPizzaItem.Cost = item.Element("cost").Value.ToString();
ObjPizzaItem.Description = item.Element("description").Value.ToString();
ObjPizzaList.Add(ObjPizzaItem);
}
Progress = false;
}
}
}
}
XAML
Model Binding portion:
ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:xlocal="clr-namespace:RestDemo.ViewModel"
xmlns:local="clr-namespace:RestDemo"
xmlns:Views="clr-namespace:RestDemo.Views"
x:Class="RestDemo.XmlParsingPageBehavior">
<ContentPage.BindingContext>
<xlocal:ViewModel />
</ContentPage.BindingContext>
Grid Binding Portion
<Frame Margin="5, 5, 5, 5" Grid.Row="2" Grid.Column="1" BackgroundColor = "Cyan">
<ListView x:Name="PizzaListView" ItemsSource="{Binding ObjPizzaList}" Margin="5, 0, 5, 0" Grid.Row="2" Grid.Column="1" HorizontalOptions="FillAndExpand" HasUnevenRows="True">
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<Grid HorizontalOptions="FillAndExpand" Margin="0,0,0,0" Padding="20">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Label Text="{Binding Name}" HorizontalOptions="StartAndExpand" Grid.Row="0" TextColor="Blue" FontAttributes="Bold"/>
<Label Text="{Binding Cost}" HorizontalOptions="StartAndExpand" Grid.Row="1" TextColor="Orange" FontAttributes="Bold"/>
<Label Text="{Binding Description}" HorizontalOptions="StartAndExpand" Grid.Row="2" TextColor="Gray" FontAttributes="Bold"/>
<BoxView HeightRequest="2" Margin="0,10,10,0" BackgroundColor="Gray" Grid.Row="3" HorizontalOptions="Fill" />
</Grid>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</Frame>
|
|
|
|