Since it's now possible to execute an apk file on windows mobile, is there any way to check if the environment is emulated on windows or not? I want to be aware if the app is executed on windows platform.
Users cannot run arbitrary APKs on Windows. As a developer you will choose to package and publish your APK for Windows. It can call Windows Runtime API or compile in custom checks as needed.
For more information check out the Build session “PROJECT ASTORIA“: Build Great Windows Apps with Your Android Code. You can sign up for the for the Windows Bridge for Android (fka Project Astoria) developer preview at https://dev.windows.com/en-us/uwp-bridges/android
I found the way. You just need to read file /proc/cmdline and look for the hyperv string.
Related
I would like to configure my Jenkins server on Linux to build and test android applications.
Is it possible to just install and manage android SDKs instead of having a full Android Studio installation?
Thanks,
Yes it is absolutely possible #Hichem, you can say this is the desired behaviour when you are installing Jenkins on the server.
There is a good article for doing same please have a look and feel free to ask
https://www.vogella.com/tutorials/JenkinsAndroid/article.html
For updated SDK version you can browse this url
https://developer.android.com/studio
How can I install a debug build of Android 5.0 AOSP on my Nexus Device? Where do I get the debug build? I tried Googling but still can't find step-by-step instructions to download and install debug build.
You would need to pull down AOSP in source form and build it for the desired Nexus target (assuming it is supported). Start here:
http://source.android.com/source/requirements.html
Once you are setup, look into the details of building for a specific device, found here:
http://source.android.com/source/running.html
Note that if you load your device with a custom image you'll be voiding any warranty, etc. Also, you probably don't want a full debug build, it will be very large and most likely not loadable on the device. You'll want an "eng" build, which has a reasonable amount of debug capability in place, even for system processes and frameworks.
Good luck!
Is there a iOS and an Android Simulator I can use to load up a IPA and a APK file? I'd like to test the apps but won't have access to the source code. Any software that lets me do that (preferably not on the cloud)
An IPA that wasn’t specifically built for the iOS simulator will have the wrong instruction set and won’t run therein. If you’re in a testing environment and can get whoever’s actually building the code to make a simulator version for you, though, the instructions in this answer may help.
You can install an android apk through adb on the simulator comes with the Android SDK
see Google Adb usage
You could try using bluestacks to install apk files
I've put together a remote build system for Android using Ant on a Windows machine and I'm trying to figure out my options for an automated installer in order to deploy the build system to one of my client's machines.
The installer should be able to download Android SDK, Ant, GIT, launch and configure Android's install manager, configure system settings such as the PATH environment variable, configure GIT, etc.
And there is a slight possibility that I'll have to use a Linux client machine some time in the future.
Apart from writing such a software in, say, Qt, I don't see how to do this. Any help/ideas are very appreciated.
I want to make some changes to the stock Mms Android application and install it on my device. However, I have problems with compiling the code checkout obtained from git. I have created a new Eclipse Android project with "use existing sources", setting the target framework to 2.1. However, Eclipse does not find some needed framework classes, e.g. android.telephony.SmsManager.
I have the whole Android toolchain set up and working (make finished without errors), Eclipse is running on Sun Jdk 1.5.
Perhaps my mistake was that I did not copy the .classpath file into the new project, I will check this. Never the less, should I succeed, will I be able to install this .apk into a non-rooted device?
The stock Android applications are not designed to be built using the Android SDK, mostly because many of them predate that SDK. Right now, they can only be compiled as part of the firmware.
Even if you wind up with an APK, you will not be able to install it separately from a replacement firmware, unless you change the package in the manifest. You cannot have two applications on the device at the same time with the same package, and since you will not be signing your APK with the digital signature used by the firmware, yours will not be able to overwrite the existing one.
If you have a device that supports replaceable firmware (e.g., ADP2, Nexus One), you may be able to create, sign, and install your own firmware, then replace that APK in the future without replacing all of firmware a second time -- I don't know how well that works.