[Q] Launch a batch file on Win7 from Android? - Android Apps and Games

How do folks,
I've had a look and so far haven't found any solution to this as I can't find a way to search for this particular thing without getting inundated with almost but not quites. Apologies if it's obvious or answered elsewhere.
Basically, I'm trying to find a way to Launch a batch file on my Desktop from my Android phone. I'm not sure if I'd need an app or if there's a simple way that I'm overlooking. It's just one batch file that needs to launch so I'd rather avoid doing anything overly complicated like remote desktop or whatnot.
Any ideas?
Ta!

I managed to sort this in the end. There's a program call EventGhost that goes on the pc and an accompanying Android app of the same name. Looks very handy for many things but for now I'm just using it to launch a single batch file from my phone (xbmc).
As a result, from my couch I can get my pc to launch xbmc and pipe it through to the tv, then control it entirely using the official xbmc android app. It's giving me major nerdgasms .
Sent from my HTC Hero using XDA App

Related

TouchStudio

Has anyone had a look at touchstudio? You can program some codes using it that access a lot of the phone's stuff.
Any developer/hacker wanna take a look at it and maybe see what dll allows access and stuff?
I've seen it. But I've seen nothing that has access to something cool. What are you referring to?
I don't think that TouchStudio has more access to the whole system than other apps. Because anything that you program in the app gets just displayed on the "wall" (or whatever that thing is called )...
And if there are interesting parts in this app MS has locked down these parts for sure...
I just downloaded this as it looks interesting and I'm hoping to learn a bit more about coding. Has anyone used it much? Is there any way to actually effectively use the codes that you create? It doesn't appear like theres a way to export the actions to your homescreen or anything to make them useable, aside from going into the touchscreen app and then running it. Is this just because its the beta version, or is it really just supposed to be for fun/learning?

[Q] How to run multipple apps/windows simultaneously

Need to run two reader apps (two parallel texts for reading the original literature) on one screen. Two copies of the same program like Moon+ would be even more nice.
I'm fairly certain this is impossible as of now. Either their are no apps that can possibly come close to supporting this. Or, this it is merely a limitation of the current android operating system.
But for the record, this would be amazing and drool-worthy.
there's a UI system someone posted a while back that allows android to operate in a 3-viewport mode, where you have 1 big viewport, an 2 smaller viewports, each running a different app. and you can switch between them. there's also ixonos' thing...which is a windowed UI. i personally prefer the former, because it wastes less real-estate.
neither of them are available atm, but they will soon.
although i don't think you can run multiple instances of the same app.
oh yea, the adam ink has a multi-pane launcher as well, which works just like the first one i described, and that's already available...although it doesn't seem like it's very good.
either way though, android, and especially honeycomb is capable of multi-tasking, i think it's just a question of ui issues, and everyone is trying to find the best presentation for such a function.
Sent from my Transformer TF101 using Tapatalk
^I think you're talking about Onskreen's Cornerstone:
http://onskreen.com/
Looks promising but I think they're only shopping it to OEMs at the moment.
Yea, that would be a killer feature. Maemo Os does it beautifully, why can't android ?
+1 to this. Multiple windows in Android would be a very attractive feature.
dawgpound6985
Yes, thats what I found lately, but it's not available as .apk anywhere.
Need something reliable and easy to work with.
how to install UBUNTU in dual boot mode on Asus Eee Pad transformer
Hi,
Thanks a loto for your thread about Ubuntu on Android .
I just unrooted my Asus eee pad transformer and I want to use in dual boot with first O.S Android and second Ubuntu.
I download from internet the following folder zipped:
linux-flash-kit.tar.gz
Ubuntu.img
But I don't Know how to go on, could you help me?
At the moment I download in MicroSD memory ( 16 gb) Ubuntu .img and into " linux-flash-kit.tar.gz" I can see file like "flash-linux-android.sh".
Now I confused because on the web I can see a lot of information but, for example, in this last folder I can see only to start on ubuntu ( desktop) but on other topic I can see using APX mode on Windows but They use others files.
Could YOu help me to understand where I have to paste files and where i Can start installation?
Thanks a lot for your help.
I would be happy if there was just a file manager that had multiple windows for copying and pasting. I'm sure that could be done.
typci said:
I would be happy if there was just a file manager that had multiple windows for copying and pasting. I'm sure that could be done.
Click to expand...
Click to collapse
Have you had a look at Total Commander for Android ?
It's an official android port of the classic two-pane file manager that and works great on the Transformer.
http://ghisler.ch/board/viewtopic.php?t=30417
(This post is useful as well as it details how to give the program full root access so you can even use it in place of something like Root Explorer
http://www.androidpolice.com/2011/0...ns-remount-rw-in-total-commander-for-android/)
albertus76 said:
Could YOu help me to understand where I have to paste files and where i Can start installation?
Click to expand...
Click to collapse
I believe you're in the wrong thread, mate.
there is nother one i have been using for sometime now..
Dual file manager XT
http://www.medieval.it/dualfm-android/menu-id-129.html
Sent from my Transformer TF101 using Tapatalk

making an app for small file transfer to specific device

I tried to make the subject as small as possible while still stating my point.
Basically I work with a device a lot that runs some machinery. There is a file that is sometimes updated to run the machinery better, we usually update the file on the device when some aspects of the equipment are changed. The file is pushed onto the device using software on my laptop. The software on the laptop is written in C++. I want to make a light version to run on my android phone.
My idea is to create a simple program to run on my android phone that will push the file onto the device after it's edited for changes to the equipment. I opened the C++ exe program in a decompiler (rec4) and I started trying to dig through the code, there are soooo many lines of code in this program, and I don't even know what string to look for. I'm trying to find the exact string that pushes the file to the string so I will know how to write the exact thing in an android program language for my phone only to push the file to the device after I plug it in through the USB connection. That way I have a simplified version of the program running on my phone solely for pushing the file to the device, instead of carrying my laptop around all the time to push a little file.
In a nutshell, after I have described why I need this, I'll simplify everything. A program I have is written in C++ and it pushes a simple file to the flash memory of a device that runs some equipment. I want to be able to push the file from my phone instead of my laptop. So I want to know the string to look for that would push a file onto flash memory.
How the program works. If I have the program already running when I plug in the USB, I have to select "file", then "establish connection" so that it connects, The program appears on my laptop to reconfigure it. I search for the new file to replace the old one and send it to the device. By default the program tries over COM1. It has to be changed for my laptop because it's new and doesn't have the com1 connection, I have a USB adapter that I use.
I hope I explained this well enough, it's really not as complicated as I'm making it out to be.
So does anyone know where I can look up the C++ command arguments to push the file onto the device? And also what the command arguments would be for android to push the file onto the device via USB?
Hello,
If you are a developer you might want to look at this link:
http://developer.android.com/reference/android/hardware/usb/package-summary.html
If you aren't, I am afraid this isn't going to be as simple as looking for strings in a decompiled program and translating the code to different languages. You might want to get a developer to make this application for you.
If possible can you also give more info on this device? Is it like you plug in the device to your laptop and you can access it like any USB memory drive? Or the device can only be accessed using that program?
Edit:
The android.hardware.usb was apparently introduced in Android 3.1. So you won't be able to use that to make an application that you described for your phone...
The device basically controls an advanced machine with multiple inputs sensors and output and switches. It has it's own power supply, it just needs updating every now and then to refine/change the cycles and rotations. I contacted the company that makes the device, and they said they haven't made any software to run on android. They couldn't give me any information on how the laptop program communicates with the device. It seems like the file that needs editing is just stored back on the device in flash memory. When the laptop is plugged in and a connection is established, the information that makes up the configuration file appears on the laptop program from the device. I don't know if the program pulls and reads the file, or if the device copies it to the laptop. It's probably the laptop that reads it.
I'm not a developer, I know a little about programming from college, and I have enough patience to sit and read or watch videos until I know how to make something that works. I know a guy that talks a lot about making android programs, maybe I can ask him for pointers.
My android phone has a mini USB port, what's the new thing that's in android 3.1 that's not in my 2.2 regarding USB? Is the USB on the android 2.2 limited in what it can do? I know mine can tether and transfer files, but is that something that the computer does instead of the phone?
I'm trying to find another HTC HD2, I sold mine and I shouldn't have. I've heard a little about people putting android 3.1 on the HD2, I'm not sure if that's true, but I'll look more into it.
If its a file that the device is reading the data from, you'd also have to find out how the data is exactly being stored in the file. I guess this could be figured out through the decompiled program or maybe if you can access the file yourself somehow.
The thing is that the package(android.hardware.usb) that allows you to write applications in which your phone can act as a USB host(I guess this is what you want your phone to behave like in this case) was introduced in Android 3.1 and its not present in Android 2.2.
That doesn't necessarily mean that you cannot have such an application on your phone. It just means that you cannot use the Android Java API to make something like this. I am not too sure how it can be done but I guess it is possible to make an application like the one you want that runs on a rooted phone maybe?
I am sure anyone can learn to write programs/applications but its just that you'd have to put in a lot of time and effort to make something like this. If you are in no rush to have the application ready then its fine if you learn to make it yourself. And since its a custom made application and the people who made it aren't willing to help you by giving info on it just makes it that much harder for you.
yeah, when I get another HD2 it's getting rooted with android, I just have to find one. Since I sold mine they have made it to where you can run android off of internal memory, so I'm itching to get it back.
The laptop program also has the option to save the configuration file locally, I haven't thought about looking through that. I didn't think it would tell me much.
So theoretically, if I were to write a program for the android phone with usb transfer capability to the device in question would it work? It doesn't bother me if I have to root my phone.
If the device is reading data in from the file, and you wish to write a program that creates this file, you will have to take care that the program you are making writes the file in very same format and saves the file back in the same location on the device where it will look for this file later.
If you made this application for an android device that has USB Hosting capabilities, it should work (as far as I know).
The question is: How can you get your phone to have USB Hosting capability? I don't know if rooting your phone would do it. You'll have to find out about this.
I'm not creating the file..I just want to make a program to push the file.

Save WhatsApp Conversation

Hello!
I have a question regarding WhatsApp. Is there a possibility to save WhatsApp conversations/history? Through any homebrew-App?
I searched through Google and XDA, didn't find anything useful, unfortunately.
Thanks in advance.
Greetings,
Crash1k
You need to copy out the Isolated Storage for the app. There are a few tools that can do this, including any filesystem browser (such as WP7 Root Tools). An easy way to get the file(s) from your phone to the PC would be my Root Webserver app; find the App GUID of WhatsApp and go to http://<PHONE_IP>/FileSystem/Applications/Data/<APP_GUID>/Data on the PC while the phone runs the webserver app.
Thanks for your fast answer.
Since I'm pretty new to this homebrew-and-phoneHacking thing I don't have much of a clue how to work with those programs. I have downloaded "HtcRootWebServer_231.zip" and the ".xap" file, but I don't know how to get started. Are there any instructions online, perhaps on your homepage, if you have one?
Thanks again.
Oh boy... okay, I assumed you'd already be familiar with dev-unlock at least, so this is going to be a bit complicated. First of all, what phone do you have? On some phones, you won't even be able to run the app because of restrictions that we don't know how to get past.
The summary:
To install an app to the phone from a XAP file, your phone needs to be developer-unlocked. There are a few ways to do this, including an official one from Microsoft (though that costs money unless you're a student). To deploy the apps, you'll probably want to download the Windows Phone SDK from Microsoft as it has all the tools.
To use high-privilege apps, you'll need your phone to be "interop-unlocked" which you can read about on XDA-Devs. Not all phones can currently be interop-unlocked, though many can.
Once your phone is IUed, install the webserver and also WP7 Root Tools v0.9. Use the Root Tools to mark the Webserver app as "Trusted"; this will give it the permissions it needs (it has its own permission elevation code, but I'm almost sure your phone isn't compatible).
if your phone is unlocked:
install wmdc by ultrashot, then, connect it to wmdc, then browse <YOUR WP NAME>\\Applications\Data\218A0EBB-1585-4C7E-A9EC-054CF4569A79 then copy everything from it
GoodDayToDie said:
Oh boy... okay, I assumed you'd already be familiar with dev-unlock at least, so this is going to be a bit complicated. First of all, what phone do you have? On some phones, you won't even be able to run the app because of restrictions that we don't know how to get past.
The summary:
To install an app to the phone from a XAP file, your phone needs to be developer-unlocked. There are a few ways to do this, including an official one from Microsoft (though that costs money unless you're a student). To deploy the apps, you'll probably want to download the Windows Phone SDK from Microsoft as it has all the tools.
To use high-privilege apps, you'll need your phone to be "interop-unlocked" which you can read about on XDA-Devs. Not all phones can currently be interop-unlocked, though many can.
Once your phone is IUed, install the webserver and also WP7 Root Tools v0.9. Use the Root Tools to mark the Webserver app as "Trusted"; this will give it the permissions it needs (it has its own permission elevation code, but I'm almost sure your phone isn't compatible).
Click to expand...
Click to collapse
Thanks a lot for your help, and I'm sorry you had to write this much. I already know how to deploy .xap's and these things, but I have no clue when it comes to the Webserver and how to find the conversations with that. I'll try this for now. I appreciate your help and effort.
aramadsanar said:
if your phone is unlocked:
install wmdc by ultrashot, then, connect it to wmdc, then browse <YOUR WP NAME>\\Applications\Data\218A0EBB-1585-4C7E-A9EC-054CF4569A79 then copy everything from it
Click to expand...
Click to collapse
Is this the same method as the one GoodDayToDie explained?
Thanks for your answer!
//Edit:
I tried it like you, GoodDayToDie, told me. I downloaded your HtcRootWebServer_231.xap and HtcRootWebServer_231.zip. (even though I have a Samsung Omnia 7 with windowbreak unlock (I think that's interop unlock, don't know for sure though)). Then I deployed the .xap, opened the App in the phone but didn't know what to do with the numbers and text fields (like what kind of Admin name and password I should fill in...). After I gave up on the phone-part, I tried to work with the .zip file, but I don't know what to do next. There are 2 folders, one is called "Homebrew" the other "WebServer", I tried to open the programs which are placed in the subfolders (I opened both with Microsoft Visual Studio Solution) but I only get an error and it won't show anything.
Do you know where the problem is? (aside from my lack of knowledge of course :/ )
Thanks for your help.
Crash1k said:
Thanks a lot for your help, and I'm sorry you had to write this much. I already know how to deploy .xap's and these things, but I have no clue when it comes to the Webserver and how to find the conversations with that. I'll try this for now. I appreciate your help and effort.
Is this the same method as the one GoodDayToDie explained?
Thanks for your answer!
//Edit:
I tried it like you, GoodDayToDie, told me. I downloaded your HtcRootWebServer_231.xap and HtcRootWebServer_231.zip. (even though I have a Samsung Omnia 7 with windowbreak unlock (I think that's interop unlock, don't know for sure though)). Then I deployed the .xap, opened the App in the phone but didn't know what to do with the numbers and text fields (like what kind of Admin name and password I should fill in...). After I gave up on the phone-part, I tried to work with the .zip file, but I don't know what to do next. There are 2 folders, one is called "Homebrew" the other "WebServer", I tried to open the programs which are placed in the subfolders (I opened both with Microsoft Visual Studio Solution) but I only get an error and it won't show anything.
Do you know where the problem is? (aside from my lack of knowledge of course :/ )
Thanks for your help.
Click to expand...
Click to collapse
yes, it goes to one objective, but in a simpler method
Eh, WebServer doesn't require installing anything on the PC, WPDM doesn't (directly) require installing anything on the phone. In both cases, you'll need to have WP7 Root Tools installed.
For WPDM + TouchXperience:
Install Windows Phone Device Manager from TouchXperience.com.
Start Zune and connect your phone.
Start WPDM and wait for it to install the TouchXperience app on the phone.
Open WP7 Root Tools v0.9 and go to the Policy pivot.
Mark TouchXperience as "Trusted" and exit Root Tools.
Open TouchXperience (and WPDM on the PC, if you closed it) and connect them.
Either do what @aramadsanar suggested, or use the Installed Apps feature of WPDM to make a backup.
For Root Webserver:
Install Root Webserver (the XAP; the ZIP file is the source code); you already did this.
Open WP7 Root Tools v0.9 and go to the Policy pivot.
Mark "Webserver (HtcRoot)" as Trusted and close Root Tools.
Connect the phone to WiFi (on the same network as your PC) and launch the webserver app.
Set a username and password you can remember ("admin" and "root" for example, though that's insecure).
On the PC, open a web browser and go to the phone's IP address, then drill down into the FileSystem like I said (aramadsanar gave you the app's GUID).
Download the files from the Isolated Storage to your PC, and save them somewhere.
Thanks a LOT for those great instructions, GoodDayToDie! That's really nice, thanks for your effort.
I tried the WebServer method since I didn't want to install Windows Phone SDK 7.1, but I didn't manage to get into my phone through the browser (by typing the I.P. of the phone, which is listed on the Webserver App, just as you said), that's why I was forced to use the other way. Well, who cares, it worked! I have my messages file, but the next problem shows up. I can open the file with the Editor, but it shows weird symbols and you can't read the messages actually. I tried many other programs but none work. Do you guys know how to open those files? The ending is ".sdf". I google'd it for nearly two hours, couldn't find anything useful.
Thanks for the help so far.
You used the WiFi address of the phone, right? The WWAN (cellular) connection is almost certainly firewalled. For example, on my home network the router usually gives my phone IP address 192.168.0.73 on WiFi, so I type in "http://192.168.0.73" into the browser on my PC. It'll ask for username and password; give it what you put on the phone.
As for the file contents, I can't help there. They might be encrypted, in which case the crypto key is somewhere but might be hard to find. Or they might be compressed, in which case you need to find a decoder for that compression. Either one would produce files that appear to be meaningless binary to a casual glance.
One thing you could try for the compressed file possibility is tell 7-Zip to open the file. It's usually very good at recognizing compressed formats. If it's encrypted, you'll probably need to decompile WhatsApp to figure out how. If WhatsApp is obfuscated, you're going to be in a tough spot.
By the way, I assume you downloaded the messages file directly, rather than using the data backup function of WPDM, right?
Hmm... what do you need these files for? If it's just for backup, what you have is *probably* sufficient, so long as you grabbed *all* the files from the IsolatedStorage.
Yeah, I used the WiFi address which is listed on the WebServer App, and I typed that IP Address just like you said into my browser, with "http://" etc., but it still didn't work. It doesn't even ask me for any password or username.
I don't think they are compressed, because I already tried to open/extract them with 7zip, all I got was an error because of the incompatibility. The other thing is, that when I open the files with the "Editor", I can see my messages there, but there are many many other symbols there, which makes it impossible to read the messages. They are too wide spread and you can't tell which messages belong together etc.
Even though I have no idea how to "decompile" WhatsApp, I won't ask you to tell me, since it sounds pretty complicated. I hope there is another way to solve this problem.
Yes, I simply saved the file on my Desktop, didn't use the BackUp function.
That's right, they're "just" for backup, and I didn't grab just the IsolatedStorage folder, I took the whole "Data" folder, just like aramadsanar told me to.
Thanks again for your fast and detailed answer.
If the wifi address didn't work, either your phone was not on WiFi (did the address start with 169.254.?) or your PC was not on WiFi or even connected to the same WiFi network. You can (in theory; I've never tried) also connect to the phone over wired Ethernet by plugging in the phone to the PC with its USB cable, and running Zune on the PC. That will add an ethernet entry to the phone IP list, but I don't know if it can be used for server ports from the PC.
There are a number of free apps for decompiling managed (.NET) code. The latest version of .NET RAIN, distributed right here on XDA-Devs, can do it, for example. Decompiling turns the intermediate-language binary code in a managed DLL or EXE file into C# or VB.NET or whatever. It's not a perfect reversal; the decompiler has to guess what the original source code looked like, and of course comments are missing. It's good enough to read pretty easily, though.
It sounds like what you have is probably a database file of some kind. There are only a few database formats available for WP7 apps (a few more can be accessed using native code).

[Q] Shield Controller Not Detected by PC

Hey Everyone,
I thought about posting this into the mobile kepler thread because thats where I started from. However, no one else running mobile kepler seems to have this issue.
I have a macbook pro running windows 8 in boot camp. I installed steam (beta client enabled), geforce experience and the latest beta graphics drivers. Games work great while playing on the laptop (burnout, GTA 4 and Half Life). The registry hack to skip mobile GPU check works to enable streaming to the shield. When go into shield streaming on the shield, it sees the laptop and games. I can pick Steam and it changes the resolution on the laptop and steam opens and goes into big picture mode.
Sound and video stream to the shield fine. But I can't control anything with the shield. I can control anything with the touchscreen or with the controller. If i go into settings in big picture mode (with the mouse on the computer), I can click on Controllers and it says none detected. This is the case in every game as well. Sound and video make it to the shield without issue, but I can't control anything.
I have tried restarting, reinstalling geforce experience, trying non-beta graphics drivers, etc. Nothing seems to work. I had also installed Splashtop streamer (just because I use that product on every machine I have) and I thought that might be conflicting with things. But uninstalling it did not help.
Has anyone experience this? Anything I can try to get it to work?
There are other people reporting similar issues on the GeForce forums. There are two issues that I've seen.
1. SecureBoot incompatibility - seems unlikely for you since the Mac's EFI version doesn't support it.
2. Short file name issue
The way that NVIDIA gets their input DLL loaded into every process is using a registry value that only supports short file names. If short file names are disabled for some reason, it won't be able to load the DLL and the controller won't work.
There's more info in the forum links from this post. http://forum.xda-developers.com/showpost.php?p=44678873&postcount=40
Thanks for your reply. I did some research after posting and found those two items you mentioned. Mine Mac is booting in Legacy mode so thats not the issue. I tried the short name recommendation which was to change 8dot3name to 0 (mine was originally set at 2) and then uninstall geforce experience and drivers, delete the Nvidia folder from both program files folders and then restart and reinstall. That hasn't solved the problem. I also tried changing it back to 2 and and doing the same with no success.
Supposedly NVIDIA is testing a fix internally and it should be out this month. I'm just worried that my issue has something to do with boot camp. I have seen others with MacBook pros on here getting this to work and I don't really see what the difference is between their setup and mine that is causing this to not work.
Does windows keep logs of errors of things it couldn't load? I imagine if the registry was telling windows to start something but it couldn't find it on the disk (due to short names) it would throw an error right? (sorry, I'm mostly a mac guy so I don't know what the PC equivalent to Console.app is)
jeffburg said:
Does windows keep logs of errors of things it couldn't load? I imagine if the registry was telling windows to start something but it couldn't find it on the disk (due to short names) it would throw an error right? (sorry, I'm mostly a mac guy so I don't know what the PC equivalent to Console.app is)
Click to expand...
Click to collapse
is console.app the terminal? If so on windows its cmd (hold windows key + R to open the run dialog, enter cmd, OK) but windows cmd is vastly inferior to the mac terminal in my opinion (I am a windows guy, just saying, the windows command line isnt as good as the one on UNIX like systems).
The windows event log can be opened from control panel. http://www.techrepublic.com/blog/wi...ack-down-issues-that-cause-slower-boot-times/.
Console looks to be equivalent event viewer. Thanks for the suggestion. I should be able to inspect it tonight and look for errors loading the rxinput dll file.
Wow. What an annoying issue. So the problem was that my Program Files folders don't have short name. On top of that when I try to give them short names with admin prompt and fsutil file setshortname it says permission is denied. I'm assuming this is because the Programs files folders are super super system folders.
I tried using %PROGRAMFILES% in the registry entries for rxinput.dll but that didn't work either. So I found the jankiest workaround ever. I copied the dll to the C drive root and then linked the registry to that file. (I actually copied the both dll files. one is under Program Files X86 and on under regular)
Now it works!!!!!
Jankiest workarund ever... but it works.
jeffburg said:
Wow. What an annoying issue. So the problem was that my Program Files folders don't have short name. On top of that when I try to give them short names with admin prompt and fsutil file setshortname it says permission is denied. I'm assuming this is because the Programs files folders are super super system folders.
I tried using %PROGRAMFILES% in the registry entries for rxinput.dll but that didn't work either. So I found the jankiest workaround ever. I copied the dll to the C drive root and then linked the registry to that file. (I actually copied the both dll files. one is under Program Files X86 and on under regular)
Now it works!!!!!
Jankiest workarund ever... but it works.
Click to expand...
Click to collapse
Wow, bit of an odd one. Good that you got it sorted though :good:
With windows you often have to take "but it works" as the correct solution There probably is a better way in this case (taking ownership of program files and then trying to make the changes you require first before resetting the ownership is what I would have looked at doing) but if it works now your probably best to just leave it rather than tempting the computer to say no again

Categories

Resources