Yes, according to my grammar book continue + ing is used for the continuation of an activity and continue + infinitive is used for a change to a new activity.
Ex : She went on talking about her illness for hours. Then she went on to talk about her other problems.
Any other explanations?