I want to try out Xamarin to build my first sample app using VS and C#.
But I obvious ran into problems with my develop environment.
I can’t start the most basic setup.
This may interest some of you. Perhaps you can comment my questions.
This should only require up to date hardware and software.
Here is what I did:
I am working on a standard hardware notebook (HP 255 G7) with an AMD Ryzen3 cpu and Radeon graphics using Microsoft software Windows 10 Home version 2004. I normally only create asp.net apps, so I needed to extended my Microsoft software Visual Studio 2019 16.7.7 with mobile Xamarin.Forms for development with .NET.
I then picked a video series from Microsoft Developer Network channel9.msdn.com – Xamarin 101 with 11 parts to help me enter this new world.
First I needed to set the settings of the Android SDK Manager. I selected Androit 8.0 and 9.0.
Then I needed to setup an Android device. This is the emulator for an Android mobile working with the VS during development. Nice, all software environment.
Troubles started when I had to pick the cpu of the android device or of the emulating pc? X86 or AMD v8a?
I kept the Android Pie 9.0 – API 28 for a x86 (default) setting and choose to edit the Android 8 to an amd v8a thereby forcing the operating system to change to Nougat 7.1 – API 25.??
Stepped back and installed the Android Nougat 7.1 with the SDK Manager.
Let me now just try the two emulators out by pressing the START button.
• The Android Pie 9.0 (x86) pop up with: Hyper-V is not configured. Turn on “Hyper-V” feature to switch to the Native Hypervisor and accelerate your emulator.
Hmm..? I tried: Run Anyway, now that it is an option. It displays, but says: Pixel Launcher isn’t responding.
Is it good or bad? I guess it is not quite ok.
• The Nougat 7.1 (amd v8a) pop up with: Could no start emulator using HOST GPU Mode. Please check if you can update video driver. If it doesn’t help, try to edit the AVD and set “hw.gpu.mode=off”. Then another form from Android Emulator tell you that the emulator has closed due to an internal error. AMD is found but no Vulkan driver found. And it wants to file a report to ? MS perhaps? Will it help??
Well, lets check out if everything is working by deploy emulator Android 9.0 with the blank project solution (part 4 in the video).
A Performance Warning (Intel) pops up: pixel_2_pie_9_0_-_api_28 will run unaccelerated.
This machine does not have an Intel processor, which is required to accelerate the Android emulator. The emulator performance will be impacted. We recommend to use a physical Android device for development.
I guess the choice of cpu was for the pc, but it is just a recommendation. Cancel or Start Anyway?
Lets try and continue. Emulator pop up immediately, but after a couple of minutes it says that there is no reply and the system keeps running in the background. How to break?
Lately there has been much talk about Intellectual Property theft. This can not be the case here, I am not impressed.
Can it be so difficult to build a compiler framework for today’s smart phone?
I just wanted to try and create a test app for my Samsung Galaxy Tab A (2016) Android 8.1. Maybe later try it out on my iPhone 6 iOS 12.4.8. Is that too much to ask?
I recently started freelancing. I have a portfolio with several works from my college. Some projects were compelling. On the stock exchanges, clients offer not suitable pay. Maybe there are some fresh UI / UX designers here. What determines the cost of mobile app design?
There is no definitive answer to that question. Every projects requirements would need to be assessed and costed.
You could break it down to the number of views needed, database interactions and service interactions and then cost each one, then the general rule used to be to double it and double it again. This will then price you completely out of the market.
Never underestimate the power of human stupidity -
I'm old. I know stuff - JSOP
Overall, the development cost of creating a basic app lies in the range of $20-30K. But you can minimize the costs by prioritizing features to include into your mobile app Minimum viable product.
If we have a closer look at the pricing range, we'll see that it's logically more expensive to build a complex app that a simple one. This is mainly because the estimated time in hours is less with a simple application.
A simple app doesn't include API integration and back-end. It consists of basic UI component and simple features like social login. The total development time starts from 400+ hours
Moderate apps, on the other hand, include custom UI/UX features, build-in payment gateway as well as API integration and back-end server. Naturally, it takes longer to build such apps - from 500-800+ hours.
Finally, complex applications feature multi-language support, 3rd-party integrations as well as custom animations and sophisticated back-end. UI/UX design is naturally customized. As for the working hours, it takes somewhere 800-1500 hours to create such apps.
Beside the app's complexity, the hourly programmer rate is the key component that comprises the cost of developing a mobile app. Hourly mobile app developer salary varies across the globe, with the USA and Canada having the highest hourly wages.
var url = "https:" + "//localhost:44302/api/Customer/Get?Id=1";
Unless your Android (or the mobile device) has a local server running on the machine that can respond to a localhost:44302 request, you will not receive a response and request will likely timeout and fail.
There are several ways to connect to a localhost based website:
You have a physical Android device that you are using for testing
You are using a virtualized device for testing
If you have a physical device, then try to send the request to the host (your development machine)'s IP address with the port number; for example, change localhost:44302 to 192.168.1.17:44302 (assuming your machine's address on the same network is 192.168.1.17)
If you are using the virtualized then this gets complicated and depends on several factors; what network setting is being used, which OS you are using, does the virtualization software support host-connections, etc. etc.
Oh, and the best of these is to use an online proxy that can tunnel your Android device with the local machine; something like NgRok can help here.
This would "only" work if you have a machine or a process that is listening on 192.168.1.149 @ 44302. This is more likely a networking issue rather than an Android/PC problem. And, when you are on the same machine, you should always use 127.0.0.1 (aka localhost) instead of the machine's own private IP address.
Oh, one more tip, try only http:// and not the https://, or you will end up running in the SSL errors and you might assume the machine is down.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
Last Visit: 31-Dec-99 18:00 Last Update: 20-Sep-21 7:35