A little question about Android Development

Hi experts,

I'm looking into the possibility of extending the stock calendar functionality in Android. I was hoping that there would be a simple way to just extending what is currently there, is this possible or do I have to create a new complete calendar app with the new functionality?

Any help (or examples) would be appreciated,

Regards,
eX.
Gaute RønningenOwner, DeveloperAsked:
Who is Participating?
 
alexey_gusevCommented:
you have few alternatives:

- have a look at the code under <sdk_folder>\souurces\android-<xx> , find DatePicker or CalendarView (from API level 11 onwards) or anything you like, grab the code, modify it and go from there (eg inherit)
- develop your own custom widget (see http://developer.android.com/guide/topics/ui/custom-components.html)
- download and have a look at http://blog.codeus.net/dateslider-1-0-an-alternative-datepicker-for-android/ - this is a great library
0
 
Gaute RønningenOwner, DeveloperAuthor Commented:
Sorry for late reply. Couldn't find a way to override built-in features without writing an entire rewrite of the app. So giving up the idea. Thanks for replying any ways.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.