Do we really need ID_CAP_NETWORKING for ShellTile in WP apps? - windows-phone

The documentation for the Microsoft.Phone.Shell.ShellTile class states that we need to specify the ID_CAP_NETWORKING capability in the app manifest. Do we really need it? It's strange that we need to enable networking capabilities for the tile functionality... And my tests on the emulator and real devices confirm that we do not need this.

If your data for tile is coming from any API, for that accessing network ID_CAP_NETWORKING Capabilities is needed to Project otherwise its not needed to be added. For Displaying Static data from App There is no need of it. Without it, Static Text or data would be displayed properly.

Related

Getting OpenVR tracking quality without SteamVR

Is it possible to get real-time data about the HMD tracking quality via OpenVR? In SteamVR you can see a warning when your headset if not being tracked correctly. Is it possible to get that info via OpenVR API only?
OpenVR is the public part of SteamVR, you cant have one without the other, especially if you're an application

How to add dynamic text to live tile in windows 8 with javascript

Well, the topic says it all. I'm dabbling with windows 8 app development using html/css/javascript and I'm having a hard time finding information on how to dynamically manipulate the live tiles.
There is a lot of information out there on how to create multiple tile xml files and launch them after each other but if anyone had a good resource, or even better, a first-hand explanation, on how to create these tiles programatically to, say, make a countdown tile, it would be greatly appreciated.
There's no way to programmatically update the text/image on a live tile directly in real time.
The only APIs available are those in the Windows.UI.Notifications namespace, such as are shown in the Sending a tile update Quickstart.
You can use the notification queue, as shown here, to provide multiple updates that will automatically cycle, or you can use an external service, such as Windows Azure Mobile Services to send tile updates. Using push notifications from an external service will probably get you closest to the behavior you're looking for, since it will not rely on the app being active in order to update the tile. Be aware, however, that the app will need to run at least once in order to create the channel URI that's needed for the external service to update the tile.
For more info on Windows Store app development, register for Generation App.

Google Analytics for Mac OSx application

Is it possible to use Google Analytics API's to track Mac OSX applications?
If not could any one suggest me an alternative for Google Analytics.
Google Analytics is designed to work with web applications not for desktop apps. Although it might be possible to collect info about your application and send it to your Google Analytic account but the amount of work required to retrofit might be better spent, building your own Analytic solution.
A good starting point would be to create a simple web service, which collects information regarding clicks. Then rewrite your application to call that web service on every click within your application.
You would ideally want to store this information locally and submit it to the web service in batches. You would also want to design the application, so that if you ever shut down the web service, the application would still be able to operate.
UPDATE: As pointed out in the comments by Václav Slavík, they have added apps analytics for iOS/Android.
I made a simple set of classes for doing this:
https://github.com/stephenlind/SimpleCocoaGoogleAnalytics
Google Analytics is not only for web applications, but also for mobile. It's available on the platform like android, iOS, etc. If you want to track your MAC OS X application, you can choose DeskAppTrack or DeskMetrics. DeskAppTrack is only available on MAC. It provide a professional data statistical analysis and it's free. While DeskMetrics is available on MAC and Windows. Either one is ok.
This really depends on how detailed you want to get. If you are are truly looking for analytics with detail and control flow data, you are better suited to created your own web service, as mentioned.
However, if you simply want to know a small number of operations, that occur at a small volume, i.e. when the app is launched (a quick and dirty solution): then in theory you could create a landing page on your site that contains a minimal head section, and a blank body, and then load the URL with an NSURL when you want to trigger the action.
Of course, you would have to include the google analytics tracking codes in the header, and you may need to load an off-screen webview to get the javascript to run. Like I said, quick and dirty.
In either case, you want to make sure the application will continue to perform properly, even if the web service / page is not present.

Can I design an iOS app that interfaces with another?

I want to design an app that adds additional functionality/interfaces with the Music app. Is this possible?
This is not possible except for jailbroken devices.
You can, however, control the Music app by using the [MPMusicPlayerController +iPodMusicPlayer] object.
Basically each application that you download to an iphone exists in its own sandbox e.g. has its own file system, so it is not possible to interact with other applications. I guess it is a security thing
About the only way is passing a URL between the applications. It is not a shared memory space but a way to launch another app with stae in the URL. http://developer.apple.com/library/ios/ipad/#featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html

Location-based features in iOS

Not sure if this is possible, but I wanted to check it out.
I want to access the GPS features in iOS, specifically on iPad through my app. Ultimately the goal is to be able to see who else nearby is currently running the app as well. Is this at all possible or practical to implement?
Entirely. Check out the documentation on Core Location. Typically the way an app like yours works is that any devices running the app submit their location to a script on your server, then query that script for any other devices nearby.