# HG changeset patch # User Da Risk # Date 1239720980 -7200 # Node ID c6e4728ac9f73a0706c3ce989b61ae35acd0c36e # Parent 58622a0f9485800d29309dac76c0a0847993c0e7 Passage sous cupcake :) Peu de modification de code, il faut juste creer des fichier aidl pour les classes parcelables. Sinon les fichier de build.xml ont ete completement modifiés, j'ai remplacé par les nouveaux. (il doit y avoir un manque de precision dans le fichier build.properties) diff -r 58622a0f9485 -r c6e4728ac9f7 .hgignore --- a/.hgignore Thu Apr 09 19:03:23 2009 +0200 +++ b/.hgignore Tue Apr 14 16:56:20 2009 +0200 @@ -3,3 +3,5 @@ R.java doc/javadoc src/com/beem/project/beem/service/aidl/*.java +gen/* +local.properties diff -r 58622a0f9485 -r c6e4728ac9f7 build.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build.properties Tue Apr 14 16:56:20 2009 +0200 @@ -0,0 +1,3 @@ +external-libs=libs +javadoc-output=doc/javadoc + diff -r 58622a0f9485 -r c6e4728ac9f7 build.xml --- a/build.xml Thu Apr 09 19:03:23 2009 +0200 +++ b/build.xml Tue Apr 14 16:56:20 2009 +0200 @@ -1,316 +1,75 @@ - - + + + + + + by the 'android' tool. This is the place to change some of the default property values + used by the Ant rules. + Here are some properties you may want to change/update: + + application-package + the name of your application package as defined in the manifest. Used by the + 'uninstall' rule. + source-folder + the name of the source folder. Default is 'src'. + out-folder + the name of the output folder. Default is 'bin'. + + Properties related to the SDK location or the project target should be updated + using the 'android' tool with the 'update' action. + + This file is an integral part of the build system for your application and + should be checked in in Version Control Systems. + + --> - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Creating output directories if needed... - - - - - - - - Generating R.java / Manifest.java from the resources... - - - - - - - - - - - - - - - - - Compiling aidl files into Java classes... - - - - - - - - - - + - - - - - - - - - - - - Converting compiled files and external libraries into ${outdir}/${dex-file}... - - - - - - - - - - - Packaging resources and assets... - - - - - - - - - - - - - - - - - - - Packaging resources... - - - - - - - - - - - - - - - - - - - - - - + + + + + + - - - Packaging ${out-debug-package}, and signing it with a debug key... - - - - - - - - - - - - - - - - - - Packaging ${out-unsigned-package} for release... - - - - - - - - - - - - - - - It will need to be signed with jarsigner before being published. - - - - - Installing ${out-debug-package} onto default emulator... - - - - - - - - Installing ${out-debug-package} onto default emulator... - - - - - - - - - - Uninstalling ${application-package} from the default emulator... - - - - - - - - - - - - - - - - - - + + + + + + + diff -r 58622a0f9485 -r c6e4728ac9f7 default.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/default.properties Tue Apr 14 16:56:20 2009 +0200 @@ -0,0 +1,22 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system use, +# "build.properties", and override values to adapt the script to your +# project structure. + +# Project target. +target=android-3 +# apk configurations. This property allows creation of APK files with limited +# resources. For example, if your application contains many locales and +# you wish to release multiple smaller apks instead of a large one, you can +# define configuration to create apks with limited language sets. +# Format is a comma separated list of configuration names. For each +# configuration, a property will declare the resource configurations to +# include. Example: +# apk-configurations=european,northamerica +# apk-config-european=en,fr,it,de,es +# apk-config-northamerica=en,es +apk-configurations= diff -r 58622a0f9485 -r c6e4728ac9f7 src/com/beem/project/beem/BeemService.java --- a/src/com/beem/project/beem/BeemService.java Thu Apr 09 19:03:23 2009 +0200 +++ b/src/com/beem/project/beem/BeemService.java Tue Apr 14 16:56:20 2009 +0200 @@ -77,7 +77,7 @@ mLogin = mSettings.getString(getString(R.string.PreferenceLoginKey), ""); mPassword = mSettings.getString(getString(R.string.PreferencePasswordKey), ""); mHost = mSettings.getString(getString(R.string.PreferenceHostKey), ""); - mHost = "10.0.2.5"; + mHost = "10.0.2.2"; initConnectionConfig(); mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); mConnection = new XmppConnectionAdapter(mConnectionConfiguration, mLogin, mPassword); diff -r 58622a0f9485 -r c6e4728ac9f7 src/com/beem/project/beem/service/Contact.aidl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/com/beem/project/beem/service/Contact.aidl Tue Apr 14 16:56:20 2009 +0200 @@ -0,0 +1,3 @@ +package com.beem.project.beem.service; + +parcelable Contact; diff -r 58622a0f9485 -r c6e4728ac9f7 src/com/beem/project/beem/service/Message.aidl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/com/beem/project/beem/service/Message.aidl Tue Apr 14 16:56:20 2009 +0200 @@ -0,0 +1,3 @@ +package com.beem.project.beem.service; + +parcelable Message; \ No newline at end of file diff -r 58622a0f9485 -r c6e4728ac9f7 src/com/beem/project/beem/service/PresenceAdapter.aidl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/com/beem/project/beem/service/PresenceAdapter.aidl Tue Apr 14 16:56:20 2009 +0200 @@ -0,0 +1,3 @@ +package com.beem.project.beem.service; + +parcelable PresenceAdapter; \ No newline at end of file diff -r 58622a0f9485 -r c6e4728ac9f7 src/com/beem/project/beem/ui/ContactList.java --- a/src/com/beem/project/beem/ui/ContactList.java Thu Apr 09 19:03:23 2009 +0200 +++ b/src/com/beem/project/beem/ui/ContactList.java Tue Apr 14 16:56:20 2009 +0200 @@ -9,7 +9,6 @@ import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; -import android.content.SharedPreferences.OnSharedPreferenceChangeListener; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.os.Handler;