I'm checking out ads in a Windows Phone app for the first time.
When I tried with the test settings, the test app showed up.
When I replace the info by the applicationID and AdUnitId from PubCenter,
nothing at all appeared (when debugging on a device).
I suscribed to the erroroccured event:
private void AdControlInBorder_ErrorOccurred(object sender, Microsoft.Advertising.AdErrorEventArgs e)
{
MessageBox.Show(e.Error.Message.ToString());
}
And I get: "No ad available". This is about a second after the app started up.
Extra info: I'm in Belgium, checked it with the phone plugged to pc, unplugged,
I'm on wifi and I have internet available.
AdDUplex is just for promote your app not for gain money :) In your case, you can't have ads in debug mode. Send your app in beta test and look if ads is available. Pub center have the best fill rate in wp8 platform. But you need to choice your app usage. If you app is a type like rss flow or news you need ads because you will have a lot of users connected for a long time and frequently. If you app is a productivity app, you will add in app purchase or send your app like a paid app or donation. Don't forget if you add ads, the possibility to remove.
Related
Let me start off by saying this is for a local web site and a local Android tablet running Tasker Apps and custom Android Apps created with Flash CS6. Not for general users.
I am using Tasker and a Motion Detection App that will wake my tablet if someone walks by. I have code in my HTML 5 web site that tests for user interaction and if there is no interaction it will reset the web site to the first page after X amount of time.
What I want it to do is also let Tasker know the user interaction information too so it can reactivate the motion detector and dim the screen if there is no user interaction. I have looked and I cant seem to find a Tasker profile or Tasks that will monitor if the system is idle.
I have seen some web pages showing that a Web page can send an Intent message to open an App but what I want is to just send Tasker a simple message either 0 or 1.
I am using an HTML5 Kiosk browser compatible with chrome but not the Chrome Browser.
My question:
1. Is there any way to send an HTML5 Intent message to Tasker?
2. Or is there a better way to do this from within Tasker?
3. Or is there an app that monitors user interaction and will send an intent message that Tasker can read?
4. Or is there a way for Flash CS6 (Android app) to send an Intent for Tasker?
I am not looking for Android code because I don't program in that language.
Thank you for the help.
Try using the Tasker Network Event Server. You could send a "still alive"-message to the Tasker plugin over http with javascript, when a user clicks on a link or anywhere else on the screen inside the browser. Tasker could dim the display if there is no click for a few minutes...
(https://play.google.com/store/apps/details?id=bidoismorgan.httpevent&hl=de)
I have a Windows Phone application running on a Windows Phone 8.1 device, and I am using Windows Push Notification Services (WNS) to deliver a push message to the device. Delivering push messages has worked for approximately 8 days, until I received WNS headers in the responses similar to these:
X-WNS-NOTIFICATIONSTATUS: dropped
X-WNS-STATUS: dropped
X-WNS-ERROR-DESCRIPTION: Blocked channel URL
X-WNS-MSG-ID: 2DC1361376C2827E
X-WNS-DEBUG-TRACE: DB5SCH101121937
I have not changed the push server implementation, nor the code on the Windows Phone device. There was literally no change in the build of either component. I went home at the end of a work day, and the next day, I ran a simple test only to be presented with that particular error. I have tried the following in an attempt to solve the problem:
Re-created the channel URL on the device.
Re-associated the existing Windows Phone application to the store.
Create a new Windows Phone application in Visual Studio (after association to the Store).
Re-created the Windows Phone application on the developer portal.
Used a different physical device.
Each without success. The documentation regarding WNS is sparse, there are no additional support channels that I am aware of, so I am stumped. What could be causing this particular error "Blocked channel URL", or, how do I solve it?
from your windows phone app you need to renew the url for the notification channel, because the url can be valid up to 15 days.
from the microsoft documentation:
"Request a channel each time the app launches. Channel URLs can expire and are not guaranteed to remain the same each time you request one. If the returned channel URL is different than the URL that you had been using, update your reference in your app server."
Edit:
see this link for reference https://msdn.microsoft.com/en-us/library/windows/apps/hh761462.aspx
I've developed a company app for Windows Phone 8, and have gone through all the recommended steps to set it up for installation. I have a Symantec code-signing certificate, and I have generated my Application Enrollment Token and my signed XAP, which I am hosting in a public folder on OneDrive. I generated the XAP using the BuildMDILXap.ps1 script, which ran without errors. I haven't bothered with a company hub app, since we're only distributing a single app.
The AET loads OK on the phone, and asks if I would like to add the workplace account. I click "add", the dialogue box disappears, and no error comes up. There is no confirmation message, however I don't know if I should expect one.
When I load up the XAP, I get the message "Can't install company app. There's a problem with this company app. Contact your company's support person for help."
The phone has been developer unlocked (which of course isn't necessary), and I've had the app side-loaded and running on it successfully before. It was uninstalled before attempting the above, however.
I'm not sure what to do from here. I've tried recompiling and re-signing the XAP and re-generating the AET, but nothing seems to work.
After fruitlessly trying to solve this problem, I found a workaround that does what I need.
It turns out that you can post apps to the public app store, but hide them from searches, essentially making them private to anyone that doesn't have the link. That solves my first problem, getting the app published in a way that my client can access without me needing to have developer licenses for each of their phones.
The downside with that solution is that you still have to wait a few days for an update to be approved, which isn't the greatest when you're still beta-testing and need to make quick changes. However, Microsoft also have a beta program for Windows Phone apps. By designating the app as Beta, submission happens automatically within 2 hours, but you have to restrict access to specific Microsoft accounts. The latter isn't a problem because the number of devices using the app is relatively small.
This removes the need for a corporate app store in my case, and saves the expense of a certificate and the fiddling around that goes with it.
I see more apps on the Windows Phone depends on the Phone Model.
GroupOn, Nokia apps, App folder are some of the apps I mean. I can only install these apps if I've Lumia Phone. Else I can't install.
Like that, I wish to develop an app only for the Lumia devices. How could I develop ?
Manufacturers and operators have the ability to add apps either when devices are provisioned or via separate app stores.
You'll need to work with the manufacturer to set this up.
This is normally done for apps they've developed themselves or have some kind of exclusivity deal with the app. They don't have public ways for developers to request this.
There's no way to release an app in the store and make it only available to specific devices. I've seen a few apps that are intended for only a few devices with comments in the store description to indicate this but there's no way to stop people with other devices installing - and inevitably leaving bad reviews.
Why would you want to limit your potential user base anyway? Especially when non-Nokia devices are less than 10% of the market anyway.
You'll find it very difficult to get your app for download by device only without working with the OEM to get your app into their own collection on the Store.
If you're thinking of making your app Nokia only, get in touch with the Nokia Developer Program and see if you can get in that way.
Do you want to ask that only Nokia user can see your app other user can't like Samsung or HTC then you can't there is chance if QA team pass your code.........
try to access device info (line name)
if you found device name Lumia then open your application else just exit from application
private void initialize(object sender)
{
string deviceDetails = "Device detail";
deviceDetails += DeviceStatus.DeviceName + ",";
MessageBox.Show(deviceDetails);
//to know whether device supports smooth streaming of multi resolution video
if (deviceDetails.equals("..your supportes device 1..") || deviceDetails.equals("..your supportes device 2.."))
{
MessageBox.Show("Supported");
//open application go further
}
else
{
MessageBox.Show("Not supported");
//close your application
}
}
I recently submitted a very simple app to the WP app store that is basically buttons that play sounds on click.
However, the app failed certification for the following reason(s):
Comments: Result: Fail
The application terminates unexpectedly in response to user input.
Steps to Reproduce:
Play music from music+videos hub and Launch the application.
Tap on any option from MY APPS NAME HERE.
Notice the application unexpectedly terminates.
Comments: Result: Fail
The application terminates unexpectedly in response to user input.
Steps to reproduce:
Play music on the device from the Music + Videos Hub.
Launch the application.
Press the device's universal volume control.
Select "Pause" from the device's universal volume control.
Notice the application unexpectedly terminates.*
My questions are:
What is "the device's universal volume control" ?
How can I stop these errors from happening?
I used Blend to assign a sound to the buttons so there is no code to work with as far as I can see.
I've written similar apps for the Android market and always use a 'stop' and 'release' for each mediaplayer element at the beginning of each button's code. I'm assuming I need something similar here but not sure how to go about it in WP8. Any ideas?
Unviersal volume control refers to the phone physical volume buttons.
Did you have AdMod ads in your app? Recently i found an app with the same behavior failing certification and it was caused by AdMob control doesn't working right when the volume buttons show the volume popup over the app.
If you follow this link, you can see a workaround:
https://groups.google.com/forum/#!topic/google-admob-ads-sdk/vw61ZdJALYo
Hope this helps.