-
Notifications
You must be signed in to change notification settings - Fork 110
Message to place order for medicine automatically sends #175
Comments
@HimanshuS01 Yes, go ahead. |
@chhavip @yatna I have tried a lot but it seems that when we click the Send or Cancel button on the view confirmation dialog, it will send a message to its handler in its thread. But it seems that there is no way for capturing the click event(Send or Cancel) in the view confirmation dialog(i.e. generated automatically by android studio) .With reference to the below link: Instead of the current method that we are using, can we launch SMS application through intent ?as mentioned in the below link So what I am thinking that when the user clicks the message button in the Place Order dialog ,SMS application is launched through intent. @yatna @chhavip can I continue with the above approach? Thanks :) |
@HimanshuS01 |
startActivityForResult() method is basically used to send information from one activity to another and vice-versa. The android startActivityForResult method, requires a result from the second activity (activity to be invoked). Hey @free4murad but in our case we are not getting any result from second activity(i.e. SMS application) |
A gentle reminder . Thanks :) |
@yatna @chhavip @anubhakushwaha Please have a look :) |
Current Behaviour
When user going to place an order for medicines, orderMedicineDialog box is generated which shows two option->email and message.On clicking the message button the confirmation dialog is generated to either send the message or not.So if user select a cancel option or back pressed ,message sends automatically.
Expected Behaviour
Message(order should be placed) should only be send when user clicks the send button in confirmation dialog.
@chhavip @yatna @MeepyMay can I send PR?
Thanks.
The text was updated successfully, but these errors were encountered: