How to get APN name in blackberry? - blackberry

I am developing one application in which i want to know how to retrieve APN name so please help me.Thanks in advance

You can get Apn setting as following code:
ServiceRecord st = new net.rim.device.api.servicebook.ServiceRecord();
System.out.println("APN Setting: "+st.getAPN());

Related

How to update app store link. Can i change app store url like Example

I need to change my app store URL after changing app name for example
app url = https://itunes.apple.com/au/app/facebook/id284882215?mt=8&uo=4
and I am trying to change = https://itunes.apple.com/au/app/abcd/id284882215?mt=8&uo=4
I have only need to change only facebook to abcd can I change this plz help me.
Thanks
Apple has a pattern for app link.
https://apps.apple.com/app/{sku}/id{appId}
Well, in your case, you changed your app name and you want to update the app link to be with your new app name. But unfortunately, it is the SKU that you have to change and it cannot be changed in appstoreconnect because it is fixed once you set it on first creating an app on the appstoreconnect. Apple designed it to be uneditable.
Hope this helps. :)
Your app link will be like following way:
https://apps.apple.com/app/id{{appId}}
Reference: https://help.swiftic.com/hc/en-us/articles/201574352-Add-Your-App-s-Apple-App-Store-URL-to-your-Landing-Page

How to initialize the SDK with this code snippet for iOS app using Swift?

I need your help. I am developing a App using Swift language and Firebase as a database. I am trying to initialize SDK with a code. I am confused, in which file I have to add this code snippet? HTML or a new swift file or?
I am stuck in this step https://firebase.google.com/docs/admin/setup
Hope you guys will help me. Thank you in advance.
Below is the code snippet example:
var admin = require("firebase-admin");
var serviceAccount = require("path/to/serviceAccountKey.json");
admin.initializeApp({
credential: admin.credential.cert(serviceAccount),
databaseURL: "https://<DATABASE_NAME>.firebaseio.com"
});
You seem to be following the wrong directions. This is for adding the Firebase Admin SDK to a server -- not setting up access to the database from an iOS client.
I'd recommend following the directions here instead: https://firebase.google.com/docs/ios/setup

Link to app in the Store with UWP

As I understand the following doesn't work anymore for UWP:
ms-windows-store:reviewapp?appid=[app ID]
Has anyone got the latest on how to do this?
You can refer to the MSDN in this link:
https://msdn.microsoft.com/en-us/library/windows/apps/mt228343.aspx
Especially for UWP, I suggest to use "ms-windows-store://review/?ProductId=".
The product id is much more useful than PFN.
You can use the below code to accomplish the task in UWP.
var uriRate = new Uri(#"ms-windows-store:REVIEW?PFN=" + Windows.ApplicationModel.Package.Current.Id.FamilyName);
await Windows.System.Launcher.LaunchUriAsync(uriRate);
There are a couple of good articles on this topic on the official documentation site: Link to your app and Launching the store app
In short, you can still use the store protocol, but you don't use appId you need to use productId which you can get from the developer dashboard.
ms-windows-store://review/?ProductId=[pid]

iOS Passbook - Is it possible to read auxiliaryFields?

Using the iOS Passbook framework, you can read userInfo, and the documentation says you can read "common data" without it stating what it means by "common".
What I'd like to know is whether using iOS Passbook - Is it possible to read the auxiliaryFields?
Many thanks
I figured it out.
You have to do this:
po [pass localizedValueForFieldKey:#"a2"]
Where a2 is the name of the key you want to access, given that:
{"key":"a2","value":"Super sale!","label":"Code","textAlignment":"PKTextAlignmentLeft"}]
Thanks
This is now resolved

Instragram send like to image show error for app

I have created app on Instagram and got access token and client Id.
My issue is that when I send like to image using API method that is showing me error:
meta = {
code = 400;
"error_message" = "you cannot like this media";
"error_type" = APINotAllowedError;
};
}
So like is not being sent to Image. I can explicitly able to like that image from the Instagram app. So may be the issue is not related to image's privacy. Can anyone help me for this issue?
Thanks in advance
************** Edit **************
After I check I am able to send Like from the API consol of the instagram for same media_id with response 200/OK. But from my app issue is still there.
Can I solve this by changing the APP ID AND APP SECRET ?
Please reply
1 - Double check if you are using correct access token
2 - How much likes did you in a hour? Pay attention to it and respect the limits. Take a look here: http://instagram.com/developer/limits/

Resources