How to distribute apk to Specific Screens with Icenium

5 posts, 0 answers
  1. Pearson
    Pearson avatar
    13 posts
    Member since:
    Dec 2012

    Posted 20 Mar 2013 Link to this post

    I want to upload multiple apks for multiple resolution in playstore. From the below link, I found that there is option by changing the <compatible-screens> element in AndroidManifest.xml. Is there any way in Icenium to achieve this or How can I change the android manifest file using Icenium?

    http://developer.android.com/guide/practices/screens-distribution.html
  2. Stefan Dobrev
    Admin
    Stefan Dobrev avatar
    790 posts

    Posted 20 Mar 2013 Link to this post

    Hello Pearson,

    Currently Icenium does not expose the AndroidManifest.xml for editing. We plan to enable this functionality in one of our next updates of the product. Till then you can manually edit this file from the compiled apk file as discussed in this forum thread.

     

    Greetings,
    Stefan Dobrev
    the Telerik team

    Share feedback and vote for features on our Feedback Portal.
    Want some Kendo UI online training - head over to Pluralsight.
  3. Pearson
    Pearson avatar
    13 posts
    Member since:
    Dec 2012

    Posted 21 Mar 2013 Link to this post

    Thanks for your response Stefan.
    Before going further or asking anything, I am really glad to know that Icenium has been selected as the Gold winner for the category “Best New Product of the Year”. I would like to congratulate Icenium team for this achievement and all the very best for all the future achievements of the team.

    As you said, if Icenium is having an option to edit the AndroidManifest.xml, that would be really great.
    I tried with an apk extracting tool to change the AndroidManifest and I was able to do everything with that tool. However, the problem was with signing the apk with the same signing identity. How can I sign the apk with the same code signing identity that was created with Icenium. 

    Since I am not familiar with Eclipse, could you please tell me if there are any tool to achieve this with the  .p12 downloaded while creating new code signing identity with Icenium. Please let me know, what to do if I lose that .p12 file. Is it possible to download it once again from Icenium?

  4. Stefan Dobrev
    Admin
    Stefan Dobrev avatar
    790 posts

    Posted 21 Mar 2013 Link to this post

    Hello Pearson,

    First of all thank you for your kind words about Icenium. I'm sending you greetings on behalf of my colleagues as well as wish you many more apps developed with Icenium. Now onto your question.

    In order to sign the apk file with the certificate used in Icenium you should first export the certificate from Icenium Graphite. Go to Options -> General -> Certificate Management. Select the certificate you want to use and click Export. The system will ask you for a password so you should enter one. Having entered you will be given option to save the certificate as p12 on your local drive.

    Next you need to run the jarsigner tool against your apk file using the exported certificate. Usually the jarsigner.exe  can be found in the folder of your local JDK installation (if you don't have the JDK installed you should do so). Here is the command line you have to execute to sign the apk:

    jarsigner -storetype pkcs12 -keystore path_to_exported_cert\MyCert.p12 path_to_exported_cert\app.apk MyCertAllias

    The jarsigner tool will ask you for a password and you should provide the one entered while exporting the certificate store. Please pay attention to the last passed argument - it should be the alias for your certificate in the p12 file.

    If you happen to lose the p12 file or forgot the password you can always export it from Icenium Graphite.

     

    Hope this helps,
    Stefan Dobrev
    the Telerik team

    Share feedback and vote for features on our Feedback Portal.
    Want some Kendo UI online training - head over to Pluralsight.
  5. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 05 Jul 2013 Link to this post

    Hello Pearson,

    You no longer need to disassemble and re-assign manually your apps in order to make a configuration change. In Icenium 1.6 we've added the ability to make configuration changes to your app by modifying the respective Info.plist and config.xml for iOS and AndroidManifest.xml and config.xml for Android directly in the Icenium code editor. For more information, see Edit Configuration Files.

    Regards,
    Steve
    Telerik

    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Missed our first webinar, watch it here.
    Share feedback and vote for features on our Feedback Portal.
Back to Top