how can i do this in wp7? - wcf

Any ideas on how i can create this app?
1) i have a page which contains 3 tasks and thus has a textbox, a label to contain an image name and another label which is to display my current location..the first is to enter some text into a textbox, the second is to take a picture and come back to this page and display the picture url and the 3rd is to determine and display my location.
2) i need to gather each of these 3 bits of information and upload it to a remote database via WCF or Odata.
3) I know that for example, to either take a picture with my camera or browse to a pix in the pictures hub will take me away from my task page.
how can i take the picture and carry the information back to my task page without losing state?

To get a picture from the camera you need to use a CameraCaptureTask.
To choose an existing picture from the phone you shoudl use a PhotoChooserTask.
To get the devices currentl location use the GeoCoordinateWatcher.
There should be no issues with loosing state while you capture this information but isf there is you can just store it in the Page State object.
Note. All links are "How To" articles.

When you take a picture, your application will be tombstoned. See the following article for details of how this process works and what you need to do:
http://windowsteamblog.com/windows_phone/b/wpdev/archive/2010/07/20/understanding-the-windows-phone-application-execution-model-tombstoning-launcher-and-more-part-3.aspx

Related

How to change widget data source dynamically, with click action on another widget

I have a line chart and 3 simple card widgets on the same page/state of a dashboard.
Each card shows a different telemetry reading (but all readings are from the same asset, they are not different devices because they all come from the same box with multiple sensors).
I would like the chart to change the data source depending on the card I click on (like when you navigate to a different state)
I know that actions/states work with entities, but I don't know if they work with readings.
Also, I would like to have all this on the same page, instead of navigating to a different page, that is what usually happens when you navigate to a different state.
Is this possible?

Track clicks on a button based on preceding button clicks

I need to track clicks on a button at the end of a sequence of selections. As shown in the image, there are five different business plans (circled in red), and each plan can be for three different years (highlighted in blue). The user will checkbox a business plan type (e.g., market trend) and click a year (e.g., 2017), then click the PDF button (highlighted in black) to download that particular plan (market trend for 2017 in this case).
So instead of counting the total clicks of PDF downloads, the task is to count how many times a particular plan is downloaded based on the plan type and year.
The PDF button, the checkbox for each plan type, and the click button for each year all can be tracked individually. They are also all on the same URL.
GTM and GA are used for tracking. Can anyone share some thoughts of how to achieve this type of tracking?
Thanks!
Yao
If you are using google tag manager you can use dataLayer.push() to push to an array which can be used to differentiate the clicks based on the interaction.
Approach is described here
Google Analytics custom dimensions
In your particular case you could have the dataLayer configured to add the different key / values for the different report components and then the trigger will be configured to fire when the download button is clicked.
For example on each of the check boxes you could have:
<input type="checkbox" onclick="dataLayer.push({'plan_component': 'Market Trends'});">
You'd probably better having an array to store this info.
The resultant data can be viewed or aggregated via a custom report download. Described here.
Custom Dimensions and Metrics
It can be a bit tricky to understand and you'll need to change the site so that the dataLayer gets populated with the requisite data but this is the way to go. Best of luck.

Is it possible to save line item properties in a session?

so I have this website where the user can customize the colors of the different parts of a uniform. So what I currently achieve was using Line Item Property (LIP) to get those selected colors so when the customer checks out and pay, all the values will be passed to the user's email and to the site admin's product dashboard. 
Now my question is, is it possible to save each of those LIP values to a session? I am planning to have a Save Design button just in case the user wants to save it first then check out later. When the user clicks on the button, he will have to input his email address so that a link will be sent to his email -- format could be something like: shopname.com/customizer?designID=8174201a2r When he clicks that link, all the colors he previously selected should load. Is that possible with Shopify? If yes, how, so I can do a further research and study on it. 
Hope I can receive an advice from the experts. Thanks.
I'd say that is absolutely possible setting cookies via Javascript when user fill LIP then getting stored values in cookies to prefill form.

How can I make a settings page in vb which can change the content of the app itself?

I am making an app for companies so they can make a workreport in a blink of an eye by just tapping some togglebuttons and typing some text and the app makes a nicely laid out email and sends it to an Email address
What is need is:
A settings page where I can change the email address which it goes to
The texts of the textblocks and so on.
I just want to make an app which is adaptable for the user.
I know I need to use the isolated storage but I don't really know how to put it in VB so it can change the content of the things needed to be changed.
You can take a look at using My.Settings see this Microsoft Article http://msdn.microsoft.com/en-us/library/ms379611(VS.80).aspx once you save the settings from a form text box or other method of input, you can read the settings back on on form load and change the appearance of you application based on the user settings.

How to get Multiple Inputs

I was thinking of implementing picture uploading to my web application.
Now there are few Uncertainties.It would be great if some one makes them clear.
How do you allow user to upload multiple data for
Example. I have a model for car and I want user to add as many pictures with comments. Usually on websites there is button that says "Add another picture". If user clicks that button or link a text field and a Browse button appears and user can add as many pictures as he wants.
You need to go through this wiki -
http://www.yiiframework.com/wiki/176/uploading-multiple-images-with-cmultifileupload/