|
Using C# how do I know if I am running on a device or emulator? I use the devicename to retrieve data, there will be no data for an emulator; so i will manipulate the emulator name to retrieve data.
Started by George on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If that....
;)
Since you mentioned the words C# and device in your question I'm assuming you mean a Windows CE or Windows Mobile device.
I would think that if it were a REALLY good emulator, your program would never know the difference.
|
|
I've got a pretty big solution with lots of projects. Until now everything worked fine. After adding a Smart Device project it always starts the device emulator selection dialog, even when starting other projects (which don't need the smart device emulator...
Started by bernhardrusch on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Go into the Configuartion Manager and uncheck "Deploy" for the Smart Device.
Then everything works fine.
I have to unload the smart device project.
Okay - now I found a way to circumvent this .
|
|
I am currently in the preparation phase for a new project that will be developed with .NET Compact Framework (2.0 or 3.5, we'll see) and will run on a custom Windows CE 6 hardware. There is, however, one thing I can't get to work:
Debugging seems to be...
Started by OregonGhost on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Than the emulator or the device, they should try and put another "emulator" in that list, that maybeI know what you mean regarding slow performance of the emulator when debugging CF apps what is your connected device....
|
Ask your Facebook Friends
|
I would like to Debug .NET Mobile Device Application using multiple instances of Device Emulator. If I right click the project and go to Debug -> Start new instance in Visual Studio 2008 when an instance is already running I get the error
Unable to...
Started by Christopher Edwards on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Find the file dvcemumanager.exe (it should be in C:\Program Files\Microsoft Device Emulator\1.0 of emulator, because there doesn't seem to be any way of doing that from the device manager but it didn't seem to make any difference....
|
|
Hi SO Friends,
I am working on ARM 9 processor with 266 Mhz with fpu support and 32 MB RAM, I run linux on it.I want to emulate it on pc ( I have both linux and windows availabe on pc ). I want to profile my cycle counts, run my cross-compiled executables...
Started by Wallah on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I don't understand however, why do you need a complete emulator ?
You can already a lot of profiling without....
And for general emulation questions: http://www.google.es/search?q=how+to+write+an+emulator
You should give a look at QEMU .
|
|
On a relatively new emulator image (AVD) I have about 40mb of free space. How can I expand this?
UPDATE: Just to be clear... I'm talking about the "Internal phone storage" size, not the SD Card size.
Started by fiXedd on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I tried a few different values in the emulator ....
Then load it into your emulator using the -sdcard argument:
$ emulator -sdcard <filepath>
I think:
$ emulator -partition-size <size>
is what you're looking for.
|
|
I am working at a client site where there is a proxy server (HTTP) in place. If I do a hard reset of the emulator it forgets network connection settings for the emulator and settings in the hosted Windows Mobile OS. If I 'save state and exit' it will ...
Started by BrianLy on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
So that when a real device, or your device is reset, it has a statically stored configuration file outside of the RAM that can.
Alternate device storage for these settings, just like a real device.
|
|
I am having trouble in testing a Midlet. I am using j2me sdk 3, the Midlet builds successfully, but when i try to run it, it fails and it shows the following message in the log
Failed to connect to device {0}! Reason: Emulator {0} terminated while waiting...
Started by Elias Haileselassie on
, 3 posts
by 2 people.
Answer Snippets (Read the full thread at stackoverflow):
Although my previous answer works for some people, if it doesn't work for you, and you are on a mac, do the unthinkable...reboot your mac, yea you heard me right... .
Just go to tools/java platform, select the CLDC Framework blah blah blah and Click refresh .
|
|
Hi guys,
For my c# mobile application developed with visual studio 2008, i am trying to use the FTP. FTP works fine from the real device, but it does not work when i use the device emulator: the connection is successful, but it failed when attenpting ...
Started by Bounded on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
From there you can right-click on the currently running device....
In Visual Studio, go to Tools and open the Device Emulator Manager .
Have you tried "cradling" the device emulator.
Knowledge about tcp ip and all this stuff.
|
|
I'm trying to run the Webkit Layout Tests on the Android emulator using the command line shell in Ubuntu 9.04. adb -s emulator-5554 shell am instrument -w \ com.android.dumprendertree/com.android.dumprendertree.LayoutTestsAutoRunner
I get this error:
...
Started by Buakaw San on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Build/envsetup.sh (cd frameworks/base/tests/DumpRenderTree/ && mm) && \ adb install out/target/product/generic/data/app/DumpRenderTree.apk
Then you can run the instrumentation tests: adb -s emulator... .
I've found an answer at Android - Instrumentation Testing.
|