I like to Know if there is any way for my web application to access the Bluetooth printer in an Android Phone.
My web application is developed in .NET and has been hosted in a server.
So far the printing is done with the server printer, but i am faced with a new requirement whereby i am required to print to the Bluetooth printer that has been paired to the android device.
Since the application is run in a web browser I do know that I can use
window.print() in javascript but this has no effect in the web browser of the android device.
Related
I'm developing an Android Xamarin.forms application to run on a S8 Phone. Upon connecting the phone to the Windows machine via a USB cable connection, can the program read from or write to the Windows 10 file system?
As far as I know, you don't. With a mobile Xamarin.Forms application you can access the Device FileSystem, either Internal or External Storage. However you are talking about external storage of a different device, and Xamarin does not support that functionality.
Xamarin Docs on Storage
I have a web application that uses the server jboss and I want access to this application by the browser(safari) of my tablet air 2.
I want to know how I can launch my application on the safari browser of my tablet or mobile (IOS) locally without going through a connection to a server.
I am waiting your answer.
I have a requirement to install a desktop application written in visual c++ when our customers log in our asp.net web site. The desktop app will be installed once, but will be updated as a newer version is available. What is the best way to do this?
My second question is that is there a way for my asp.net web app to interact with a window service installed on customer computer and direct the window service to control USB devices.
My work uses software by a company called Citrix. There is some client side software that goes on the client's PC. When setup correctly, we can click a link on our sharepoint site that will trigger the citrix client software to launch a WPF desktop application from a network drive that will run locally on the clients computer (might be in a virtualized space that Citrix creates). This seems to work well, it runs our WPF applications that use windows authentication. This is all I know about it. You can research more if you're interested.
To answer that second question... Your window service would need to expose some kind of service for the client (asp.net web app) to communicate to it with. So ideally I think setting up the windows service to host a WCF service inside it and use something like named pipes or HTTP protocol to communicate with your application. I don't know what kind of USB devices you are trying to control though, that will take research on your part. But if you can control them with a local console application, you should be able to do the same with a windows service.
Good luck. Hope this was helpful.
You can't install an app from a web site, best you can do is prompt the user to download the installer. And asp.net (or any website in general) can't interact with the window service on the client. Imagine going to a website which changes your service settings, installs viruses, etc. A website is pretty much limited to changing cookies and local storage on the client, anything else on the client is inaccessable.
The app I am maintaining is, to put it mildly, long in the tooth and badly in need of a rewrite. It is a Compact Framework app that runs on a Windows CE device, using .NET 1.1 and Visual Studio 2003 (XP Mode to develop). IOW, it's a royal pain in the donkey to maintain. There is also a hue and cry from the users for something more modern.
In considering a replacement, I would like to go the web app route. But the big question/potential dealbreaker: Is it possible to print to Zebra belt printers from a web app on a smartphone?
The intent would be for the users to access the web app/site from a device such as a smartphone or "phablet" that would be connected to the belt printer. Is this feasible, or pie-in-the-sky?
The new mobile printers (QLn and iMZ) has the ability to communicate over web sockets. So if you can write your web app and incorporate web socket standards, the printer will connect to the printer over wifi to the server (even thru firewalls) bidirectionally. If you can't do this, Zebra also provides a Windows Mobile SDK and it's pretty easy to hook into a winMo app.
I have as asp.net webserver that I hosted and I went to my mobile application I am building and made a web reference to it.
So it finds it and stuff and now I can access the web methods because of the wsdl generated. However when it tries to connect I get this:
Could not establish connection to network.
So do I have to enable something to make this work?
Take a look at this article. It explains how to setup your mobile device for internet connectivity.
Windows Mobile Emulator and Internet Connectivity
It's been awhile since i have had to do this. Perhaps it is as easy as Matt has suggested, I can remember having a hard time making this work with Windows Vista, Visual Studio 2005 and the Windows Mobile 5.0 Pocket PC Emulator. I've found a couple more articles, hope this helps.
HOWTO: Configure Network in Windows Mobile / PocketPC Device Emulator
Making Emulator to connect to the Network
I have used web services and rest based services via webrequests on the emulator without needing to configure the NE2000 adapters.
Change activesync or WMDC to connect using DMA (in wmdc: mobile device settings | connection settings, then set 'allow connections to one of the following' to DMA)
Then in VS2008, under tools select device emulator manager, and pick the emulator that is running, right click on it and select cradle, this should connect activesync/wmdc to the emulator and provide a network connection that is sufficient to communicate over http with web services.