[Q]Eclipse Android Emulator not installing/starting the App - Android Software Development

Hey guys,
I am trying some android developement for some weeks now but made a pause, of let's say 2 weeks, now I wanted to start again and tried to launch the simple "HelloWord" App with the android emulator. Didn't work. Then i copied some new source code from a professional android journal into eclipse and tried it again. Again, the emulator starts but doesn't install the app / start it. The weird thing is, there is no error message.
Code:
1[2011-03-30 17:31:14 - PushMe] Android Launch!
2[2011-03-30 17:31:14 - PushMe] adb is running normally.
3[2011-03-30 17:31:14 - PushMe] Performing de.visionera.pushme.StartActivity activity launch
4[2011-03-30 17:31:14 - PushMe] Automatic Target Mode: launching new emulator with compatible AVD 'AVD202'
5[2011-03-30 17:31:14 - PushMe] Launching a new emulator with Virtual Device 'AVD202'
This is everything. I tried installing the Android SDK a second time (with patching and all the stuff, but didn't help.
edit: a thing i forgot: I googled the problem for some time and they said It got solved by "reset adb" in the DDMS view, but this didn't actually help me, i just got following error message:
Code:
[2011-03-31 15:30:27 - DeviceMonitor]Adb connection Error:Eine vorhandene Verbindung wurde vom Remotehost geschlossen
[2011-03-31 15:30:28 - DeviceMonitor]Connection attempts: 1
the "Eine vorhandene Verbindung wurde vom Remotehost geschlossen" means: "An existing connection has been closed by the remotehost"
it appears again..

Related

Keeping The OS From Killing My Application

Hi,
to access the camera I thought of the following:
1. CreateProcess("Camera.exe")
2. Wait for the process to exit
3. Get the new image vom "My Pictures"
The problem is that my program is closed by the system:
When I close camera.exe, my program (or Internet Explorer, if I run it as an ActiveX control) is closed.
Not only minimized, but *closed*.
Any idea?
Regards,
Marvin

security error message in PIE

While trying to log in to blogger.com from my XDA Mini I get the following error: 'some of the content cannot be displayed due to the pocket pc security settings'
any ideas?
i also have same proble with the java vm a few day ago it worked perfectly the cr-eme java vm now on my wizard g4 it shows only thit when it shoul be opening the popup window with the java script page some content cannot be displayed due to the pocket pc security settings how can i bypass this PLEASE ANYONE!!!!! I NEED THE JAVA VM ON MY MACHINE TO WORK AS IT WAS BEFORE I JUST INSTALLED MOLSKY'S ROM AND NOW IS NOT WORKING ANYMORE IS IT BECAUSE OF AKU 2.3?

Application fails to re-activate

Hi
I'm executing my app on the device (WM5) . It runs ok, but when I'm trying to re-activate it after switching to other application - gives me this error:
"The application failed to load required components. If the .NET Compact Framework installed on a storage card........ Support Info: -2147479552 (80001000).
re-activate means that I use the "task manager" and select my app.
My application is placed under "My Documents" (does it matters?)
Any idea?
Thanks.
No Idea on how to solve it?
Solved
Kind'f solved - This is a bug between Samsung blackjzk and CF Freawaork 2.0,
Installing the Compact FW 3.5 on the device solved it.
http://forum.xda-developers.com/showthread.php?t=398571

Running .NET Compact Framework Application on WinXP

Some time ago i found out when you resolve the working dir with
Code:
System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase)
and you run your program on a XP computer it crashes if you try to access a file with you AppPath String
this problem comes from that this code gives you the dir with a starting "file:\"
so just remove it and it is fine...
Here a VB.NET code for that
Code:
'Get the Startup Path
AppPath = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase)
If AppPath.StartsWith("file:\") Then
AppPath = AppPath.Substring(6)
'MsgBox(AppPath)
End If
You ask for what that is good for?
You can test your apps without an emulator, test if it works on any resolution or play around with you tablet pc

[WM6 Emulator]Is there any working Java Platform?

Hello, I've not found anywhere answer to my question so I ask here. Don't you know any 100% working Java Virtual Machine to set on Windows Mobile 6 Emulator (and the best on free commercial license)?
Soft (emulator) I use is from:
http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=38c46aa8-1dd7-426f-a913-4f370a65a582&displaylang=en
Another interesting thing is that I downloaded and launched WM 5 Emulator and without any problem installed JBed platform. Unfortunatelly WM 6 doesn't allow me to launch any midlet (using JBed). It throws:
Code:
The file 'jbed' cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. If the problem persists, try reinstalling or restoring this file.
Myisafu brakes installation process and couldn't reach to the end.
Many similar topics are to found on the internet, but none of them touches emulator problem. All of them are with reference to real devices.
Regards.

Categories

Resources