How to develop app only for the Lumia devices? - windows-phone-8

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
}
}

Related

Disable test ads while publishing app in Windows Phone store. How test ads work?

I have few question regarding test ads in windows phone application.
In Windows Phone 8, we have to mention ForceTesting = true to enable test ads. As I've mentioned code below.
Please take a look
AdView bannerAd = new AdView
{
Format = AdFormats.Banner,
AdUnitID = "ca-app-pub-xxxxxx/yyyyyyy"
};
bannerAd.ReceivedAd += OnAdReceived;
bannerAd.FailedToReceiveAd += OnFailedToReceiveAd;
gridad.Children.Add(bannerAd);
AdRequest adRequest = new AdRequest();
adRequest.ForceTesting = true; // It leads to execute demo ads. NO REAL ads
bannerAd.LoadAd(adRequest);
It works fine in emulator.
but what about in real devices ? what would happen if user download it from store after publishing app. Will they keep getting same test ads instead of real ads ?
In android there is option to include test device id to uniquely identify device, but in Windows Phone there is no such option. How google distinguish emulator, test device or normal devices(user who download app from store) ?
In short, what should I need to opt code between "ForceTesting = true" and with "ForceTesting = false" for publish app on store.
Please guide me. :)
When i tried to mingle with admob, i went through this where i didn't had to use ForceTesting.
AdMob Windows Phone 8
But still from this page where i noticed under the Test Ads, it says ForceTesting is just only for development purposes.
You should use
adRequest.ForceTesting = false;
before uploading your solution app to the Store.
You ask:
How google distinguish emulator, test device or normal devices(user
who download app from store) ?
Google does not make the difference between real devices and emulators, that is why they ask to use the Test Ads. However, for the ads, Google Adsense has an algorithm to pin-point any strange activity regarding false impressions or clicks on the advertisement.

Is possible to know which apps were installed to the device?

I'm writing an app, it can list all apps in user device, is there have a way to know which apps were installed to the phone via wp8.1 public API currently? Can I get the app list?
I believe those two answers: first and second are still actual.
Looking here at MSDN, PackageManager class is available only for desktop applications, not phone:
Minimum supported phone - None supported
Thought for Enterprise Deployment you can use on Phone InstallationManager.FindPackagesForCurrentPublisher method - as written in first reference.

Can I share a calendar entry via NFC without starting my app on the destination phone

Is it possible to create an NFC message that will create a calendar entry on the destination phone, without requiring my app to be installed on the destination phone?
For the moment, I've implemented it by using a custom protocol URI, but I'd like this to work even when the destination phone does not have my app installed. It would be even better if it could work on an Android destination.
You cannot do this on any phone if I am not mistaken. NFC messages at the end of the day are just bytes being transferred from one mobile device to another. If the destination device does not know how (and most of them do NOT have a build in handler for calendar event) to parse that message in order to open a native application what you are trying to do will not work.
Even if you get an NFC reader and read an NFC message design for that purpose and then recreate this in your application it will NOT be universal; meaning it will not work on any device, especially on different OS devices.
Again this is what I know so far. Don't take this for granted.
Have you tried to store a vcalendar item on a tag to see whether/how a phone reacts to this?
text/x-vcalendar or text/calendar
might be the right format to use for the NDEF record. See also this so question.
If this would not work, you might write an app that takes intents from such calendar data and sends it to the calendar app on the phone (however I don't know how that step would work).

No ads error from adcontrol

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.

In-app sms sending in as3

How to send sms within an iphone and android app using as3. I found this code while googling:
var callURL:String="sms:0-123-456-7890";
var targetURL:URLRequest = new URLRequest(callURL);
navigateToURL(targetURL);
Its working, but it is navigating the app to sms window controller. Can it be done without opening the sms controller window. Is there anything that opens a window within the app itself. Is there any air native extenson which perform this for android and iphone?
Yeah, using navigateToURL is going to pop you over to the phones default SMS app. To get around this you're going to need to use a native extension.
I know of one for Android:
https://github.com/mr-archano/Android-AIR-Extensions
If you have an Android phone you can check out a demo of this ANE inside of the AIRexplorer app. Select the SMS ANE version from the list (the app includes an extension as well as navigateToURL)
I don't know of one for iOS right now so you may have to do a little bit of digging
Oh Also, wanted to add a comment because I'm not really sure of your intent here.
If your goal is to send a sms without any user interaction that is not going to be possible. ANE or not
I very much doubt that either ios or android (maybe if you root your device?) would allow sending a SMS without the users explicit consent.