Thursday, August 13, 2015

Convert Android apps to chrome apps

There is chrome app called ARC Builder it wraps the APK and turns it into a Chrome app.

Here is the link to the ARC Builder

https://goo.gl/qdTXIc

Tuesday, August 11, 2015

Create a p12 file


openssl pkcs12 -export -out clientp12.p12 -inkey clientkey.pem -in clientcert.pem -certfile ca.pem

decode a base64 encoded file


openssl base64 -d -in -out

example

openssl base64 -d -in ca_base64.crt -out ca.crt

Create p12 file using openssl

 openssl pkcs12 -export -out client.p12 -inkey clientkey.key -in client.crt

-certfile ca.crt

or

 openssl pkcs12 -export -out client.p12 -inkey clientkey.pem -in client.pem

-certfile ca.pem

when it asks password give it and it will ask again to verify it and give it





Monday, August 10, 2015

Check if a p12 is valid


openssl pkcs12 -in client.p12 -nodes -passin pass:"password of p12" | openssl x509 -noout -subject

Friday, July 24, 2015

JSONWP

This specification is designed to extend the [JSON Wire
Protocol](https://code.google.com/p/selenium/wiki/JsonWireProtocol) (JSONWP),
a W3C working draft for web browser automation. The JSONWP has been greatly
successful for that purpose. The need for automation of native and hybrid
mobile applications can be met by the extension of the JSONWP, which already
has a proven basic automation framework (architecture, interaction model,
etc...).

Sunday, July 19, 2015

App thinning in iOS

This feature is about to change app delivery and installation.

Before App thinning uses were given package of the apps including some resources and binaries that were not going to be used on their devices.

App thinning uses the three ways to improve app delivery and installation.

Slicing:
Using image assets in Xcode will allow App Store to create a specialized app bundle including only the assets that fit the users device.It will also only include architecture specific binary in that binary such as 32 or 64 bit.

Note:
Put artwork in the asset catalog and tag it for individual platforms..other than that everything is same appstore will take care of compiling and giving the device specific things while installing.

On Demand Resources:
Developers will now able to host additional content in the App-store and the app can fetch some resources only when needed.

Note:
We have to assign tags to different chunks of code and these things will be downloaded when needed….If OS wants to make free space these things will be purged and dowloaded when needed from app-store
Developer will have the permission to say which tagged thing should be deleted first if OS needs to purge and developer will be able to specify what code is needed for first time launch.


BitCode:
Apps now can be submitted as LLVM Bitcode(intermediate language) instead of native executables and AppStore will take care of comipiling to native binaries.

Note:
Its by default on in iOS and can be optional to iOS apps but Mandatory in iwatch apps
LLVM -> Low Level Virtual Machine...A compiler that has the ability to act as JIT(Just in Time)