Sorry Kostya but i searched for how to debug an array of string in
this 3 links ad others and i can't find an example(i used often
debugging but just in a simple variables).

On 19 mar, 16:20, Kostya Vasilyev <kmans...@gmail.com> wrote:
> 19.03.2011 18:05, Alaeddine Ghribi пишет:
>
> > I tried making Log.d("carburant",s[0]), i have an error message: The
> > method d(String, String) in the type Log is not applicable for the
> > arguments (String, String[])
>
> Right, "s[0]" is an array of strings, you can't log it with a single
> statement like this and get meaningful output.
>
> Your code reads the file into "s" twice - directly in onCreate, and also
> inside "updatelv". Other than that, it looks fine, and that's why I've
> already suggested debugging.
>
> I have a feeling you are trying to avoid using the debugger. Really,
> you've got to overcome this and give it a try. It's a pretty useful thing.
>
> A few links to get you started:
>
> http://www.eclipse.org/resources/?category=Debugging
>
> http://www.vogella.de/articles/EclipseDebugging/article.html
>
> http://developer.android.com/guide/developing/debugging/debugging-pro...
>
> Just keep in mind that the first time you tell Eclipse to start
> debugging, it will prompt you for how exactly your application should be
> launched for debugging. Choose "Android Application" and you'll be all set.
>
> --
>
> Kostya Vasilyev --http://kmansoft.wordpress.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

Reply via email to