Android Open Handset Developers Community

 
Guest Announcements

:arrow: Welcome: you are not yet registered; you can register here.
:arrow: A new forum on the new HTC Magic is available here.

It is currently Sun May 20, 2012 5:13 pm

All times are UTC


 Topics   Replies   Views   Last post 
No new posts Rip Blu-ray video to Blackberry Playbook

by alex6699 on Fri Nov 26, 2010 2:56 am in Relaxing Lounge

0

249

Fri Nov 26, 2010 2:56 am

alex6699

No new posts A calls Blocker Software for Windows Mobile

by tingelsky on Tue Nov 16, 2010 7:08 am in Relaxing Lounge

0

160

Tue Nov 16, 2010 7:08 am

tingelsky

No new posts android ksoap2 Caused by: java.lang.RuntimeException: Cannot

by mindus on Thu Sep 30, 2010 6:07 am in Beginner level ANDROID developing issues

0

215

Thu Sep 30, 2010 6:07 am

mindus

No new posts Create a pdf file dynamically

by mindus on Wed Sep 22, 2010 8:47 am in Beginner level ANDROID developing issues

0

116

Wed Sep 22, 2010 8:47 am

mindus

No new posts How can I backup my mobile contacts to my pc?

by weibin.li on Tue Aug 10, 2010 7:28 am in Relaxing Lounge

1

170

Tue Aug 10, 2010 7:28 am

weibin.li




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Signing applications...
PostPosted: Thu Sep 18, 2008 10:45 am 
Offline

Joined: Thu Dec 27, 2007 2:12 pm
Posts: 36
Hi all,
I have just realized that the 0.9-beta Android SDK requires all the applications to be signed in order to work on the emulator.
I discovered this issue because the platform refuses to install my app when compiled in release mode. The strange thing is that everything works well without any specific action from my side when I compile my code in debug mode and I test it via Eclipse.

The possibility to install and run my application in debug mode let me suppose that it is possible to generate temporary digital certificates "on the fly" without going crazy :mrgreen: Is it correct ? How can I solve this issue in releasse mode ?

Thanks


Top
 Profile  
 
 Post subject: Re: Signing applications...
PostPosted: Thu Sep 18, 2008 10:59 am 
Offline

Joined: Thu Dec 27, 2007 2:12 pm
Posts: 36
OK, let me give an answer to myself... :mrgreen:

I have found the appropriate instructions for the signature issue in the "Develop & Debug" chapter on Google's site:

Quote:
Signing in Eclipse/ADT
If you are developing in Eclipse and have set up Keytool as described above, signing in debug mode is enabled by default. When you run or debug your app, ADT signs the .apk for you and installs it on the emulator. No specific action on your part is needed, provided ADT has access to Keytool.

This was exactly my experience :mrgreen:: everithing works transparently in debug mode.


Quote:
To compile your application in release mode, right-click the project in the Package pane and select Android Tools > Export Application Package.

This was the point... :evil: OK now I know... :lol:

Keep in mind also this important things:
Quote:
The important points to understand about signing Android applications are:
- All applications must be signed. The system will not install an application that is not signed.
- You can use self-signed certificates to sign your applications.
- No certificate authority is needed.
- The system tests a signer certificate's expiration date only at install time. If an application's signer certificate expires after the application is installed, the application will continue to function normally.
- You can use standard tools — Keytool and Jarsigner — to generate keys and sign your application .apk files.


Thanks Google for the "free authority" approach: mine is an hobby, not a professional activity and I definitely have not much money to waste... :oops:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Topic Tags

application, code, debug, Eclipse, release, SDK, signing


All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
phpBB SEO

This site is not affiliated with nor endorsed by the Open Handset Alliance.
All trademarks and logos used in this site are of properties of their respective owners.