Mobile SDK 6 Examples - Windows Mobile Development and Hacking General

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.

Related

Emulator Debugging - 'Unable to start program'

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

Deploy to Disconnected WM5

Hi,
I would like to let the user run a Win32 installer that will install the WM5 application to a device, if it is connected, otherwise it will install it to the device when it is next connected.
Is this possible?
Can I place the CAB and ini files in a certain directory and have them automatically installed to the device when it is next connected???
Thanks!
Nevermind... Just added some logic to my MSI to prompt the user to connect their device if its not connected and loop over that until a connected device is found.

[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] 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

EasyAppxInstall - Easily sideload Win10 apps with certificates and depenendencies

Open the program where your app package is located and it will do all the work for you. It's much better than the built in App Installer since it actually tries to install the dependencies and the certificate with the app.
It's also better than using the powershell file because you only need to double-click the .exe them everything is handled for you. No input required.
Only need to turn on sideload mode or developer mode to get the program working correctly so it's even way for people who aren't that good at using PCs.
Latest Release (Download): https://github.com/colinkiama/EasyAppxInstall/releases
Source Code: https://github.com/colinkiama/EasyAppxInstall

Categories

Resources