Tabris has native mobile and browser clients. I see info on creating the native mobile clients. How do you create a mobile browser client? I would like to use the browser for things that wont need access to native device things like the camera. I know how to create a standard desktop client using Eclipse RAP.
Tabris' native mobile clients are faster and look nicer (native widgets) on mobile devices. Using a browser on mobile devices to access a RAP server is often slow or suffers from buggy mobile browsers. That's why I would recommend to always use the native client on a mobile device instead of a browser.
In case you want to try to access the RAP server with a mobile browser, just enter the IP and entry point in the URL field of the browser. The RAP client is then fetched via http as it is embedded in the first page you receive from the RAP server.
Related
I am developing an Online Attendance System.I have a biometric fingerprint device plugged in to my PC and I want to get the fingerprint data in my angular app running in the browser so that I can authenticate it.How can i allow my browser to read the data from that USB device.I have read about some SDKs like WebUSB by Google but I am not sure whether it is the right technology.
WebUSB seems like promising though available from Chrome 64 only.
People using other browsers & older versions may not be able to use it.
https://caniuse.com/#search=WebUSB
Also, no polyfills are available for WebUSB now.
I have an Angular web client on a dedicated hardware device. Every device has its own landing page.
On the landing page I now want to have the option to select other devices in the same network to log in (by calling its own web client).
What are good approaches to realize this?
I think of a solution that is not IP based, somethink like uPnP. Every client should broadcast its own presence and all web client landing pages will show the same devices.
I want a scenario where in I have a website and when I connect my mobile device to my pc or laptop, the website must be able to detect the phone and not the phone browser. As in it should detect if my phone is an iphone or any other mobile device. How can I achieve this?
Basically if I have a downloadable application and a list of compatible devices and when a device is connected, a compatibility check needs to be done and the software has to be downloaded directly! Is this possible?
you must build an APP and not a WebAPP or website.
the browser cant send relevant information such MacAddress or IMEI then you cannot do it with a simple website.
In javascript you can detect navigation browser and it has some extra information about the kind of device (like Android, Motorola, etc). For example this.
How do Mobile Apps communicate with a server? Does this communication happen over HTTP or are there other methods (for instance, I guess a mobile app could open a socket)? Does this differ form device to device? Is there one most commonly used approach? If the communication happens over HTTP how do the URLs look like? Is there a way to identify the app based on the the "User Agent" in the HTTP request if the communication is happening over HTTP?
Mobile Apps can communicate with a server in many ways. Mobile apps can also use other features of the mobile. For instance SMS , MMS. Its pretty open really. Your question could be "how do computers communicate with a server?".
A mobile app can be a simple as loading a web page. This would be http.
The problem with mobile apps. They run on phones. There are lots of different phone manufacturers and its up to them (in some case the mobile phone operators also have weight) what to allow the programmer to do by the choice of operating system.
If you are getting started with mobile apps. Take a look at android its pretty simple to get going with if you know a little about programming.
As for the useragent. It depends but usually if you are using the http api on the phone, you can set the user agent to what ever you want it to be, its just a string.
Hope this helps!
Communication usually happens over http. Applications usually identify themselves in the User Agent field
I'm developing a web based application built on codeigniter which will also have a mobile application(blackberry, iphone, android etc.). The web application will be connecting to a (mysql) database to store/retrieve/update data. I would like to know what would be the best solution for having a mobile application store/retrieve/update data.
Taking into consideration performance, flexibility, Security
Look at your device no different than if it was a browser. The are both clients. All devices (well at least Android and iOS) provide you with ways to make xhr requests, just like your browser does. So you need an API on your server that your device will use to get the data. Note that if your application does not already have an API, you will need to develop one.