Noob question - is this possible? - Android Software/Hacking General [Developers Only]

i am very very new to Android development, i was wondering if it is possible to create an application (ill be using a HTC Hero running 2.1) that when connected to a windows PC via cable i could press a button within the app that starts a windows application located on the phones memory card(e.g. netstat.exe), that will gather information about the windows computer and store it on the phone?
cheers for any help,
L.

i suppose u will need software on that pc that will wait for your hero to connect and send those informations. otherwise, the app must be apple to start applications on the windows pc, what shouldnt be possible.

Related

Total Newbie Question: Cannot Copy Files to HTC Love

Hello All,
I recently bought my first smartphone here in Beijing. It's a dopod D805; I hope to upload media to it from my Vista-loaded PC.
The problem is Vista doesn't seem to recognize the device. I downloaded Windows Mobile Center (sorry if I've got the name wrong) but it doesn't seem to do anything. The CD that came with the device doesn't work (it keeps telling me to install Flash 8.0, which seems to imply the software on the disc was designed for pre-Vista systems).
Any help would be greatly appreciated.
Update:
The phone seems simply not to work on Vista. I am now dual-booting XP alongside Vista, and have had much more success using XP and Activesync.
A new newbie question:
I cannot copy files (music, PDFs) from my PC's HDD to the phone's drive. Each time I try I am told there is not enough free space on the drive. This is absurd, as there is nothing on the drive other than what came on it, and the files I'm trying to copy are quite small. What gives?
ouyanghai said:
Hello All,
I recently bought my first smartphone here in Beijing. It's a dopod D805; I hope to upload media to it from my Vista-loaded PC.
The problem is Vista doesn't seem to recognize the device. I downloaded Windows Mobile Center (sorry if I've got the name wrong) but it doesn't seem to do anything. The CD that came with the device doesn't work (it keeps telling me to install Flash 8.0, which seems to imply the software on the disc was designed for pre-Vista systems).
Any help would be greatly appreciated.
Click to expand...
Click to collapse
Welcome to the forum
Have a look in the Wiki here:
http://wiki.xda-developers.com/index.php?pagename=HTC_Love
Hope it helps,
Thanks for the response.
I checked that page before posting, but it doesn't seem to have much beyond the specs for my model.
All I want to do is install Pleco, and upload some MP3s/PDFs. When I plug the device in, I get the "bing bong" sound, but no new HD appears in My Computer. Since I'm running Vista, I can't use the bundled Activesync software.
Help?
i dont know if this will help but i cant sync my phone with xp unless i set my firewall to allow all.
if you go to my computer and look at your drives, does it not show you phone there as F: or whatever?
Right, it doesn't show a new drive. Note that I'm running Vista, not XP. I'm in the process of getting a dual-boot setup going, but I'm not there yet. Very frustrating.
Update and New Question
Update:
The phone seems simply not to work on Vista. I am now dual-booting XP alongside Vista, and have had much more success using XP and Activesync.
A new newbie question:
I cannot copy files (music, PDFs) from my PC's HDD to the phone's drive. Each time I try I am told there is not enough free space on the drive. This is absurd, as there is nothing on the drive other than what came on it, and the files I'm trying to copy are quite small. What gives?

[Q] Using Wp7 on itunes with a windows vista?

I'm tired of using zune, i really prefer itunes for the reason that its easier for me to use, i like having not that many programs on my computer so it can run as smooth as it can !
So does anyone know if theres a way to use your widnows phone 7 on itunes with a vista?
( i know its possible for mac)
i want to be able to sync my wp7 ( samsung focus) on itunes while i run vista
thank you i will hit the thank you button
easy
buy an iphone.
alancamarena1994 said:
I'm tired of using zune, i really prefer itunes for the reason that its easier for me to use, i like having not that many programs on my computer so it can run as smooth as it can !
So does anyone know if theres a way to use your widnows phone 7 on itunes with a vista?
( i know its possible for mac)
i want to be able to sync my wp7 ( samsung focus) on itunes while i run vista
thank you i will hit the thank you button
Click to expand...
Click to collapse
Hi while you might be familiar with iTunes, the Zune software is intuitive and user friendly once you understand the ins and out of using the software. You'll soon come to realize, it is more visually and logically easier than itunes.
Step 1. Uninstall iTunes
Step 2. If you want zune to run as fast as possible with little graphical animations go into settings, display and slide the slider to the lowest setting then restart zune.
Step 3. Visit the Zune learning center: http://www.zune.net/en-us/products/learningcenter/default.htm
Lots of tips, tutorials and info on how to use your phone with zune.
Hope this helps.
To answer your question: No, there is no available way to sync a windows phone with iTunes unless you own a mac, then you can use the mac connector to interface with itunes.

[Q] New WP7 User - running Ubuntu :(

Hi everyone! I recently switched from a Pre 2 to an HTC Trophy. I love WP7 but I have a few problems. Before I tell you about them I will tell you I have installed the Mango beta onto my device. (BTW I'm on Verizon) Now onto my issues.
* I am running Ubuntu. I have Zune installed in a Windows XP emulator. For some reason the entire computer (Ubuntu and Windows XP) don't recognize the phone when connected via USB. The device just charges.
* I am a big music buff and I NEED MUSIC ON MY DEVICE. As I have said, I run Ubuntu, how am I supposed to do this?
* I would love to use all those fun programs to edit the registry on the device to change the color schemes (because I hate the colors that come pre installed) but I run Ubuntu. I'm sure I could do it via emulator but how come my phone is not recognized?
* Please tell me why my phone isn't recognized.
Thankyou for all help in advance and I am really really really happy to be a part of this community. I used to be a member on XDA back in my Android days and I'm psyched to be back. Please help me with my problems
e_rl said:
Hi everyone! I recently switched from a Pre 2 to an HTC Trophy. I love WP7 but I have a few problems. Before I tell you about them I will tell you I have installed the Mango beta onto my device. (BTW I'm on Verizon) Now onto my issues.
* I am running Ubuntu. I have Zune installed in a Windows XP emulator. For some reason the entire computer (Ubuntu and Windows XP) don't recognize the phone when connected via USB. The device just charges.
* I am a big music buff and I NEED MUSIC ON MY DEVICE. As I have said, I run Ubuntu, how am I supposed to do this?
* I would love to use all those fun programs to edit the registry on the device to change the color schemes (because I hate the colors that come pre installed) but I run Ubuntu. I'm sure I could do it via emulator but how come my phone is not recognized?
* Please tell me why my phone isn't recognized.
Thankyou for all help in advance and I am really really really happy to be a part of this community. I used to be a member on XDA back in my Android days and I'm psyched to be back. Please help me with my problems
Click to expand...
Click to collapse
You could try to setup Windows XP, Vista or Windows 7 in a virtual machine on your system. That should work.
dkp1977 said:
You could try to setup Windows XP, Vista or Windows 7 in a virtual machine on your system. That should work.
Click to expand...
Click to collapse
Thanks for the reply, however, I already stated I'm running Windows XP in VirtualBox. When I run lsusb in Linux terminal one of the USB devices is Microsoft and when I unplug the device and run the command again it disappears. So it seems Ubuntu knows its there but since it has no mass storage capabilities it does not display it on the desktop. This still doesn't explain why Windows XP cannot see it because I have USB connections settings checked in VirtualBox.
I think it is a Windows XP problème... Windows 7 does a better job in recognizing devices.
XP is Just to old
e_rl said:
Thanks for the reply, however, I already stated I'm running Windows XP in VirtualBox. When I run lsusb in Linux terminal one of the USB devices is Microsoft and when I unplug the device and run the command again it disappears. So it seems Ubuntu knows its there but since it has no mass storage capabilities it does not display it on the desktop. This still doesn't explain why Windows XP cannot see it because I have USB connections settings checked in VirtualBox.
Click to expand...
Click to collapse
You stated that you use an emulator. I really recommend using VM Ware. I never had any issues with USB devices or anything else on it. Since I never used VirtualBox I can't explicitly help you with it though, sorry.
dkp1977 said:
You stated that you use an emulator. I really recommend using VM Ware. I never had any issues with USB devices or anything else on it. Since I never used VirtualBox I can't explicitly help you with it though, sorry.
Click to expand...
Click to collapse
Αnd in addition to that dont use XP ...
Use Windows 7 or Vista ...XP its not working for me....
Ok so now Windows XP sees the device as "Windows Phone 7" but Zune still won't detect it no matter what I do. Any ideas?
e_rl said:
Ok so now Windows XP sees the device as "Windows Phone 7" but Zune still won't detect it no matter what I do. Any ideas?
Click to expand...
Click to collapse
XP is going to continue to be a bad choice... What version of ZUNE are you running?
Sent from my SGH-i917 using XDA Windows Phone 7 App
if you using Zune 4.7 try updating to Zune 4.8 and check if your mobile is getting detected.

[Q] Integrate WM Device Center

Hi everyone, Is it possible to integrate the WM Device Center directly in the OS? I don't wanna have to open this app every time I connect my phone to the pc..I'm lazy, I know
gigsaw said:
I'm lazy, I know
Click to expand...
Click to collapse
Seems like you are lazy more than you've expected. You don't even read forum title - it's WP7, not WM forum
I'm not even sure what app or what OS you're referring to - do you mean ToucnXpereince on WP7? That's *supposed* to open automatically when you start WPDM on the PC.
Windows Mobile Device Center is a "big" Windows (desktop/laptop) app, not a phone app... are you saying you want it to launch on the PC when you connect your phone?
Sorry guys, I haven't been clear enough I meant the Windows Mobile Device Center LAUNCHER look at this tread: http://forum.xda-developers.com/showthread.php?t=1521763
It's an app that has to be launched on a fully unlocked phone every time you connect it to the computer. In this way your device can be explored as a sort of plug&play usb mass storage. You can directly copy on it doc files, or anything else you want. Even xap files on my HD7 with deepshining, if I install a File Browser too, I'm able to install XAPs directly from my phone without any other software installed on my pc or on my phone. I think it's a great thing, even for doc files because before of this program the only method to transfer them from PC to the phone ad vice versa was to send'em to myself via mail, or use skydrive. Not much convenient for me. This new method simplyfied my life
So my question was: can this XAP be directly integrated in Windows Phone 7 so when I connect my device to the computer I don't have to open every time this app on my phone?
Now *that* is actually an interesting question. It's certainly possible to have a PC app start a phone app; that's how WPDM launches TouchXperience or Visual Studio launches a debug app. To launch fully automaticlaly, though... that would probably require that the app either have some background service (possible on a fully-unlocked ROM) that monitors for a PC connection, or that the app be registered in some way as "do this when you connect" although I'm not sure how I'd go about the latter.
Yeah, now it's much clear and as GoodDayToDie said is much more interesting I'm already thought about implementation (but I need to run WPConnect.exe automatically, not a Windows Mobile Device Center LAUNCHER). I'll try to find time for the development of this app (this one - finding time - is really hard ), so stay tuned!
Here we are: http://forum.xda-developers.com/showthread.php?p=24820620
Hey, gigsaw, did you tried WP7 auto launcher? I don't have full unlock so I can't test with WMDC Launcher.
So sorry if it seems that I disappeared but someone stole my HD7 some days ago D: D: D: D: I'm so sad........I was very interested in windows phone 7, I thought it could be the best mobile OS with a bit of developing..but now I can't do anything more. So sorry guys ='(

[Q] [NOOB] WP7.8 Custom ROM - how to sync with W7?

Hi,
as a complete noob with smartphones in general and WP specifically. Nevertheless I somehow managed to install HSPL and then the HD2O Dynamics Custom ROM on my HTC Radar.
I configurated my device after installation and it works smoothly. However, all I did so far is connecting my Windows Live Account. It receives E-Mails when I am on the way and via Wifi connection when at home. This is great...
Now I want to do the next necessary steps in "usability". I guess that would be
connect device via USB to PC (Windows 7) and transfer files like Contacts (People), Pictures, Clips in either direction
use the device as storage (like an USB-stick)
I am not familiar with establishing connection or how "syncing" works with WP and W7. What I read is that "ZUNE" is the main syncing tool for that. The problem is, that I think in the last couple of weeks, Microsoft may have abandoned the idea of using Zune for this. Can someone confirm this? If yes, what is it now?
If I connect the Device via USB this is what Windows 7 shows me in the "Devices and Printers" Screen (see attch).
A click on the symbol just opens driver information but not a folder like a removable medium like an USB-Stick in Windows.
Also, I read since I use a Custom ROM, I shouldn't update via Zune (or its successor). Is this true? Would establishing connection with an official syncing tool "kill" my Custom ROM? (In other words: if I connect my Custom ROM device to the official sync tool, would it automatically start an update or only if I explicitly start the update process?)
I'd really appreciate any hints and tips.
Thx in advance!
Edit: after installing WMDC 6.1 and Zune, I now have a solid connection. Still, there's the question how far I can go there without automatically updating to Stock ROM (and therefor damaging my Custom ROM) via offical MS channels.

Categories

Resources