Convert blackerry program/app into an installable form - blackberry

I need to send a completed BlackBerry app, for OS 5, to my client in an installable form. What are the ways to achieve this?
I am using the BlackBerry Eclipse plugin and I have a BlackBerry Bold 9000.

Follow this steps:
1) To get Signing Keys you will need to go to the BlackBerry Developer’s web site:
https://www.blackberry.com/SignedKeys/
2) As you finished your registration successfully you will get the confirmation mail with the order number.
3) You will get three different mail(Within 48 hours or within 2 working days) from the devsupport#rim.com which contains
client-RBB-XXXXXXXXX.csi
client-RCR-XXXXXXXXX.csi
client-RRT-XXXXXXXXX.csi
Where “XXXXXXXXX” may be any number.
4) You can configure these .csi files in this ways.
Configure using Eclipse IDE
i. Go to windows > preferences > BlackBerry Java Plug-in > Signature Tool > Install New Key
ii. Please select client-RBB-XXXXXXXXX.csi file which you get from RIM.
iii. You will get the pop up window which ask for password and configure password. Please enter eight digit number which you what to set as you password. And remember it for future use.
iv. After clicking ok button you will get a screen which generates the random information. Please drag your mouse over that screen(Continuously until whole process will be finished) to proceed further.
v. After finishing random info. Generation you will be asked to enter the registration PIN. Please enter same Registration PIN as you applied for Registration.
vi. You will get the success message.
vii. Follows steps (ii) to (v) for client-RCR-XXXXXXXXX.csi & client-RRT-XXXXXXXXX.csi files (Those files that you received from BB server).
5) After finishing the registration process, you are able to sign you BB app. Open the Eclipse, select project that you want to sign, goto “Project-> Blackberry -> Sign With Signature Tool…” Enter the 8 digit password which you entered in step (iii) when following popup screen appears and click on ok.
Note:
Please take back up of “sigtool.csk” & “sigtool.db” from “eclipse\plugins\net.rim.ejde\vmTools” to use the key in case of reinstallation of Eclipse/Blackberry SDK.
after that sign the application using key.
and you can find the ".cod" & ".alx" file in deliverable folder , you can send it to the client..

Related

Branch does not open the App Store link

I use Branch to create deep links. I added a new control parameter ios_has_app_url and ios_url. Clicking on the deep link when the application is installed then everything works correctly, but if you click on the deep link when the application is not installed on the device then during startup, I see that the browser instead of opening ios_url (App Store link), it tries to open ios_has_app_url. How can I fix it?
private func createDeepLink(_ card: CardModel) -> (branchUniversalObject: BranchUniversalObject, branchLinkProperties: BranchLinkProperties) {
let branchUniversalObject = BranchUniversalObject(canonicalIdentifier: ("cardId/\(card.id)"))
branchUniversalObject.title = card.title
branchUniversalObject.contentDescription = ""
branchUniversalObject.imageUrl = card.photoURLsProperties.originalURL
branchUniversalObject.addMetadataKey(CardKeys.cardID.rawValue, value: card.id)
branchUniversalObject.addMetadataKey("placeAvatarURLString", value: card.photoURLsProperties.originalURL)
branchUniversalObject.addMetadataKey("title", value: card.title)
branchUniversalObject.addMetadataKey("isAutoGeneratedCard", value: "false")
let fullLocationName = card.location.fullLocationName
branchUniversalObject.addMetadataKey("fullLocationName", value: fullLocationName)
branchUniversalObject.addMetadataKey(CardKeys.ownerID.rawValue, value: card.ownerID)
branchUniversalObject.addMetadataKey(ParametersKeywords.type.rawValue, value: ModeKeywords.shareCard.rawValue)
branchUniversalObject.addMetadataKey("availableSeats", value: card.peopleProperties.availableSeats.description)
let coordinate = card.location.coordinate
branchUniversalObject.addMetadataKey("latitude", value: coordinate.latitude.description)
branchUniversalObject.addMetadataKey("longitude",value: coordinate.longitude.description)
let linkProperties = BranchLinkProperties()
linkProperties.feature = "sharing"
linkProperties.addControlParam("$desktop_url", withValue: "http://www.appname.com")
linkProperties.addControlParam("$ios_has_app_url", withValue: "appname://")
linkProperties.addControlParam("$ios_url", withValue: "https://itunes.apple.com/app/idXXXXXXXXXXXXXXX")
return (branchUniversalObject: branchUniversalObject, branchLinkProperties: linkProperties)
}
Update: My goal is that when the deep link is clicked, if the application is installed, then the application is opened, if not, then the app store link.
Update 1: I changed my code like this and it opens the App Store if I just click on the link, and if I use 3D Touch then I can choose where to open this link. Is it possible to do that if the application is installed and clicking on the link immediately opened the application (or at least a link in the browser, but that there was an option to open the application) and if the application is not installed, then clicking on the link, go to the App Store app page .
let linkProperties = BranchLinkProperties()
linkProperties.feature = "sharing"
linkProperties.addControlParam("$desktop_url", withValue: "http://www.appname.com")
linkProperties.addControlParam("$ios_has_app_url", withValue: "https://appname.app.link/")
linkProperties.addControlParam("$ios_url", withValue: "itms-apps://itunes.apple.com/app/idXXXXXX")
Alex from Branch.io here:
The good news is this is much easier than you're expecting. However, since you made such a complete report, I'll go through all the details so you know exactly what happens behind the scenes.
Short Explanation
To handle launching your app when it is installed, you don't need to manually set your custom URI scheme as the value of $ios_has_app_url — Branch and iOS implement this behavior for you by design.
If your links are not launching your app, you may have a problem with your Universal Links configuration. I recommend reviewing this troubleshooting guide.
Long Explanation
Our $ios_has_app_url control parameter relies on a boolean has_app value tracked by our servers. The has_app value fairly accurate in typical real-world use (plenty good enough for switching a button between displaying an Open or an Install label on a smart app banner, for example), but it's not 100% accurate in all situations.
This is a limitation of iOS: Apple doesn't allow web pages to query for which apps are installed on a device (for obvious privacy reasons), so Branch has to rely on cookie matching. This means if we can't match the cookie, or haven't seen the user recently, or the user clears their device cache, or the user has uninstalled the app since the last time Branch saw them, the value of has_app will be incorrect. When the has_app value is incorrect, then the $ios_has_app_url behavior will also be wrong.
HOWEVER, even though Apple doesn't allow web pages to query access this data, iOS itself can still act on it. Universal Links do exactly this — when the user opens a Universal Link (which includes Branch links, assuming you got all the configuration done), the app will open if it is installed. If it is not installed, the user will be sent to the URL of the link.
Intended use of $ios_has_app_url
The Branch $ios_has_app_url parameter is intended for a very specific usecase in advanced implementations; the vast majority of our partners never use it. Here's the potential situation where you might want it:
You have an edge case where Universal Links are not supported, and you want to send your users to a different web page if Branch knows they have your app installed rather than giving them the option to open it. Obviously this is a rare situation, typically relevant only to enterprise-level apps.
Debugging has_app
If you're stuck trying to debug a situation where has_app is returning the wrong value, you have a couple of options:
If you're getting true and you want false, use Private Browsing mode in Safari. This prevents Branch from making a cookie match, meaning you will always get false.
Alternatively, follow these steps:
Ensure the app that is being tested has setDebug enabled.
Paste a link to a page with the smart banner code into Notes.
Uninstall the app.
Settings > General > Safari > Clear History and Website Data.
Settings > General > Safari > Advanced > Website Data > Swipe left and delete every entry.
Settings > General > Privacy > Advertising > Reset Advertising Identifier...
Click on the link in Notes (from step 1).
The banner should always show "Download" (when it does not, it is because clearing the Website Data was unsuccessful).
Tap on Download.
Run the app via Xcode (serves to install it).
Stop the app in Xcode, then launch it from the phone.
Click on the link in Notes again - the button should now show "Open" and open the app.
I see that the browser instead of opening ios_url (App Store link), it
tries to open ios_has_app_url. How can I fix it?
By letting the link to be:
"itms-apps://itunes.apple.com/app/idxxxxxxxxxx"

How to set FacebookUrlSchemeSuffix build hint in Codename One

I have two free and paid apps which use same one Facebook app.
The free app has package: com.company.app
The paid app has package: com.company.app.free
The facebook app has id is 123456 and the iOS platform section in Facebook app:
"Bundle ID": com.company.app.free, com.company.app
"URL Scheme Suffix": free, paid
I can't logon the facebook in freeApp because the facebook always redirects to the paidApp.
After spend time, I found the Two iOS apps using the same Facebook app ID - is it possible? and https://developers.facebook.com/docs/ios/troubleshooting#sharedappid and try:
Add the ios.FacebookUrlSchemeSuffix="free" for freeApp and ios.FacebookUrlSchemeSuffix="paid" for paidApp but the problem is still same.
Then remove the ios.FacebookUrlSchemeSuffix build hint above, add the ios.plistInject=< key>FacebookUrlSchemeSuffix< /key>< string>free < /string> for freeApp and test it. The app is terminated immediately when start logon the facebook.
Then add the ios.urlScheme=fb123456 to the freeApp but the build is failed at server with error "...Info.plist': The data couldn’t be read because it isn’t in the correct format."
What are correct setting for ios.urlScheme and ios.plistInject build hints (include the FacebookUrlSchemeSuffix) in order for both freeApp and paidApp can work correctly in Codename One?
ios.urlScheme
Allows intercepting a URL call using the syntax
urlPrefix
From: https://www.codenameone.com/manual/advanced-topics.html
Notice that by default defining Facebook support includes the main URL scheme so the plistInject will conflict with that.

Can't download reviewed Firefox add-on

Received the message below from Mozilla AddOn editors with regards to our new version of our add on:
"Your add-on, iGive Button 5.0.0.9, has been reviewed and is now signed and ready for you to download at https://addons.mozilla.org/en-US/developers/addon/igive-button-1/versions."
When I go to that link, I'm supposed to be able to download the reviewed and now signed add on. To try to do that, I clicked on the link which lets me manage the add on. At the top of the Manade Add On screen there is a link to the file (igive_button-5.0.0.9-fx.xpi): https://addons.mozilla.org/firefox/downloads/file/352648/igive_button-5.0.0.9-fx.xpi?src=devhub
However, when I click that link I get a "404 Not Found" error.
How do I get the signed add-on so we can distribute it from our web site?
Try for the sources in
about:config
and search for browser.dictionaries.download.url
verify the sources of the apps is correct
Did Mozilla send you a link to your preliminarily approved addon? When you click that link it takes you to developer hub. Under current versions there should be a link to your reviewed addon. Click that link to go to the management page for your addon. Near the top of this page you should see an element called "files" with your extension file shown as a link. You should be able to click that link to download your file.

"Login cancelled by player" callback in facebook api for Unity IOS (only if you have facebook app in device)

I am using unity facebook api 4.3.6 for ios. Its working perfectly fine if I don't have #facebookapp in my device. Once I download it and try login, it takes me to #facebookapp and redirect again to my game with callback
FB Login callback : {"is_logged_in":false, "user_id":"", "access_token":""}
Login cancelled by player
This happens only if I have facebook app downloaded! I think its some how cache issue but not sure exactly what is it. Any luck?
I believe this is not connected with Unity.
Here is few reasons I faced
You need to ask read and write permissions separately. Wait until you get read permissions than send request for write permission.
Make sure your app is allowed to login ( if you have FB app installed on your device )
Make sure you have your app bundle identifier added to developer.facebook.com
Here is what helped me fixed that problem with Unity Facebook-Android.
setting the sandbox mode ON:
Go to https://developers.facebook.com/apps
Select the respective app from the drop down.
Go to 'Status & Review' from the table in the left side of the page.
Do you want to make this app and all its live features available to the general public? - Select switch to set YES/NO value.
if the ON/OFF button is disable, please go back to Settings and enter a valid email address.
I understood why when the device is installed a facebook app, my app can't login facebook.
First : software OpenSSL create keyhass wrong. I have downloaded OpenSSL from here : http://code.google.com/p/openssl-for-windows/downloads/list , and it creates keyhash wrong.
I have used other OpenSSL sofware, you can download it here : https://www.dropbox.com/sh/t6tt44dc2nm6vza/6mp1W74GiZ , it is create keshash right.
Second: In class FacebookAndroidUtil.cs , line 62, you add System.Environment.GetEnvironmentVariable("HOMEDRIVE") before System.Environment.GetEnvironmentVariable("HOMEPATH"). Facebook SDK requires a file debug.keystore in : C:\Users\UserName.android\debug.keystore.
If the Unity Editor, Edit Setting Facebook has yet to create android debug hash key. Then use the Eclipse Software, create and run onr any project. Eclipse will generate a debug.keystore. If it is't create in folfer : C:\Users\UserName.android\debug.keystore , then find it, coppy and paste into C:\Users\UserName.android\debug.keystore
Third: publish your app in Facebook, so be sure it is:"This app is public and available to all users".

How to send link directly to a local server file through gmail

Often via gmail I am sent an link to the location of a file on the company server, ie
afp://Client/Somename/Someothername/Bla/Bla/Bla/Hereisthefile.file
or
file:///Volumes/Client/Somename/Someothername/Bla/Bla/Bla/Hereisthefile.file
Sometimes this name is so long that it literally takes a minute to navigate to the folder. Is there a way, or a widget or software that would allow me to either click on the link, cut an past the link, so that I can navigate directly to the path? I know that gmail forbids this directly in an email, but perhaps there is a work around?
In OSX:
Triple-click the entire path to select it (not just the blue part)
Press command c to copy the link
Click anywhere on the desktop or make sure you switch to Finder
Press command k
Paste the link into the Server Address box
Press connect or enter and arrive at the folder destination.
Hope that helps!
Space Age Crystal's suggestion will work for your afp (and smb) links, but it won't work for file links.
For file links, substitute these last three steps:
Press Shift-Command-G: Shift-⌘-G
Paste the link into the Go to the Folder box
Press Go (or press the return or enter key) to arrive at the folder destination.

Resources