[android-developers] Android Maven Plugin 4.1.1 released

2015-02-04 Thread Manfred Moser
The Android Maven Plugin team is pleased to announce the release of version 
4.1.1 of the plugin:

plugin
  groupIdcom.simpligility.maven.plugins/groupId
  artifactIdandroid-maven-plugin/artifactId
  version4.1.1/version
 extensionstrue/extensions
/plugin

New features/bug fixes for the specific release are


   - 
   
   Added Manifest Merger v2 example (tictactoe)  Deprecated merge manifest 
   v1
   - 
   
   Added proguard support from library (AAR) projects
   - 
   
   Corrected unpackedLibsFolder default value
   - 
   
   Documentation updates for the site rendering
   - 
   
   Change default value for aidlSourceDirectory to src/main/aidl
   - 
   
   Fix to allow both release-plugin and IDEs to correctly consume AAR deps.
   - 
   
   Updated Takari lifecyle and integration testing setup to new releases
   - 
   
   Improvement of versionCode generator
   
https://github.com/simpligility/android-maven-plugin/blob/master/src/site/asciidoc/changelog.adoc

We would like to thank the contributors to this release for their valuable 
help and invite you all to help us out as well:

Specifically for this release we would like to thank the following 
contributors for their awesome work.

Core Committers

   - Benoit Billington https://github.com/Shusshu
   - Manfred Moser http://www.simpligility.com
   - Malachi de AElfweald https://github.com/malachid
   - Johan Lindquist https://github.com/johanlindquist
   - William Ferguson http://github.com/william-ferguson-au
   
Committers for this release


   - Benoit Billington https://github.com/Shusshu
   - Manfred Moser http://www.simpligility.com
   - David Sobreira Marques https://github.com/dpsm
   - Igor Fedorenko https://github.com/ifedorenko
   - Hoyt Summers Pittman https://github.com/secondsun
   - Csaba Kozák https://github.com/WonderCsabo
   - Pappy Stanescu https://github.com/pa314159

We would also like to thank for the help we received from the Maven 
community members and everybody else out there for any help we received in 
our issue tracker and beyond.
Release build done by  Manfred Moser http://www.simpligility.co 
http://www.simpligility.com/m

Documentation, issue tracker and more can be found on the plugin websites at

https://github.com/simpligility/android-maven-plugin/
http://simpligility.github.io/android-maven-plugin/

Please join the Maven Android Mailing List for relevant discussions:

https://groups.google.com/forum/?fromgroups#!forum/maven-android-developers

Enjoy and congratulations to everyone involved. 

Manfred Moser
http://www.simpligility.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: AndroidStudio feedback (vs Eclipse)

2015-01-21 Thread Manfred Moser
Also for all the Eclipse users .. there is an effort underway at the 
Eclipse foundation that builds on top of ADT and other projects to continue 
providing a first class Android development tooling setup with Eclipse.

You should follow the progress and help out.

https://projects.eclipse.org/projects/tools.andmore

On Tuesday, 20 January 2015 11:22:27 UTC-8, MarkG123 wrote:

 Persevere, it's well worth the effort.  Converting project's instant 
 straightforward (mostly due to changes in build system), and that's where 
 your problems are, not Android Studio itself.

 For my more complicated projects, I find it's easier NOT to try and 
 convert them.   Create a new empty project with the same package name as 
 your Eclipse project, let Android Studio create the gradle files and 
 project structure, and then copy in your  source, manifact and resources 
 into their respective places in the new folder structure.   You can then 
 set up your key signing and check your project build settings and 
 obfuscation and such.



 On Tuesday, 13 January 2015 23:26:37 UTC, Nanard wrote:

 Hi,

 I've been programming since the beginning with Eclipse+SDK.
 I saw it won't be supported for long, as AndroidStudio became the 
 official dev. platform.   I am then trying to migrate all my code into 
 AndroidStudio.

 I have 2 versions : 1 free, 1 full.  Then I'm learning 'the hard way'  : 
 using flavors.

 My feedback :
 - I am loosing a lot of time trying to understand and searching for 
 sample on the web.  A few help using AndroidStudio, flavor, ...
 - I doubt I could migrate my App on AndroidStudio.
 - It's a huge waste of effort.  2 weeks lost already (2hrs/night)

 Of course, Eclipse wasn't perfect (especially when new versions came : I 
 had to re-create new Projects and copy/paste code), but it worked, and I 
 published my Apps.

 With AndroidStudio well, I'm starting to believe I will leave Android 
 programming !

 Any such feedback ?
 Will Google finally support Eclipse+SDK again for the years to come ?

 As with Android 5.x on Nexus, and last update freeze (I had to send my 
 phone to Google, and get a Nexus which now stays on OS 4.4 :-)  ,  I think 
 AndroidStudio was a bad choice, and the developers should be able to use 
 Eclipse+SDK for many more years.  Will Google 'go back' on its decision, 
 and not force us to use AndroidStudio ?



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Migrating to Android Studio

2015-01-21 Thread Manfred Moser
Check out the Eclipse Android tooling.. 

https://projects.eclipse.org/projects/tools.andmore

On Tuesday, 13 January 2015 15:36:55 UTC-8, Nanard wrote:

 I regret the choice from Google to 'force' us to use AndroidStudio.
 The Studio is not so bad, after a few hours of practice.

 But, in my case, I have a lot of difficulties managing my code, the IDE 
 seems to work better if you use the User Interface : menus, mouse, ...  If 
 you enter code (interface, image resources  using keyboard or 'cp' for 
 .png : it won't work well).

 Example :
 I have 2 versions.  Easy in Eclipse : 3 projets : 2 App+1Lib
 On Android studio, you can have only 1 projet, but several 'flavors'.  
 Each time you edit a file, you have to 'be' in the correct flavor, or the 
 App won't compile !!!
 How to add and use common code to both flavor ?   When I do it, 
 AndroidStudio 'loose' the 'path' to resources (R.layout), the App won't 
 compile.
 I'm also not sure you can create images with Gimp directly in the 
 AndroidStudio resource directory...
 AndroidStudio also, as many more config files (more the Eclipse where only 
 the Android.manifest we usefull to understand)

 If Google could forget AndroidStudio and go back to officialy support 
 Eclipse+SDK... it will be a wonderfull year !



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Android Maven Plugin 4.0.0 released

2014-11-28 Thread Manfred Moser
Hi all!

Just a quick heads up that the Android Maven Plugin with full aar support 
and host of other features has been released. 

http://www.simpligility.com/2014/11/android-maven-plugin-4-0-0-ships/

manfred

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Emulator with disabled camera still has camera?

2011-02-04 Thread Manfred Moser
Hi!

I want to test that my app behaves correctly without camera support but I 
have no device without camera. So I created a avd with Camer support set to 
no. 

However when I run the emulator this call still returns true

public boolean hasCamera() {
PackageManager packageManager = application.getPackageManager();
return 
packageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA);
}

Is this a bug in the emulator that I should report or am I missing 
something?

thx

manfred

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Emulator with disabled camera still has camera?

2011-02-04 Thread Manfred Moser
I have created an issue.
http://code.google.com/p/android/issues/detail?id=14545


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: ANNOUNCE: RoboGuice 1.1 now available

2011-01-26 Thread Manfred Moser
Thanks for the great release. Going to start using it NOW!!

Love it

manfred

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: uses-feature android.hardware.wifi and android:required=false

2010-11-12 Thread Manfred Moser
I find the same problem. Building again version 4 ..

On Oct 29, 7:54 am, TreKing treking...@gmail.com wrote:
 2010/10/25 Antonio Vázquez Blanco antoniovazquezbla...@gmail.com

  How can I fix it?

 Which API version are you building against?

 --- 
 --
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: SIGH ... Android SOAP

2010-11-04 Thread Manfred Moser
If you have no choice but to talk to a soap web service I would
recommend using ksoap2-android. It has been working fine for my
application on the android market and a bunch of others as well.

http://code.google.com/p/ksoap2-android/

manfred

Disclaimer: I am the current project owner of the project..

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Ksoap2 Android project revived and new release

2010-10-18 Thread Manfred Moser
Hi!

I just wanted to give you all a heads up that the dormant ksaop2-
android project has been revived

http://www.simpligility.com/2010/10/reviving-ksoap2-for-android/

and a new release 2.5.1 has been created. Among other things it fixed
problems with attribute parsing and soapfault catching. There are also
new convenience parsing methods and we have plans for some more
enhancement with the next release.

Please check out the overhauled site and wiki
http://code.google.com/p/ksoap2-android/

and join the brand new mailing list.

http://groups.google.com/group/ksoap2-android

Manfred Moser
http://www.simpligility.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Multi module project in Eclipse

2010-07-08 Thread Manfred Moser
Hi!

I wrote up how to set up a multi module Maven Android project in
Eclipse and thought I share that here too since it seemed a bunch of
people had problems with it and might not be following the Maven
Android Developer list.

http://www.simpligility.com/2010/07/multi-module-android-project-in-eclipse/

manfred

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Maven and Android

2010-06-21 Thread Manfred Moser
The android jar artifacts now hit maven central.

http://www.simpligility.com/2010/06/android-artifacts-hit-maven-central/

and you can get a lot of mileage out of using the maven android plugin
if you build is more than just the standard build. If you start
modifying the stock ant scripts you might as well go Maven. It also
works great with continuous integration servers..

manfred

PS: I am not inpartial since I am committer on the plugin and author
of the Android chapter in the Maven: The Complete Reference book.



On Jun 3, 8:44 am, Lee Fisher blib...@gmail.com wrote:
 There are a handful of Android/Maventools, and a some Android project
 useMaven, to look at as a model. But the official Android SDK doesn't
 useMavenas part of it's toolchain, so you should be careful.

 http://code.google.com/hosting/search?q=label%3Aandroid+maven

 http://code.google.com/p/m2eclipse-android-integration

 http://code.google.com/p/maven-android-plugin/

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Android jar files available in Maven central

2010-06-21 Thread Manfred Moser
Just a quick heads up that thanks to a combined community effort the
android jar files are now available in maven central.

http://www.simpligility.com/2010/06/android-artifacts-hit-maven-central

The artifacts are usable from Maven via the Maven Android Plugin or
also other build tools that use the maven central repository for
dependency resolution like ivy, ant and so on.

manfred

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Xml parsing

2010-06-21 Thread Manfred Moser
There is also ksoap2 that you can use to work with SOAP which supports
marshalling. Check it out at
http://code.google.com/p/ksoap2-android/

or use my patched version if you need attribute support as well.

http://www.simpligility.com/2010/05/attribute-support-for-ksoap2-on-android/

Manfred Moser
http:/www.simpligility.com/

On Jun 21, 1:47 pm, Mark Murphy mmur...@commonsware.com wrote:
 On Sun, Jun 20, 2010 at 10:56 AM, Davide d...@vide.bz wrote:
  Does Android support jaxb?

 No.

  It look no. Any framework you can tell me?

 DOM, SAX, and the XML Pull Parser (org.xmlpull) are available in Android.

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

 Android App Developer Books:http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Android jar artifacts now available in Maven central

2010-06-19 Thread Manfred Moser
Hi all!

I just thought I let you all know that thanks to a community effort
the Android jar artifacts are now available in Maven central. More
details are found at http://bit.ly/ccBr4T

This include source and javadoc bundles and can of course also be used
by other build tools that access Maven central.

manfred
http://www.simpligility.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Xml attribute support for ksoap2 on android

2010-05-25 Thread Manfred Moser
Hi!

I have created a patch for the ksoap2- android project that support
xml attributes. Please find more details on how to download, build and
use on my site at http://bit.ly/bOEiw9

Manfred

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Why is the android jar stubbed?

2010-05-13 Thread Manfred Moser
Hi!

I am trying to figure out a way to run unit tests with some android
provided classes (e.g. org.json). I would like to be able to run these
outside the emulator for performance reasons.

The only way I can think of at this stage is to have a separate module
that uses org.json (not the android one) that runs all the tests and
so that I then include in my android project.

The problem is that if I try to use the android jar (including the
provided) in my tests all methods will throw exceptions (well know
fact..)

Now I am just trying to understand why this is the case. My hunch is
that the android.jar implementation classes are pretty tightly coupled
to the underlying archticture and libraries (e.g. via jni to opencore,
opengl and so on and son) and it would be a pretty difficult task to
unbundle this all and make it run on the jvm rather then the android
stack with the dalvik vm.

Can somebody confirm it I am right or totally wrong? Is there a chance
that at least some stuff can be tested outside if I create a android
jar that contains the actual implementations by building android open
source or is this all going to end in a huge  misery for myself?

manfred

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Why is the android jar stubbed?

2010-05-13 Thread Manfred Moser


On May 13, 11:49 am, Mark Murphy mmur...@commonsware.com wrote:
 Manfred Moser wrote:
  My hunch is
  that the android.jar implementation classes are pretty tightly coupled
  to the underlying archticture and libraries (e.g. via jni to opencore,
  opengl and so on and son) and it would be a pretty difficult task to
  unbundle this all and make it run on the jvm rather then the android
  stack with the dalvik vm.

 I'd substitute utterly impossible for pretty difficult.

So I guess that my suspicions is pretty correct then..

  Can somebody confirm it I am right or totally wrong? Is there a chance
  that at least some stuff can be tested outside if I create a android
  jar that contains the actual implementations by building android open
  source or is this all going to end in a huge  misery for myself?

 If you have pure Java logic that you want to test outside of Android,
 put it in a separate JAR and test it using JUnit.

 If you have mostly-pure Java logic that you want to test outside of
 Android, write interfaces to isolate the Android-specific bits, and test
 it using JUnit and an Android-free mock of the interface.

 If you have code that is heavily dependent on Android, test it in the
 emulator. If the emulator is not running fast enough for you, get a
 faster PC, or perhaps load android-x86 on some box so you get out of the
 emulation environment. I have not tried the android-x86 strategy, but in
 principle it should be faster than the emulator (assuming the hardware
 you install it on is not crazy slow).

All that makes sense and is not a problem, but what if I would like to
write a bunch of tests that use org.apache.http and org.json classes
that would be supplied by android in the emulator. Could I run them
against stock apache and json jars (of which I would have to find the
corresponding version) outside of the android stack but then at
runtime just have them using the android ones.It boils down to how
compatible are the packaged copies of source with upstream in a
way..

manfred

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Reusable Android library packaging: interest?

2010-04-04 Thread Manfred Moser
I like the idea and as far as I know this is already possible to some
extend by using the Maven Android Plugin. However this is really a
suboptimal way in terms of component reuse on the device. Ideally it
would even go further and get to a stage where a app could declare a
dependency to a widget, library, intent or whatever and some central
repository would be providing it for download.

This would be similar to how e.g maven treats dependencies and
downloads them on the fly when needed or even closer to Android how
Linux package management systems like apt or rpm handle dependencies.
The only problem with this approach is that it requires a strong open
source  community supporting the distribtution mechanism and at thist
age I have my doubts this could be achieved on Android. Would be great
though!

manfred

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using remove me as the subject.


[android-developers] Platform 1.1 gone?

2010-03-23 Thread Manfred Moser
Hi!

I just installed the latest SDK on a new machine (mac) and found that
there is no 1.1 platform available anymore. Is that just an oversight
or bug or has the platform somehow been decommissioned or so?

manfred

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: Platform 1.1 gone?

2010-03-23 Thread Manfred Moser
Thank you. I just needed to decide if it is gone and decide how to
adapt the maven android sdk deployer to that fact. At this stage, also
given the the chart, I might remove support for 1.1 from the deployer.

http://github.com/mosabua/maven-android-sdk-deployer/

manfred

On Mar 23, 2:37 pm, Xavier Ducrohet x...@android.com wrote:
 The platform has been marked as obsolete. If you disable the checkbox
 Show only update checkbox you will see it.

 However there is little point in using 1.1 as you can see from the
 chart 
 at:http://developer.android.com/resources/dashboard/platform-versions.html

 Xav





 On Tue, Mar 23, 2010 at 2:34 PM, Manfred Moser mosa...@gmail.com wrote:
  Hi!

  I just installed the latest SDK on a new machine (mac) and found that
  there is no 1.1 platform available anymore. Is that just an oversight
  or bug or has the platform somehow been decommissioned or so?

  manfred

  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

  To unsubscribe from this group, send email to 
  android-developers+unsubscribegooglegroups.com or reply to this email with 
  the words REMOVE ME as the subject.

 --
 Xavier Ducrohet
 Android SDK Tech Lead
 Google Inc.

 Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.