Android :: Implement Signature-level Security On Android Services
Sep 21, 2010
I'm developing on an application at the moment which contains quite a lot of personal user information - things like Facebook contacts, etc ... Now, one of the things I want to be able to do (and have done, quite effectively) is open up parts of the application to "3rd Party" applications, using Android's build-in inter-process communication protocol (AIDL). So far so good.Here's the catch: because we're involved in handling quite a lot of personal information, we have to be quite careful about who can and can't access it; specifically, only "Trusted" applications should be able to do so. So the natural way to do this is to use a custom permission within the AndroidManifest.xml file where we declare the services. My problem is this: I want to be able to enact signature-level protection (similar to the normal "signature" permission level), but with a bit of a catch:
I don't only want application signed with our internal signature to be able to access the services. I'd like to be able to build a list of "trusted signatures" & at runtime (or if there's a better way, then maybe some other time?) be able to check incoming requests against this list of trusted keys.This would satisfy the security constraints in the same way as the normal "signature" permission level I think - only programs on the "trusted keys list" would be able to access the services, and keys are hard to spoof (if possible at all?) - but with the added bonus that we wouldn't have to sign every application making use of the APIs with our internal team's key.Is this possible at the moment in Android? And if so, are there any special requirements?
View 1 Replies
Sep 20, 2010
I've got a dispatch/delivery/tracking application running on (ugh) Windows mobile that allows a signature capture.I really want to port this to Android to give my customers another option (thankfully) from Windows mobile devices.Is it possible to capture a signature on the device? What are my options here?
View 4 Replies
View Related
Sep 4, 2009
I know about LocationManagerService, AlarmManagerService, and BatteryService, from Android programming books, but is there a published list of all available services?
View 6 Replies
View Related
Oct 6, 2009
I am presently working on services.I have read many articles related to services.But one thing I don't understand is if we want our application to run in background how can we implement services without using Activities.
View 2 Replies
View Related
Apr 16, 2010
I have a broadcast receiver that listens for incoming calls, then displays a popup. The popup is a dialog type of theme and has FLAG_NOT_FOCUSABLE and FLAG_NOT_TOUCHABLE - basically, it's an informational window that goes away after x seconds, and is not meant to interfere or take focus over anything else.
The issue is that the incoming call intent, built into android, is getting the broadcast after my intent. This is causing that window to be stacked in front of mine. How to I get my window to always be on top?
View 1 Replies
View Related
Jan 28, 2010
What is a good way to implement the Google ClientLogin scheme below on Android? My understanding is that Android does not support the GData API. So I wanted to say, login to my Google books account, will I be able to do it using Android and the reference above? What classes should I be looking at in the Android SDK? (I am using Android 1.6.)
View 2 Replies
View Related
Jul 2, 2012
I'm having trouble developing an app, while it works in API level 10, it does not in API level 7. I wondery why and I've been looking for a site that summarizes the differences, or the new features from one API level to another and cannot find it.
09-04 04:24:21.485: E/AndroidRuntime(6834): Uncaught handler: thread main exiting due to uncaught exception
09-04 04:24:21.510: E/AndroidRuntime(6834): java.lang.VerifyError: [code]....
There seems to be a problem with an uncaught exception and reflection, although....why does it work on API level 10?
View 1 Replies
View Related
Aug 24, 2010
I need to create a Robotium application that would use Settings application to turn ON/OFF WIFi from menu Settings->Wireless & networks->Wi-Fi.I managed to find some sample code here that demonstrates how to launch application by having apk file only.The problem is that my Robotium application should have the same signature with the (system) Settings application.Can I somehow make it work with the Android Emulator?If I compile an Android phone image, how can I use the Android system signature with my application?
View 1 Replies
View Related
Aug 31, 2010
What are C based services and Java based services in Android? What is similarity and dissimilarity between them ? Are C based services available in Android?
View 1 Replies
View Related
Oct 6, 2010
I haven't really concerned myself with app piracy; I only have one app under my belt for Android, it's in beta and it's free. I'm about to start development on another app and looking to use ProGuard for obfuscation and LVL as I would like to make it a paid app, and I've been wondering something ever since the news that LVL had been circumvented months ago.Is it possible to check the .apk's signature from within the API? If not currently, perhaps Google might add some code to Android itself or to the API to enable LVL to make sure that the.apk signature matches the signature that Android Market already has on file?
View 1 Replies
View Related
May 21, 2010
i had an interview this morning for a job, and have an opportunity to earna great deal of brownie points with the business owners.They were thinking of purchasing some sort of electronic signature capture device (like fedex or UPS has when you sign for a package) for invoices.. BUT.I also mentioned my Droid Eris and how it can do so much. Turns out, both of the Owners have DROIDs lol.Anyways.. I want to know if anyone has seen some sort of application that can capture signatures, and either save an image to be emailed, or email directly from the app.OR does anyone know a DEV that could create something as simple as this, that I can talk to and relay updates on the APP to the owners of this company.They seemed really interested in it, and I'm pretty positive it will show a good bit of initiative in saving their company money from the get-go (on my part)
View 10 Replies
View Related
Feb 15, 2010
Can & how can I create a signature for my text msgs?
View 3 Replies
View Related
Feb 25, 2010
I'm looking for an app, but don't know if it exists. Basically what I want is an app that I can but a little disclaimer blurb, or something similar on and then have my customer sign it, all on the phone without the need for paper. If this could also be a part of a data base to keep track of customer info, that would be better.
View 2 Replies
View Related
Aug 10, 2010
Is there a way to customize the Gmail signature.Different font or color?
View 1 Replies
View Related
Oct 4, 2010
I have an auto signature set up in the native Gmail app.When I compose a new email, the cursor automatically goes to the end of the signature line when I click the area to begin typing text. Does anyone know how to fix this?I would obviously like the cursor to be at the beginning of the email not at the end!
View 2 Replies
View Related
Sep 6, 2010
My requirement is to make an activity which provides user with a screen in which user can input his signs. I want these signs to be then saved as an image in database. Is there any default activity which does similar task.
View 1 Replies
View Related
Nov 8, 2013
I try to implement a server side verification of an application with LVL library. I use this php code : [URL] .... In the file sample/verify.php, I have two lines to complete :
Code:
$responseData = '';
$signature = '';
I see in the google LVL that there is a function called verify which has these parameters :
public void verify(PublicKey publicKey, int responseCode, String signedData, String signature);
But I don't understand where this function is called and by what function. Also I want to get this datas. How can I do that ?
View 1 Replies
View Related
Jun 6, 2009
My phone was updated to 1.5 this week. I have been waiting to update my development environment, until the phone was upgraded. The ide started out smoothly, I even updated my new Colorthon program library and posted the compiled version on the marketplace.
Next I decided to upgrade Radio's Exercise Buddy. Got a signature error. I worked around it by giving it a new namespace, but this is far from ideal, because now my users will have to use a migration tool, to bring their data over. Is there a better way to do this? Also, If I change the namespace, can I still have my paid users get a free upgrade? Also, I know that many developer's have upgraded earlier, but I wanted to wait until I had the updated phone. If this is a common problem, please refer me to the thread to read.
View 6 Replies
View Related
Nov 7, 2009
My gmail account was easy to set up, and by going into options/settings I can edit my signature. But the option for editing/adding a signature on a none-gmail account is nowhere to be seen. What gives?
View 19 Replies
View Related
Nov 29, 2009
I've searched and couldn't come up with an answer. I currently have a Droid Eris so I'm running 1.5. Is it possible to add an image to an email signature? (I've already edited my signature I would just like to add a logo) If it is not possible in 1.5, is it possible in newer version of Android? (2.0?)
View 4 Replies
View Related
Sep 29, 2009
I have written an Instrumentation class for testing some application. I want to run some automation actions on Contacts activity (system application). But I have "signature does not matching" problem when start instrumentation. How can I run this instrumentation on system application?
View 9 Replies
View Related
Dec 10, 2009
In Android we can get the signatures of a package with
getPackageManager().getPackageInfo(packageName, PackageManager.GET_SIGNATURES).signatures;
We can print a signature by calling
signatures.toCharsString();
How to get the same string with jarsigner or another tool from the APK file ?
View 2 Replies
View Related
Sep 3, 2010
I've downloaded and compile Android 2.1 version with signed-google_ion- ota-14721.zip image for my HTC phone. The compile completed successfully and so the system image flash. How can I sign my own Android application with the system signature?
Can someone describe the whole process for signing a user application with system signature as I am completely new with signing process.
View 2 Replies
View Related
Apr 15, 2009
Camera.setPreviewDisplay() now throws an IOException. Is there a reason this had to be a checked exception (looking at the source code I can't an see an immediate one)? Or is it just an oversight that will be fixed before releasing the final SDK? The consequence is that one cannot have code that will compile for both 1.1 and 1.5 without doing something ugly like adding a blanket try/catch.
View 3 Replies
View Related
Apr 7, 2010
I am using the android code to connect facebook but getting "Facebook Server Error + 104 - Incorrect signature" exception at the place of onLoginSuccess function. code is given bellow ....
public class FacebookConnection extends Activity implements LoginListener {
CODE:..............
View 2 Replies
View Related
Feb 2, 2009
I made some modifications in cupcake camera source code using Eclipse, and try to load to emulator for testing. But it fails installing the apk to the emulator due to the mis-matched signature of android,media, which is set as share user id in manifest.xml. The android,media is pre-built in the emulator. does any one know how those preload packages are signed and how to set correct signature (or keystore) in Eclipse?
View 3 Replies
View Related
Jun 20, 2010
I want an widget that one can sign on it on the touch screen its ambivalent to painter so is there a way using the painter in my application?
i want it too fit the 2.1 version does it exist ?
View 1 Replies
View Related
Aug 4, 2010
I'm having a problem with the LVL in one of my apps. Here are the projects in my eclipse workspace: com_android_vending_licensing - standard LVL my_app_1 my_app_2 my_app_3 All three of the apps use the same licensing library project (including the same SALT), and share the same code in their main activities for checking the license. But when testing, one of the apps continuously fails the license request and the others respond correctly depending on what test response I set in the market "Edit Profile" page. The error I get in logcat is: 08-04 15:20:20.863: ERROR/LicenseValidator(4883): Signature verification failed. And the dontAllow() function of the LicenseCheckerCallback is run. This error message originates from line 104 of LicenseValidator.java in the licensing library. I've done some debugging and the responseCode is set to LICENSED (see line 94 of LicenseValidator.java).
View 6 Replies
View Related
Sep 21, 2010
I have updated my tools to revision 7 and now I can't do a build as it says the API level is obsolete. I can understand warning but it won't build at all. I am using android.bat to generate a build.xml for release versions. So the build.xml gets made from scratch each time. If I switch to --target 8 it builds but I have already released it on the Android Market with 6. Won't this mean that some people that have Android 2.0.1 won't be able to run it?
CODE:........
View 5 Replies
View Related
Jan 11, 2010
Is there such thing on the android market that would allow you to remotely connect to your phone if it were lost and wipe everything off of the phone? Say my phone is lost and I wanted to wipe it remotely so nobody could access the information or contacts on it is there an application for this available?
View 2 Replies
View Related