<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="https://dotclear.placeoweb.com/feed/rss2/xslt" ?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>PlaceOweb Dotclear - JAVA</title>
    <link>https://dotclear.placeoweb.com/</link>
    <atom:link href="https://dotclear.placeoweb.com/feed/category/Java/rss2" rel="self" type="application/rss+xml" />
    <description></description>
    <language>fr</language>
    <pubDate>Wed, 20 May 2026 15:53:59 +0200</pubDate>
    <copyright></copyright>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <generator>Dotclear</generator>
          <item>
        <title>NetBeans</title>
        <link>https://dotclear.placeoweb.com/post/Netbeans</link>
        <guid isPermaLink="false">urn:md5:6a3e691af79908ad372c2fcae347abde</guid>
        <pubDate>Mon, 18 May 2026 10:03:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>JAVA</category>
                          <category>java</category>
                  <category>javaEE</category>
                  <category>windows</category>
                <description>&lt;p&gt;Apache NetBeans est l'environnement de développement Java initialement proposé par Sun, puis racheté par Oracle et finalement cédé à la fondation Apache.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://netbeans.apache.org/&quot;&gt;netbeans.apache.org : nouveau site de Apache NetBeans&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://netbeans.org/&quot;&gt;netbeans.org : ancien site de NetBeans&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Il s’agit du concurrent direct d'Eclipse sur le marché des environnements Open Source, mais il semble être passé au second plan...&lt;/p&gt; &lt;p&gt;Le blog avec les annonces de versions : Apache NetBeans
Et le site de téléchargement des releases de NetBeans



L'IDE NetBeans


Le calendrier des versions à venir : Apache NetBeans Releases Schedule


18/05/2026 : NetBeans 30.0 et changements pour Apache NetBeans 30 Update FlatLaf from 3.6.2 to 3.7.1
23/02/2026 : NetBeans 29.0 et changements... &lt;a href=&quot;https://dotclear.placeoweb.com/post/Netbeans&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; NetBeans&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/Netbeans#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/Netbeans#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/35</wfw:commentRss>
              </item>
          <item>
        <title>Java</title>
        <link>https://dotclear.placeoweb.com/post/JAVA</link>
        <guid isPermaLink="false">urn:md5:4be2f168f1c887a35f6178c20ae0c3b2</guid>
        <pubDate>Tue, 19 Sep 2023 13:21:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>JAVA</category>
                          <category>java</category>
                <description>&lt;p&gt;Quelques notes sur java, ses versions et sa syntaxe telle que :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;java syntaxe try parenthèse / java parenthesis try syntax&lt;/li&gt;
&lt;/ul&gt; &lt;p&gt;java syntaxe try parenthèse / java parenthesis try syntax


The try-with-resources Statement
Java SE 7, le projet Coin

L'instruction try-with-resources




@NoNull @NotNull


Tu utiliseras @NotNull, @Nullable
The Advantages of @NotNull
Annotation javax.annotation.Nonnull problématique : comment la mettre en oeuvre ?




Java 21 (LTS)


JDK 21... &lt;a href=&quot;https://dotclear.placeoweb.com/post/JAVA&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Java&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/JAVA#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/JAVA#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/687</wfw:commentRss>
              </item>
          <item>
        <title>WildFly websocket disconnect client after 90 seconds</title>
        <link>https://dotclear.placeoweb.com/post/WildFly-websocket-disconnect-client-after-90-seconds</link>
        <guid isPermaLink="false">urn:md5:1ad6149fab684cc0c2530d15be82ae0d</guid>
        <pubDate>Sun, 10 Sep 2023 16:20:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>JAVA</category>
                          <category>java</category>
                  <category>wildlfy</category>
                <description>&lt;p&gt;WildFly 29 websocket disconnect client after 90 seconds, websocket client side code 1006&lt;/p&gt; &lt;p&gt;Cause : &quot;read-timeout&quot; and &quot;write-timeout&quot; variables.


https://docs.wildfly.org/29/wildscribe/subsystem/undertow/server/http-listener/index.html
read-timeout Configure a read timeout for a socket, in milliseconds. If the given amount of time elapses without a successful read taking place, the socket's next read will throw a {@link... &lt;a href=&quot;https://dotclear.placeoweb.com/post/WildFly-websocket-disconnect-client-after-90-seconds&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; WildFly websocket disconnect client after 90 seconds&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/WildFly-websocket-disconnect-client-after-90-seconds#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/WildFly-websocket-disconnect-client-after-90-seconds#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/787</wfw:commentRss>
              </item>
          <item>
        <title>Android SQlite</title>
        <link>https://dotclear.placeoweb.com/post/Android-SQlite</link>
        <guid isPermaLink="false">urn:md5:af6c4f2263f37b0cf5fd0e3ad583fe6d</guid>
        <pubDate>Sat, 05 Nov 2016 23:43:00 +0100</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>JAVA</category>
                          <category>android</category>
                  <category>java</category>
                  <category>sql</category>
                  <category>sqlite</category>
                <description>&lt;p&gt;Android SQlite&lt;/p&gt; &lt;p&gt;Android SQLite database and content provider - Tutorial

It is good practice to create a separate class per table.
Thread Safety. If you work directly with databases and have multiple writers from different threads you may run into concurrency issues. The easiest way is to use the keyword synchronized in front of all methods of the provider, so... &lt;a href=&quot;https://dotclear.placeoweb.com/post/Android-SQlite&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Android SQlite&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/Android-SQlite#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/Android-SQlite#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/689</wfw:commentRss>
              </item>
          <item>
        <title>Java CSV</title>
        <link>https://dotclear.placeoweb.com/post/java-csv</link>
        <guid isPermaLink="false">urn:md5:7f98a068b0d00db82018278d8bb18ec9</guid>
        <pubDate>Sun, 18 Sep 2016 20:37:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>JAVA</category>
                          <category>csv</category>
                  <category>java</category>
                <description>&lt;p&gt;Java CSV&lt;/p&gt; &lt;p&gt;Lez différentes libs


Apache Commons CSV

Commons CSV reads and writes files in variations of the Comma Separated Value (CSV) format.


Super CSV

A fast, programmer-friendly, free CSV library for Java


Opencsv - Opencsv Web Site

Opencsv is a very simple csv (comma-separated values) parser library for Java.


Java CSV Library - Java CSV Library... &lt;a href=&quot;https://dotclear.placeoweb.com/post/java-csv&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Java CSV&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/java-csv#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/java-csv#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/686</wfw:commentRss>
              </item>
          <item>
        <title>WildFly</title>
        <link>https://dotclear.placeoweb.com/post/WildFly</link>
        <guid isPermaLink="false">urn:md5:f3d2ab1e2a3a2f3e426588fc014d59ab</guid>
        <pubDate>Fri, 19 Aug 2016 20:52:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>JAVA</category>
                          <category>java</category>
                  <category>javaEE</category>
                  <category>jboss</category>
                  <category>wildlfy</category>
                <description>&lt;p&gt;Quelques notes sur WildFly.&lt;/p&gt; &lt;p&gt;Les version de WildFly

2017-10-23 WildFly 11.0.0.Final
2016-08-19 WildFly 10.1.0.Final
2016-01-29 WildFly 10.0.0.Final



Doc WildFly


Tableau de bord

Latest WildFly Documentation
WildFly 10 Documentation



Les commandes de bases avec jtips.info pour WildFly (7)

Propriétés système dans WildFly



wildfly TCPPING &quot;urn:jboss:domain:jgroups:4.0&quot;... &lt;a href=&quot;https://dotclear.placeoweb.com/post/WildFly&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; WildFly&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/WildFly#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/WildFly#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/710</wfw:commentRss>
              </item>
          <item>
        <title>Android charset json</title>
        <link>https://dotclear.placeoweb.com/post/Android-charset-json</link>
        <guid isPermaLink="false">urn:md5:659e09a8003c9847f3c26f898ad89fbe</guid>
        <pubDate>Sun, 01 May 2016 10:40:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>JAVA</category>
                          <category>android</category>
                  <category>java</category>
                  <category>javaEE</category>
                <description>&lt;p&gt;Depuis Android comment conserver le charset UTF-8 ou ISO-8859-1 lors de l'échange de JSON ?&lt;/p&gt; &lt;p&gt;Pas la peine dans le serveur de changer le charset en réponse :
@Override
	protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
		String mess = &quot;&quot;;
		if (req.getParameter(&quot;mess&quot;) != null) {
			mess = req.getParameter(&quot;mess&quot;);
		}
		JSONObject laReponse = new JSONObject();... &lt;a href=&quot;https://dotclear.placeoweb.com/post/Android-charset-json&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Android charset json&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/Android-charset-json#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/Android-charset-json#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/684</wfw:commentRss>
              </item>
          <item>
        <title>MariaDB Connector/Java You need to set exactly 1 parameters on the prepared statement</title>
        <link>https://dotclear.placeoweb.com/post/MariaDB-Connector/Java-You-need-to-set-exactly-1-parameters-on-the-prepared-statement</link>
        <guid isPermaLink="false">urn:md5:3217fa6b7f3473fd011458e4b436d708</guid>
        <pubDate>Sat, 02 Apr 2016 14:42:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>JAVA</category>
                          <category>java</category>
                  <category>javaEE</category>
                  <category>mariadb</category>
                  <category>sql</category>
                <description>&lt;pre&gt;
Exception in thread &amp;quot;main&amp;quot; java.sql.SQLException: You need to set exactly 1 parameters on the prepared statement
Query is : INSERT INTO my_table (my_col) VALUES ('m_val')null;
Caused by: org.mariadb.jdbc.internal.util.dao.QueryException: You need to set exactly 1 parameters on the prepared statement
Query is : INSERT INTO my_table (my_col) VALUES ('m_val')null;
&lt;/pre&gt; &lt;p&gt;After MariaDB Connector/Java (CONJ) version 1.3.6 (since 1.3.7 and 1.4.0), the INSERT INTO my_table (my_col) VALUES ('my_val') failed :


Exception in thread &quot;main&quot; java.sql.SQLException: You need to set exactly 1 parameters on the prepared statement
Query is : INSERT INTO my_table (my_col) VALUES ('my_val')null
	at... &lt;a href=&quot;https://dotclear.placeoweb.com/post/MariaDB-Connector/Java-You-need-to-set-exactly-1-parameters-on-the-prepared-statement&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; MariaDB Connector/Java You need to set exactly 1 parameters on the prepared statement&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/MariaDB-Connector/Java-You-need-to-set-exactly-1-parameters-on-the-prepared-statement#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/MariaDB-Connector/Java-You-need-to-set-exactly-1-parameters-on-the-prepared-statement#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/664</wfw:commentRss>
              </item>
          <item>
        <title>Android icon image logo</title>
        <link>https://dotclear.placeoweb.com/post/Android-icon-image-logo</link>
        <guid isPermaLink="false">urn:md5:ee8e2f5502b1de2dea298514da8098a2</guid>
        <pubDate>Wed, 16 Mar 2016 14:41:00 +0100</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>JAVA</category>
                          <category>android</category>
                  <category>java</category>
                  <category>smartphone</category>
                <description>&lt;p&gt;Sans infographiste sous la main, je vous invite à utiliser l’excellent &lt;a href=&quot;https://romannurik.github.io/AndroidAssetStudio/&quot;&gt;Android Asset Studio&lt;/a&gt; pour tout ce qui concerne la création d'icones image pour votre application Android.&lt;/p&gt; &lt;p&gt;Launcher icon generator

Generate launcher and store listing icons for your app.

App shortcut icon generator

Generate app launcher shortcut icons (Android 7.1+).

Shape Shifter

Create vector drawables and vector icon animations.

Notification icon generator

Generate notification icons for your app. These show up in the system status bar and... &lt;a href=&quot;https://dotclear.placeoweb.com/post/Android-icon-image-logo&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Android icon image logo&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/Android-icon-image-logo#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/Android-icon-image-logo#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/716</wfw:commentRss>
              </item>
          <item>
        <title>Android Studio</title>
        <link>https://dotclear.placeoweb.com/post/Android-Studio</link>
        <guid isPermaLink="false">urn:md5:bb0bf7a0422d559d5838624c95dbf24c</guid>
        <pubDate>Sun, 13 Mar 2016 13:00:00 +0100</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>JAVA</category>
                          <category>android</category>
                  <category>java</category>
                  <category>smartphone</category>
                <description>&lt;p&gt;Quelles notes pour Android Studio&lt;/p&gt; &lt;p&gt;La JavaDoc au survol d'un objet, méthode, classe, annotation


La doc au survol (sans faire CTRL + Q), android studio description method on over

File &gt; Settings &gt; Editor &gt; General &gt; Show quick doc on mouse move.

View method information in Android Studio


Pour créer des blocs, statements


Une fois TABulé, commencez à saisir, par exemple :

inn... &lt;a href=&quot;https://dotclear.placeoweb.com/post/Android-Studio&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Android Studio&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/Android-Studio#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/Android-Studio#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/661</wfw:commentRss>
              </item>
          <item>
        <title>Android debug crash</title>
        <link>https://dotclear.placeoweb.com/post/Android-debug-crash</link>
        <guid isPermaLink="false">urn:md5:8ac3d154570f89c7807b12892ff4ffa4</guid>
        <pubDate>Sun, 31 Jan 2016 20:54:00 +0100</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>JAVA</category>
                          <category>android</category>
                  <category>java</category>
                <description> &lt;p&gt;Comment debuguer et reporter les crashs de l'application en production ?

ACRA : Application Crash Reports for Android
Hugo : Annotation-triggered method call logging for your debug builds.... &lt;a href=&quot;https://dotclear.placeoweb.com/post/Android-debug-crash&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Android debug crash&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/Android-debug-crash#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/Android-debug-crash#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/656</wfw:commentRss>
              </item>
          <item>
        <title>Android start activity for result destroy</title>
        <link>https://dotclear.placeoweb.com/post/Android-start-activity-for-result-destroy</link>
        <guid isPermaLink="false">urn:md5:44151820f3bd39506bc8fb73fa58b968</guid>
        <pubDate>Wed, 23 Dec 2015 19:37:00 +0100</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>JAVA</category>
                          <category>android</category>
                  <category>java</category>
                  <category>smartphone</category>
                <description>&lt;p&gt;Ayant rencontré un problème de fermeture d'Activity (A) lors de l'ouverture de l'Activity (B) similaire à &lt;a href=&quot;https://groups.google.com/forum/#!topic/android-developers/E_4REdNzQys&quot;&gt;Samsung S4 Activity destroys after launch camera using startActivityForResult and comeback again&lt;/a&gt;&lt;/p&gt; &lt;p&gt;J'ai résolu ce mystère grâce au posts suivants :

Android parentActivity not getting recreated after startActivityForResult returns Using the Do not keep Activities setting also causes other problems even if the Activity/Fragment do get re-created.
Prevent activity from being destroyed In androidmanifest nohistory=true and that made the OS destroy... &lt;a href=&quot;https://dotclear.placeoweb.com/post/Android-start-activity-for-result-destroy&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Android start activity for result destroy&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/Android-start-activity-for-result-destroy#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/Android-start-activity-for-result-destroy#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/653</wfw:commentRss>
              </item>
          <item>
        <title>Android permission</title>
        <link>https://dotclear.placeoweb.com/post/Android-permission</link>
        <guid isPermaLink="false">urn:md5:9f5246e272650845bf587e4a62dda798</guid>
        <pubDate>Mon, 21 Dec 2015 21:27:00 +0100</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>JAVA</category>
                          <category>android</category>
                  <category>java</category>
                  <category>smartphone</category>
                <description>&lt;p&gt;Les permissions sous Android 6&lt;/p&gt; &lt;p&gt;L'essentiel est expliqué sur Everything every Android Developer must know about new Android's Runtime Permission


Voyez les System Permissions - Normal and Dangerous Permissions


Au changement des permission a chaud avec l'application déjà lancée :

Allow-&gt;Deny =&gt; Relance
Deny-&gt;Allow =&gt; Ne relance pas l'app



PackageManager.PERMISSION_GRANTED... &lt;a href=&quot;https://dotclear.placeoweb.com/post/Android-permission&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Android permission&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/Android-permission#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/Android-permission#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/650</wfw:commentRss>
              </item>
          <item>
        <title>Android lint</title>
        <link>https://dotclear.placeoweb.com/post/Android-lint</link>
        <guid isPermaLink="false">urn:md5:f5522530f1a75acf9eb09ee6b243a12b</guid>
        <pubDate>Mon, 21 Dec 2015 21:14:00 +0100</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>JAVA</category>
                          <category>android</category>
                  <category>java</category>
                <description>&lt;p&gt;Android lint&lt;/p&gt; &lt;p&gt;Sous Android Studio, pour lancer l'analyse statique de code source (lint) de votre projet, sélectionnez : Analyze &gt; Inspect Code


Par exemples :
SharedPreferences.Editor edit = prefs.edit();
			edit.putBoolean(&quot;isDone&quot;, true);
			edit.commit();

Problem synopsis      Consider using apply() instead; commit writes its data to persistent storage... &lt;a href=&quot;https://dotclear.placeoweb.com/post/Android-lint&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Android lint&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/Android-lint#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/Android-lint#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/651</wfw:commentRss>
              </item>
          <item>
        <title>Android ksoap Cannot serialize: 0.0</title>
        <link>https://dotclear.placeoweb.com/post/Android-ksoap-Cannot-serialize</link>
        <guid isPermaLink="false">urn:md5:b169cf6c1a0104503a049562f676d9b0</guid>
        <pubDate>Sun, 22 Nov 2015 21:44:00 +0100</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>JAVA</category>
                        <description>&lt;p&gt;Problème de sérialisation avec Ksoap ? &quot;Cannot serialize: 0.0&quot;&lt;/p&gt; &lt;p&gt;Selon les ressources ci dessous, on peut rajouter la classe MarshalDouble :

package org.ksoap2.serialization;

import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
import org.xmlpull.v1.XmlSerializer;

import java.io.IOException;

public class MarshalDouble implements Marshal {

    public Object... &lt;a href=&quot;https://dotclear.placeoweb.com/post/Android-ksoap-Cannot-serialize&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Android ksoap Cannot serialize: 0.0&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/Android-ksoap-Cannot-serialize#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/Android-ksoap-Cannot-serialize#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/648</wfw:commentRss>
              </item>
          <item>
        <title>Android Studio - UNEXPECTED TOP-LEVEL EXCEPTION com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536</title>
        <link>https://dotclear.placeoweb.com/post/Android-Studio-Execution-failed-for-task-%3Aapp%3AdexDebug</link>
        <guid isPermaLink="false">urn:md5:6acbb858dc16f3fad8f8296260b6d682</guid>
        <pubDate>Wed, 11 Nov 2015 19:38:00 +0100</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>JAVA</category>
                          <category>android</category>
                  <category>smartphone</category>
                <description>&lt;pre&gt;
:app:dexDebug
AGPBI: {&amp;quot;kind&amp;quot;:&amp;quot;simple&amp;quot;,&amp;quot;text&amp;quot;:&amp;quot;UNEXPECTED TOP-LEVEL EXCEPTION:&amp;quot;,&amp;quot;sources&amp;quot;:[{}]}
AGPBI: {&amp;quot;kind&amp;quot;:&amp;quot;simple&amp;quot;,&amp;quot;text&amp;quot;:&amp;quot;com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536&amp;quot;,&amp;quot;sources&amp;quot;:[{}]}
AGPBI: {&amp;quot;kind&amp;quot;:&amp;quot;simple&amp;quot;,&amp;quot;text&amp;quot;:&amp;quot;\tat com.android.dx.merge.DexMerger$6.updateIndex(DexMerger.java:484)&amp;quot;,&amp;quot;sources&amp;quot;:[{}]}
AGPBI: {&amp;quot;kind&amp;quot;:&amp;quot;simple&amp;quot;,&amp;quot;text&amp;quot;:&amp;quot;\tat com.android.dx.merge.DexMerger$IdMerger.mergeSorted(DexMerger.java:261)&amp;quot;,&amp;quot;sources&amp;quot;:[{}]}
AGPBI: {&amp;quot;kind&amp;quot;:&amp;quot;simple&amp;quot;,&amp;quot;text&amp;quot;:&amp;quot;\tat com.android.dx.merge.DexMerger.mergeMethodIds(DexMerger.java:473)&amp;quot;,&amp;quot;sources&amp;quot;:[{}]}
AGPBI: {&amp;quot;kind&amp;quot;:&amp;quot;simple&amp;quot;,&amp;quot;text&amp;quot;:&amp;quot;\tat com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:161)&amp;quot;,&amp;quot;sources&amp;quot;:[{}]}
AGPBI: {&amp;quot;kind&amp;quot;:&amp;quot;simple&amp;quot;,&amp;quot;text&amp;quot;:&amp;quot;\tat com.android.dx.merge.DexMerger.merge(DexMerger.java:188)&amp;quot;,&amp;quot;sources&amp;quot;:[{}]}
AGPBI: {&amp;quot;kind&amp;quot;:&amp;quot;simple&amp;quot;,&amp;quot;text&amp;quot;:&amp;quot;\tat com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:504)&amp;quot;,&amp;quot;sources&amp;quot;:[{}]}
AGPBI: {&amp;quot;kind&amp;quot;:&amp;quot;simple&amp;quot;,&amp;quot;text&amp;quot;:&amp;quot;\tat com.android.dx.command.dexer.Main.runMonoDex(Main.java:334)&amp;quot;,&amp;quot;sources&amp;quot;:[{}]}
AGPBI: {&amp;quot;kind&amp;quot;:&amp;quot;simple&amp;quot;,&amp;quot;text&amp;quot;:&amp;quot;\tat com.android.dx.command.dexer.Main.run(Main.java:277)&amp;quot;,&amp;quot;sources&amp;quot;:[{}]}
AGPBI: {&amp;quot;kind&amp;quot;:&amp;quot;simple&amp;quot;,&amp;quot;text&amp;quot;:&amp;quot;\tat com.android.dx.command.dexer.Main.main(Main.java:245)&amp;quot;,&amp;quot;sources&amp;quot;:[{}]}
AGPBI: {&amp;quot;kind&amp;quot;:&amp;quot;simple&amp;quot;,&amp;quot;text&amp;quot;:&amp;quot;\tat com.android.dx.command.Main.main(Main.java:106)&amp;quot;,&amp;quot;sources&amp;quot;:[{}]}


 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:dexDebug'.
&amp;gt; com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_66\bin\java.exe'' finished with non-zero exit value 2

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
&lt;/pre&gt; &lt;p&gt;Google Play services and DEX method limits


Building Apps with Over 65K Methods


Weird : UNEXPECTED TOP-LEVEL EXCEPTION: Execution failed for task app:dexDebug


D:\StudioProjects\AppAndroid\app\build.gradle

    defaultConfig {
        applicationId &quot;com.placeoweb.android&quot;
        minSdkVersion 9
        targetSdkVersion 23... &lt;a href=&quot;https://dotclear.placeoweb.com/post/Android-Studio-Execution-failed-for-task-%3Aapp%3AdexDebug&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Android Studio - UNEXPECTED TOP-LEVEL EXCEPTION com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/Android-Studio-Execution-failed-for-task-%3Aapp%3AdexDebug#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/Android-Studio-Execution-failed-for-task-%3Aapp%3AdexDebug#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/647</wfw:commentRss>
              </item>
          <item>
        <title>Android ressource Uri res/raw/mon_fichier.mp3</title>
        <link>https://dotclear.placeoweb.com/post/Android-ressource-Uri</link>
        <guid isPermaLink="false">urn:md5:ef700c6f0ca02aa580aa80a253f586bb</guid>
        <pubDate>Sun, 01 Nov 2015 11:45:00 +0100</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>JAVA</category>
                          <category>android</category>
                <description>&lt;p&gt;Comment utiliser un fichier .mp3 en le convertissant en &lt;a href=&quot;http://developer.android.com/reference/android/net/Uri.html&quot;&gt;Uri&lt;/a&gt; ? pour l’utiliser par exemple dans les &lt;a href=&quot;http://developer.android.com/guide/topics/ui/notifiers/notifications.html&quot;&gt;Notifications&lt;/a&gt; avec setSound(Uri sound)  de &lt;a href=&quot;http://developer.android.com/reference/android/support/v4/app/NotificationCompat.Builder.html&quot;&gt;android.support.v4.app.NotificationCompat.Builder&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Par exemple avec un fichier mon_fichier.mp3 placé dans les ressouces raw res/raw et dont nous voulons sur Uri. Nous pouvons construire une Uri de deux façons :


Façon 1 : en utilisant l'id de ressource avec le format

/**
 * Format : 
 * &quot;android.resource://[package]/[res id]&quot;
 */
Uri path = Uri.parse(&quot;android.resource://com.placeoweb.appandroid/&quot;... &lt;a href=&quot;https://dotclear.placeoweb.com/post/Android-ressource-Uri&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Android ressource Uri res/raw/mon_fichier.mp3&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/Android-ressource-Uri#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/Android-ressource-Uri#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/644</wfw:commentRss>
              </item>
          <item>
        <title>android.database.Cursor moveToFirst or getCount</title>
        <link>https://dotclear.placeoweb.com/post/android.database.Cursor-moveToFirst-vs-getCount</link>
        <guid isPermaLink="false">urn:md5:bb7df10fc2a3c8dc5a15b157942d41d0</guid>
        <pubDate>Mon, 28 Sep 2015 21:44:00 +0200</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>JAVA</category>
                          <category>android</category>
                  <category>sql</category>
                <description>&lt;p&gt;moveToFirst vs getCount ? Wich is faster on &lt;a href=&quot;http://developer.android.com/reference/android/database/Cursor.html&quot;&gt;android.database.Cursor&lt;/a&gt; ?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://developer.android.com/reference/android/database/Cursor.html#moveToFirst()&quot;&gt;moveToFirst()&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://developer.android.com/reference/android/database/Cursor.html#getCount()&quot;&gt;getCount()&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt; &lt;p&gt;It's almost the same time because Cursor.moveToFirst() call SQLiteCursor.getCount().


Look at

GrepCode / com.google.android / android
android.database.AbstractCursor
GrepCode / com.google.android / android /  5.1.1_r1 / android.database.AbstractCursor
GrepCode / com.google.android / android /  5.1.1_r1 / android.database.AbstractCursor
GrepCode /... &lt;a href=&quot;https://dotclear.placeoweb.com/post/android.database.Cursor-moveToFirst-vs-getCount&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; android.database.Cursor moveToFirst or getCount&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/android.database.Cursor-moveToFirst-vs-getCount#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/android.database.Cursor-moveToFirst-vs-getCount#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/637</wfw:commentRss>
              </item>
          <item>
        <title>GWT &amp; Google App Eclipse Plugin</title>
        <link>https://dotclear.placeoweb.com/post/Eclipse-Plugin-GWT-Google-App</link>
        <guid isPermaLink="false">urn:md5:7233d93944262fdbc84c462abc527b1c</guid>
        <pubDate>Mon, 22 Dec 2014 20:23:00 +0100</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>JAVA</category>
                          <category>cypal</category>
                  <category>gwt</category>
                  <category>java</category>
                <description>&lt;p&gt;Que vaut le nouveau plugin Eclipse pour GWT (Google Web Toolkit)&amp;nbsp;?&lt;/p&gt; &lt;p&gt;GWT et ses versions, son dépôt et snapshots


Versions de GWT


The GWT Release Notes
Les différents UserAgent :

GWT 2.7.0 UserAgent ie8, gecko1_8, safari, ie9, ie10
GWT 2.6.1 UserAgent ie8, gecko1_8, safari, ie9, ie10
GWT 2.6.0 UserAgent ie8, gecko1_8, safari, ie9, ie10
GWT 2.5.1 UserAgent ie6, ie8, gecko1_8, safari, opera, ie9
GWT 2.5.0... &lt;a href=&quot;https://dotclear.placeoweb.com/post/Eclipse-Plugin-GWT-Google-App&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; GWT &amp;amp; Google App Eclipse Plugin&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/Eclipse-Plugin-GWT-Google-App#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/Eclipse-Plugin-GWT-Google-App#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/230</wfw:commentRss>
              </item>
          <item>
        <title>GCM - Google Cloud Messaging - Android</title>
        <link>https://dotclear.placeoweb.com/post/GCM</link>
        <guid isPermaLink="false">urn:md5:9758ad0e998ed0f1508e832fb46953d4</guid>
        <pubDate>Wed, 12 Nov 2014 22:30:00 +0100</pubDate>
        <dc:creator>PlaceOweb</dc:creator>
                  <category>JAVA</category>
                          <category>android</category>
                  <category>java</category>
                  <category>smartphone</category>
                <description>&lt;p&gt;Google Cloud Messaging (GCM)&lt;/p&gt; &lt;p&gt;GCM Advanced Topics


Ce document couvre des sujets avancés pour GCM.


Durée de vie d'un message (Lifetime of a Message)


Quand un serveur tiers envoi un message à GCM et reçoit un ID message en retour, cela ne signifie pas que le message a déjà été fourni à l'appareil. Cela signifie plutôt qu'il a été accepté pour être délivré. Ce qu'il advient... &lt;a href=&quot;https://dotclear.placeoweb.com/post/GCM&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; GCM - Google Cloud Messaging - Android&lt;/a&gt;&lt;/p&gt;
</description>
        
                  <comments>https://dotclear.placeoweb.com/post/GCM#comment-form</comments>
          <wfw:comment>https://dotclear.placeoweb.com/post/GCM#comment-form</wfw:comment>
          <wfw:commentRss>https://dotclear.placeoweb.com/feed/atom/comments/622</wfw:commentRss>
              </item>
      </channel>
</rss>
