1. Are you ready for the Galaxy S20? Here is everything we know so far!

To determine the app's information needs you will need to download and examine the following code:

Discussion in 'Android Lounge' started by Alexcol, Mar 30, 2019.

  1. Alexcol

    Alexcol Newbie
    Thread Starter

    Good evening, i need your help please

    I am newbie about developing in Android and the course I am taking is absed in an android applications, so i was asked to review a code is in a zip file thatt contains a folder called SharingApp_c3_local_storage, and this folder contains some others folders line .gradle,.idea,app,buid,dradle and some other files.


    So can i reviw this code? how can i edit ?
    do i have to import? if so, what can i do?

    because the purpose of this course isto have all the application’s saved data stored remotely,

    While i review the code, ive got to determine which classes need their variables to be stored remotely


    For me its a kind of complex issue, but i cant give up, i need to learn, so i need your help and and your expertise to get thouh this and have a shed light about this

    trhank you for bearing with me and your support as always
     



    1. Download the Forums for Android™ app!


      Download

       
  2. GameTheory

    GameTheory Android Expert

    First you will need to install an Integrated Development Environment(IDE).
    You can download the Android Studio(AS) IDE from here:
    https://developer.android.com/studio/

    Follow the installation tutorial from here for your operating system.
    There's both written and video tutorials:
    https://developer.android.com/studio/install

    It seems that the zip file you have is from a project originally created in AS (I'm basing this on it having gradle). So after you have AS installed you will need to select the option to "open an existing AS project" and choose "SharingApp_c3_local_storage".

    Once you've done the above you can begin to work on your code.

    Good luck. ;)
     
    Mikestony and ocnbrze like this.
  3. Alexcol

    Alexcol Newbie
    Thread Starter

    Thanks you. Ive got already instaled AS 3.3.2 but Im not sure about IDE. In the Event log windows there is a message:
    IDE and Plugin Updates: The following component is ready to update: Android Emulator

    Ive got to updtate this ?
     
  4. GameTheory

    GameTheory Android Expert

    AS is an IDE. So you're all set. :thumbsupdroid:

    The android emulator is like a virtual device to test your apps on in the absence of or to supplement a physical device. You should accept all updates.
     
    ocnbrze and Alexcol like this.
  5. Alexcol

    Alexcol Newbie
    Thread Starter

    OK. I open the existing Project and throws a bunch of errors like:

    31/03/2019
    6:57 PM Gradle sync started

    7:03 PM Gradle sync failed: Failed to find target with hash string 'android-23' in: C:\Users\Pablo Alejandro\AppData\Local\Android\Sdk (5 m 56 s 400 ms)

    7:03 PM Syncing only active variant
    You can disable this experimental feature from
    File → Settings → Experimental → Gradle → Only sync the active variant

    So what does it mean with these errors? and how can i correct them?
    The Buid Sync windows what is it used for?

    I would appreciate your help in advanced
     

    Attached Files:

  6. Alexcol

    Alexcol Newbie
    Thread Starter

    Good evening. there is something u may have found out about this issue?
    i tried to figure out but i have no idea what those erros mean
    I appreciate your help in advanced
     
  7. GameTheory

    GameTheory Android Expert

    By any chance, do you know how to host the project on github? This is where developers work together on projects. Makes it much easier to review your code.

    I believe your gradle file simply needs to be updated.
     
    MoodyBlues and ocnbrze like this.
  8. Alexcol

    Alexcol Newbie
    Thread Starter

    OK THanks you very much for your update.
    But as i dold u i have zero experience as a developer, so ive never hear about github, i just google itand it is likely a great platform for developers.
    the course aim taking about SOA as a practice asked me to install AS, configure it, and review the aplication code.

    so these questions arises:
    1 how to update gradle file ?
    2. how can i make this application to be run?
    3 what languaje programming is this for instance in bulid.graddle(app module) this is the code:

    apply plugin: 'com.android.application'

    android {
    compileSdkVersion 23
    buildToolsVersion "25.0.0"
    defaultConfig {
    applicationId "com.example.sharingapp"
    minSdkVersion 19
    targetSdkVersion 23
    versionCode 1
    versionName "1.0"
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
    release {
    minifyEnabled false
    proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
    }
    }
     
  9. GameTheory

    GameTheory Android Expert

    1. AS will highlight warnings and errors in the gradle file. You can simply place the cursor on the warning and click on "Alt + Enter" which will bring up a menu with suggestions to fix the warning.

    2. It'll run fine once the configuration files are updated. (ie. build.gradle etc)

    3. Don't worry about gradle language for now as it doesn't affect you. It's just a config file.
     
Loading...
Similar Threads - determine app's information
  1. CARL BIRT
    Replies:
    1
    Views:
    53
  2. Anonymous54321
    Replies:
    2
    Views:
    165
  3. App Update
    Replies:
    0
    Views:
    129
  4. dontpanicbobby
    Replies:
    5
    Views:
    180
  5. chump45
    Replies:
    2
    Views:
    149
  6. App Update
    Replies:
    0
    Views:
    124
  7. consultant
    Replies:
    1
    Views:
    169
  8. Samsung
    Replies:
    1
    Views:
    715
  9. Jayasai Goutheman
    Replies:
    0
    Views:
    498

Share This Page

Loading...