Calendar fail to launch in Cupcake 1.5

by jerryfan2000 » Wed, 25 Mar 2009 01:33:27 GMT


Sponsored Links
 Hi,
Is there anyone know why Calendar in Cupcake 1.5 fails to launch? I
googled and found nothing about this issue. Is it. In addition, I got
some error msg with logcat saying superclass of
CalendarAppWidgetProvider was unable to resolve. However, I can't find
CalendarAppWidgetProvider class from source code nor can I find it by
googling the web at all. Hope someone can help. Thanks.

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



Other Threads

1. Open/View Pdf, Doc, Xls and Ppt files from Internal storage

I would like to open/view PDF/Doc files stored in internal storage
(i.e "file:///data/data/<package_name>/files/test.pdf")

Is there any way to generate Uri object for file stored in internale
storage
(i.e "file:///data/data/<package_name>/files/test.pdf")

Intent intent = new Intent(android.content.Intent.ACTION_VIEW);
Uri data = Uri.fromFile("file:///data/data/<package_name>/files/
test.pdf");
intent.setDataAndType(data, "application/pdf");
startActivity(intent);

-- 

2. ASK GIS Application

i'm developing a simple GIS map with database. but all i get is force
close error. can anyone help me correcting the code.  the main
activity look like this :

public class peta extends MapActivity
{

        private SQLiteDatabase db = null;
        private String longitude = null;
        private String latitude = null;
        private String TABLE_NAME = "datauniv";

    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);

        DataUniv datauniv = new DataUniv(this);
        db = datauniv.getWritableDatabase();
        datauniv.createTable(db);
        datauniv.generateData(db);

        setContentView(R.layout.main);

        MapView mapView = (MapView) findViewById(R.id.mapView);
        mapView.setBuiltInZoomControls(true);
        double lat = -6.2532592788520005;
        double lng = 106.853239291777;
        GeoPoint point = new GeoPoint((int) (lat *1E6),(int) (lng *
1E6));
        mapView.getController().animateTo(point);
        mapView.getController().setZoom(15);

        List<Overlay> mapOverlays = mapView.getOverlays();
        Drawable drawable =
this.getResources().getDrawable(R.drawable.marker);
        MapsOverlay itemizedoverlay = new MapsOverlay(drawable, this);


                Cursor cursor = db.query(TABLE_NAME, new String[] { latitude,
longitude },
                null, null, null, null, null);
        cursor.moveToFirst();

         //Log.i("Log", "Displaying markers through iteration");
        while (cursor.isAfterLast() == false) {
            lat = Double.parseDouble(cursor.getString(2));
            lng = Double.parseDouble(cursor.getString(3));
       //       Log.i("Points", lat + "     " + lng);
            point = new GeoPoint((int) (lat * 1E6), (int) (lng *
1E6));
            OverlayItem overlayitem = new OverlayItem(point, "", "");
            itemizedoverlay.addOverlay(overlayitem);
            mapOverlays.add(itemizedoverlay);
            cursor.moveToNext();
        }


    }

The complete project is in here :
http://www.mediafire.com/?94t1f9bm6ddmwt0

Thx before :)

-- 

3. Adb drivers for Windows XP

4. unit testing app widgets (AppWidgetProvider)

5. Android NDK with template<class T>

6. Emulator Stopped Working

7. Changing brightness after every "n" seconds