1. Download our Official Android App: Forums for Android!

Apps package imports?

Discussion in 'Android Development' started by jon80, Dec 23, 2014.

  1. jon80

    jon80 On Probation
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    58
    Joined:
    Nov 5, 2013

    Nov 5, 2013
    58
    3
    16
    Male
    Software Engineer
    Malta, Europe
    manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.android.basicgesturedetect"
    android:versionCode="1"
    android:versionName="1.0">

    AndroidManifest.xml
    I think that Android studio underlines the text in red, and, I am not sure why as the warning message is not very clear to me, am I missing something?
     

    Advertisement

  2. jon80

    jon80 On Probation
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    58
    Joined:
    Nov 5, 2013

    Nov 5, 2013
    58
    3
    16
    Male
    Software Engineer
    Malta, Europe
    Why doesn't this forum allow uploading of .java files, and, can I change this setting?
     
  3. codesplice

    codesplice Elite Recognized Moderator
    Moderator
    Rank:
     #14
    Points:
    1,563
    Posts:
    8,804
    Joined:
    Oct 29, 2013

    Oct 29, 2013
    8,804
    10,192
    1,563
    Male
    SysAdmin
    Huntsville, AL
    Hi @jon80, :)

    I'm not sure about uploading the java files, but I do know that Java syntax highlighting was recently added to the forum:

    [code=java]importjava.util.ArrayList;
    importjava.util.Scanner;
    importjava.io.File;
    importjava.io.IOException;
    importjava.util.Arrays;[/code]

    yields

    Code (Java):
    1. importjava.util.ArrayList;
    2. importjava.util.Scanner;
    3. importjava.io.File;
    4. importjava.io.IOException;
    5. importjava.util.Arrays;
    So you could just copy/paste the relevant code here if needed. :)
     

Share This Page

Loading...