This is a migrated thread and some comments may be shown as answers.

How to distribute apk to Specific Screens with Icenium

4 Answers 45 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pearson
Top achievements
Rank 1
Pearson asked on 20 Mar 2013, 09:01 AM
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

4 Answers, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 20 Mar 2013, 10:35 AM
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.
0
Pearson
Top achievements
Rank 1
answered on 21 Mar 2013, 06:14 AM
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?

0
Stefan Dobrev
Telerik team
answered on 21 Mar 2013, 02:49 PM
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.
0
Steve
Telerik team
answered on 05 Jul 2013, 11:12 AM
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.
Tags
Report a bug
Asked by
Pearson
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Pearson
Top achievements
Rank 1
Steve
Telerik team
Share this question
or