Can an event be added to G1 Calendar from any other application?

by Neha » Tue, 14 Apr 2009 21:53:32 GMT


Sponsored Links
 HI,

I need to add an event from my Social Networking Client App on G1 to
the Calendar present on G1.

Calendar Service Provider, and Content Resolver needs to be used for
this purpose.

But the Calendar Service provider is not accessible using the
android.provider package.
Reference: http://developer.android.com/reference/android/provider/ 
package-summary.html

Is there any other method through which I can import Calendar
Provider/ is a jar file available for these classes that I can add to
my project ?

OR

Is there any other direct method to add event to the G1 native
Calendar database ???

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. About speech recognizer

hi all
   Does this ability is already provided now?

--~--~---------~--~----~------------~-------~--~----~

2. certificate ssl webservice keystore

Hi to all

I have a problem whit the keystore that android gave us. I am
developing an application using the debug.keystore file that permit us
use maps of google (I generate the apikey, and I can see the maps
correctly). But now I have to call a webservice whit security (https)
and I have to add a certificate to my keystore (the keystore of debug
mode). I add my certificate wich permit me call to my webservice but
when I call it the emulator fails and give me the next error:

12-11 12:46:09.406: WARN/System.err(195): javax.net.ssl.SSLException:
Not trusted server certificate
12-11 12:46:09.416: WARN/System.err(195):     at
org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake
(OpenSSLSocketImpl.java:353)
12-11 12:46:09.426: WARN/System.err(195):     at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection.getSecureSocket
(HttpConnection.java:167)
12-11 12:46:09.426: WARN/System.err(195):     at
org.apache.harmony.luni.internal.net.www.protocol.https.HttpsURLConnection
$HttpsEngine.connect(HttpsURLConnection.java:398)
12-11 12:46:09.436: WARN/System.err(195):     at
org.apache.harmony.luni.internal.net.www.protocol.https.HttpsURLConnection.connect
(HttpsURLConnection.java:146)
12-11 12:46:09.446: WARN/System.err(195):     at
org.ksoap2.transport.ServiceConnectionSE.connect(Unknown Source)
12-11 12:46:09.446: WARN/System.err(195):     at
org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:87)
12-11 12:46:09.446: WARN/System.err(195):     at
android.assistive.ws.ProblemsWS.sendForm(ProblemsWS.java:160)
12-11 12:46:09.446: WARN/System.err(195):     at
android.assistive.monitorizacion.FormularioToxicidad.run
(FormularioToxicidad.java:123)
12-11 12:46:09.446: WARN/System.err(195):     at java.lang.Thread.run
(Thread.java:935)
12-11 12:46:09.486: WARN/System.err(195): Caused by:
java.security.cert.CertificateException:
java.security.cert.CertPathValidatorException: TrustAnchor for
CertPath not found.
12-11 12:46:09.496: WARN/System.err(195):     at
org.apache.harmony.xnet.provider.jsse.TrustManagerImpl.checkServerTrusted
(TrustManagerImpl.java:158)
12-11 12:46:09.506: WARN/System.err(195):     at
org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake
(OpenSSLSocketImpl.java:349)
12-11 12:46:09.516: WARN/System.err(195):     ... 8 more
12-11 12:46:09.516: WARN/System.err(195): Caused by:
java.security.cert.CertPathValidatorException: TrustAnchor for
CertPath not found.
12-11 12:46:09.536: WARN/System.err(195):     at
org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi.engineValidate
(PKIXCertPathValidatorSpi.java:144)
12-11 12:46:09.546: WARN/System.err(195):     at
java.security.cert.CertPathValidator.validate(CertPathValidator.java:
153)
12-11 12:46:09.546: WARN/System.err(195):     at
org.apache.harmony.xnet.provider.jsse.TrustManagerImpl.checkServerTrusted
(TrustManagerImpl.java:154)
12-11 12:46:09.556: WARN/System.err(195):     ... 9 more


Could I do this with the keystore that android give us? Is not
possible add a certificate to this keystore?
Somebody has the same problem?

thanks
--~--~---------~--~----~------------~-------~--~----~

3. Device not found

4. Fix reboot on G1 connect?

5. i have two questions

6. my application wont even appear in the emulator

7. Folders on the Main Menu