I used AIDE development tool under my phone.
The main reason was : this IDE come with a simple default project.
The Android Studio can you give yourself a headache…
The AIDE will make all your files under your project.
I named my project MyAppMailSend with MainActivity.
So the java class will be MainActivity – public class MainActivity extends Activity.
Also I used Intent named ig .
Under XML files I need to put intent-filter and all @string , @drawable and @style.
The AndroidManifest.XML file :

<?xml version=”1.0″ encoding=”utf-8″?>
<manifest xmlns:android=”http://schemas.android.com/apk/res/android”
package=”com.mycompany.myapp” >

<application
android:allowBackup=”true”
android:icon=”@drawable/ic_launcher”
android:label=”@string/app_name”
android:theme=”@style/AppTheme” >
<activity
android:name=”.MainActivity”
android:label=”@string/app_name” >
<intent-filter>
<action android:name=”android.intent.action.MAIN” />

<category android:name=”android.intent.category.LAUNCHER” />
</intent-filter>
</activity>
</application>

</manifest>

Under this path MyAppMailSend\app\src\main\java\com\mycompany\myapp you wil have this file MainActivity.JAVA:

The \MyAppMailSend\app\src\main\res\layout\main.XML file:

<LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android”
android:layout_width=”match_parent”
android:layout_height=”match_parent”
android:gravity=”center”>

<TextView
android:text=”@string/hello_world”
android:layout_width=”wrap_content”
android:layout_height=”wrap_content” />

</LinearLayout>

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.