Patent ID: 9733735
Date: 2017-08-15
CPC Classifications: G06F,G06Q

Claim:
1. A method for providing an advertisement in an electronic device comprising: confirming, by a processor of the electronic device, whether an electronic device operates in a touch pen use mode or a normal mode, wherein the touch pen use mode is a mode for detecting a touch event using a touch pen and the normal mode is a mode for detecting a touch event using a user's hand; controlling, by the processor, a communication module to transmit a signal for requesting a touch pen based banner in response to confirming that the electronic device operates in the touch pen use mode; receiving, by the communication module, a touch pen based banner from a server; operating the touch pen based banner in response to detection of a touch on the touch pen based banner by a touch pen, wherein the touch pen based banner is a banner including a screen for receiving a user input using the touch pen; controlling, by the processor, the communication module to transmit signal for requesting a normal banner in response to confirming that the electronic device operates in the normal mode; receiving, by the communication module, the normal banner from the server; switching a first screen including the normal banner to a second screen including the advertisement in response to detection of a touch on the normal banner; and displaying the second screen, wherein the second screen includes an advertisement corresponding to the normal banner.