TECHNICAL FIELD

The present disclosure relates to a method for transmitting a message and an electronic device thereof.

BACKGROUND

With the development of information, communication, and semiconductor technologies, electronic devices are now able to function as multimedia devices, which provide a variety of multimedia services. For example, electronic devices are now able to provide various multimedia services such as a message service, a broadcasting service, a wireless Internet service, a camera service, a music playback service, etc.

As the message service has developed from a Short Message Service (SMS) for transmitting a message of a simple text into a Long Message Service (LMS) for transmitting a message of a long text or a Multimedia Message Service (MMS) for transmitting a message including a multimedia file such as an image, a moving image, etc., the message service is able to provide various messenger services to users.

However, when the electronic device checks a received message, the electronic device displays the entire text of the received message on a display. Therefore, important information which has been received and transmitted using a message in the electronic device may be easily exposed to the outside. Accordingly, there exists a need for an improved apparatus and method for transmitting and receiving a message in an electronic device.

The above information is presented as background information only to assist with an understanding of the present disclosure. No determination has been made, and no assertion is made, as to whether any of the above might be applicable as prior art with regard to the present disclosure.

SUMMARY

Aspects of the present disclosure are to address at least the above-mentioned problems and/or disadvantages and to provide at least the advantages described below. Accordingly, an aspect of the present disclosure is to provide a method and apparatus for transmitting a message in an electronic device.

Another aspect of the present disclosure is to provide a method and apparatus for generating a message in which at least part of a text is hidden in an electronic device, and transmitting the message.

Another aspect of the present disclosure is to provide a method and apparatus for generating a message in which at least part of a text is hidden using a touch pen in an electronic device, and transmitting the message.

Another aspect of the present disclosure is to provide a method and apparatus for checking a message in which at least part of a text is hidden in an electronic device.

Another aspect of the present disclosure is to provide a method and apparatus for checking a message in which at least part of a text is hidden using a touch pen in an electronic device.

Another aspect of the present disclosure is to provide a method and apparatus for checking a message in which at least part of a text is hidden through user authentication in an electronic device.

Another aspect of the present disclosure is to provide a method and apparatus for limiting a number of times a message in which at least part of a text is hidden is checked in an electronic device.

In accordance with an aspect of the present disclosure, a method for transmitting a message in an electronic device is provided. The method includes displaying one or more hiding frames in an input message display area of a display, and transmitting a message including information on the hiding frame.

In accordance with another aspect of the present disclosure, a method for checking a message in an electronic device is provided. The method includes checking whether a message to be displayed on a display includes one or more hiding areas, and, when the message includes the one or more hiding areas, displaying on the display a message text except for a message text that is included in the one or more hiding areas.

In accordance with another aspect of the present disclosure, an electronic device is provided. The electronic device includes a display, and at least one processor, wherein the processor is configured to control to display one or more hiding frames in an input message display area of the display, and to transmit a message including information on the hiding frame.

In accordance with another aspect of the present disclosure, an electronic device is provided. The electronic device includes a display, and at least one processor, wherein, when a message to be displayed on the display includes one or more hiding areas, the processor is configured to control to display on the display a message text except for a message text that is included in the one or more hiding areas.

Other aspects, advantages, and salient features of the disclosure will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses various embodiments of the present disclosure.

