[android-developers] Example CI setup with Jenkins and Git?

2015-09-08 Thread Casper Bang
I'm looking for a best-practice CI approach for Android apps using de-facto standard Jenkins, Git and of course Gradle. From what I've seen in this regard so far (and my own dabbling), Gradle is a step back to Ant days, as every project ends up with ugly and custom scripting. My current setup

[android-developers] Re: Flash for android

2009-09-24 Thread Casper Bang
AFAIK, there is no downloadable version of Flash that can be applied to arbitrary Android devices the way you can download flash to PCs. Which is funny. You can often dig into a sophisticated community ROM's (i.e. Cyanogen's) and extract certain applications and put them on your own handset.

[android-developers] Re: Trying to get Javascript on Android

2009-09-18 Thread Casper Bang
I asked a similar question a few weeks ago with no answer. I am using JQuery for some animation on a 1 sec timer which also fails in the Android browser. The only thing I can imagine is that we run into some kind of JavaScript speed limitation, exhausted javascript message pump or something like

[android-developers] Re: Trying to get Javascript on Android

2009-09-18 Thread Casper Bang
Oh certainly, but as I said, it works in the emulator. So currently I don't think my problem is due to heavy javascript usage. I don't want to steal the thread from ebisudave, but as an example of the kind I have trouble with, take a look at the top chart here (animated jquery sparkline example):

[android-developers] Re: How to display an arraylist

2009-09-09 Thread Casper Bang
You can always log the content and use LogCat to view the ouput. Or you could create a test Intent for the purpose: public class DumpArray extends ListActivity{ public void onCreate(Bundle savedInstance){ super.onCreate(savedInstance); setListAdapter( new

[android-developers] Re: How to display an arraylist

2009-09-09 Thread Casper Bang
Oops, that should say Activity rather than Intent: Or you could create a test Intent for the purpose: Double oops, I did not see you wanted to display ArrayListArrayList? . --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: JSR - Does Android have a list of JSR's ?

2009-09-06 Thread Casper Bang
Apache Harmony does implement the umbrella JSR's that makes up Java. Two problems though, 1) Android includes a subset of Harmony and 2) Technically Harmony is not Java as Sun has been unwilling to grant them that status. /Casper On 6 Sep., 12:23, Mark Murphy mmur...@commonsware.com wrote:

[android-developers] Android's Safari/khtml browser and JQuery

2009-09-02 Thread Casper Bang
I have a small browser based monitoring application that uses JQuery (and more specifically the Sparklines chart plugin) to draw onto the screen. While the drawing initially works, there seems to be an issue with event handling and JQuery since the chart is not updated (sometimes I get sporadic

[android-developers] Emulator overclocking?

2009-08-27 Thread Casper Bang
While I really like the emulator and how realistically it mostly behaves, at prototyping/RAD times I wish I could over-clock it and have to wait less for it. Not so much an issue on a full size desktop, but I do find it odd how slow it is on a Core II Duo 1.2GHz considering the performance I get

[android-developers] Re: Emulator overclocking?

2009-08-27 Thread Casper Bang
that the host CPU runs. You may want to try just developing directly against a real device.  It may run faster than the emulator on your PC, and the development environment is nearly the same. On Thu, Aug 27, 2009 at 6:16 AM, Casper Bang casper.b...@gmail.com wrote: While I really like

[android-developers] Re: MyTouch Lag Problems

2009-08-25 Thread Casper Bang
Never heard of that issue anywhere, but the screen is obviously less sensitive at the edge of the screen - though particular noticeable when using the spacebar on the soft-touch keyboard. /Casper On 25 Aug., 20:35, Chris Stratton cs07...@gmail.com wrote: On Aug 25, 1:04 am, Mike

[android-developers] Re: Time to first screen, boot-up time and app-start time?

2009-08-25 Thread Casper Bang
Yeah it might not be terribly important, but it does leave a bad impression when showcasing the device. I mean, my Magic takes 1min 10sec to get to the SIM-unlock screen. A full fledged Ubuntu *nix takes about 40 sec, iPhone *nix about 42 sec and Samsung 10 wifi picture frame *nix takes about 20

[android-developers] Re: unsubscribe to group mot working

2009-08-21 Thread Casper Bang
While we're pointing out things that do not work: The link to the FAQ section sniffs out my locale and directs me to a non-existing: http://developer.android.com/intl/da/guide/appendix/faq/index.html Same thing happens when clicking the Groups overview:

[android-developers] Re: Multi-touch

2009-08-17 Thread Casper Bang
I wonder if x2 and y2 of MotionEvent could be fetched by means of reflection, using setAccessable() and then uptain their values. A SecurityManager might get in the way though?! /Casper On 17 Aug., 21:09, Marco Nelissen marc...@android.com wrote: That webpage doesn't appear to exist. On Mon,

[android-developers] Re: Multi-touch

2009-08-17 Thread Casper Bang
Aw bummer. That would've made for a fun evening. /Casper On 17 Aug., 21:44, Jason Proctor jason.android.li...@gmail.com wrote: update: i'm not seeing the x2 and y2 coordinates in event.toString(), at least on a release cupcake kernel. maybe the guy was using an older kernel, with

[android-developers] Re: any development book for new guy?

2009-08-14 Thread Casper Bang
I second the recommendation for Mark Murphy's books. I wish I had known about these before investing in other ones. Small mini-review to explain why on my blog: http://coffeecokeandcode.blogspot.com/2009/08/android-books-review.html /Casper On 14 Aug., 08:42, Barry Wei barrywei.uyg...@gmail.com

[android-developers] Re: any development book for new guy?

2009-08-14 Thread Casper Bang
Whoa, please don't put words in my mouth. I know you've answered my question regarding the subject since. It doesn't really have much to do with the book review but I will go ahead and update my entry anyway. Peace. :) /Casper --~--~-~--~~~---~--~~ You received

[android-developers] Re: how to get notified(or Listen) for the changes in SD card

2009-08-13 Thread Casper Bang
Filesystem monitoring is only provided in Java in the NIO2 stuff coming with Java 7. Android supports a subset of Java 6 so perhaps you can port this over yourself by looking at their source. As far as I know though, even the NIO2 will often need to use constant polling which would absolutely

[android-developers] Re: Android Market timeline

2009-08-10 Thread Casper Bang
Danish consumer/developer chiming in here. It IS a major problem and one Google aught to treat as such if they wish to see Android flourish. I had to root my phone just so I could buy GPS software to bring along for a summer roadtrip! I can only guess that Google is handling infrastructure and

[android-developers] Re: T-Mobile MyTouch Emulator Skin

2009-08-09 Thread Casper Bang
Not sure if it will suit your need, but I did a generic white HTC Magic skin a few months ago: http://coffeecokeandcode.blogspot.com/2009/06/htc-magic-skin-for-android-emulator.html /Casper On 9 Aug., 18:50, droidin.net bost...@gmail.com wrote: I tried to Google for it to no avail. I really

[android-developers] How to trap search button in emulator?

2009-06-21 Thread Casper Bang
In creating a HTC Magic skin for the Android emulator, I am unable to map the search button in a layout file. It does not appear to be possible, the KeyInfo constants inside skin_file.c contains all other control buttons such as home, back and menu (soft-left). I'm tempted to file a bug report,