1. Ankit Jose's Avatar
    Hi! Can anyone tell me how to retrieve the name of the contact who sent me the last msg. I have somehow managed to retrieve the msg body and assign it to a variable using sqlite3 command. Now the name of the contact is left! Help pls!!!

    Posted via the Android Central App
    08-16-2015 06:32 AM
  2. srkmagnus's Avatar
    That's a good question. When you setup Tasker to read WhatsApp, long press the WhatsApp icon (via Tasker) and see if there are any options that pop-up. Often times you'll get a set of sub-menus to choose from. See if there is something in there related to the sender of a message.
    08-16-2015 09:40 AM
  3. Ankit Jose's Avatar
    No. I got the body of the body of the msg like this
    Start a new task
    Click add button
    Select command
    Select run shell
    Paste this command (without[])
    [sqlite3 /data/data/com.whatsapp/databases/msgstore.db "select data
    from messages WHERE key_from_me='0' ORDER BY _id DESC LIMIT 1;"]
    then give a name to the variable

    Posted via the Android Central App
    08-16-2015 09:58 AM

Similar Threads

  1. Notifications receiving late or not at all
    By gummyjelly in forum Samsung Galaxy S6 edge
    Replies: 9
    Last Post: 08-21-2015, 07:01 PM
  2. Replies: 1
    Last Post: 08-16-2015, 03:42 AM
  3. Why can't I open my Whatsapp group chat?
    By AC Question in forum Ask a Question
    Replies: 0
    Last Post: 08-15-2015, 10:09 PM
  4. How can I show message notifications on my Android 4.1.2(Verizon)?
    By AC Question in forum Android 4.1 / 4.2 / 4.3 Jelly Bean
    Replies: 0
    Last Post: 08-15-2015, 12:32 PM
  5. In nexus 4 camera app is synchronized with whatsapp ?
    By patel1001 in forum Ask a Question
    Replies: 0
    Last Post: 08-15-2015, 11:46 AM
LINK TO POST COPIED TO CLIPBOARD