Hi im trying to open notepad + write message on my android app which is connected through bluetooth to the computer using Listener (Visual Studio). The problem im facing is that my button doesnt open notepad and also when i type a message on the edittext box nothing sends.
Could you please help. Thank you. (Ive also attached an image of which shows my app also the 'Open Notepad' button which im struggling to get working and a 'text field' with 'send' button which im also struggling with. Basically im trying to 'Open Notepad' when im connected to the PC via bluetooth with a program on Visual Studio called Listener which listens to incoming commands and i want the write words into the 'text field' which writes it onto notepad with the help of the 'send' button.)
Note: Ive attached the code. Thank you i really appreciate your help and guidance.
Why did you open two threads for this?
Please supply the code in a plain.txt file ,opening it with my code editor gives me just garbage.
Related
Has anyone thought of writing a quick shell based virtual keyboard that would use the new virtual keyboard framework from cupcake? The idea being that if you were at a shell prompt all of your keystrokes would get sent to the new virtual keyboard interface as if you had typed them on the main G1 keyboard allowing the PC keystrokes to be forwarded to the foreground app on the screen.
I get frustrated when I am hacking on my phone and I have a shell connection setup through adb and then I click on the screen to activate an app which wants my input. Since my hands are usually better placed at this point to continue to type on the PC keyboard, I would rather not have to open the clunky G1 keyboard to type.
I was thinking that a simple shell app named 'kb' or even 'k' that could take stdin and pass it to the jvm via the new API would be ideal. Has anyone seen anything like this?
...perhaps I need to search for/get familiar with the new keyboard API docs.
already working on it, it's a little harder than it seems, but the two iof us working on it are also trying to use another program that gives us a pic of the screen while we play with the phone via the keyboard. if you know any java at all then you are more than welcome to help. the thread is in games and apps subforum and just search in there for computer app that controls phone.
edit: basically the terminal will allow one word or one character, no spaces. so to type hello world and send in a text message(which is why we are making the app) you would have to type
$adb shell
#input text hello
#input keyevent 26
#input text world
#input keyevent 66
i am pretty sure i remembered the correct mapping for the keys, but i could be wrong. i have the keys mapped in my other thread
Found your thread
OK, I found your thread. I see what you are trying to do, and I think it is more than what I am looking for. I am happy to use the G1 screen to display things (and to click on fields and what not,) but I would still like to be able to use my PC keyboard.
However, if I understand what you are saying, it looks like android already provides a minimal tool to do what I am looking for. I should be able to put together a quick little wrapper shell script that would make using this tool a lot easier and straight forward for typing. I will investigate the tool tonight and post my results here if I come up with something that helps.
We could merge our threads, but since I am looking for something slightly different than you are, I do not want to take away from your effort even if I post a tool which solves mine. After I solve my needs, I will look at your java code and see if I can help.
Thanks for the direction!
-Martin
Hello,
I'd like to ask for some expert help with editing the resources of the EXE file of a piece of software. The application's name is NetChanger, it's Japanese, and I am editing it using XN Resource Editor.
I am having the following problem: if I rename (from JP to EN) any item on an expandable menu or the label of a drop down box, the same will no longer open. When restored to its Japanese text, the drop down works as expected.
For anyone caring to take a look, please download and open attached file (only XN Resource viewer shows Japanese text normally, all other editors show ?????).
Example - the main menu, or tap "Register" > General Wireless (ticked) > Next -- on the screen that opens, if I edit anything on it, even not the label of a drop down box, but say the TCP/IP Settings button - none of the drop downs works anymore.
Note: simply place folder anywhere on your pocket and start the program, it will work.
Sorted
It seems XN Editor was causing the problems. So I worked with it to show me the Japanese text but made the changes in PE Explorer and the program was OK.
I have created an install file that will install the English version to the device, although some bits are still untranslated, while others I simply did not understand the meaning of, so it is just what the machine translation produced.
If anyone is interested, test it and let me know if you have any suggestions or comments.
The install file will show the Agreement garbled - just tap the LEFT button to agree.
It says something about a trial from 2006 until April 2009 - this could be the reason why the Connect / Disconnect buttons are greyed out, but otherwise it seems like a decent piece of software.
I have included a machine translated Help file in the ZIP - replace the file in Windows directory with it, if the JP file is installed there.
Hi,
My name is Thomas (21), I am student of computer engineering. Task at my school was to make a program that changing original SIP/SDP messages when using VoIP.
The task was hard, I admit to find help on the internet. I found SIP SDK that do the same. Check out if you like:
double v double v double v DOT voip-sip-sdk DOT com/p_223-sip-sdp-message-manipulator-sample-voip DOT html
Think that was great. But somehow I has to change it a little not to look like cheating. According to program (SIP SDK), can you giving me advice on this?
Or other ideas are welcome also.
Greetings to everyone
Hi everybody,
I would like to ask you if there is any way to search for a specific word(s) on any page, file or app that is open on the screen.
This feature exists in almost all Windows applications by pressing ctrl+f but unfortunately I have not found a similar way search for text on Android.
Do you have any ideas whether this feature is possible or not?
Thanks a lot!
Hi,
I am working on a coffeemaker that helps people diagnosed with dementia getting a bit of there independence back. It has to show the directions of the coffee making process. The coffeemaker has some sensors placed on it to register what steps have already been completed and has a arduino + bluetooth module for communication. I would like to build an app that makes it possible to show a particular page of the app>res>layout depending on what number it gets from the arduino. So basicly it should whent receives like a 4 from the arduino it should set the contentview to r.layout.4. I am a absolute noob at android programming and I have no clue where to start. I even cant get the Bluetooth connection to work. The arduino code is working so when I am using a android Bluetooth serial terminal I can communicate with the arduino.
So it has to fetch the data of the incoming bluetooth (serial) data and according to that data view a page on the app.
I am also able to create the layoutfiles with the desired text and pictures.
Do you guys have some tips and like a good tutorial for me or some help/advice?
I have looked at the android development pages but I simply cant get it to work.
Thank you in advance,
Marijnsp