Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I know this question pops up quite a bit but it is always in different context...
I need to create a mobile website and wondering if it is possible to ask the user's permission to push notifications after the user closed the site session and moved on... like Facebook's Desktop notifications but on the mobile...
Is there a way to ask the user for this general permission and push notifications from a server regardless if the user is on your mobile website or not?
Like native apps do...
Cheers
Ajar
Just to explicitly clarify - this is NOT about phonegap or any other cross-compiling, neither it is referring to on-site in session sockets real-time communication.
Chrome supports this functionality on Android as well as desktop. See https://developers.google.com/web/updates/2015/03/push-notifications-on-the-open-web
On iOS this is not possible.
On iOS, this is not possible.
You can implement notifications on the desktop version of Safari, however those won't work on the mobile (iOS) version.
Only native iOS apps (which would include hybrid apps in this case) allow push notifications on iOS.
Yes, you can send off-site push notifications without an app using the W3C Push API.
However the only mobile browser that supports them is Chrome on Android (while most desktop browsers already support them). If you want to build everything from scratch I suggest reading this tutorial. However it's a lot of work: consider third party services like Pushpad (I am the founder).
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
What link should be used and how to determine the right one for every OS?
iOS
Android
Windows
macOS
Linux
Is this universal for all operating systems?
<!-- Deep link URL for existing users with app already installed on their device -->
window.location = 'yourapp://app.com/?screen=xxxxx';
this is named Uniform Resource Identifier (aka URI).
The beginning of your URL "yourapp" would be a scheme. There are some schemes which are much used, for example ftp:, file:, mailto:, tel:, git:.
There are a lot of it but the support is very limited and as you said, depends on the browser and what software the client has installed on it. So, the scheme has nothing to do with the OS when you use a predefined scheme. If you want to have your own application you need to tell the OS "Uhm, hi there, could you please listen to that scheme" (As example in Windows with the Registry). And you can't do that from the browser because that would open a lot of possible attacks from the browser to your OS.
So to answer your questions: The right one for every OS? Is this universal? Yes, You need only one scheme, as it does not depend on the OS.
Think about it: What do you want to archive? A mailto:? Just do it. A ftp:? Well, your client has to have a FTP-Client with URI-Support. A custom app, like myapp:? That's a lot of work and I wish you good luck with that as it is a custom program for every OS.
If interested, see this link for a list of all schemes.
I hope, I could help you. Have a nice day :)
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I want to build up an alarm software using Javascript. It will be a normal Desktop Application. Is this software usable in iPhone, Android, Mac also? If YES,then how? Any additional matter needed?
Lutfor the short answer is No.
Firstly a "Desktop Application" is not compatible on an iPhone or Android device these are very different systems.
Second, Java is the correct/native language for Android but does not work for iPhone or Mac (by default).
There are tools you can use to develop an application in one language (say Java) and port that to iPhone (iOS) but this method is pretty limited.
There really isnt a simple answer I can give you to get you in the right direction but I can give you a few questions to ask your self.
What "desktops" do you want your application to work on? Windows, Mac, Linux? There are tools where you can write the application in one language and port to all these desktops but again you are limited in function somewhat and performance will be hindered. I suggest writing the application in each operating systems native language(s).
What mobile platforms do you want to support? Android, iOS, others? I suggest focusing on Android and iOS. Again you can use tools that will allow you to write in one language and port to both platforms but you are again limited in function.
Given you mentioned Java I assume you may have at least some background with it? I would start there and target making your application for Android devices. Once you master that, look into writing the application for iPhone (iOS).
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
How to connect my fingerprint device to my Login and Register script.
my device is Digital Persona 4000b and im using PHP and MSQL in my code
I already tried searching in google but still can't find the solutions
If you want your users to use a Digital Persona to login to a web-page using their browser, they are going to need to install a browser plugin (since neither java or javascript alone wouldn't give access in that way to the usb-ports, see How to get USB devices List from Browser).
If there is such a browser-plugin, you'd need to check it's api to see how it communicates with javascript. From there on communication to the server-side results the familiar communication options (forms, ajax, etc).
You also might attempt to create a plugin yourself, have a look at One Touch for Windows SDK Java Developer Guide for example.
You can also contact the manufacturer, since you paid for the device and are going to support it in your application.
Hope this helps!
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
anyone knows what are the abilities of HTML-CSS-JavaScript mobile applications (android apps) rather than animations ? what about web access and such things ?
Javascript is being very powerful language especially when we are taking about mobile applications and spa (single page applications). It can be used to load web views via ajax requests and more, it supports device APIs that allow a mobile app developer to access native device function such as the camera or accelerometer from JavaScript libraries , for example cordova . Cordova is the most known library that gives you that power.
In addition to that you can use libraries to make your application look like mobile native apps and enrich your application with functionalities (form validation , navigation, and more), examples : sencha or jquery mobile .....
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
What JavaScript Mobile development tool would you use based on momentum, existing documentation and functionality, and ability to get passed the App Stores strict policies?
Current PhoneGap release (0.8.0) released 2009-10-13 is tagged "Apple approved for App Store submissions". This blog post has more details.
I used PhoneGap to port a JavaScript game and I loved it. Unfortunately, the game was too slow (Mobile Safari is slow when you make changes to the DOM, and I was moving divs around as sprites) and I switched to native.
But since some people started getting having their PhoneGap apps rejected, I have become shy of the project. I'd love to hear an official stance from Apple, but I don't know if it'll ever come.
I found Phonegap to be the easiest to use. However Quickconnect seems to be more ambitious in terms of multi-platform support, the author tells me that Quickconnect has been used in many apps (but couldn't disclose which). Supposedly Phonegap apps were being rejected because those submitting were loading the entire apps off the web, however the framework does seem sluggish. Apple has not replied to the Phonegap team about the app rejection.
If I had to make a choice it would be Phonegap at this stage, but unless you really want the app on multiple platforms I don't see why you wouldn't use the great tools provided by Apple for native development.
At this point you might also want to look at Titanium by Appcelerator.
The development process is pretty simple, and they support both the iPhone and Android platforms.