IBM MobileFirst 8 APK Creation - android-studio

I am creating an APK for release to play store my question is while creating the APK ,i am selecting Generate Signed Bundle or APK but i am not sure if i should use a locally created keystore file by me or it needs some other keystore file the one present in the MFP console runtime settings.

The keystore present in MobileFirst Operations console is for MobileFirst server's use.
To sign your Android application , you should use another keystore.
Refer to the Android documentation for more details on signing your application. Details can be found here.

Related

Lost Android Studio keystore

I happen to accidentally delete the keystore I signed my apk with. And my Android Studio 3.2.1 on Linux Ubuntu 18.04 LTS also does not give me the option to chose signature versions V1 and V2 while signing the apks. Can a copy of my project be signed with a new keystore and be eligible for the play store? Thanks in advance!
If the app is not uploaded in the Play store yet, you can generate a new keystore, if your app is already on the Play Store and you don't have the keystore anymore, then you have a problem...you should do a multiple backup of your app Keystore before you upload it to the market, that's an hard lesson to face. Good luck my friend, keep coding!

Android Studio with Jenkins Integration

I guess many of you have performed here continuous integration of Jenkins with Android Studio.
I have performed the following steps:
Created a project from Android Studio.
Created a repository in GitHub.
Pushed the code base into the Github.
Configured Jenkins.
Now, my target is that whenever I perform some checkin operation of the Android code into the Github, then automatically Jenkins will create a build on the latest codebase.
I already have downloaded the necessary plugins that are required for Jenkins.
Can anybody tell me step by step how can I achieve the same, since I am not sure, how Jenkins will get the apk file that is getting created once Jenkins performs the build operation on the new codebase?
It is an old question, and may of no use for questioner, but it may help others looking for solution.
If you are looking for apk file then it is available in build path of workspace.
It looks like you are interested in CD part, then you can use "Google Play Android Publisher". It enables Jenkins to manage and upload Android app files (AAB or APK) to Google Play. please refer to following doc help from Jenkins:
https://plugins.jenkins.io/google-play-android-publisher/

Integrate linkedin sdk and android studio

I'm trying to integrate the sdk of linkedin into an existing android studio project, but i could not understand how to do it.
Can anyone help me?
Now we can start integrating the SDK, which can be downloaded from http://code.google.com/p/socialauth-android. This SDK contains the Java libraries that do the heavy lifting of OAuth as well as the REST calls for each social provider. Extract the contents and we are all set.
Copy the libs/socialauth-android-2.5.jar and libs/socialauth4.2 jar into the libs folder of your application. If you have the latest Android Development Tools (ADT), jars will be automatically added to your build path. If not, you will need to manually add the jar files in build path. We recommend you upgrade to the latest ADT.
Copy the assets/oauth_consumer.properties file to the assets folder of your application. The file is used by the SDK for the API and secret keys. Replace the default entries with the keys generated by following the above steps.
Add android.permission.INTERNET and android.permission.ACCESS_NETWORK_STATE in manifest.
That is all you need to get started. The SDK .zip file also contains code samples which can help you go ahead with the coding.
Please see this link : enter link description here

does gradle uses a cacerts file other than the javavm's?

I am now behind a firewall that resigns every page with a different certificate. Work related. So every https access is now signed with a self(workplace)-signed-certificate.
As a result, a lot of software is broken.
Android studio lets you store certificates and use those, but gradle still complains.
Short of adding the certificate to the running javavm cacerts with keytool, is there a more gradle-specific solution? (it looks like gradle does not use android-studio's cacerts file)
I had no luck searching for it.
Gradle uses the cacerts file from the JVM, with which it was started (this may be another JVM than Android Studio uses, especially if Android Studio uses a packaged one). So just check the log output from the Gradle build, you should see at the beginning, which JVM it is using.

Blackberry Application Development by integrating code generated from MBO's in Sybase Unwired Platform

I am developing a simple Blackberry Application using Blackberry Plugins for Ecplise. I had created a MBO for Customer using the Customer table avaliable in the My Sample Database of Sybase Unwired Platform(version 1.5.2), and generated the codes for this MBO and added these Generated code to the src folder of my application in the Blackberry Plugin for Ecplise. Then added all the required .jar files and .cod files to the application. While running this application by choosing the Run as Blackberry Simulator, it is showing an error.
Error starting SUP101Sample: Module 'sup$2dclient$2drim' not found
Can you please help me, how to correct this error, and run the application?
Upgraded the Sybase Unwired Platform from 1.5.2 to 1.5.5.
Since I am using Sybase Unwired Platform of version 1.5.5, in order to access the code generated by this version I need to use Blackberry Plugin for Ecplise, which is having the JRE 5.0.0.
And in case of the .cod files we need to use sup_client_rim.cod and UltraLiteJ.cod for doing this.
This solves the problem.

Resources