Many Japanese railroad companies remind passengers through announcements and posters in their trains that refraining from talking on mobile phones is good manners. In addition, passengers are asked to set their mobile phones to silent mode and to turn them off when in crowded areas near priority seats.
Trains are used by many people, so you should be considerate of those around you and refrain from talking on a mobile phone in the train.