Iam currently working with windows phone 8.1 application.I got stuck in a portion where uploading video to server using phone camera.I want send the video at every 10s to server while recording..thnks in advance
You can use dispatch timer to save your 10-second video clips(StorageFile) in your app localstorage and send the storagefile to another function that makes the fileupload network calls asynchronously.
Related
I am trying to work on getting Video Streaming over HTTP in a windows phone 8 application.
These are the issues that i am facing,
Unable to stream video using the MediaElement.
unable to Stream video using the player framework by microsoft.
Things to be noted here, i am not using the IIS oriented servers.
The above will well when i hard code the server details from my local machine or isolated storage. But this does not work through HTTP.
Does anyone have any idea on this ?
If this is not possible, is there a way where i can have HTML5 streaming the video and have that included in my application ?
So, I would like to have a Windows Phone app "connected" at ALL TIME with a Windows service.
That means that the service would need to know if a device has been turned off or lost network connection within seconds after it happens. On iOS and Android we keep this connection up with sockets. But this doesn't seems to be possible with background tasks on Windows Phone?
Is there somehow we could "ping" the server/service more often then every 30 mins from a scheduled task? The app will only be used by known people so if there is a possibility to "fake" a music app och location app that would do it. The app will probably be released as a enterprise company app so all users will be aware of the possible "battery drain" that could be caused.
If using Push notification, how long can it take before a device gets it and could the service know right away if that device received it?
You can use geolocation service and keep your app in background or even fake audio agent. You are free with choice because company apps have no public certification process.
Here is some info about Company Hub and enterprise deployment of Windows Phone 8 apps.
I am developing video related App in windows phone 8 and I am downloading the videos from server and store in Isolated storage.My problem is that if I download video in My device it should be visible in Windows phone as far as I know isolated storage is for particular app we can't access data saved in isolated storage Without activating App.
So please let me know how to access video downloaded from App without opening app.
You can integrate your app with 'Music and Video' hub. More details are here.
I have Windows Phone 8 emulator running and a sample app is registering and I receive the URI but when I try to send a notification, I'm not receiving in the emulator. I used to be able to use the sample app with WP7 emulator and it was working and I'm able to access internet on the WP8 but not the notification. Any pointers to fix this will be great!
This is what I saw happening:
1- If I didn't open the app after receiving multiple notification it looks like the OS will not show notification anymore.
2- if you try to send too many notifications.
3- If the app is open the notification will not show as a toast.
4- Sometime I had to open the browser and go to website to force the device to connect to the internet, probably because the phone was on wifi.
It's a pretty open question, since there might be multiple problems, but start with this (source: MSDN):
The push client service on Windows Phone Emulator must be ready before
you can use push notification APIs. Push client service on the
emulator takes two minutes to activate after you start the emulator,
starting from when the Start screen first appears.
Would mobile HTML5 support the following, and if not, why?
Device connected to the net
App loaded
App calls remote API and responds to request for API credentials
App receives session token
App requests data from remote API using session token
App pushes data to local database and screen
App closed
Device disconnected from net
App loaded
App loads data from local database
User inputs data which is added to the local database
App closed
Device connected to net
App loaded
App sync's remote/local data
App closed
Device connected to net
App closed
App push notifications enabled in device settings
Push notification sent to device from remote server
Native device prompt displayed for push notification
Maybe this will get you going on the right path? http://mobilehtml5.org/
There's no HTML5 feature called "push notification" nor, as far as I know, any way to create native notifications in iOS or Android from the browser. So right off the bat, that's going to be a tough one.