How to create my private key to sign my blackberry application - blackberry

Can you please tell me how can I create my private key to sign my blackberry application (java)?
Thank you.

You can't generate your own keys, you have to request them from RIM: https://www.blackberry.com/SignedKeys/

Related

Generating Apple Wallet Pass

I'm trying to generate Apple Wallet pass for one of my client but for some reasons related to Certificate signing I cannot generate a valid pass file. I've tried to use public key and private key for generating the Wallet pass but no success.
I might be missing the correct files here, can someone please guide me through the file generation process here?
There is no issue with my Web service to generate the .pkpass file by using an old certificate file (Issued by WWDR bak in 2020).
I'm using this pass file validator to validate the file.
attached screenshot for

Dart SSL certificate generation

is it possible to generate SSL certificates with the Dart SDK?
I want this to use in a Flutter app where users can grant other users authority to their own data, kind of.
Thanks in advance.
Theo
Not that I know of. I suggest simply calling out to a command line utility using dart:io's Process class.
Process.start('create_certificate', []).then((Process process) {
...
});

A system issue occurred in facebook account kit

i could not resolve facebook account kit (A system issue occurred. please try again) issue even i have enabled client token access and sms login in account kit developers account.
If you try to Login With Account Kit and Try to Generate:-
1- the AccessToken Code
you must Enable the
Client Access Token Flow and set new AccountKitConfiguration.AccountKitConfigurationBuilder(LoginType.PHONE, AccountKitActivity.ResponseType.TOKEN);
2- the Authorization Code
you must Disable the Client Access Token Flow and and set new AccountKitConfiguration.AccountKitConfigurationBuilder(LoginType.PHONE, AccountKitActivity.ResponseType.CODE);
Please check the Client Token it is exactly the same as on dashboard!!
Also check the manifest file do you properly add the Account kit activity and meta data of Account kit.
If again having problem feel free to ask..
Thanks.
Don't forget to change ACCOUNT_KIT_CLIENT_TOKEN from string.xml
ACCOUNT_KIT_CLIENT_TOKEN using the client token found in the Account Kit tab in the App Dashboard.
https://developers.facebook.com/apps/FB_APP_ID/account-kit/settings/
In above url replace FB_APP_ID to your application id
Please check your internet, when you are clicking on next, if the internet is not there, then you will face this error apart from client access token not being given
Go To Products Tab--> Setting --> Server Side Validation is Enabled
1). Allow Email Login Yes
2). Allow Phone Number Login Yes
3). Enable Client Access Token Flow Yes
4). Require App Secret No
just because u might not be removed [] those brackets... i did the same thing. then i had found this syntax error
this is wrong-->
<string name="ACCOUNT_KIT_CLIENT_TOKEN">[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA]</string>
this is right-->(no BRACKETS)
<string name="ACCOUNT_KIT_CLIENT_TOKEN">AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</string>

How can I securely store private key in iOS?

I'm creating app for iOS in the Xcode. There will be the private key that will be the same for all users (clients). What is the best way to store it on the client side (in iOS)? in what form should I store it and where is the best place? In which form it is better to put it in the installation package? I will use this key to encrypt the data. Thanks in advance for your answers
Safest and recomended way would be receiving the encrypted private key from a server (via a https connection) and the storing it in the secure container (Keychain).

Facebook Connect for BlackBerry

I'm looking for a solution similar to the iPhone Facebook Connect (https://github.com/facebook/facebook-ios-sdk) for the BlackBerry platform. Basically, I need my users to authenticate against Facebook from within a native BlackBerry application (so, not a Web based mobile application). Is there a library I could use, and if not, what will be the correct approach to achieve this?
Thanks in advance!
Options for BlackBerry are:
Use Facebook Platform for Mobile
Use REST API approach provided by Eki Y. Baskoro
Try to port JavaFB from J2SE to J2ME
I managed to go through Facebook Connect authentication within my BB app. After cracking my head for three days I realised that it is the URL that is the culprit!
Basically these are what you need (assuming you are developing for 4.5 platform):
Using Browser Field, do a POST to http://m.facebook.com/login.php (the mobile version of Facebook) passing all the necessary arguments as per the Desktop application counterparts (one challenge is to get the signature generation correct).
Once the User successfully grants access, capture the URL of the success screen. You will obtain your auth_token.
Do a POST to the REST server to obtain the session key and secret given the auth_token you obtain.
Save the returned session key and secret, persist it, and wholla! your app is up and running.
I am developing a custom LoginScreen and FacebookFacade object to incorporate the first three steps above, if anyone is ever interested to reuse my code. It'll be GPLed, I suppose ;)
Afzal, I had a similar problem and I've found out that I actually had a problem with my connection string. You can look at the following link there is some explanation and code for creating the correct connection string
http://www.localytics.com/blog/post/how-to-reliably-establish-a-network-connection-on-any-blackberry-device/
and just add the connection string to the FetchThread where it opens the connection:
connection = (HttpConnection)Connector.open(absoluteUrl+getConnectionString());

Resources