I am working in a company where some of my work includes some interactions with APK files. I just came across an APK file which was developed by some internal team and there is not much documentation for it.
I am wondering if there is any way to know the different commands available(API reference) for APK? Or is it always documentation from the provider sole source of information for any given APK?
OR even there is anyway to know more about the errors rather than running them in command prompt using adb commands?
I am sorry for the naive question but I am fairly new to android development.
Didnt get your question clearly but if you searching for .apk command option
so you can get this from this link.
https://code.google.com/p/android-apktool/wiki/ApktoolOptions
if your are new to android just go through this website you will get what you want and full knowledge of android application how they are build and their compilation
http://developer.android.com/training/index.html
Related
I have developed an app using Rhomobile, which is a cross-platform native mobile applications using web-technologies: HTML, CSS, JavaScript and Ruby, but unfortunately now I don't have the source code as I've lost it, but I have the apk that I built at the time. several readings shows it is possible to recover it by reversing the apk which I did but then in the assets\apps\app I got YARV-bytecode which definitely requires to be restored to the ruby source. I saw some tools like reversal which advertised as YARV to Ruby but didn't worked for me. in the examples reversal given YARV-bytecode appeared there are somehow different to those I found from the apk I pulled from.
Mine is a shown below:
How can I recover it?
Please help this.
No it is not possible to recover the code.
I am interested in coding up some interactive apps for personal use on my Samsung Galaxy tab running the Android OS. Ideally I would like to write a program in C++/Haskell/Python on my desktop, test them out with a simulator in an IDE such as Eclipse, and then transfer the compiled
executable onto my Tablet to be used like any normal Android app.
Can this be done? All sites I have come across so far are about writing android apps on your PC and then publishing them to Google Play
after meeting some quality criteria as mentioned here
The closest question on SO I could find is this one but it does not seem to answer the question.
If so, can someone tell me the workflow for doing this? In particular to which folder must I transfer my executable to?
Note: I will be coding these apps on Ubuntu 14.04 in the languages mentioned above.
You can build and run your own apps without uploading to anywhere. Android allows apps to be installed from the computer to device using the adb executable (Android Development Bridge). You can develop the app and push it directly to your device.
If your interested in python android you might want to checkout: https://kivy.org/
For more information on building apps and installing locally checkout here: http://developer.android.com/training/index.html
I've asked this question before but it was seen as a broad question. So I'm asking a more specific question about that topic now.
I want to build an Android app with ability to play Sega Genesis ROMs. Obviously it needs a Sega Genesis Emulator. Based on what I've seen in other android apps with Game Console Emulators, I've figured there's no need to write an emulator from scratch. For example this app has emulators for more than 10 Game Consoles and obviously they haven't spend years to write +10 emulators from scratch and put them in an app just to distribute it for free.
So I'm guessing there's a way to use (include) an already written Game Console Emulator in an Android application. Is that right? And if it is, how can one do that?
I've search A LOT and found nothing about it. Maybe this process has a special name that I don't know and I should search with that name.
This is too broad a question, but I can point you in the right direction:
Android allows for native C++ development using the NDK. Get it, learn it, love it.
Then you can either use a C++ emulator Core that is open source and include it in your app, or you can just build your own version of an existing emulator and fork it to your liking.
For your example (Sega Genesis), you could use SDL and DGEN: combining the two will yield an android-compatible Genesis emulator.
I would like to create an App with python, but i need that it includes all it needs in order to operate correctly. I have saw this post about the ability to sell the app via and Market, but it didn't have a final answer there.
Currently the best solution i could find, is at this pdf chapter (from Pro SL4A Apress book), but still it seems that even if i create an .apk file, the user whom install that app would have to have the SL4A on his Android device.
Is there a way to incorporate the SL4A in the .apk file, or better yet, to incorporate just the needed stuff ?
As far as I'm aware, APKs created this way don't include the script interpreters that SL4A provides. According to the PDF you posted, it should request for SL4A and the relevant script interpreter to be installed when the APK is installed, however.
This question is now quite old, but for any other users who might come by here, it is now possible to embed the Python interpreter in an APK package. Look at this project for instructions and methods of doing so.
so what actually happens when compiling an APK via the method described in the book is a little bit different than what you have described. What actually happens is that upon installation of the APK file it will check to see if the user has Python installed, not SL4A. If the user does not have Python installed it will prompt for a download, similar to how certain applications prompt to install BusyBox in order to use certain commands. This means that the user doesn't need to have a scripting environment, or in fact even know what python is.
As for compiling 3rd party modules/libs into your APK, what happens is when you are compiling in Eclipse it will point to the folder on the computer containing python, and compile from there. That means that all you need to do in order to get extra modules or libraries into the APK are to make sure that they are included in the folder that Eclipse looks to when compiling the APK. By default I think that is your native Python folder, but I'm not 100% sure so somebody please correct me if I am wrong.
Hope this helps!
I have an app in Android Market which is a standalone app that's essentially a full conduit to an SQLite Database(add, change, delete, inquiry). Some of my potential clients have asked to see a sample of my work, but they don't have an Android device.
Other than just showing them screenshots etc., is there a way I could have them go to a website where they can actually run it & check it out.
I'm thinking there would be a programming element involved (convert app to a mobile website essentially?), hence posted this question here.
Not quite sure where to get started. Any help would be appreciated.
You can use one of the patterns like MVC/MVP/MVVM to create your core library and then develop additional UI variants for different clients: Android, java applet etc.
Alternatively you can develop a mobile web site as you suggested and use simple android app to navigate built-in browser to it. This might be somewhat transparent to most users. I think Android MSN client uses such an approach.
I see 2 relatively easy options.
Give them an .apk designed to only
run on the emulator (you can check
the ID, the emulator ID is 00000...)
and they can boot up an emulator and
run it. If you're worried about them
reverse engineering your .apk you
probably shouldn't go down this
route. Or if you don't want them to
have to install the emulator
Set up a virtual machine and let
your clients remote desktop into it.
Give them permissions to only run
the emulator or however you want to
set it up