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. Back doesn't work when WebView has launched the "real" browser

Hi, the code is really simple, just the standard launch of a local
webpage in the asset folder:

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        mWebView = (WebView) findViewById(R.id.webview);
        mWebView.getSettings().setJavaScriptEnabled(true);

        mWebView.loadUrl("file:///android_asset/index.html");
   }

For this test index.html just contains a link to an external site.
What I find is that the app shows this page in the WebView ok, the
user can select the link, and they are taken off to that site in the
"real" onboard android browser. But I want them to be able to press
the back button then and be taken back to my app - they are not, the
"real" browser just shuts down and they are left at the home screen.
When this happens on a G1 I find I can then long press the home button
and switch to my app as it was still running all along. I need this to
be automatic - what have I missed please?

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

2. Can I write apps for myself and not for android market?

Absolutely. Android allows you install apps on your own device and to
distribute them for anyone else to install on their device without
going through the Android Market. Your apps will have access to the
full set of capabilities that are exposed by the Android SDK, and do
not require any kind of approval or certification.

JBQ




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

3. New Android Book: Professional Android Application Development

4. about open source project

5. Anyway we can get a maps binary that works with the open source code?

6. StartSubActivity in view

7. How to debug the source code using Eclipse