博文

目前显示的是 十一月, 2020的博文

Android-Command line tools

 Android-Command line tools 1.mkdir Hello 2.cd Hello\ 3.mkdir src\dom\domain 4.vim src\dom\domain\SayingHello.java vim >  package dom.domain; import android.widget.TextView; public final class SayingHello extends android.app.Activity { public void onCreate( final android.os.Bundle activityState ) { super.onCreate( activityState ); final TextView textV = new TextView( SayingHello.this ); textV.setText( "Hello world" ); setContentView( textV ); } } vim > :wq 5.vim AndroidManifest.xml vim >  <?xml version='1.0'?> <manifest xmlns:a='http://schemas.android.com/apk/res/android' package='dom.domain' a:versionCode='0' a:versionName='0'> <application a:label='Saying hello'> <activity a:name='dom.domain.SayingHello'> <intent-filter> <category a:name='android.intent