The hotspots login puts an icon in the bottom tray. Now that I'm using wm5newmenu instead of phm_traylaunch, I would like to eliminate the tray. Still, it would be nice to be able to run the automatic hotspot login, but I can't seem to make this work unless I can run the /windows/tmwispserv.dll.
Ideally, I would like to be able to click on a .lnk that loads the dll, so that I can then automatically connect to hotspots. It is fine if this doesn't go away until I do a soft reset.
How do I run a dll? What is the program number that seems to be required (judging from one user that said
rundll32.exe /windows/tmwispserv.dll,YYY
where YYY is the number of the program, is the correct syntax.
What you're calling the "program number" is actually the name (or ordinal number) of a function exported by the DLL in question. Do you know what function you need to call? If not, you'll need to find out somehow.
I am having very very poor accuracy with MS Voice Command opening the correct program when I tell it to. For example, "Open Program Word" opens consistently gives me a box titled Questions, with info about what MemMaid reclaimed. "Open Program Excel", and it want's to call one of my contacts. It has worked in the past.
I have never had this work: "Play Genra <whatever genre>" It alwasy says "What Genre?" and starts listing them.
Anyone else have better luck with music? Any thoughts on my programs?
I'm thinking I need to reinstall. If I do, do you reckon I need to do the registry tweaks again?
ewingr said:
I am having very very poor accuracy with MS Voice Command opening the correct program when I tell it to. For example, "Open Program Word" opens consistently gives me a box titled Questions, with info about what MemMaid reclaimed. "Open Program Excel", and it want's to call one of my contacts. It has worked in the past.
I have never had this work: "Play Genra <whatever genre>" It alwasy says "What Genre?" and starts listing them.
Anyone else have better luck with music? Any thoughts on my programs?
I'm thinking I need to reinstall. If I do, do you reckon I need to do the registry tweaks again?
Click to expand...
Click to collapse
have none of the problems you are having.... When I voice command to open a certain program, all I say is "Open Word" or Open "Excel" or "Open NotePad". I do not say "Open Program word"
In order for you to voice command a music profile, you must have had the music files stored as play lists that corresponds to Genre for example or Artist, or song title.
Doh! I had a brain fart. I was looking at the command 'tutorials' on Microsoft, and they say to say "Open program". So, I said "Open Program Word". Duh...Thanks, I got it now.
Regarding the music, I don't have all albums in Playlists, but I do have Genre's set in the tags. So, it should work.
And guess what...same problem. I've been saying "Play genra Jazz" instead of "Play Jazz".
OK. I"m on the road !
Thanks.
[edit]
Actually the MS Tutorial says to say "Play Genre Name". Anyway, the correct method is "Play Jazz".
i know we have a few applications that allow us to use our phone's screen and keyboard to control our computer, and while it is cool, it's just not something that i have a use for currently. i was wondering if there were any apps that you know of that allow me to have a window on my comp that is my home screen on my phone and control things on the phone from the comp. i hate when i am working on my themes and i get 100 texts and i have to go from using the comp it using the phone and back and forth. WM had several apps like that and i loved them when i was running windows but now i run linux(ubuntu 8.10) and i would love to be able to type texts and run apps on my phone while using the computer keyboard.
i have looked through the market and can't seem to find anything on there and i was hoping someone could point me to one elsewhere or if i missed one on the market. thanks in advance
That would be cool. A VNC Server has already been ported to iPhone, so it's probably not too difficult for someone who knows what they're doing (i.e, not me =P)
It would definitely be great to be able to type text messages and whatnot using the computer's keyboard and screen instead of that tiny little G1 keyboard.
or if there are some commands i can run from adb shell that would work too, all i have been able to figure out how to do is play an mp3 on the phone by typing the command. cool but not what i would like.
alright, for those that care i have figured out how to start an app on the phone by using the adb shell commands, and i can even start to compose a text if i do it correctly
to start the messaging app you need to type in the adb shell(or android terminal but the point is to be able to do it from the comp
adb shell
am start -a android.intent.action.MAIN -n com.android.mms/com.android.mms.ui.ConversationList
the above line brings up the conversation list to allow you to choose a list, but i have yet to figure out how to atually pick a convo from that page
to bring up the compose message to start a new text type in the following
am start -a android.intent.action.MAIN -n com.android.mms/com.android.mms.ui.ComposeMessageActivity
from there i can input the number to send the message to but not what i want the text to say,
input text <string> #that inputs a single word and no more after the word text
so if i were to type
'input text hello android' my phone would act as if i had just typed hello, this also works on the home screen to search your contacts. i am working on in[utting more than one word and also choosing your conversation from the comp
Cool! nice progress. Maybe other Android intents can be used...
progress
i know i can start any app by knowing the commands for it now and typing it in. but for right now my main concern is getting a multi word string to appear in the text box. if i can get that then i just need to figure out how to attach "input keyevent 66" to it as well so it runs cleanly. key 66 is the enter key and i figured out several others along the way but i will list them later. i pulled the input file from the /system/bin directory and maybe someone else should have a look at it and figure out how to acheive multi word texts without placing "_" between all the words, cause right now that's where i'm at. i'm attaching the file for the guru's to take a look at. obviously it isn't saved as a .txt file on the phone but that's how i uploaded it to here.
CALLING THE ANDROID GURU'S TAKE A LOOK AT THIS
Cool. Once you figure out a bunch of commands, I could try making a user interface for it as a project...
just wanna drop this lines here, there is an app from motorola MPT Motorola Phone tools, and it does all that you want and more, the phone can be connected to the pc via USB or Bluetooth... you can send receive msg, phone calls, see and edit contacts, drop images, ringtones browse the files etc
juangil said:
just wanna drop this lines here, there is an app from motorola MPT Motorola Phone tools, and it does all that you want and more, the phone can be connected to the pc via USB or Bluetooth... you can send receive msg, phone calls, see and edit contacts, drop images, ringtones browse the files etc
Click to expand...
Click to collapse
Im not sure if you know that your posting in a forum dedicated to the G1/android but MPT supports, as the name would suggest, motorola phones only.
juangil said:
just wanna drop this lines here, there is an app from motorola MPT Motorola Phone tools, and it does all that you want and more, the phone can be connected to the pc via USB or Bluetooth... you can send receive msg, phone calls, see and edit contacts, drop images, ringtones browse the files etc
Click to expand...
Click to collapse
does said program work with the G1? i can't imagine moto being nice and making a program that works for everyone else's phone
kp126 said:
Im not sure if you know that your posting in a forum dedicated to the G1/android but MPT supports, as the name would suggest, motorola phones only.
Click to expand...
Click to collapse
yeah I know, my bad.. just wanted to put an example of an app (that of course is only for motorola) for any1 wanting to do something like it
i know there's several out there for different phones, but nothing for android. hell i'd be satisfied if i could just have the emulator read from my phone and let me control it that way. right now i don't like what i have to do to send a text
input text hello
input keyevent 62
input text android
input keyevent 66
that is a whole lot of typing for a simple text that says "hello android" and then sends it
would it be possible to write a program that takes what you type and breaks it into one word or one letter segments and runs the proper keyevent for each charecter there?
from what i remember of my programming in java and visual basic from years ago is that it would basically be set to read an input and use a case method to say if $input=="hello" then adb shell input text hello. it would be easier i would assume to just break it down into words and place "adb keyevent 62" between each word to input the spaces, and at the end of the line of input you would have to have the code "input keyevent 66"
i have the keyevent mapped out for each button and such on the phone if anyone is interested. i will see what i can come up with on my own though for now
Hope!
I would <3 who ever release's this in some form or another =)
I could really use an application that lets me use my phone from my computer. Preferably it'd show the desktop of the phone, and allow remote access to all the features.
I don't know if it's possible, but it sounds like some of you are progressing, so I hope for the best.
that is the goal, but right now i think i want to just get a java script written by the end of the week next week that reads the key i press on the computer and inputs it into the phone. so i have a lot of relearning to do since i haven't written javascript in 4 years and even then it was just simple stuff to be run in a console. if someone wants to take whatever i get done and run with it to make a FREE APP then by all means. if i find my work in a paid app then you better hope the US gov't can't find you cause i'll be at your door ready to kick your ass.
i'm not sure how one would go about coding the computer to display the phone desktop, but however it gets done i would prefer it to be written in java so all users of linux, mac, and windows can use it.
alright i have found a program that allows me to display the phone screen on the computer using java *hooray* but it does not switch to landscape when the phone does, and i can't control the phone from the app. it was written so that people could do presentations with the phone instead of using the emulator. the gist of it is described here
http://groups.google.com/group/cw-android/browse_thread/thread/d2dbcabee6bcba1a
i have already emailed the developer asking politely to see the code and for permission to try and run with it to make the ideal app. at this point the only thing i could come up with would be to make a javascript that had a case for each key on the keyboard and when a key is pressed it sends the corresponding command(adb shell input keyevent ##) to the phone. this would work fine to use the arrow keys to control the phone, and i am not sure how to code the mouse into it yet. i will be waiting for a response from the dev hopefully he will give his permission and blessing for us to use the app.
Tubaking182,
Perhaps I could offer some help. Brad Fitz has written a program that injects keys into the Linux input layer. Perhaps the source code to his project can help you. It appears to contain a key code map. Here is the link to his code:
http://github.com/bradfitz/android-misc/blob/master/type.pl
Also, here is a link to his live journal entry regarding his program.
http://brad.livejournal.com/2400054.html
All of this would be wonderful to have with my G1. I wish all involved the best of luck!
the developer of the program i posted gives his blessing but he claims what we are trying to do is impossible without certain firmware. he claims that android does not support remote control. i have already proven it can be done though but you have to use keyvalues instead of the mouse. i don't know much java, but i know i need a case switch that executes adb shell input keyevent when i press a key on the computer. if someone wants to tell me the proper syntax and java command to run a run a command then awesome i can write this up *hopfully* and start testing it.
would it work if i typed it as
int key = evt.getKeyCode();
switch (key){
case 65: run.exec(adb shell input keyevent 29);
break;
what would be the proper way to execute the adb command
tubaking182 said:
the developer of the program i posted gives his blessing but he claims what we are trying to do is impossible without certain firmware. he claims that android does not support remote control. i have already proven it can be done though but you have to use keyvalues instead of the mouse. i don't know much java, but i know i need a case switch that executes adb shell input keyevent when i press a key on the computer. if someone wants to tell me the proper syntax and java command to run a run a command then awesome i can write this up *hopfully* and start testing it.
would it work if i typed it as
int key = evt.getKeyCode();
switch (key){
case 65: run.exec(adb shell input keyevent 29);
break;
what would be the proper way to execute the adb command
Click to expand...
Click to collapse
I've been doing Java for about 4 or 5 years now, nothing to fancy, but anyway,
Code:
int key = evt.getKeyCode();
switch (key)
{
case 65:
Runtime.getRuntime().exec("adb shell input keyevent 29"); // I dont know if this is what you "run" variable is referring to. and you would need quotes around your command as it takes a String parameter.
break;
I am curious about this plug-in for the Locale app. I think it has a lot of potential but am failing to understand how to use it. If anyone has successfully configured this plugin to work for a situation I would like to hear about the details of the configuration. Thanks
Locale Variables Android
I just downloaded this yesterday.
Check out this site droidmunkey.com/localeVariables/" to see one example of how it is used.
Basically, you can assign one condition a variable and then use the variable to activate another action. The possibilities are endless. There was one instance where I created one condition that referred to another and back again which caused my phone to crash over and over but I beat it by quickly (upon phone startup) disabling Locale.
I feel that this only scratches the surface on the usage of this Locale Plug-In but with the lack of support on the web for the variables plug-in specifically, hopefully people will land here and leave some info. Let me know how you have used it.
I am a Personal Trainer not a programmer.
uppereastsidepersonaltraining.com
Hi guys,
To start things off I know there is a veribale search replace and FOR functions in tasker.
Im trying to create a task that stores all the body content of an email. The task will then pull the relevant information, to compose another email and send to a different email address each time (Which is not included in the body of the email).
I have successfully created the variables that capture the information from the email that I need, with veribale split.
However the problem is the task is quite lengthy, as I'm doing two veribale splits to get the information I need Into a variable. The information I'm pulling is not constant. Such as a time range and name of the person who booked the time slot.
What is the most efficient way to do this?
One thing that comes into mind, won't regex works better for that?
I think javascriptlet should di that fine, or you could use a plug in to give regex capability (eg: Auto tools regex)
shaqman89 said:
One thing that comes into mind, won't regex works better for that?
I think javascriptlet should di that fine, or you could use a plug in to give regex capability (eg: Auto tools regex)
Click to expand...
Click to collapse
Thanks I did have thoughts about regex, but I'm not sure if it works for what I want. However I have done a bit of regex for if statements, so I will look into auto tools.
shaqman89 said:
One thing that comes into mind, won't regex works better for that?
I think javascriptlet should di that fine, or you could use a plug in to give regex capability (eg: Auto tools regex)
Click to expand...
Click to collapse
I have had a look at Regex on autotools, I have succsesfully used it is some cases, however I was going to ask you, are there any good places where I could learn and debug regex?
HatchetEgg said:
I have had a look at Regex on autotools, I have succsesfully used it is some cases, however I was going to ask you, are there any good places where I could learn and debug regex?
Click to expand...
Click to collapse
Not that I know of.
I tend to learn by doing, so this site: https://regex101.com is enough for my companion so far.