Questions tagged [message]

For questions regarding Facebook messages, JavaScript messages, mobile messages (Android, iOS, windows-phone), etc. Not for use for error messages. Include additional tags to indicate messaging platform, programming language, etc.

Questions about sending and receiving messages of any kind. As this tag is vague, use a more specific tag instead if possible. For example, most questions about Facebook messages should have the tag for the programming language, , and possibly a tag for the API or framework you're using. If your question is about a , an , a window, a , an , … then use the appropriate tag instead. Do not use this tag (or any tag) to indicate that you tried something and got an error message.

3369 questions
51
votes
4 answers

Updating GUI: Runnables vs Messages

To update the GUI from other threads, there are basically two main approaches: Use java.lang.Runnable with any of these methods: Activity.runOnUiThread(Runnable) View.post(Runnable) View.postDelayed(Runnable, long) Handler.post(Runnable) Use…
Mister Smith
  • 24,695
  • 17
  • 97
  • 181
44
votes
9 answers

Get all messages from Whatsapp

I'm trying to implement an app that will show in a textview all the messages received from Whatsapp. Is there any way to do it? Is it possible to extract all the messages from Whatsapp?
user1141833
  • 459
  • 1
  • 5
  • 4
41
votes
4 answers

Ruby on Rails i18n - Want To Translate Custom Messages in Models

I have attributes with special validation where I use the message clause to display a special message just for that validation. Here is one example: validates :email, presence: true, length: { maximum: 60 }, format: { with:…
39
votes
16 answers

Getting rid of "There is no source code available for the current location."

OK, this is my own fault, but I can't seem to rescue myself. Whenever I try to step into a class that has fields with assignments calling into .NET code, I get a dialog box that contains the text "There is no source code available for the current…
Lasse V. Karlsen
  • 350,178
  • 94
  • 582
  • 779
39
votes
1 answer

Vim: Showing an error message from a Vim Script

I am trying to show an error message in a Vim script: function! Foo() " ... endfunction au BufWritePost *.py silent call Foo() The "throw" keyword works, but is probably not the right way to do this. I found references to "echomsg", but this…
knipknap
  • 5,182
  • 5
  • 34
  • 40
38
votes
1 answer

Chrome extension: Get current tab from popup

I'm writing a Chrome extension and, in one part of it, I need to get the current tab's title and URL when a button on the popup page is clicked. I've worked with Chrome's message passing system before and, after much effort, managed to get it to…
mythofechelon
  • 3,392
  • 9
  • 34
  • 41
37
votes
1 answer

How to move multiple messages in mutt

Before all of my messages were in one maildir. Now I want move all arch-general mail to another one. From here, I see: "move" as we know it from other places is "save" in mutt. "save" as we know it from other places is "copy" in mutt. ~e EXPR …
Paul Yin
  • 1,625
  • 2
  • 13
  • 19
35
votes
4 answers

Exception message (Python 2.6)

In Python, if I open a binary file that doesn't exist, the program exits with an error and prints: Traceback (most recent call last): File "C:\Python_tests\Exception_Handling\src\exception_handling.py", line 4, in pkl_file =…
Aleš Kancilija
  • 854
  • 2
  • 10
  • 19
34
votes
11 answers

Get MD5 String from Message Digest

I understand how it works but if I want to print out the MD5 as String how would I do that? public static void getMD5(String fileName) throws Exception{ InputStream input = new FileInputStream(fileName); byte[] buffer = new byte[1024]; …
Tom
  • 685
  • 2
  • 8
  • 8
34
votes
4 answers

How to send an email through iOS simulator?

I want to know if it's possible to send email through iPhone simulator. I have seen the tutorial for sending an email through iphone as below: http://www.edumobile.org/iphone/iphone-programming-tutorials/compose-mail-application-in-iphone/ Now to…
nehal
  • 614
  • 1
  • 13
  • 26
31
votes
4 answers

showing a status message in R

I'd like to write a function that presents to the user a status message that shows something like the time, the percent complete, and the current status of a process. I can handle assembling the message, but I'd like to do something other than just…
JD Long
  • 55,115
  • 51
  • 188
  • 278
31
votes
6 answers

Program Download - IE CHROME - "is not commonly downloaded and could be dangerous."

I have an installer for my C# program, I uploaded it to my website, but whenever I try to download it in chrome or IE, I get "MY FILE* is not commonly downloaded and could be dangerous." You can only keep it if you click a tiny arrow and choose…
msbg
  • 4,414
  • 10
  • 41
  • 71
30
votes
8 answers

socket.io private message

I've beeen scouring the Net with no luck. I'm trying to figure out how to send a private message from one user to another. There are lots of snippets, but I'm not sure about the client/server interaction. If I have the ID of the socket I want to…
Trevor Newhook
  • 837
  • 1
  • 10
  • 25
29
votes
5 answers

Read skype message archive

I would like to read my skype message archive outside of the Skype app. And be able to export it in some sort (other than copy-paste it from my messages) as far i can figure skype only provides 30 days or archives. Any one out there using an app for…
Mike
  • 945
  • 4
  • 14
  • 24
28
votes
1 answer

Can I add a message/note/comment when creating a new branch in Git?

I'm doing some exploratory work where I will most likely be spending 30 min on several different variations of the same task. I want to track them in git so I can jump back and forth between approaches. And if there are 3 or 6 or 9 branches, I…
doub1ejack
  • 9,047
  • 15
  • 60
  • 110