I want to know how parallel space
https://play.google.com/store/apps/details?id=com.lbe.parallel.intl&hl=en is working. It is an app for logging in with another facebook, whatsapp etc account. You can find the detailed description in the play store link.
I have looked at the folders that parallel space is creating using ES Explorer. They have created the following folder parallel_intl/0/
In this folder they have DCIM, Pictures etc folder. I logged in another whatsapp account using parallel space and they created the whatsapp folder at the following location parallel_intl/0/Whatsapp
Is it possible to achieve the same thing with Android For Work Container???
Are they some how creating a separate space where Whatsapp etc will run???
Kindly provide some guideline explaining how this can be achieved.
Thanks.
Actually they have created a virtual OS named multi-droid where you can run any app on that OS. As you install any app on their OS the space for that app increases by the size of the app. Firstly they find the path of your installed APK then they copy that APK into somewhere in the directory
Thus they have the APK to install . now they run it on their OS and they took all the permissions required by the app that way all the permission could be obtained .then the app has a service running in background so notifications can be obtained .
this is the first time I'm taking a look at the Dropbox API so I'm afraid I kinda don't understand much.
My purpose is to develop an App in which I place some files into a directory so as to be automatically uploaded to the server and synced in another device whose owner I'm sharing them with, so different accounts are being used of course.
In the end, it has to be something similar to Dropbox app itself: you are able to create a file, upload it and share it with some friends.
Any idea if this is possible, what to begin with, is it possible to use for this goal any folder i want or it has to be one particularly chosen by Dropbox...?
If you're asking for a way to programmatically share a folder with another user, the API doesn't currently support that. To do what you're doing, you would need to manually (with the Dropbox app or via dropbox.com) share a folder with the other user. From then on, you could use the Dropbox API to read from and write to that shared folder. (And the same would work from the other account, since the folder would be visible to both of you.)
I am trying to make the .apk file available to users. But, I don't want to go through app store. Now, my question is can we place the apk file on server? If yes, how? I tried to upload treating it like a war file and obviously it didn't work. Please suggest how to place it on server and access it.
Thank you!
Upload the APK to your server or any storage online, even a Dropbox can do the job.
Give the link of the APK to your users
Users download it on their phone or tablet
Users should have activated the installation from Unknown sources : Settings > Applications > Unknown sources...
You could also use Hockeyapp or similar service to automatically distribute the application among users. You can find Hockeyapp's API documentation for uploading .apk files here.
I want to protect my application from being copied by users from device to another device. I know that wont be possible because once the apk is installed any third party application may be able to copy or extract the apk. I mostly care about the private data of the application rather than the apk itself. So, my questions are :
1- Can I protect the apk from being copied to another device by the user ?
2- If user copied an application from device to another (e.g. via third party app or by bluetooth) will he/she be able to copy the private data as well ? If yes, can I protect that ?
Thanks in advance.
To answer briefly, AFAIK, No.
Regarding the single questions:
if device is rooted it's really easy to access the /data/app/ dir and copy your apk, even on the device itself.
For un-rooted devices you need to issue some adb commands. For reference, look here:
https://stackoverflow.com/a/11013175/1865860
https://stackoverflow.com/a/17135554/1865860
How to get a list of installed android applications and pick one to run
the same applies to /data/data/com.example.app/ for the private app's data. Just different folder and possibly many files to copy.
Basically the difference it's not in having root or not, but in the ease of realization.
you can use google licence in your app even if its copied from rooted device it wont work until its downloaded from playstore
second /data/data/<packagename>/ can be copied from rooted device
This is my first Android app. I need to email what I have so far to someone for testing.
How should I do I export the app and attach it, so it is not being treated as Junk?
Much simpler method:
Put the apk on your web server
Create a QR Barcode image using:
http://chart.apis.google.com/chart?cht=qr&chs=150x150&chld=H|1&chl=http://myserver/myapp.apk
Then send him that barcode in an email and tell him to scan it using the barcode reader app.
The barcode reader app will see the barcode and provide a hyperlink for the user to click. They click the link and the app downloads and installs.
compile/build your app, it should produce a file like myAppName.apk, just send it via email to your friend
try to look in yourProjectPath/bin folder
If you are using Eclipse run the app on the emulator to test it. Now Eclipse should have created a bin folder in your project folder. In this folder you will find an apk file that contains your app.
Just send this file to your friend via email. He know can install the file on the emulator if he has one running. If not he can just plugin his phone via usb move the file to the SD-Card remove the USB connection and then navigate to the file on his SD-Card with a file browser like ASTRO and select the, item now the application manager should show up and he can install the app. If this does not work he has to go to settings -> applications -> and enable unknown sources.
I assume you are using Android Studio for application development.
Follow these steps:
Go to "build" from the navigation bar in Android Studio.
Go to "build bundle(s)/APK(s)" from the drop down that appears.
Click on "build APK(s)". You will get a notification box at the bottom right of your screen.
Click on "locate". Two files will appear. One is a ".json" file and one is an ".apk" file.
Send these files to your friends on WhatsApp and tell them to download the JSON file and install the APK file. Now your application is running.
You are done.
You can also right-click on your project (in eclipse) and click on export
then select "Export Android Application" and give all the details...
after you finish you will have a myAppName.apk, which you can email
Export Android Application would be the correct way to generate the apk. Using the one that eclipse uses has debugging info, plus it is signed with debug key, not an actual key. If you install an application signed with one key, and then later try to install an application (same package name) with a different key, you will first have to uninstall the original application first.
The simple answer is it is very simple, Droid devices understand what an APK is. So, tell your friend to Check "Enable Unknown Sources" currently in Settings->Security (not Settings-> Applications as of now.) Then email them the APK. Upon receiving it, Droid will either get it installed, or they can download it to downloads, where they can also install it from. Accept the Permissions, and off you go.
You can use the Microsoft App Center to build and distribute your Signed/Unsigned APK with your beta testers.
Or you can also use Google Drive, DropBox, Amazon S3 to distribute your APK
In Android Studio build with "build"->"Build Bundle"->"Build APKs" which you'll find in the folder app/build/outputs/apk/debug then.
You cannot attach the file in your email directly, since APKs are treated as junk by most email providers. So upload the apk somewhere and send the link to your co-worker.
If a link is not enough, with a simple trick, you can send the file anyway:
Rename the file: attach .bin at the end of the filename (i.e. myApp.apk.bin)
send the fake .bin file
Tell the receiver, that they have to rename it to plain .apk before installing. (On android renaming is possible with a file-manager, i.e. like Totalcommander)
If you are using Android Studio for application development
now your apk is ready to share. Go to email and attach the apk file and enjoy.[note:Maximum Email Size Limits maybe 25MB]