|
Do you have to start the emulator each time you want to debug something? Last time I tried something with android I could just use a running emulator and just push the app to it to debug. There was no need to completely shut down and restart the whole OS.
|
|
|
|
|
I tried that, but the second build failed because the target was in use - which I assumed was because it was still installed on the emulator, even if it wasn't running.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Nicholas Marty wrote: ...I could just use a running emulator and just push the app to it to debug. There was no need to completely shut down and restart the whole OS. This is how I do it (all day long). I will even sometimes close Eclipse and restart it, all the while leaving the emulator open. When Eclipse starts back up, it'll find the emulator.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
Oddly, I'll be heading down that trail.
Progress so far: an Android device*
* (Samsung Galaxy gotten free from a bank for getting their credit card)
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
I'm using the Xamarin Forms in VS2015, and it's a bit...um...not "mass market" yet. Where you expect VS to install, create a project and go for it, it just doesn't work like that. Partly that's because it's cross system dev, but partly because it's implemented very clumsily, I think.
If you ignore emulators, and debug Windows 8.1 apps then check via real Android hardware it seems to be a lot smoother.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
|
Another post like that and you'll have successfully talked me out of it.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
There's pain, yes - but I'm prepared to accept some pain up front if it reduces the hassle downstream. And after all this is trying to cross develop, which is always going to be more complex than developing on the target directly.
But I think the potential rewards are worth it.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
It's just a one-time thing.
/ravi
|
|
|
|
|
Are you able to debug then, running on the device? Even after allowing adb soft breakpoints, I was still unable to use F11 in Xamarin. From a while back...The Lounge - CodeProject[^]
I haven't tried it (Xamarin) in a couple of months, but will probably get back into it sometime this week.
"Go forth into the source" - Neal Morse
|
|
|
|
|
Yes - I just tried it and a breakpoint in VS stopped promptly when it was hit. I can review variable content, but (obviously) I can't edit-and-continue (damn, but I'd got used to that working!)
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Also "Set Next Statement" isn't supported.
/ravi
|
|
|
|
|
At present I don't have to worry about mobile development As you can't get much information about insurance on the devices in the way that the company works.
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
Android Studio and Java is so much easier.
|
|
|
|
|
I've a reasonable amount of C# codebase I'd like to leverage into mobile, and Xamarin looks like it should be a good way to do that. If it doesn't work, then at least I get a familiarity with some of the Android application way of doing things without having to learn Java.
If it does work, then a large chunk of my .NET experience can carry over instead of having to work out how the Java / Android framework operates.
And in theory, I get iOS and UWP thrown in, which might be useful one day!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
OriginalGriff wrote: I've a reasonable amount of C# codebase I'd like to leverage into mobile Me too. But even if I didn't, I doubt I could go back to using Android Studio and Java to build Android apps.
/ravi
|
|
|
|
|
That's one small step for a man, one small crawl for mankind.
Congrats
cheers, Bill
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
|
|
|
|
|
Isn't Android fun? I'm having a blast porting a large C# Win desktop app to Android!
/ravi
|
|
|
|
|
Is that the new thing?
"Hello, world, I'm yay big"?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
May <your favourite deity> have mercy on your soul...
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|
Quote: Python: What if everything was a dict?
Java: What if everything was an object?
JavaScript: What if everything was a dict and an object?
C: What if everything was a pointer?
APL: What if everything was an array?
Tcl: What if everything was a string?
Prolog: What if everything was a term?
Lisp: What if everything was a pair?
Scheme: What if everything was a function?
Haskell: What if everything was a monad?
Assembly: What if everything was a register?
Coq: What if everything was a type/proposition?
COBOL: WHAT IF EVERYTHING WAS UPPERCASE?
C#: What if everything was like Java, but different?
Ruby: What if everything was monkey patched?
Pascal: BEGIN What if everything was structured? END
C++: What if we added everything to the language?
C++11: What if we forgot to stop adding stuff?
Rust: What if garbage collection didn't exist?
Go: What if we tried designing C a second time?
Perl: What if shell, sed, and awk were one language?
Perl6: What if we took the joke too far?
PHP: What if we wanted to make SQL injection easier?
VB: What if we wanted to allow anyone to program?
VB.NET: What if we wanted them to stop again?
Forth: What if everything was a stack?
ColorForth: What if the stack was green?
PostScript: What if everything was printed at 600dpi?
XSLT: What if everything was an XML element?
Make: What if everything was a dependency?
m4: What if everything was incomprehensibly quoted?
Scala: What if Haskell ran on the JVM?
Clojure: What if Lisp ran on the JVM?
Lua: What if game developers got tired of C++?
Mathematica: What if Steven Wolfram invented everything?
Malbolge: What if there is no god?
I was originally sent this as an image[^] that looks like it was a picture of a poster. Unfortunately I can't find anything other than that image itself, which is a pity because I'd love to have it framed in my cube.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
VB 6.0: What if everything was excrement?
... such stuff as dreams are made on
|
|
|
|
|
Sorry - list is disqualified. It omitted FORTRAN.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
That's because FORTRAN is the only completely perfect language.
... such stuff as dreams are made on
|
|
|
|
|
Nah...Z80 assembler.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|