Emulator Debugging - 'Unable to start program' - Windows Mobile Development and Hacking General

Hi
I'm trying to debug the memwatcher SDK tools sample today item using VS2005. This used to work - i don't know what I did to break it...
First I get a message "Program to Debug A non-executable project cannot be started directly. Please set a command to use to start debugging this
project. Do you wish to continue?'
If I click yes I get a message "unable to start program
'%CSIDL_PROGRAM_FILES%\memwatcher\memwatcher.dll'.
I've tried re-installing VS2005 and the SDK with no luck.Other SDK samples that compile to exes debug fine. If I load the dll and registry items by and the sample works as expected (not debugging) - it also runs on a real device.
Can anyone suggest what to do?
Thanks
Mark

Related

[VS 08] Using MY device to debug

Hi Everyone
I was wandering, it is possible to use My WM device to directly run the compiled code of my smart device project on the fly?
Like the default emulators, but on my real device
Yes, you can deploy and debug over activesync. In the "target device" drop-down change it from one that's name contains "emulator" to one without. Then it should connect over activesync.

Mobile SDK 6 Examples

Hi, my question is about windows mobile sdk 6. When I try to run the example "CECamera" with Visual Studio, Mobile 6.1 Emulator, ActiveSync, and SDK, I get the following error. The emulator starts up, but the program does not load. Then the error is displayed, "Unable to start %CSIDL_PROGRAM_FILES%\CECamera\CECamera.exe The system cannot find the file specified." Anyone know how to fix this? Also I have a camera attached to the computer and am hoping that the device emulator will use it, any help would be greatly appreciated.
The SDK emulators have no camera functionality. Therefore there is no camera.exe or cecamera.exe installed in the rom image that the emulator is running. Besides, the name of the camera program is dependant on the particular software build for that device.
Same goes for Bluetooth and wireless.
The device is being emulated on your PC. The only hardware to which it has access is the directory in File -> Configure : Shared Folder.

[Q] App Inventor on HD2

Hello, has anyone tryied to use an HD2 with app inventor?? If so, what is the procedure? When i am trying to connect my phone with the blocks editor, the java enviroment cannot see any device. HTC sync is setup and recognised as Dream. Also ADB drivers are setup, but when i am going from app inventor to block editor, a message appears and says "Please locate the adb command on your computer and enter the full path here". I am typing the path of the app inventor on my computer "C:\Program Files (x86)\Android\appinventor-extras" and then the java enviroment continues. I am running 7 64bit.
arisgardelis said:
Hello, has anyone tryied to use an HD2 with app inventor?? If so, what is the procedure? When i am trying to connect my phone with the blocks editor, the java enviroment cannot see any device. HTC sync is setup and recognised as Dream. Also ADB drivers are setup, but when i am going from app inventor to block editor, a message appears and says "Please locate the adb command on your computer and enter the full path here". I am typing the path of the app inventor on my computer "C:\Program Files (x86)\Android\appinventor-extras" and then the java enviroment continues. I am running 7 64bit.
Click to expand...
Click to collapse
Make sure you are not mounting your sd card
Sorry, i am a newbie to the android platform. After some search i found that i need the android sdk.. After installation, the message dissapeared but the blocks editor cannot still find my phone. Has anyone actually used an HD2 with app inventor?
arisgardelis said:
Sorry, i am a newbie to the android platform. After some search i found that i need the android sdk.. After installation, the message dissapeared but the blocks editor cannot still find my phone. Has anyone actually used an HD2 with app inventor?
Click to expand...
Click to collapse
yes, mine works fine.
Ryan Cordero said:
yes, mine works fine.
Click to expand...
Click to collapse
Can you please share some details? for example what programs/drivers/sdk needs the app inventor? installing procedure if its not a trouble for you, what rom are you using and in which mode you put your phone when you connect it with the usb cable, so the blocks editor can recognise the hd2?
thanks in advance.
arisgardelis said:
Can you please share some details? for example what programs/drivers/sdk needs the app inventor? installing procedure if its not a trouble for you, what rom are you using and in which mode you put your phone when you connect it with the usb cable, so the blocks editor can recognise the hd2?
thanks in advance.
Click to expand...
Click to collapse
chuckydroid rom with Hyperdroid and Bangsters Build work. I have to use I.E. because firefox will not work for me. I simply turn the phone on, no special modes or anything and hit connect while the screen is on.. I installed that software they ask you to install before you start, nothing more.
I am having the same problems as described above really but using firefox and linux (ubuntu). No joy getting the app inventor to work witha desire based rom. I am going to try using Chrome to see if that makes any difference and its just a firefox based issue.
arisgardelis said:
Hello, has anyone tryied to use an HD2 with app inventor?? If so, what is the procedure? When i am trying to connect my phone with the blocks editor, the java enviroment cannot see any device. HTC sync is setup and recognised as Dream. Also ADB drivers are setup, but when i am going from app inventor to block editor, a message appears and says "Please locate the adb command on your computer and enter the full path here". I am typing the path of the app inventor on my computer "C:\Program Files (x86)\Android\appinventor-extras" and then the java enviroment continues. I am running 7 64bit.
Click to expand...
Click to collapse
The only problem you're suffering right now is that the path has to look like this
C:\Program Files (x86)\Android\appinventor-extras\adb.exe
You have to write the full path including this file
Have fun. It's a great programm and makes a lot of fun
Edit: There's a how to on the page to set up this path again.
i had to update my version of java to java 6.23,also appinventor works better with chrome browser,surprise,surprise google software talking to google phone through google browser to googles servers...
I'm trying the App Inventor, and I can run things I'm tinkering with. I did one of the tutorials, but when I run it on my HD2, with AmericanAndroid, it is too small.
The app has black blank space on both side, and the bottom. It is probably a little more than half the screen.
I think it is the Android device driver. (But, I'm not sure.)
So, I followed some instructions to download drivers for my device, but the HD2 (on HTC's web page) doesn't have Android drivers. So, I probably need to download them for another HTC device (or something?). Any suggestions?
Or, am I going in the wrong direction, and need to do something else entirely.

[Q] Problems with Eclipse ADT

From today onwards i decided to start with Android App Development,
So i started following some Android App Dev courses,
but while configuring "ADT" i encountered few problems, listed below:
The "Android SDK Manager" doesn't opens up, it only pop ups a loading box and then it never appears,
I tried using editing the android.bat file, doesn't works for me!
Also, The Android Virtual device is not working, when i try to make a virtual device,
Even after entering all necessary parameters, the "OK" button is still greyed/disabled.
Using:
Windows 8.1, JAVA RE 7, Update 71 (both 32 and 64bits)
Please help
Err0r_Infinity said:
From today onwards i decided to start with Android App Development,
So i started following some Android App Dev courses,
but while configuring "ADT" i encountered few problems, listed below:
The "Android SDK Manager" doesn't opens up, it only pop ups a loading box and then it never appears,
I tried using editing the android.bat file, doesn't works for me!
Also, The Android Virtual device is not working, when i try to make a virtual device,
Even after entering all necessary parameters, the "OK" button is still greyed/disabled.
Using:
Windows 8.1, JAVA RE 7, Update 71 (both 32 and 64bits)
Please help
Click to expand...
Click to collapse
need more info? see logs for detailed information
Your virtual devices are not working maybe, because u dont downloaded sdk version from virtual manager ? Try to update and download all stuff that u dont have, and then try .

[Q] when runing in Android Studio the emulator doesnt pop up..

when im click Run and then choose some Virtual Device the emulator doesnt show up, i did configuire AVD and there is no error... here is my log event:
10:52:40 Gradle build finished in 2 sec
C:\Users\AM\Documents\android-studio\sdk\tools\emulator.exe -avd Nexus_7_2012_API_21 -netspeed full -netdelay none
im waiting for like 10 minutes and still nothing
Sorry for misunderstanding.I noticed it later that your emulator even does not shows.If you still have error than look at idea log .In windows you can find it in C:\Users\<User Name>\.AndroidStudio\system\log\idea.log . Delete it,restart studio and produce the problem then close studio. It will be smaller this time.Open the log in notepad and look which error comes after launching emulator.I hope that you will find there what is preventing the emulator from launching or upload your idea.log.
Can you launch an emulator instance from the AVD manager?
Try launch it from AVD. It is under Tools > Android > AVD Manager

Categories

Resources