WP7: sending images to twitter - c#

How to implement sending images to some application in Windows Phone 7?
In the Android it's done via Intents.

Windows Phone 7 does not support communication between apps or shared files so as a general rule you can't. There is currenlty no equivalent to androids Intents in WP7.
With regard to an application which works with images you could create a Photo Extras Application to work with images already on the device.

First of all, take a look at this article. Once you get the image, all you have to do is use a service like TwitPic to post it there (an example for the v1.0 API is shown here).

Related

Would It Be Possible To Use The "Share Data Contract" For UWP To Upload Via The Instagram App On Unsupported Upload Devices Running Windows 10?

This is probably a really stupid question to many of you out there but I personally don't know and would like to understand, is it possible to use the share data contract for UWP to share and upload photos to the Instagram Windows 10 app.
As I am aware only touchscreen devices running windows 10 can publish videos and photos to Instagram natively so if it works would be very handy as it would allow unsupported devices to upload and share content.
If you have installed the Instagram app on your devices, you will find that it has registered protocol in the system.
Then you could use the UWP Share data APIs to share images to Instagram.
Here’s MS official Sharing content source app sample.

Auto Camera Upload on Windows 10 UWP App

I would like to add to my app UWP on Windows 10 auto camera upload to the cloud function.
So basically I need this functionality, which according to other sources was not supported in WP8.1 so I dropped the idea.
Now when Lumia 950 and Windows 10 Mobile is out I would very much liked to add this function to my app, but unfortunately I can't find anything about it on newest Windows Mobile. Maybe you can help?
The page you link to is only about having a specific page for the auto upload settings within an app. It doesn't do the automatic uploading for you.
That list was only in WP8 and is not in Windows10 so you can't be added to a list that doesn't exist.
To do the uploading you should look at the Background Transfer API. Specifically the BackgroundUploader class.
There's even a sample. (sample is for Win8.1 but should work with minimal modification.)
update - based on coments
I don't know how Dropbox do it (they may have special privileges not available to every developer) but you could create the functionality to upload newly taken photos by having a background task based on a timed event that checks for new files in the camera roll and uploads any it finds.
this feature is only supported by Silverlight app model, not Universal Windows Platform model.
You might want to use the OneDrive SDK to upload your photo/video to the Cloud https://github.com/onedrive/onedrive-sdk-csharp

Windows Phone 8.1 Push Notification Without Azure Account (Not Silverlight)

Is it possible to send notifications(toast, tiles, raw) from a server and receive it from Windows Phone 8.1 not using Azure Account(Notification Hub). I saw examples using 8.1 silverlight but I could not implement within WP 8.1.
If yes, can you explain simply how, or suggest a document?
Yes it is possible you can create your own web service desktop app to do this.
Here is an article from MSDN that explains how...
https://msdn.microsoft.com/en-us/library/windows/desktop/hh868252.aspx
There are quite a few things you need to setup such as WNS etc.
It is not necessary to using Azure. You can implement your own notifications server but you should understand how it works first, it's a little bit complicated :) - there is an overview for WP8.1 (Windows Runtime).
In short:
Your server must be authenticated with Windows Notification Service (WNS): How to here
Your WP8.1 app must obtain notification channel (Uri) from Windows Notification Service (WNS) and send it to your server.
Your server should send REST request (POST) with special xml content to channel (Uri) received from your app (WNS mediates in communication).
In last step WP app handles notification.
More info about communication with WNS on your server side: https://msdn.microsoft.com/en-us/library/windows/apps/hh465435.aspx
It's your decision in which technology/platform you'll code it.
But there are several solutions provided by third-party push notifications providers. Eg. Parse - you can send some notifications for free. You'll avoid the problem of creating your own service.

what is the best way to transfer data between android application and WPF desktop application over network

I 'm working on system that consisted of two part .first part is android application (client app) capture image and send to WPF application .second part is WPF application (server application) that receive that image , do some kind of processing on it and send back info about the image ,so what is the best way to make it work like server(WPF)/client(android) .
Using HTTP, preferably implementing as REST service, is the way to go. WPF/WCF and Android have libraries you can use to implement this. For Android, take a look at [Android's HTTP clients][http://android-developers.blogspot.com/2011/09/androids-http-clients.html) blog post.
Thanks ,I search about it and i found this framework Eneter and this Example on it Android: How to communicate with .NET application via TCP .

Create Audio endpoint device - Windows Phone 8

I am attempting to create a hardware device that sends data to the windows phone via headphone audio jack.
I have researched this and found that the Core.Audio api on the msdn site offers what I need however I don't think / cant find this in the windows phone API's
Is this available to developers?
Obviously someone has access to this because I have seen some companies use it for credit card processors.
The audio APIs you'd need to do this are not included in the standard Windows Phone 8 SDK.
Other apps that are using functionality like this must be using other 3rdy party libraries or have [re]written the functionality themselves.

Categories

Resources