• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps some basic questions about an android app

aliyesami

Newbie
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?
 
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.
 

Attachments

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.
 
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>
 
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 ?
 
Back
Top Bottom