http://droidfreeapps.com/2010/09/how-to-add-swype-to-your-android-phone/
Monat: September 2010
Eclipse 3.6.1 freigegeben
http://www.eclipse.org/eclipse/development/readme_eclipse_3.6.1.html führt die Änderungen auf. Download wie üblich unter http://www.eclipse.org/downloads/.
Ant-Skripte für die Android-Entwicklung (AndCooperANT)
Der Build-Prozess für Android-Programme nimmt durch die Obfuscation einen Extra-Schritt. Das Projekt http://github.com/shareme/AndCooperANT von Fred Grott stellt Ant-Skripte bereit, die helfen, ProGuard richtig einzubinden, sodass die Entschlüsselung von Android-Programmen erschwert wird. Insbesondere mit der Anbindung an den Lizenzserver ist das zentraler Schritt – einige gehackte Programmen haben genau darauf nicht geachtet.
Das zentrale Ant-Skript ist http://github.com/shareme/AndCooperANT/blob/master/add-proguard-release.xml mit den Anpassungen in http://github.com/shareme/AndCooperANT/blob/master/proguard_android_config.txt.
<path id="android.modified.classpath">
<fileset dir="${external.libs.dir}">
<include name="**/*.jar"/>
</fileset>
<path refid="android.target.classpath"/>
</path>
<property name="obfuscate.dir" value="obf" />
<property name="obfuscate.absolute.dir" location="${obfuscate.dir}" />
<property name="android-jar-preobfuscate" value="${obfuscate.absolute.dir}/original.jar" />
<property name="android-jar-postobfuscate" value="${obfuscate.absolute.dir}/postobf.jar" />
<property name="out.dex.input.absolute.dir" value="${android-jar-postobfuscate}" />
<!-- replaces the post-compile step from ant_rules_r3 -->
<target name="-post-compile" depends="-dex-obfuscate,-dex-no-obfuscate">
</target>
<target name="-dex-no-obfuscate" unless="build.mode.release">
<mkdir dir="${obfuscate.absolute.dir}" />
<jar basedir="${out.classes.dir}" destfile="${android-jar-postobfuscate}" />
</target>
<!-- Converts this project's .class files into .dex files -->
<target name="-dex-obfuscate" if="build.mode.release">
<property name="proguard-jar" value="${proguard.dir}/proguard.jar" />
<property name="proguard-conf.dir" value="" />
<property name="proguard-conf.absolute.dir" location="${proguard-conf.dir}" />
<property name="proguard-conf" value="${proguard-conf.absolute.dir}/procfg.txt" />
<property name="libraryjarpath" refid="android.modified.classpath"/>
<!-- Add Proguard Task -->
<taskdef resource="proguard/ant/task.properties" classpath="${proguard-jar}" />
<mkdir dir="${obfuscate.absolute.dir}" />
<delete file="${android-jar-preobfuscate}"/>
<delete file="${android-jar-postobfuscate}"/>
<jar basedir="${out.classes.dir}" destfile="${android-jar-preobfuscate}" />
<proguard>
@${proguard-conf}
-injars ${android-jar-preobfuscate}
-outjars ${android-jar-postobfuscate}
-libraryjars ${libraryjarpath}
-dump ${obfuscate.absolute.dir}/dump.txt
-printseeds ${obfuscate.absolute.dir}/seeds.txt
-printusage ${obfuscate.absolute.dir}/usage.txt
-printmapping ${obfuscate.absolute.dir}/mapping.txt
</proguard>
</target>
Aktuelle Zahlen zur Marktdurchtränkung von Android
listet http://www.thisandroidlife.com/2010/09/android-enterprise-adoption-gains-ground-on-iphone-blackberry/ auf. Vergleich der letzten beiden Monate:


Hinweis:
- Insel auf facebook: http://www.facebook.com/pages/Javainsel/157203814292515
- Insel bei Twitter: http://twitter.com/javabuch
Heftige Kommentare von James Gosling zu Oracle, .NET, IBM
Offtopic: Eric Schmidt bei ‘The Colbert Report’
Update von SwingX auf Version 1.6.2
Jan Haderke, ein Commiter des SwingX Projekts, schreibt:
As it became almost a tradition we have rolled out next SwingX release just before the SwingLabs BOF at JavaOne last night.
You can get the release from our website, or directly from the java.net or also from the maven central repo. Please note that the artifactID has changedfrom swingx to swingx-core due to changes in the structure of the project.
Thanks a lot to all who contributed to this release with both the bug reports and the fixes.
Ein Kommentator lästert gleich, dass zwar Maven unterstützt wird, aber das POM falsch ist.
SwingX nutzt auch Hudson (http://swinglabs.java.sun.com/hudson/), schön. (Kohsuke Kawaguchi war bei einem Interview auf Oracle Dev zu sehen, sehr sympathisch der Typ. Schade, dass der von Sun/Oracle gegangen ist.) Hudson (http://hudson-labs.org/changelog) hat vor ein paar Tagen auch eine neues Release veröffentlicht.
Hinweis:
- Insel auf facebook: http://www.facebook.com/pages/Javainsel/157203814292515
- Insel bei Twitter: http://twitter.com/javabuch
Die Sprache JavaFX Script stirbt
http://java.dzone.com/articles/oracle-discontinue-javafx schreibt, dass sich JavaFX Script erledigt hat. Achtung; JavaFX lebt weiter und es gibt viele Ankündigungen für JavaFX auf der Java One 2010.
Open Source Java Tool Mediathek
Bei Heise (http://www.heise.de/open/artikel/Oeffentlich-rechtliches-Media-Center-1073454.html) fand ich gerade einen Beitrag über eine Software, die die öffentlich-rechtlichen Medien über eine Java-Oberfläche zugänglich macht.
Die Software ist funktional aber in der Optik kann mach noch was machen und auch der Programmierstil nicht überwältigend.
Alles ist deutsch:
private void gibBescheid() {
Variablenanmen alles andere als klar:
private void pfadLaden(String pfad, boolean boolDatei) {
Und einiges könnte durchaus knapper geschrieben werden:
private boolean istZip(String str) {
boolean ret = false;
if (str.endsWith(".zip") || str.endsWith(".Zip")) {
ret = true;
}
return ret;
}
-> warum nicht das?
return str.toLowerCase().endsWith(“.zip”);
Aber wie im richtigen Leben: So lang’s funktioniert ![]()
JavaOne 2010 beginnt heute und aktualisierte Java 7 Features
Die Liste der Features für Java 7 wurde aktualisiert: http://openjdk.java.net/projects/jdk7/features/.
vm
JSR 292: Support for dynamically-typed languages (InvokeDynamic)lang
JSR TBD: Small language enhancements (Project Coin) [UPDATED]core
Upgrade class-loader architectureMethod to close a URLClassLoader
Concurrency and collections updates (jsr166y)
i18n
Unicode 6.0 [UPDATED]Locale enhancement [NEW]
Separate user locale and user-interface locale [NEW]
ionet
JSR 203: More new I/O APIs for the Java platform (NIO.2)NIO.2 filesystem provider for zip/jar archives [NEW]
SCTP (Stream Control Transmission Protocol)
Use the Windows Vista IPv6 stack [NEW]
TLS 1.2 [NEW]
sec
Elliptic-curve cryptography (ECC)client
XRender pipeline for Java 2DCreate new platform APIs for 6u10 graphics features
Heute beginnt in San Francisco die JavaOne (und Oracle Develop 2010) Konferenz (http://www.oracle.com/us/javaonedevelop/index.html, http://www.oracle.com/us/javaonedevelop/062264.html).
Viele Vorträge werden live übertragen: http://www.oracle.com/us/javaonedevelop/oracle-technology-network-live-166853.html.
Google veröffentlicht die Instantiations-Tools für lau
Der Google Web Toolkit Blog berichtet heute von neuen GWT-Tools: http://googlewebtoolkit.blogspot.com/2010/09/google-relaunches-instantiations.html.
In early August, Google acquired Instantiations, a company known for its focus on Eclipse Java developer tools, including GWT Designer. We’re happy to announce today that we’re relaunching the following former Instantiations products under the Google name and making them available to all developers at no charge:
- GWT Designer
Powerful Eclipse-based development tools that enable Java developers to quickly create Ajax user interfaces using Google Web Toolkit (GWT)- CodePro AnalytiX
Comprehensive automated software code quality and security analysis tools to improve software quality, reliability, and maintainability- WindowBuilder Pro
Java graphical user interface designer for Swing, SWT, GWT, RCP, and XWT UI frameworks- WindowTester Pro
Test GUI interactions within Java client rich applications for the SWT and Swing UI frameworksNow that these products are available again, we hope you’ll start using them within your GWT projects. Meanwhile, our next step is to more deeply unify them into the GWT family of tools by blending the fantastic Instantiations technology into the Google Plugin for Eclipse (GPE). So, there’s much more to come, including things we’re pretty sure you’ll like, such as UiBinder support in GWT Designer.
You can download any of the tools from the GWT download page. If you have questions or comments we’d love to hear from you. The best place to discuss the tools above is at http://forums.instantiations.com. As always, continue to discuss GWT and GPE at the main GWT Group.
We would love to stay in better touch with you as we have more news about how we are integrating the Instantiations products into the Google Web Toolkit suite. Sign up if you’d like to receive email updates on these products and other developer tools.
Sehr cool. Der nicht gepflegte Gui-Builder VE von Eclipse dürfte damit Vergangenheit sein.
Gibt doch mal euren Eindruck.
HTC Desire geht mit BASE nicht ins Internet? Dann …
Wenn das Desire nicht auf Anhieb ins Netz will, sollte folgendes helfen:
- Gehe auf Einstellungen -> Drahtlos und Netzwerke -> Mobile Netzwerke –> Zugangspunkte
Installiere ein neues Access Point Name (APN).
Bei den Angaben muss man nur 2 Dinge angeben:
- Name: BASE (ist aber egal)
- APN: internet.eplus.de
Ist der APN dann ausgewählt – und ePlus das Netzwerk – dann sollte es klappen.
SimpleDS 1.0 ist fertig
Entwickler auf der GAE/J, die nicht mit JPA oder JDO arbeiten – was die Regel sein dürfte? – können die neuste Version von SimpleDS nutzen.
In der Vergangenheit habe ich ein GAE/J-Projekt mit http://code.google.com/p/objectify-appengine/ realisiert und mich gegen SimpleDS entschieden. Beides haben etwas unterschiedliche Philosophien, wie sie mit IDs/Keys umgehen. Frühere Blog-Eintrage verlinken zu beiden und zu Seiten mit einer Diskussion der Unterschiede.
Für JDBC 4.1 werden Connection, ResultSet und Statement doch AutoCloseable
Dem ging eine Diskussion voraus, die JDBC-Schnittstellen sollte nicht geändert werden. Nun also doch.
In JDBC 4.1 gibt es weitere Updates, insbesondere in der API-Doku, siehe http://hg.openjdk.java.net/jdk7/tl/jdk/rev/c786a9c927fd. Hier erkennt man, dass das ein Datenbankinhaber Java besitzt 🙂
Async Http Client 1.1.0 ist fertig
So kann man es lesen unter http://jfarcand.wordpress.com/2010/09/04/async-http-client-1-1-0-released/. Neu ist:
- Connection pool is unlimited by default
- Basic and Digest Authentication supported out-of-the-box
- Multi Headers support
- Removal of Google Collection and Log4j dependency (significantly reduce the jar)
- Latest Netty version (3.3.2)
- OAuth signature now supported
- Proxy per request now supported
- Performance improved
- JDK Uri/Url now used instead of our own Url class.
Kirill Grouchnikov legt Substance, Flamingo, (Java) Trident auf Eis
Aus http://old.nabble.com/Continuing-development-of-substance,-flamingo-and-others-td29568644.html:
I am currently suspending support for Substance, Flamingo, Trident and related plugins / demo projects. I do not have any plans to delete any downloadable binaries, change the licensing terms or delete the projects themselves, or to allow others to take ownership of the original projects. Please respect the licensing terms.
Thanks, Kirill
Sehr schade.
Google Wave wird Open Source
http://googlewavedev.blogspot.com/2010/09/wave-open-source-next-steps-wave-in-box.html. Ich hoffe, dass da gute GWT-Technologien und Komponenten abfallen. http://vaadin.com/home hat zwar sehr (sehr) schöne GWT-Komponeten, aber die lassen sich nicht wirklich unabhängig von Vaadin nutzen.
