Solved

need help to understand how to load a binary on android device or emulator

Posted on 2014-12-15
8
188 Views
Last Modified: 2014-12-17
Hi guys,

I tried to follow the steps in this link :

https://github.com/alfredh/baresip-android
 
I executed steps 1 to 4 without any problem --> I built the binary

But then I did not understand step 5.

There should be some missing steps.

Can someone simplify step 5 to me ? or give me more clarification?
0
Comment
Question by:bachra04
  • 4
  • 4
8 Comments
 
LVL 2

Author Comment

by:bachra04
ID: 40501683
BTW I have an ubuntu machine
0
 
LVL 35

Expert Comment

by:Kimputer
ID: 40502373
The binary is the important part. Just find another way to get it on the phone. Is your phone even rooted?
0
 
LVL 2

Author Comment

by:bachra04
ID: 40502642
My intention is to build an android App on top of the binary and load on device without the need to root the device ? Is that possible ?
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 35

Expert Comment

by:Kimputer
ID: 40502655
You need some high level APK packing skill then.
0
 
LVL 2

Author Comment

by:bachra04
ID: 40502714
Do you know where to start ? a link , good book reference, video ?
0
 
LVL 35

Expert Comment

by:Kimputer
ID: 40502768
Sadly I use rapid development tools and thereby never had to fiddle with APK building. I suggest you create a new question with something like "Android building multiple custom binaries into one apk". Android's usually depend on a GUI too, which you also never mentioned. So maybe you should look into that too (no GUI, only command line, means the target phone also has to have root, but you just said you wanted to avoid that? It's quite conflicting what you're saying)
0
 
LVL 2

Author Comment

by:bachra04
ID: 40503114
right. I need to use GUI as well. on top of binary.
0
 
LVL 35

Accepted Solution

by:
Kimputer earned 500 total points
ID: 40504427
Google this exact string: is-it-possible-to-run-a-native-arm-binary-on-a-non-rooted-android-phone
The first returned link should get you closer.
I.e. the binary you already compiled goes into the assets folder your other GUI app. So no fiddling with APK building after all. Just use the normal way you deploy your Android app.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Once again I push the limits of my phone.  An introduction to the Android Google Now Launcher.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This video is in connection to the article "The case of a missing mobile phone (https://www.experts-exchange.com/articles/28474/The-Case-of-a-Missing-Mobile-Phone.html)". It will help one to understand clearly the steps to track a lost android phone.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question