Breaking News
Home / admin (page 4)


Practice Flowcharts for Beginining Programmers

The following is the list of flowcharts a beginning programmer can practice to help build logic development skills. 1)  Write a program to print first N natural numbers 2) Write a program to compute sum of first N natural numbers. Ask the value of N from the user via command …

Read More »

How to get a list of Calendars names in Android?

Get a list of installed calendar in an Android device is relatively easy. This involves using the ContentResolver to query the installed calendars and get a handle to the Cursor for the same. Loop through the cursor to get the id and name for the Calendars. Cursor cursor; if (android.os.Build.VERSION.SDK_INT …

Read More »

Cannot get a list of Calendar in Android

Issue Getting a exception while trying to get a list of calendar in an Android device. 07-06 13:26:51.969: E/AndroidRuntime(19053): Caused by: java.lang.SecurityException: Permission Denial: reading uri content:// from pid=19053, uid=10206 requires android.permission.READ_CALENDAR, or grantUriPermission() 07-06 13:26:51.969: E/AndroidRuntime(19053):      at android.os.Parcel.readException( Solution The following permissions are required to read and write …

Read More »

How to initialize Yii for development environment?

mini:yii2 user$ pwd /Users/user/workspace/projects/web/root/yii2 mini:yii2 user$ cd apps/advanced/ mini:advanced user$ ls -lt total 80 -rw-r–r– 1 user staff 1622 May 21 21:47 -rw-r–r– 1 user staff 5616 May 21 21:47 drwxr-xr-x 11 user staff 374 May 21 21:47 backend drwxr-xr-x 7 user staff 238 May 21 21:47 common …

Read More »