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

some basic questions about an android app

Discussion in 'Android Development' started by aliyesami, Mar 22, 2016.

  1. aliyesami

    aliyesami Newbie
    Thread Starter

    I am using this electronic gadget from Atmel called SAMW25 and it comes with an android app which takes the wifi SSID and password and passes it on to the SAM25 module.
    I am trying to understand how this app would be working and can I write my own android app to communicate with the SAMW25 module ? using TCP/IP sockets?
     


  2. aliyesami

    aliyesami Newbie
    Thread Starter

    attaching the .apk file , can someone reverse engineer it and see what it is doing ?
    this is a demo app from Atmel and is not a commercial product.
     

    Attached Files:

  3. Welcome to Android Forums.

    This thread was moved to this forum that is dedicated to discussing development questions.

    ... Thom
     
  4. Deleted User

    Deleted User Guest

    I think it's very unlikely someone will spend the time doing this for you, and with the greatest of respect, you will learn far more from it, if you try to reverse engineer it yourself - particularly if your intention is to understand what it does, and communicate with it.
     
  5. aliyesami

    aliyesami Newbie
    Thread Starter

    I tried to do it myself but its giving me errors. I used apktool .
    is there anyother utility I can use ?
     
  6. aliyesami

    aliyesami Newbie
    Thread Starter

    here is the error I am getting .. can someone tell me how to fix it ?

    Directory of C:\android

    03/22/2016 12:26 PM <DIR> .
    03/22/2016 12:26 PM <DIR> ..
    09/10/2015 09:07 AM 2,838,011 avrforiot.apk
    03/22/2016 12:21 PM 2,347,822 avrforiot.zip
    2 File(s) 5,185,833 bytes
    2 Dir(s) 147,704,111,104 bytes free

    C:\android>apktool d avrforiot.apk
    I: Using Apktool 2.0.3 on avrforiot.apk
    I: Loading resource table...
    I: Decoding AndroidManifest.xml with resources...
    I: Loading resource table from file: C:\Users\kn857sa.TOLLS\apktool\framework\1.apk
    I: Regular manifest package...
    I: Decoding file-resources...
    I: Decoding values */* XMLs...
    I: Baksmaling classes.dex...
    I: Copying assets and libs...
    I: Copying unknown files...
    I: Copying original files...

    C:\android>apktool b avrforiot.apk
    I: Using Apktool 2.0.3
    Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
    at brut.androlib.Androlib.readMetaFile(Androlib.java:263)
    at brut.androlib.Androlib.build(Androlib.java:275)
    at brut.androlib.Androlib.build(Androlib.java:268)
    at brut.apktool.Main.cmdBuild(Main.java:225)
    at brut.apktool.Main.main(Main.java:84)
    Caused by: brut.directory.PathNotExist: apktool.yml
    at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:105)
    at brut.androlib.Androlib.readMetaFile(Androlib.java:258)
    ... 4 more

    C:\android>
     
  7. aliyesami

    aliyesami Newbie
    Thread Starter

    ok issue was fixed by using the command "apktool b avrforiot" without the ".apk" extension

    C:\android>apktool b avrforiot
    I: Using Apktool 2.0.3
    I: Checking whether sources has changed...
    I: Smaling smali folder into classes.dex...
    I: Checking whether resources has changed...
    I: Building resources...
    I: Building apk file...

    so now how can I open these files in the google android studio and emulate it ?
     
Loading...
Similar Threads - basic questions android
  1. maheshkulkarni
    Replies:
    0
    Views:
    224
  2. RhinoCan
    Replies:
    18
    Views:
    1,401
  3. m4p
    Replies:
    3
    Views:
    450
  4. firestorm31z
    Replies:
    8
    Views:
    352
  5. asadaso
    Replies:
    3
    Views:
    565
  6. Android News
    Replies:
    0
    Views:
    500
  7. Android News
    Replies:
    0
    Views:
    247
  8. BrianLion
    Replies:
    6
    Views:
    286
  9. Mac29
    Replies:
    6
    Views:
    459
  10. 8nkit
    Replies:
    5
    Views:
    489

Share This Page

Loading...