I was just wondering if there was any way to add a share menu like this: http://puu.sh/5XkRD.jpg
Basically i need it in a way that once the user clicks on the "Share..." menu item in the context menu, the user will be navigated to that share menu where he can select a method to share.
Is anyone able to help me with this?
Use ShareStatusTask: How to use the share status task for Windows Phone.
Use the share status task to enable the user to share a status message on the social network of their choice.
Sample code:
ShareStatusTask shareStatusTask = new ShareStatusTask();
shareStatusTask.Status = "I'm developing a Windows Phone application!";
shareStatusTask.Show();
There is also ShareLinkTask for sharing links: How to use the share link task for Windows Phone.
Use the share link task to enable the user to share a link on the social network of their choice.
Sample code:
ShareLinkTask shareLinkTask = new ShareLinkTask();
shareLinkTask.Title = "Code Samples";
shareLinkTask.LinkUri = new Uri("http://code.msdn.com/wpapps", UriKind.Absolute);
shareLinkTask.Message = "Here are some great code samples for Windows Phone.";
shareLinkTask.Show();
Related
How to put About us and fedback dialog in wp8 application. I want the user to click on an icon and see the about us descrption and able to give feedback also.
For review =>
MarketplaceReviewTask marketplaceReviewTask = new MarketplaceReviewTask();
marketplaceReviewTask.Show();
For the about page, create basic page and put what do you want in.
I am working on my first Win 8.1 Store app and have some trouble understanding the SettingsFlyout.
Thanky to the docs creating Flyouts for my custom settings and adding them to the Settings Charm is not a problem.
However I have not been able to find out how navigate within the Flyout. I would like to create the following behavior as it can be seen in the Mail App:
Swipe from the right to show charms
Click on "Settings" to show the settings pane
Click on Account to show the "Accounts List Flyout"
On the "Accounts List Flyout" click on an account show its settings
The settings of the selected account are shown within the Flyout
Using the Back button brings you back to the accounts list
Steps 1-3 are no problem. But how do I manage the other steps? How can I navigate one lever deeper into the settings and use the Back button to go up again?
For Step 5 you can do something like
var newFlyout = new AccountFlyout(id);
newFlyout.ShowIndependent();
Now you are done with Step 5.
In the AccountFlyout.xaml.cs file hook on the BackClick event (in constructor) and then do something like:
void OnAccountFlyoutBackClick(object sender, BackClickEventArgs e)
{
// go back to the accounts list
var listFlyout = new AccountsListFlyout();
listFlyout.Show();
}
Clicking the Back button being on an Account will now go 'back' to the Accounts List flyout.
Yes, this is not very 'MVVM' friendly (if you perform the navigation in the VM you must know about the Flyouts and if you do it in the 'code-behind' you are not 100% MVVM conform) but it gets the job done without creating unnecessary complexity :)
I'm working on a WP8 app that will utilize the camera for a feature. I've read that, as of GDR2, you can now change which app opens with the camera button, but:
it appears that an app needs to be specially written to be used like
this; not every photo or camera app can be configured to launch when
you press the Camera button.
Question: What do I need to do in my app for it to become an available option in the "Pressing the camera button opens: " drop down when navigating to Settings -> Applications -> photos + camera?
Additionally, part 2 of this question would be (if part 1 is possible), when the application is launching, can I determine if the user opened it via the camera button (so that I could go straight to my camera feature)?
I've seen this article but it only describes how to use and handle the shutter button, it doesn't mention how to allow this button to open the app.
Has anyone been able to accomplish this?
This thread (http://forums.wpcentral.com/windows-phone-8/234751-changing-default-camera-app.html) seems to suggest that only manufacturers can create apps that can do this. Not sure if it's definite, but I've never heard of a 3rd party camera app that can do more than register as a lens.
I want to remove the developer app from my Facebook account and return to a simple profile. I think its like developer profile currently. and when I click on setting button on the top right corner of the page there are "create and app" and "Manage apps" links which is not available for simple normal accounts.
I also can not rearrange and add my groups to favorites which I think is because of the developer app.
Is there anyone who knows how to remove the developer app?
I searched a lot and there is no remove application option anywhere on developer.facebook.com !!!
please help me.
Go to
https://developers.facebook.com/apps/
Select the app you want to delete, then click edit app then
click on delete app (last option on left pane)
you are done.
I want to write a script (C# or AutoIT or VBScript.. whatever works) which should
Get reference of already open outlook application
Iterate through ribbons to find a specific button
Execute that button click
How can I do it?
Use AutomationPeers.
Here is the MSDN article with lots of details:
http://msdn.microsoft.com/en-us/library/ms752331.aspx
Add references to:
UIAutomationClient
UIAutomationClientsideProviders
UIAutomationProvider
UIAutomationTypes
And here is a little C# code snippet of how to get the AutomationId of what currently has focus:
var id = AutomationElement.FocusedElement.Current.AutomationId;
this.txt.Text = id;
You can navigate the entire tree of a window and drive the entire UI using automation peers. This is how accessibility applications interact with applications in Windows. This is also one way that automated UI testing applications do it as well.