15,897,166 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Steve Krakov (Top 4 by date)
Steve Krakov
2-Jul-15 17:39pm
View
I have tried googling, searching through forum posts here and on Reddit and Stack Overflow for previous questions that relate to my own, and reading through the Google Android documentation.
So far, no luck. I still don't know what method might be able to log key strokes.
Do you know of any such method?
Steve Krakov
2-Jul-15 17:36pm
View
Sergey, I'm not sure what you're after. I will try to explain.
The problem is that I don't know what methods to research, so I am posting here and asking for advice. This is a place people go to for help.
Do you know what methods to research that might do what I described?
Steve Krakov
28-Jun-15 17:38pm
View
Thanks Sergey!
I have read this article on fampennings before and it's really thorough. It's a great resource.
However, I do already have a working keyboard now -- that's not the problem. Making the keyboard itself was pretty straightforward.
The problem I'm having is this: what kinds of methods would I start researching or trying, to log the actual keystrokes to a log file?
So far, my research has lead me to this conclusion: I should put the key logging code in the onKey method of the soft keyboard main java file. I have already added the commitText and sendKeyEvent methods within onKey -- those are necessary for base keyboard functionality.
Any ideas about what method to put in there, now, to log the keystrokes?
Steve Krakov
24-Jun-15 21:21pm
View
Thanks Afzaal.
So I'm in my sophomore year of college doing a double major in Computer Science and Psychology. My "post" is Junior Android Developer for the Psych department development team. So far, I've only made point fixes to existing code (plus I wrote a simple Android game that I converted over from a Java project from a CS course). This is only my second time making an app from the ground up, and my first time doing anything with the keyboard.
I've figured out what the onKey method does, and figured that I would add whatever it is I need to log the keys there. Within the onKey method, I'm already adding commitText and sendKeyEvent to send events to the external application. So I figured I'd have to put some method in there to similarly send the character to some log file, but I was looking for what method to use to write the character to a log file.