Microsoft advertising ad units with UWP app - Windows 10 - win-universal-app

I've created 2 AdUnits in my Dev Dashboard. One for mobile and one for tablet/pc.
How am I suppose to handle these? I've read so many articles but I've yet to find out anything that tells you how to use both of these? Is that done automatically?
From what I've read and understood, when you upload your app to be approved, it will read the AdMediator.config and update it accordingly but if that's the case, I only have an AdUnit for Microsoft Advertising and one for AdDuplex but nothing that specifies whether it is for mobile or pc/tablets.
What am I missing?
Thanks.
Thierry

To handle AdUnits for Windows Mobile and Tablet/PC, you need to config your AdMediator.config file.
In AdMediator.config following keys are used for Tablet/PC Device family
WApplicationId - Tablet/PC Device family Application Id
<Key>WApplicationId</Key>
<Value>d25517cb-12d4-4699-8bdc-52040c712cab</Value>
WAdUnitId - Tablet/PC Device family AdUnit Id
<Key>WAdUnitId</Key>
<Value>10043121</Value>
And following keys are used for Mobile Device family
MApplicationId - Mobile Device family Application Id
<Key>MApplicationId</Key>
<Value>3f83fe91-d6be-434d-a0ae-7351c5a997f1</Value>
MAdUnitId - Mobile Device family AdUnit Id
<Key>MAdUnitId</Key>
<Value>10865270</Value>
Refer the screenshot for any confusion. Hope this is helpful to you.

Related

Manufacturer Specific Data Map empty in web bluetooth

I am designing a web app that uses manufacturer specific data from a BLE device. The device advertises manufacturer specific data and I can see this when using the chrome internal tools. Note that this packet is advertised and there is no scan response set.
Even using this example: https://googlechrome.github.io/samples/web-bluetooth/watch-advertisements.html does not work. I am using 0xFFFF company ID for testing and I set a prefix in the filters too however the map remains empty and so does the event.manufacturerData object.
I have turned on the relevant experimental flags, namely web Bluetooth and the one to do with permissions. Is this a bug or am I missing something with permissions?
Note that advertisement received events are fired and even filtering by data prefix works.
This question was answered on GitHub:
Data in advertisementreceived events enabled when watchAdvertisements() is filtered based on the parameters passed to requestDevice() when permission to access the device was granted. To receive manufacturer data the company ID must be included in the optionalManufacturerData option like this:
const manufacturerId = 0x0001;
await navigator.bluetooth.requestDevice({
acceptAllDevices: true,
optionalManufacturerData: [manufacturerId],
});

Identify web push notification device from endpoint url

Is there a way to identify the browser based on web-push-notification endpoint url?
I would like to add a list of endpoints to the user settings page, so he could see what devices are connected and remove the ones that he does not need, but all I have is the endpoint (and auth data) in format like this one:
https://fcm.googleapis.com/fcm/send/fIoxgVbEb3Q:APA91bHN_ryToq_Oe6QQa-pO__uKoLjv2LJSI_8YxvqSN2j8UUHUxH8wTnOOHJdBq252baM3bkIXqRBp529GctrxLqF_A_K9R-5pnIL0jFw6f4p7yQq_Lp2AbNyPRyidU3JHwdmuI11p
I would like to convert it to something like:
Chrome on Samsung Galaxy 8
Firefox on Windows 7
Internet Explorer on IPhone 6
Is there any way I could do it, or do I need to collect this data in advance?
I know I can get the browser form domain, but is there any list that contains all of the possibilities?
I think there's no way to do this without collecting information in advance.
The domain will be the same for the same browser on different platforms.

Skype for Business 2015 : Audio / Video not working in meetings

I'm new to Skype for Business Technology, and I'm trying to deploy a server that I'm willing to use with Skype WebSDK and AppSDK.
At first I tried using the skype for business online, but the websdk doesn't support the anonymous join to a meeting. So I decided to deploy an on premise version of it.
I followed instructions on this video : https://www.youtube.com/watch?v=uNIm5YNIY6Q and also this Document : http://www.msic.ch/Portals/0/Images/Skype%20for%20Business%20Server%202015%20Step%20by%20Step%20for%20Anyone%20-%20Installing%20and%20Upgrading_REV_05.pdf
I have two servers :
- Active Directory + Certificat Authority + DNS
- Skype for Business Standard
The active directory is configured with "contoso.com" and my external domain is also "contoso.com". On the internal DNS I used internal adresses, and on the external DNS I used the public ones. I have an A record for "admin, dialin, meet, sip, lyncdiscover ..." and SRV record for "_sipinternaltls_tcp" as described on the tutorials.
The installation process was successfull without any error.
My problem is when I create a meeting, I have only the chat without any video or audio. At first the client tries to connect the audio and then hangs up without any errors.
Is there any way to troubleshoot this situation ? Is there any extra step I should do to activate audio / video in meetings ?
Thank you for your help
This sounds like you don't have the CAL licenses to enable conferencing. The default (free) standard client license doesn't allow conferencing.

Generating unique id in J2ME

I want to generate universally unique id for registration process of my j2me application. i came across following approaches for that
IMEI no of device Getting IMEI and IMSI in Java ME this approach doesn't work on most of devices. Problem with IMEI is is not that easy to get it from Midlet for most of models.
Bluetooth device address Getting Bluetooth Address
Problem Needs support for Bluetooth API and will limit no of devices app can run on.
UUID class
Problem Need Bluetooth API as it is in javax.bluetooth package same prob
The registration process used by my company for their android app is as follows
customer mobile will send IMEI no and Token provided by company to server using SMS
Server will send licence key to customer mobile which will be stored in customer mobile
And i have to follow the same approach for j2me application
One solution can be getting unique id from server through SMS. but company uses above registration process.
Is there any other approch that i can use for registraing my application or is there any way to overcome above problems.
I agree with #funkybro that a Jad key with a unique ID provided by the server would solve the issue. But if its not possible I would create an id based on mobile time and a hash code.
long time = System.currentTimeMillis();
StringBuffer id = new StringBuffer(Long.toString(time, 16).toUpperCase());
id.append(Integer.toHexString(new Object().hashCode()).toUpperCase());
If this id is duplicated the registration process fails and the application is asked for a new id.
You can put a server generated unique ID in the jad at deploy time.

Can you access sim contacts from J2ME?

Hi I am developing a mobile application where I need to access the phonebook of the users, SIM and phone contacts.
Is this possible?
Depends on the handset, some only let you access phone contacts, some do both phone and sim. Make sure you iterate over all the PIMLists supplied by PIM.listPIMLists(), often this method returns two lists, one of which will be phone, the other will be sim.
Yeah its possible. Look on this discussion on Nokia forum. Here it will be described clearly about how to get the contacts from phone and sim.
You can access the contacts using the following API
JSR 75: PDA Optional Packages for the J2METM Platform
http://www.jcp.org/en/jsr/detail?id=75
This is an optional package & maynot be there for all the mobile devices.
You can check the following URL for the sample programs
http://developers.sun.com/mobility/apis/articles/pim/index.html
http://www.java2s.com/Code/Java/J2ME/PersonalInformationManager.htm
Use the following code to check whether the device supports PIM or not :
String currentVersion = System.getProperty("microedition.pim.version" )
if the device is not supported then it will return null.

Resources