Does "mean" mean the same thing in these two sentences?

I mean to go to Baddeck this summer.

I mean no harm.
the same meaning