Run Asp.Net web application with android emulator - android

When I run my web application with Eclipse in Visual Studio, the machine says that
"The file 'http://localhost:18207/' could not be found".
If I launch the application with Firefox, IE or iPhone Simulator there are no problems, what could be the issue?
Are there any other ways I could simulate my application running in an android smartphone?

Related

How to run Flutter app on iOS simulator on macmini from Windows

I am about to start doing development with Flutter so I can deploy an app on Android and iOS. I am using Windows 10 as the OS for doing development, so I can run Android Studio and Visual Studio Code to do the development and also test on Android emulator. I have a new MacMini that I would like to use to test my iOS app using the iPhone simulator. The MacMini and my Windows box are in the same local network.
How can I run and test my app for iOS devices using the MacMini from my Windows box? And is it possible to see the iOS simulator from my Windows box, similar to the Android emulator, but via something like VNC or remote view? Thank you!

running html5 in an android emulator

I've just started developing an html5 game using VS Code. I see it being mainly used from pcs/laptops and have managed to set up the Chrome debugger so I can debug the webpage in chrome.
However I'd like to be able to debug it using an android emulator too, to check the screens look right, etc. I have Android Studio installed, and an emulator that works, but I can't find any VS Code debugger extensions that will launch the webpage in the browser of the emulator.
Is there any way to do it ?
This method is tested both on emulator and actual physical device.
Goto Chrome. Then goto chrome://inspect/#devices.
Physical Device:
Then you can connect your phone to pc and turn on USB Debugging on your phone. Accept the debugging message on your phone. Then you get access to all chromium based apps like Chrome, Brave or other Hybrid apps developed using Cordova etc.
Emulator:
Close all emulators running. Start Android Studio. Start the emulator. Goto Android Studio logcat and check if emulated is alive. Then goto chrome://inspect/#devices.
If emulator ADB authentication fails in chrome. Goto AVD manager and wipe data of virtual device.(Only Emulator)

Visual Studio 2015 website development android emulator

I'm developing a website that I will soon port to Android, Windows 10, and iOS. I'm using an HTML/CSS/Javascript combo and I started the project in Visual Studio 2015 as a new website.
I am able to test the site using all of my installed browsers and Windows Phone 8.1 (the Windows 10 emulators open but won't debug for some reason). I would like to be able to test my site on an Android emulator while in Visual Studio. I can launch a number of Android emulators outside of Visual Studio just fine by launching "Visual Studio Emulator for Android" through the Start menu, but I cannot figure out how to use these for debugging. There is no Android emulator option in the "Browse with" menu and I don't exactly know how to add one.
I know the emulators are probably more for developing actual Android applications but if this is possible I would like to do it to test for mobile browser quirks. Thanks!!
Your best bet for debugging hybrid apps (And especifically those on mobile devices) is to use a tool like VorlonJS. Here's a video + walkthrough on how to use it.
What is it?
The fine folks on the TED team at Microsoft introduced VorlonJS during //BUILD last week. Vorlon is an open source, extensible, platform-agnostic tool for remotely debugging and testing your JavaScript. Powered by node.js and socket.io.
I put together a brief video tutorial on how to set up Vorlon and have it debug not only web applications running in desktop browsers, but also mobile ones. In this particular case, I cover Firefox and Chrome on the desktop, and IE 11 on a Windows Phone simulator.
To get started, you simply install run Vorlon from the Node Package Manager (NPM) with the following command:
npm i -g vorlon
Then call Vorlon from NPM to spin up an express server and you are ready to debug!
Vorlon
Add the following JavaScipt to any web app you want to debug, and Vorlon will communicate with it through the Vorlon express server you started in the previous step.
<script src="http://localhost:1337/vorlon.js"></script>
In my browser, I navigate to http://localhost:1337/ and I can see Vorlon running, and in a second tab, I nagivate to the address of the application I am running from local host and see that the two are connected!
As documented about Android Emulator networking, 10.0.2.2 is the address which allows the emulator to connect to your local development machine.
You probably need to type 10.0.2.2:64833 in the browser on your emulator.

run android app into blackberry get '<AppName> has stopped', build app with Delphi XE7

I'v build a simple blank Firemonkey application in XE7.
This app runs on an Nexus7 (Android).
Now I want to run this app on a BlackBerry OS10.
I have a BlackBerry Simulator on my pc.
I can run the .apk on the simulator. After the installation I can run the app.
Afther the default splashscreen of the firemonkeylogo, I get a message 'App has stopped'. Then the app stop.
I get also this error on a BlackBerry Z10.
Can someone help me to look in the right direction?
Solved:
With the last updates of Blackberry I can run the apk on a blackberry device.

How to test Phonegap applications in Eclipse ADT bundle

I have Download the Eclipse ADT Bundle and i am able to Launch the Eclipse and Can see the Option to develop Android Application.Now as I want to Develop PhoneGap Application so have Downloaded that too.Now through the Command Promt i have created a phonegap application Directory successfully.After this i Opened this PhoneGap application Directory folder into the Eclipse .Till here everything is fine . As this is Hello World Application it is working fine in the emulator and I can see the output but as it is very slow and as i do not have any mobile device to connect to the IDE and test the application i googled out and got to know about the Chrome Ripple Which i have installed as Extension in my Chrome Browser.Chrome Ripple is a debugging tool in which we can see the output very fast on the browser itself, no need of any Emulator or Physical Device .
But the problem is that we need to have a localhost server installed into the Eclipse IDE to run the PhoneGap HTML5 pages into a localhost server and then test it on Ripple but i am not seeing any way to add Any server in this eclipse version ..
Please help me how can i add any localhost server into this Eclipse ADT Bundle to test PhoneGap application..
Thanks..
If you have KitKat 4.4+ it is a lot easier to use chrome for debug.
Type un chrome:
chrome://inspect
You can connect to you mobile and inspect html structure and debug without any server.
Other way is to add browser platform in Cordova that is available from last version (4.0). It is intended for debug into browser similar way as ripple mocking all plugins.

Categories

Resources