Author Topic: JOnScreenKeyboard  (Read 1701 times)

0 Members and 1 Guest are viewing this topic.

Offline parad0x

  • VIP
  • Royal Highness
  • *
  • Posts: 638
  • Cookies: 118
    • View Profile
JOnScreenKeyboard
« on: September 13, 2013, 04:34:17 pm »
Guys, I am working on a project (actually am gonna start this in few days;)) and that is a Java On Screen Keyboard like that one which comes in built in windows but I need some help as I don't know how to make it write that character in a window in which text is to be written.


Please help me out guys.

Offline kenjoe41

  • Symphorophiliac Programmer
  • Administrator
  • Baron
  • *
  • Posts: 990
  • Cookies: 224
    • View Profile
Re: JOnScreenKeyboard
« Reply #1 on: September 13, 2013, 05:15:00 pm »
I personally have never tried this and i hope you have some background in the winapi cos am sure you are gonna need alot of it. On that case, you might wanna look at this C++ code of the ame implementationof an OnScreen keyboard.

Maybe this article will give an insight, http://www.codeproject.com/Articles/32563/Virtual-On-Screen-Keyboard-Example
If you can't explain it to a 6 year old, you don't understand it yourself.
http://upload.alpha.evilzone.org/index.php?page=img&img=GwkGGneGR7Pl222zVGmNTjerkhkYNGtBuiYXkpyNv4ScOAWQu0-Y8[<NgGw/hsq]>EvbQrOrousk[/img]

Offline parad0x

  • VIP
  • Royal Highness
  • *
  • Posts: 638
  • Cookies: 118
    • View Profile
Re: JOnScreenKeyboard
« Reply #2 on: September 13, 2013, 05:42:40 pm »
I personally have never tried this and i hope you have some background in the winapi cos am sure you are gonna need alot of it. On that case, you might wanna look at this C++ code of the ame implementationof an OnScreen keyboard.

Maybe this article will give an insight, http://www.codeproject.com/Articles/32563/Virtual-On-Screen-Keyboard-Example


Thanks for that article dude but I am coding this in Java not in C++.

Offline vezzy

  • Royal Highness
  • ****
  • Posts: 771
  • Cookies: 172
    • View Profile
Re: JOnScreenKeyboard
« Reply #3 on: September 13, 2013, 05:49:23 pm »
The C++ version should still give you an idea on how to do it.

This is also a pretty loaded question, and not exactly hard to figure out yourself.

Finally: http://harmful.cat-v.org/software/java
Quote from: Dippy hippy
Just brushing though. I will be semi active mainly came to find a HQ botnet, like THOR or just any p2p botnet

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: JOnScreenKeyboard
« Reply #4 on: September 13, 2013, 05:52:51 pm »
You don't need WinAPI to send keystrokes to the system where an active window receives the signal. Shouldn't be too hard to do... Try searching for "sending letters to application" or something similar. Because what you want to do is send keystrokes to an active application when a button with that letter is pressed.

@vezzy: I don't understand why java is such a hated language, I like it.. For android dev it's a #1 choice for any android app dev.
« Last Edit: September 13, 2013, 05:55:11 pm by Kulverstukas »

Offline parad0x

  • VIP
  • Royal Highness
  • *
  • Posts: 638
  • Cookies: 118
    • View Profile
Re: JOnScreenKeyboard
« Reply #5 on: September 13, 2013, 06:00:41 pm »
Finally: http://harmful.cat-v.org/software/java


Actually, its a school project and I want to get full marks in the project. If I got full marks, I'll be able to get admission in a university( having pretty good repo. ;) )
« Last Edit: September 13, 2013, 06:01:09 pm by parad0x »

Offline vezzy

  • Royal Highness
  • ****
  • Posts: 771
  • Cookies: 172
    • View Profile
Re: JOnScreenKeyboard
« Reply #6 on: September 13, 2013, 06:01:53 pm »
For android dev it's a #1 choice for any android app dev.

No shit. It's the default and officially supported language, the only one you can get full access to the APIs with. Otherwise you have to battle with third-party libraries.

That's like saying "For iOS dev Objective-C it's a #1 choice for any iOS app dev."

It could be COBOL, for all you know.

@parad0x: All the more reason to do this yourself. Be glad they aren't still teaching you Pascal. I don't think higher education will necessarily save you, though.
Quote from: Dippy hippy
Just brushing though. I will be semi active mainly came to find a HQ botnet, like THOR or just any p2p botnet

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: JOnScreenKeyboard
« Reply #7 on: September 13, 2013, 06:26:39 pm »
You don't need WinAPI to send keystrokes to the system where an active window receives the signal. Shouldn't be too hard to do... Try searching for "sending letters to application" or something similar. Because what you want to do is send keystrokes to an active application when a button with that letter is pressed.

@vezzy: I don't understand why java is such a hated language, I like it.. For android dev it's a #1 choice for any android app dev.

And its not verry effective, I know its all coded in java but its such a bloody waste of CPU cycles.
Running something like C or C++ would achive much higher performance on such low powered devices.
Its like a suzuki pulling a caravan.
« Last Edit: September 13, 2013, 06:27:22 pm by proxx »
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline Deque

  • P.I.N.N.
  • Global Moderator
  • Overlord
  • *
  • Posts: 1203
  • Cookies: 518
  • Programmer, Malware Analyst
    • View Profile
Re: JOnScreenKeyboard
« Reply #8 on: September 13, 2013, 07:47:38 pm »

Offline parad0x

  • VIP
  • Royal Highness
  • *
  • Posts: 638
  • Cookies: 118
    • View Profile
Re: JOnScreenKeyboard
« Reply #9 on: September 14, 2013, 05:54:51 am »
And its not verry effective, I know its all coded in java but its such a bloody waste of CPU cycles.
Running something like C or C++ would achive much higher performance on such low powered devices.
Its like a suzuki pulling a caravan.
proxx, I have stated that its a school project. Since they teach us Java in school therefore we have to write projects in Java.


Thank you Deque for your help. I think now I can write it without a problem. +1 for you.
« Last Edit: September 14, 2013, 06:09:13 am by parad0x »

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: JOnScreenKeyboard
« Reply #10 on: September 14, 2013, 10:53:33 am »
proxx, I have stated that its a school project. Since they teach us Java in school therefore we have to write projects in Java.


Thank you Deque for your help. I think now I can write it without a problem. +1 for you.

That I understand, im not arguing with it and its fine.
I was just stating that having java run on smartphones is kinda silly when you think about it.
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage