two nouns: Can it be used both as a camera and as a means....?
two verbs: ...both to take pictures and to communicate
In less careful writing though, and in speech, you're likely to find something like this: 'Can your cell phone be used to take pictures as well as as a means of communication'. Microsoft Word's grammar checker will object to the repeated word, but you can always turn that off.
Student or Learner