Welcome Android Developpers

Welcome Android Developpers
My name is Mathias Séguy, I am an Android Expert and Trainer and created the Android2EE company.

For full information, it’s here : Android2EE's Training
You can meet me on Google+, follow me on Twitter or on LinkedIn

Thursday, June 28, 2012

What's New in Android available on YouTube ! yes :o)

Bandeau Conference
Hey,
But it's the Google IO 2012 !!!
Good news, Jelly bean (4.1) is here, Nexus 7 too
and you can see the video of the talk, one of my favorite:
Google I/O 2012 - What's New in Android?
Just enjoy Romain Guy and Chet Haase talk :o)
So, Thanks who?
Thanks, Android2ee, the Android Programming Ebooks :o)

Mathias Séguy
mathias.seguy.it@gmail.com
Auteur Android2EE
Ebooks to learn Android Programming.
AndroidEvolution
Meet me on Google+
Follow me on Twitter
Join my LinkedIn network ou Viadeo

Monday, April 23, 2012

LearnComputer publish a Review of the ebook "Android a Complete Course"

Bandeau Conference



A review of my ebook "Android a Complete Course" from learncomputer.com can be found here. And i am proud of it. Thanks to LearnComputer.com for it.
http://www.learncomputer.com/android-a-complete-course-ebook-review/


So, Thanks who?
Thanks, "LearnComputer.Com, Your Information Technology Trainers" :o)




Mathias Séguy
mathias.seguy.it@gmail.com
Auteur Android2EE
Ebooks to learn Android Programming.
AndroidEvolution
Meet me on Google+
Follow me on Twitter
Join my LinkedIn network ou Viadeo

Monday, April 9, 2012

AdMobs Part 2: The real test and it's small problem

Bandeau Conference
Ok, back to AdMobs.
Sometimes it's not so obvious than it looks like especillay when you're tired.
So for AdMobs, first download the Jar here :
https://developers.google.com/mobile-ads-sdk/download
Then unzip it (beside to your Android SDK is a good idea).
Then include it into your project:
1) Include the jar within your project properly
Copy paste the jar within your project (create a lib folder and paste it there)
Open your Build Path and:
  1. First add the Jar to your librairies (use the "Add Jar" button and choose the one in your \lib folder)
  2. Second, add the lib folder as a Source of your project
If you don't do that you'll have:
->Either an build error (the class can't be found)
->Either a run Time error (the class can't be found, the exact sentence looks like: ERROR/AndroidRuntime(2339): Caused by: java.lang.ClassNotFoundException: com.admob.ads.AdView in loader dalvik.system.PathClassLoader@ )

2)When adding to a layout.xml take care about the xmlns:ads.
In fact the parent container of your adMobs banner must declare the namespace of your adMobs.
So insure that the layout container is the following:
LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"

If your don't do that you'll have an error in your layout/main.xml when trying to build your project that looks like the ads:adSize is missing...

3)And at least in your Manifest if you have an error when pasting the

 android:name="com.google.ads.AdActivity"
              android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>

try to open your project.properties and target at least
# Project target.
target=android-13
I defines which SDK to use to compile.

But it not seems to me a good idea. If any one understand that, please tell me. I don't want to change my compilation just because of a lib...


Now it should works...


In your build path:

So, Thanks who?
Thanks, Android2ee, the Android Programming Ebooks :o)

Mathias Séguy
mathias.seguy.it@gmail.com
Auteur Android2EE
Ebooks to learn Android Programming.
AndroidEvolution
Meet me on Google+
Follow me on Twitter
Join my LinkedIn network ou Viadeo

Friday, April 6, 2012

Export Aborted because fatal lint errors where found... WTF !!!.

Bandeau Conference
Hello,

So today, you woke up this morning and thought, "I would rebuild my Android application, good idea". You didn't change anything, but when you do "Android Tools-> Export signed application" a strange message appeared on the top of eclipse:
"Export aborted because fatal lint errors were found. These are listed in the Lint View... Blablabla..."

Ok so you took your coffe and now you're back again in front of the computer trying to find the Lint View. And you read in the LintView the following message when you click on the line "Obsolete Proguard File...":
Obsolete ProGuard file; use -keepclasseswithmembers instead of -keepclasseswithmembernames

Issue: Looks for problems in proguard config files
Id: Proguard

Using -keepclasseswithmembernames in a proguard config file is not correct; it can cause some symbols to be renamed which should not be.
Earlier versions of ADT used to create proguard.cfg files with the wrong format. Instead of -keepclasseswithmembernames use -keepclasseswithmembers, since the old flags also implies "allow shrinking" which means symbols only referred to from XML and not Java (such as possibly CustomViews) can get deleted.

http://http://code.google.com/p/android/issues/detail?id=16384


Ok don't panic, open your proguard-project.txt (it's a file at the root of your eclipse project) and just change the words keepclasseswithmembernames by keepclasseswithmember (delete name at the end of the word). (you should have 3 changes to do).
Save the file (it is renammed as proguard.cfg automaticly), relaunch the  "Android Tools-> Export signed application" , it works.

This is due to the ADT update to the version 17.

So, Thanks who?
Thanks, Android2ee, the Android Programming Ebooks :o)

Mathias Séguy
mathias.seguy.it@gmail.com
Auteur Android2EE
Ebooks to learn Android Programming.
AndroidEvolution
Meet me on Google+
Follow me on Twitter
Join my LinkedIn network ou Viadeo

Monday, March 5, 2012

Spring for Android 1.0.0.RC1 Released

Bandeau Conference

The Spring For Android Release Candidate is here, i mean there
http://www.springsource.org/spring-android/news/1.0.0.rc1-released

So, Thanks who?
Thanks, Spring for that :o)

Mathias Séguy
mathias.seguy.it@gmail.com
Auteur Android2EE
Ebooks to learn Android Programming.
AndroidEvolution
Meet me on Google+
Follow me on Twitter
Join my LinkedIn network ou Viadeo

Thursday, January 19, 2012

Adding AdSens (so called AdMob) to your Android application

Bandeau Conference
Hello,
Want to add AdSense to your application, ok, simple, follow the link:
Google explains AdMob
So, Thanks who?
Thanks, Android2ee, the Android Programming Ebooks :o)

Mathias Séguy
mathias.seguy.it@gmail.com
Android2EE Author
Ebooks to learn Android Programming.
AndroidEvolution
Meet me on Google+
Follow me on Twitter
Join my LinkedIn network or Viadeo one

Tuesday, January 17, 2012

CES 2012 News by AndroidCentral

Bandeau Conference
Hello, below a link to the big news of the CES 2012 (done by androidCentral)
http://www.androidcentral.com/week-android-news-ces-recap-style?utm_source=ac&utm_medium=twitter&style_mobile=0
So, Thanks who?
Thanks, Android2ee, the Android Programming Ebooks :o)

Mathias Séguy
mathias.seguy.it@gmail.com
Auteur Android2EE
Ebooks to learn Android Programming.
AndroidEvolution
Retrouvez moi sur Google+
Suivez moi sur Twitter
Rejoignez mon réseau LinkedIn ou Viadeo

Android Design for ICS

Bandeau Conference
Hello and happy new Year :o)
You want to make an Android application, for multiple devices, excellent ! But before take few minutes to read what are the design guide lines. Google just open a web site to explain those guidelines. The article is simple clear and complete. So just read it :
http://developer.android.com/design/index.html
This article is really good for all the GUI stuff, you should read it , even if you are on Froyo, just to have a clear vision on GUI guide line and ressources.

(Anyway, keep in mind 3.9% of the devices have an SDK version greater than 2.3. see Android target, so not all is your concern )
Okay, this is the today news :o)

So, Thanks who?
Thanks, Android2ee, the Android Programming Ebooks :o) Android Training :o)

Mathias Séguy
mathias.seguy.it@gmail.com
Auteur Android2EE
Ebooks to learn Android Programming.
AndroidEvolution
Meet me on  Google+
Follow me on Twitter
or on LinkedIn ou Viadeo