In my windows phone 8 app, I call to external APIs developed by client may be in PHP.
They told us that the user agent is showing NativeHost.
They want it to be Windows Phone so that they could better track the windows phone requests.
Try setting the HttpWebRequest.UserAgent property.
Tr this one
HttpClient client = new HttpClient();
client.DefaultRequestHeaders.Add("User-Agent", "my-user-agent-name");
Hope you are using HTTP client to make call to external API
Related
I want to send pushnotifications to windows phone.
string subscriptionUri = "https://hk2.notify.windows.com/?token=AwYAAAAqksei6yWvmlcV8RmESRNrXotwCWV0AY9PSOtmgpIo%2bNwq67tkYjG7450r%2bUKpLwxri%2bO7Re9%2f8qmZDAc3TmTlMOaONVqq9ogCKONX2oWe%2fVq%2bT9tIxEllJW3tnKJEfNM%3d";
//string subscriptionUri = "http://s.notify.live.net/u/1/hk2/H2QAAACfgMkOSS8jNp_XgLamnXFqQrk6g8L6pRJHsQxvppe8-lD4EgCu8LcwdtuDIGnY78tjyaL1lsFxLjWl5s-Sgum5tjBQMk-9emm73LJa9125iECyFCoPb5erRBRwGAgNv2o/d2luZG93c3Bob25lZGVmYXVsdA/jGFxihnYNUOIt5Q4gABT7Q/T4l1SvWZqMi_mEe4F61sx-CINOg";
in the above two channeluris first one is Windows RT app uri,second one is Silverlight app uri.Iam getting notification whenever silverlight app uri used.but I am not getting notification whenever windows RT app uri used.whenever
I am sending windows RT app uri to the server then response is "OK" but not getting any notification to my device.please help me.
Have you enabled toast notification? In Package.appxmanifest, Under Application tab there is "Notifications" option "Toast Capable" set it to "yes"
One more possibility is the subscription uri is getting decoded at the receiving end.
Good morning,
is it possible to send an automatic email message within a Windows Phone 8.1 universal app? I want to set an eMail adress and then the message will be send from this address.
Is it possible without interaction of the user?
I think anything in the Windows Phone SDK will enforce user interaction.
It is possible nevertheless. I have some experience of MailMessage component, which lets you achieve what you desire - but I'm sure there's others out there too.
http://www.geekchamp.com/marketplace/components/livemailmessage
By design, this is not possible: sending email from a user's email address without their knowledge is a security risk.
An alternative is to build a webservice that sends the email, and have your application call that webservice, instead.
Is it possible get notification on application level on client side in iOS(and Android) whenever some changes happens like new file/folder added or removed on Box.net? Please confirm if SDK supports this behaviour, if not then is there any way to implement this behaviour on client side.
Thanks.
You should be able to get notifications about events happening in a user's account by using the /events endpoint:
http://developers.box.com/docs/#events
Essentially, you'll need to authenticate as the user via OAuth2 and issue an OPTIONS request to the /events endpoint to get a realtime server URL. You should set up a long poller to poll that realtime server, and when it issues a response that notifications are available, issue an authenticated GET request to /events?stream_type=....
Both the iOS SDK and the Java/Android SDKs should support this.
https://github.com/box/
I am developing windows phone-8 app In this I need to register e-mail and password and after I have to login with registered user-name and password.I am using HttpWebRequest Class but don't know how it is possible please share with me any info or link regarding that.
You don't even need a separate web server running an auth service. Instead, you could use Windows Azure Mobile Services. There are several reasons for that, the main being the fact that you can easily manage outgoing data (register users) and check for existing data (authenticating users).
You can use the Azure Mobile Services client if you need an abstracted out data access layer.
Can you route me to API's capable of intercepting incoming and outgoing phone calls in Windows Phone 8 and record the call conversation ?
Once Recording is in progress, is there a way to simultaneously packetize these data and send it over to a remote server ?
Finally can I set this call recording application to be auto invoked whenever there is an incoming & outgoing Call ?
Since SIP is not exposed in Windows Phone 8 do we have an alternate approach to serve the purpose (say a 3rd party Library) ?
Can you route me to API's capable of intercepting incoming and outgoing phone calls in Windows Phone 8 and record the call conversation ?
No, there is no way to intercept anything on Windows Phone. (And this makes the rest of your questions invalid).
There is a way to interact which can identify the incoming call,
Example : New Version of TrueCaller application, it will integrate its app with Network+ app of system and then it will possible but its special api that Microsoft (not Nokia) provided to them I try to contact them since last 2 months i will I have good news/ bad news in very short period of time.
Thanks.