Is there any way to reproduce on Windows Phone 8 such thing like Android Application Record?
Android Application Record - NDEF record which tells phone to search for application from this record and if it is installed to launch it for processing NFC message, if such program is not installed on device then Play Store app is launched with search for this app [by package].
Launching arbitrary apps from an NFC tag isn't supported on WP8. Apps must opt-in to app2app custom protocols in-order to be launched from an NFC tag.
Any app that subscribes to an app2app custom protocol can be launched from that URI via an NFC tag with that URI custom protocol. There's nothing required to NFC-enable apps once they support custom protocols.
See instructions on how to implement app2app custom protocols # http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj206987(v=vs.105).aspx
Related
I would like to send a BLE Eddystone beacon from a web page. My application requires to send SSID info to a BLE listener. My thought is to have a user load a URL on a smartphone that would run JS to send periodic BLE Eddystone-UID beacons with SSID info embedded. I need the web page to work on both Android and iOS phones. Is there a simple way to do this using Javascript?
I looked into physical web but it did not seem to provide this capability.
thanks,
Ian
The current version of the Web Bluetooth API specification allows websites, running in the Central role, to connect to remote GATT Servers over a BLE connection. What you're looking for is a way to run in the Server role to advertise your data.
In your case, I'd recommend you have a look at https://www.npmjs.com/package/#abandonware/bleno
After the latest update of Whatsapp on Widows Phone Store, I have noticed that now, once they show the toast of message on my device, then they mark the message as delivered (notify the sender that the message has reached my device).
After I let the toast notification go away, I switched off all my data connection and opened Whatsapp and found that that particular message in my app. This is happening consistently on both wp7 and wp8 device. This was happening even when I had disabled background agent! Beside background agent of an app does not run all the time.
So my questions is, on windows phone platform, where the app is not allowed to run in background all the time, how is Whatsapp application getting those messages? Is it using any particular api/hack to get(in app) those messages when it's not on foreground.
The question you have asked has two parts: one for wp7 and the other for wp8. I will anser each one by one.
Windows phone 7
Based on my research, I have found that whatsapp is still using audio streaming api on wp7 devices to stream messages in the background i.e. when the app is not running. Whatsapp was criticized of using this API as constantly using this causes battery drainage as well as hampers the music experience of the user.
Windows Phone 8
Once whatsapp moved to wp8 they stopped using the Audio API and moved to VOIP API. Note that whatsapp doesn't use VOIP for any purpose but their manifest shows usage of VOIP api, and after reading many articles I have come to the conclusion that they are using this API to activate background agent and pool messages in the background.
While sending raw push of type 4, the background agent for VOIP is activated in which you can practically do anything from reading the payload to establishing a new socket connection subjected to restriction on usage of certain APIs
I have also found out that even if a user disables bg agents for an app some essential bg agent still continue to run for eg bg agents in audio stream API and VOIP API.
I hope this answers your question.
Go through this link
Push notification for Windows Phone
What will help you to understand is
The server maintains a maximum of 30 notifications (regardless of type) for each URI. Once the limit of 30 is reached, all new messages sent to the server are discarded until the device reconnects and the queue can be flushed.
In windows phone there is something called raw notifications, these are different from push notifications, push notifications display a notification, but raw notifications triggers a background task that can run under certain api restrictions for about 15 seconds. (I think, I'm not sure about the time duration), I think what whatsapp does is that it downloads the message and saves it in a local database which is maintained in the device. When whatsapp is opened it will read the local database and also sync with the server.
Please correct me if I am wrong.
Hi i am developing windows mobile application for dopod 818 pro to send / receive sms.
is it possible to access sms functionality via j2me?
You can not read SMS from Inbox directly. For reading SMS from Inbox you need APIBridge.jar. APIBridge is an extensible mechanism to access device features in WRT, Flash Lite, and Java applications.
You can use APIBridge in two ways. APIBridge can be used as it is shipped, to access features of Symbian using the plug-ins provided. However, because APIBridge is based on a plug-in architecture, you can also use it to offer new features by creating plug-ins that access functions of Symbian or your own native Symbian applications.
Please note that APIBridge.jar works for Symbian OS Based Phone Only. Not for S40 Device.
How does device receive Android GCM push notification?
Hi,
In the link above the steps of GCM and Blackberry notifcation services are explained.
I'm wondering if it is possible to change the GCM (android) / APNS (iOS) to one central notfication service with XMPP? This because I want to build a server and client with XMPP and want to communicate between these as well with messages and notifications.
Thereby, with the setup of a webview in a android application and GCM sending notifications to the device, GCM is not reliable. Not all messages are send to the device. I'm not sure yet how this works for APNS, but the app will be used on different platforms and it would be nice if there is just one way of sending notifications.
Anybody experience with this? Or is there another way of implementing the notifcations?
iOS does not allow you to run apps in background (except of voice apps). This means that you cannot have a XMPP stream in the background with iOS. For iOS there is no other solution than APNS if you are not a voice app. Android does not have these restrictions. Windows Phone 7.X hast the same restrictions as iOS, I don't know how Blackberry handles this.
Windows phone7 does not support phase 2 communication using USSD. Is there a way to intercept an outgoing USSD request on a Windows Phone 7 device in order to route to an application to handle the request instead?
The APIs for such low level operations --- even more so when they are related to the cellular interface --- are not available.
If we take into account that more innocent things are not allowed in WP7, I think that the USSD interception has little chance of being available in the future...
Only Microsoft Partners or OEMs have access to native API which is basically something much like Windows CE/Windows Mobile. There are functions that can receive USSD but none that can prevent default handling of the messages (namely: displaying popup with the message).