‘-을까/ㄹ까 하다’ is used to show an intention or plan of the speaker. It also shows that the speakers intention or plan is still under consideration and can change.
● 일본어를 배울까 해요. (I am thinking of learning Japanese.)
● 내일은 청바지를 입을까 해요. (I am thinking of wearing blue jeans tomorrow.)