API to Install Certificate

by jimi » Thu, 21 Oct 2010 15:45:51 GMT


Sponsored Links
 Hi All,
  Is there any API to install CA Certificates(.cer or .p12 files) from
File System/SD card.
  I am able to do it manually but i would like to automate the same
via a Widget that will Browse SD card for certificates and Install
them on selection.


Thanks and Regards,
Jimi<Shashi Kiran G M>




--



Other Threads

1. Is there any way to hide a dialog yet have it remain active?

I don't think there is any way to disassociate the voice input dialog
in the voice recognizer, but maybe there is a way to hide it behind an
Activity so that it is still active and receiving voice commands?

In short, what I want is the user to be presented with something other
than the voice input dialog (it's the one with the words "Speak now"
and a little microphone) yet have the voice recognition routine
continue to execute.

Can this be done?

-- 

2. Creating a trial version

I'm getting requests for a trial version of my app. Assume for the
moment that I'm not concerned with piracy (I have other mechanisms in
place to defeat that).

One approach that occurs to me is upon first launch of the app I write
the date into the shared preferences database. Let's call it the
"incept date" like in the movie Blade Runner. Then each subsequent
launch checks the stored date against the current date. If trial
period has expired, it pops up a Market purchase screen for the non-
trial version of the app. The problem with this, I believe, is that
clearing the application data from the application management screen
will also clear the saved date in the shared preferences.

A slightly more heavy-weight (and intrusive) option is to write the
user account name to web storage, along with the incept date on first
launch. Then the app can check there to see if the trial has expired
for that account name. The web storage could be set up to be write-
only from the app so even a clever snooper wouldn't be able to undo
it.

This starts to sound a lot like the existing Android Market server-
based licensing infrastructure and it occurs to me that Google could
make this a lot easier for all of us by providing some simple hooks to
offer trial versions.

Anyway, I'm interested to hear how others are offering trial versions.

-- 

3. Equivalent to dialog display iniitiated from a service

4. Ask: testimoni Barry Abdul?

5. Android Market - I now understand

6. Pirate Sites

7. Network connection with libcurl/ping