News about the publication of ADC round1 ranklist ?

by Florindo Renso » Wed, 07 May 2008 09:36:10 GMT


Sponsored Links
 anyone know something ?
Cheers

--~--~---------~--~----~------------~-------~--~----~



News about the publication of ADC round1 ranklist ?

by Hielko » Wed, 07 May 2008 10:52:23 GMT


 Check the android challenge discussion group



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


News about the publication of ADC round1 ranklist ?

by Manuel Kraft » Wed, 07 May 2008 13:09:33 GMT


 hmmm,I just saw some details about the winners and the postponed
announcement on

 http://www.android-portal.com/2008/05/06/adc-android-developer-challenge-winner-announcement-postponed/ 




--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Read text file and search contents

Greetings,

I am new to Java and Android.  I have a flat file (pipe-delimited)
stored in R.raw called wordlist.txt.  I want to open this file and
quickly search for a word I pass into my procedure.

I've been searching for a simple way to do this but not having much
luck.

Can anyone share some code on how to do this?

Thanks SO much for any help!

--~--~---------~--~----~------------~-------~--~----~

2. help......i am a Beginners

package com.androidyo.firstbmi;

import java.text.DecimalFormat;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

public class Bmi extends Activity {

        /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);


        Button button=(Button)findViewById(R.id.submit);
        button.setOnClickListener(calcBMI);
    }
    private OnClickListener calcBMI = new OnClickListener()
    {
        public void onClick(View v)
        {
                DecimalFormat nf=new DecimalFormat("0.00");

                EditText fieldheight=(EditText)findViewById(R.id.height);
                EditText fieldweight = (EditText)findViewById(R.id.weight);
                double height = 
Double.parseDouble(fieldheight.getText().toString
());
                height=height/100;
                double weight = 
Double.parseDouble(fieldweight.getText().toString
());

                TextView result = (TextView)findViewById(R.id.result);
                TextView fieldsuggest = (TextView)findViewById(R.id.suggest);
                if(height<=0||weight<=0)
                        result.setText("input wrong");
                else
                {
                   double BMI = weight / (height * height);


             result.setText("Your BMI is "+nf.format(BMI));

             if(BMI>25){
                    fieldsuggest.setText(R.string.advice_heavy);
                   }else if(BMI<20){
                fieldsuggest.setText(R.string.advice_light);
                   }else{
                    fieldsuggest.setText(R.string.advice_average);
                   }
             }

        }

    };
}



MY question:



when runing the app .if i input nothing .it will force close

how can i fix it???
please give me a hang...i am a beginners.thanks

--~--~---------~--~----~------------~-------~--~----~

3. running appl in background

4. sdcard

5. not able to play file when set data source to the sdcard file

6. Want to help with Android nightly builds?

7. Android on Samsung i900 (Omnia)