This is just standard Eclipse hotkey magic. It's not special to Android.

bob wrote:
>
> Apparently, Cmd + Shift + O adds import statements like so:
>
> import android.net.wifi.WifiInfo;
> import android.net.wifi.WifiManager;
>
>
> Also, *paste* this:
>
> /** Called when the user clicks the Send button */
> public void sendMessage(View view) {
>     // Do something in response to button
> }
>
>
> right after this:
>
> public class MainActivity extends Activity {
>
>
> Imnewhere wrote:
>>
>> What do they mean by:
>>  
>>
>> *Open the MainActivity class and add the corresponding method:*
>>
>
They mean to open the source for your 'MainActivity' class and add the 
method 
that corresponds to what they're telling you.
 

> */** Called when the user clicks the Send button */public void 
> sendMessage(View view) {
>>     // Do something in response to button}*
>>
>> *Tip: In Eclipse, press Ctrl + Shift + O to import missing classes (Cmd 
>> + Shift + O on Mac).
>> *
>>
>>
>> http://developer.android.com/training/basics/firstapp/starting-activity.html 
>>
>>
>> (the hotkeys doesn't work)
>>
>
What does it mean, "the hotkeys doesn't work"?

Does it not cause your import directives to clean up and represent what 
you're 
referencing by simple name in your code?
 

> Is there a site in Dutch?
>> It's hard to understand HTML
>> And it's difficult to understand English
>> (I'm a little kid that is intressed in programming)
>>
>> I have already done the previous lessons...
>>
> There might be some information on the Eclipse website 
www.eclipse.org
to help you with Eclipse questions.

-- 
Lew
 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to