Android :: Signing Application With System Key
Sep 27, 2010
I have written video renderer application which is using surface flinger APIs to get access of it. I am developing and building application on eclipse. So when i build it , it is already signed default. But when i run it on emulator, i am getting access permission failure of surfaceflinger.On the some portal i have read that if i want to access surfaceflinger i need to signed my application with system key. Is it correct ? If it is correct, can anyone guide me how can i signed my application with system key to get access surfaceflinger.
View 4 Replies
Aug 25, 2010
I have a paid application, that I recently published.
For one reason or another, I didn't make a backup copy of the key signature.
After fixing some bugs, I tried to sign the application again as an update, through Eclipse's export as a signed app wizard.
On the screen where the alias is usually selected, i get a message saying "Invalid Keystore Format."
My real issue is how to handle publishing the update as a new, separate application, with regard to the users who have already purchased the application.
Would I issue refunds for the original purchase for users that purchase the new, separate application?
View 4 Replies
View Related
Feb 2, 2009
I got the screens and code all worked out, I want to export and sign the application for public distribution but the documentation on this is overwhelming. Any hints on signing the app and all that jazz?
View 4 Replies
View Related
Sep 3, 2010
I have an application which has some of it's activities restricted via my own permission. The permission is published in the manifest of the application A and a second application B should request this permission and then be able to call an activity from app A. Both applications belong to me and are signed with the same certificate (they share the same keystore and alias/password from it). Application A gets granted the permission but app B gets never granted the permission! Logcat tells me about this during the installation and the app crashes with an security exception when trying to start the activity from app A. What the heck am I doing wrong? Could it be something with the application signing? Please help me, I'm totally out of ideas.
View 3 Replies
View Related
Feb 20, 2009
I've got a problem! I don`t know how to sign an application on Linux. Can you please help me?
View 9 Replies
View Related
Dec 16, 2009
I would like to know about Android application signing. IFAIK, blackberry and iphone application must be signed to work on the real device.For the Android, does application need to sign ?If so, how to sign the application?
View 2 Replies
View Related
Aug 26, 2010
I have my application run on development environment (eclipse - testing using device), then i do right click on my project folder - android tools - export signed application package, then i create new key store and add my information there, then it'll produce the .apk then i put it up on my own webserver (I intend to put it on my own web server and android market place as well) but then, once i try to download my .apk from my testing handset - it said:
"cannot download. the content the content is not supported on this phone"
this is weird, since i do my testing on this same handset as well. so my question are:
- what is the proper way to sign my app so it can be downloaded all the way through my own web server?
but I still can put it up on android market as well? - I have my android market account.
-is there any walk-through for it?
Well Hope someone can give me the answer, I really appreciate your help!
View 1 Replies
View Related
Nov 10, 2010
I'm just about ready to Publish my application. I have a question about the Signing/Aligning of the application. In looking at the Android documentation they say to run "ant release" to compile the application in release mode. Then to sign and align the apk run "jarsigner" and "zipalign". I had used "android create project" to create my build.xml.
I modified it to run proguard. I find that when I run "ant release" it appears that signing is done as part of the process (I'm prompted for my keystore password) and the apk is zipaligned. I guess I'm confused that the documentation makes it 3 steps, "run ant release" then jarsign, then zipalign. BUT, my "ant release" seems to do everything. Is the documentation not upto date? Is it safe/acceptable to just run "ant release"?
View 2 Replies
View Related
May 10, 2012
I have 2 tools - 1 : APK Manager - 2: Signare (both have their official posts on xda)
I also have jdk 1.6 update 32 installed on my windows 7 x64 bit.
I have created a private key signature manually using the -keytool -v -keystore command and also have created a private key signature using signare.exe app
I am able to sucessfully decompile and recompile apk files (non system apk - example an adw theme) . Now when i am signing the .apk file, the following takes place.
-when i sign it with a test key uaing apk manager, i am able to put it in my sd card and install it and it works fine.
- now when i sign it with a private key signature ( any of the two that i have created), it gets signed successfully but when i put it in my sd card and install it , i get an error message "Application Not Installed".
I really need to know how to ressolve this issue so that i can sign it with a private key .
View 3 Replies
View Related
Jan 27, 2009
after i got my application ready, i put it on my web server, then i got a big problem. i played around and finally find out couple facts between using edge (not 3g) and wifi to download my file 1. the size different. if i use wifi, the downloaded file is 59k which is correct, the one from edge is only 53k. 2. when i try to install them, the wifi one is just fine. but the edge one shows it is trying to replace Android System. and of course, the installation failed.
View 3 Replies
View Related
Mar 30, 2010
Is there an app that you can set to power down and reboot your system? When I had a blackberry, it would always reboot at 3:14am (my birthday).
View 6 Replies
View Related
Oct 18, 2010
Greetings. Years after reading the GTD book and trying all sorts of apps and methods, I still can't find myself settling for a todo system that's simple and effective using my phone. I'm always looking for threads and articles on task managers, but most are only people spouting "I use generic todo app xyz and it rules!" Never how they practically use it in their daily lives. So, I'm asking all of you: what apps do you use for tasks and maybe even reference systems, and HOW. This might be useful for all procrastrinating couchpotatoes like me. Right now I'm using something very simple: Mobisle Notes, with 2 lists: a sorted "Inbox" which is basically just all tasks that come to mind (Sorted as in, priority first, then due date, then projects, then random stuff) And a today list with 5 actions I want to do today. Far from perfect, and Mobisle doesn't handle tags and moving of tasks from list to list a hassle, which keeps me on the lookout.
View 6 Replies
View Related
Nov 19, 2010
I would like to run multiple instances of same application for dev purpose. How does app define it's name in the system, through which of the files is that configured.
View 3 Replies
View Related
Jun 16, 2010
I came across this today and was wondering does this work in production app or does it merely work because my phone allows non market apks.
Here is an example, Take a class like, android.view.IWindow, and copy it's source into your project and recompile it after changing a few things. (Don't rename or repackage it).
Now when your APK loads in the VM, something odd happens.
CODE:...
So the logging is a little ambiguous, but is it saying that the classes in this APK are blocking out previous versions and that these new classes aren't being verified. If so I hope this is only succeeding because as developers most targets are in development mode when allowing non market apks (non rooted phones). However does this work in market released apps as well? This seems like a really nasty security exploit if I can override system interfaces just for my application.
View 4 Replies
View Related
Apr 11, 2012
I am trying to write an application which works like described below.When user start application it check if user have registered PIN on his device.If user have registered PIN, application must show button "Continue with PIN".When user press on button "Continue with PIN" system standard PIN dialog must appears.User enter his PIN and press "Continue" button.After System must check if entered PIN is correct or no and continue working.
I have made some researches and find some articles on stackoverflow and other internet sources which say "There is no way to develop a new custom unlock mechanism on a non-rooted phone." or "I would be surprised if you could, because then you would be probably able to steal the pin code, and I don't think anyone would want that.".
Also I have watched some video tutorials like Tutorial: Android Internals - Building a Custom ROM, Pt. 1 of 2 and Tutorial: Android Internals - Building a Custom ROM, Pt. 2 of 2.
Decision:So I think that the only way to get access to the Android system PIN dialog is to root the phone make some changes in the system files and use system PIN dialod
getting access to the system PIN dialog in the rooted phone.
View 1 Replies
View Related
Oct 12, 2010
I hate how slow the Gallery3D system app is. It's been slow on both my Motorola Droid & HTC Incredible running various ROMS, including stock. It's ridiculous, actually. The HTC Gallery is great by the way it organized photos and is easier to use, but isn't an option for an AOSP ROM [afaik]. Does anyone have a recommendation as to what my other options could be? Thanks, and please don't flame.
View 1 Replies
View Related
Sep 5, 2010
I'd like to receive a TouchEvent in my Android application any time the screen is touched. Even if my application is not in focus.Is there an general even listener or intent filter I can write to achieve this? The goal is to write system wide gesture engine. So for example, if the user swiped up and then down, a certain application would be launched regardless of where the user is.
View 2 Replies
View Related
Aug 30, 2010
I need to compile an application with system permissions in order to use target application com.android.settings. For now while I try to run my apk I get the error message
Test run failed: Permission Denial:
starting instrumentation
ComponentInfo{com.jayway.test/android.test.InstrumentationTestRunner}
from pid=354, uid=354 not allowed
because package com.jayway.test does
not have a signature matching the
target com.android.settings
How can I compile my application with system permissions?
View 1 Replies
View Related
Oct 14, 2010
I have heard that a processor without graphics card will take a lots of time to produce a graphical entity,than one with graphics card. So is there anything like that if we use Open Gl in android application?
will my application become slow?
View 1 Replies
View Related
Nov 19, 2010
I would like to know how to execute a system command from an android application?
For example :
I would like to create a directory while I am running an application, so i need to execute the command "mkdir -p /x/y".
View 2 Replies
View Related
May 3, 2010
I have an issue related publishing the paid app to android market. (My application is internet connection based app.) If I've put the app to the android market, can user who bought the app pass to anyone? How is its security (I mean safe of .apk file)? Also, what is payment tool of android market? My main point is choosing the best way to link paid user to our system. Actually I don't know how to link paid user account to my system(by email address or device unique ID? What is better way?).
View 1 Replies
View Related
Apr 7, 2010
I've noticed a troubling issue with app permissions. It seems that after installing, some apps that didn't ask for these two permissions:
Storage: modify/delete SD card contents
Phone calls: read phone state and identity
will magically acquire them after install! These apps do not ask for these permissions during install, nor do their Market pages disclose that they need them. After looking through many logcat messages during an install, I found this:
04-07 03:23:08.973,I,PackageParser,1016,com.some.app.nam e.here: compat added android.permission.WRITE_EXTERNAL_STORAGE android.permission.READ_PHONE_STATE
Digging around, I found this online:
Android permissions: Phone Calls: read phone state and identity - Stack Overflow. It seems that an app that is compatible with systems earlier than 1.6 will automatically be assigned those two permissions. If a developer is willing to make their app compatible only with 1.6+ systems, they can change their app's manifest:
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="4" />
and when users on 1.6+ devices install the app, those two extra permissions won't show up.
I bet a lot of app developers don't know this, and therefore their apps will seems to acquire those two permissions magically. Users will install those apps, see the two extra permissions when they inspect the app security setting and be very puzzled. They'll probably think the app is malware and uninstall it. I've contacted some app developer about this issue, so that they can (hopefully) fix their app so it doesn't look like malware. Unfortunately, until all legit apps are fixed, it'll be hard to distinguish amongst apps that have those permissions, which app actually needs those permissions, which apps need fixing, and which apps are malware.
View 2 Replies
View Related
Mar 10, 2009
How to explicitly launch the system's Home application by code?
View 11 Replies
View Related
Jul 30, 2010
Hi, I want to create an application in android which at runtime calls an xml file from some path of the system.And make that contents of the xml file run in the same application.Could i get a feasible code because at runtime the bytecode of the activity is already created.how do i compile and run the activity and runtime.Also i was facing problem reading the xml file.Need some suggestions asap.. Thanx in advance!!
View 3 Replies
View Related
Nov 17, 2009
I followed the instructions to create an application signing key and have signed my application and submitted it to the Android Market. Now I am trying to backup my key to make sure it doesn't get lost, but I can't figure out how to do this on Windows Vista.When I look in the directory where I ran keytool to create the keystore I can't find the keystore file. When I use eclipse to sign the application and browse to that directory it shows me that the file <my_company_name>.keystore is there and lets me select it as the keystore for signing my application. But when I look in the directory using windows explorer or a command prompt the file is not there (I do have it set to show me hidden and system files). I also tried looking in places like C:Users<my_user_name> and C:Users<my_user_name> Documents but could not see the keystore anywhere.
I ran the keytool command with "keytool -list -keystore <my_company_name>.keystore" and is does list the keystore and shows that it contains the alias <my_app_name>. However I tried running "keytool -keyclone -keystore <my_company_name>.keystore -alias <my_app_name> -destkeystore <my_usb_thumb_drive> <my_company_name>.keystore -dest <my_app_name> -keypass <the_alias_password>" and keytool tells me that "alias <my_app_name> does not exist. I tried different combinations for several hours but was unable to figure out how to get it to make a backup of my signing keystore on my usb thumb drive.I would greatly appreciate any help in pointing me in the right direction. After reading the warnings about not losing your signing key, I feel that making a backup is critical, but I can't figure out how to find the keystore or get keytool to make the backup. I searched but have not been able to find any instructions that work to do this. It seems like an issue that every developer needs to be concerned about.
View 8 Replies
View Related
Oct 21, 2010
Got a little problem with Signing my Application.I'm Using Aptana (for those that don't know its Eclipse with some add- ons) I have the app working and just trying to add it to the market place but for some reason i'm hitting the wall,So here's a run though of what i do.
Right click on project
Hover over Android and click on Export Signed Application Package
Click Next
Select Use Existing KeyStone
Location is set to "C:/Program Files/java/jer6/bin/keytool.exe"
I set my password
Click Next
Select Create New Key
I fill out the form and click next
I browse to my desktop to save the *.apk to
Then i click Finish and GET
"Keytool Error: java.io.IOException: Invalid keystore format"
Can any one help please
View 2 Replies
View Related
Aug 8, 2009
I created a little app and uploded it to the Market, it is online, its the "Locale Http Request Plug-in". I signed it with Eclipse using the build in creation of the key file, gave it 35 years lifetime. But when I install it with the Market on my phone, it downloads it and then gives the Error that it was not signed correctly.Is there anything besides whats in the Dev Guide what I could have made wrong?
View 6 Replies
View Related
Jan 29, 2010
I have two paid apps in the Android market.My first app was selling a few units per day, I recently uploaded my second app.Both apps were signed with the same private key, both have different packages.
Since uploading the second app I haven't had a single transaction on the first app (as reported by Google checkout).Is that coincidence,or does the market report all transactions for apps that have the same private key as a single app? The market doesn't let a developer by his/her own apps, so I can't test my theory. Anyone else seeing this behavior?
View 2 Replies
View Related
Mar 9, 2010
I just would like to ask if anyone have encountered this strange behavior with other phone models or specifically HTC Tattoo wherein I have this service running for almost 5 hrs then after sometime the system kills the service. The phone does not restart actually nor any other 3rd party applicaton running in the background. Its only the service I have is running. I was wondering what were the causes that would force to close my service. Another strange thing is that before the service was closed I still can see all the logs in the logcat but after I saw that the service was closed I don't see any log information already seems like the phone was totally disconnected from my eclipse.
View 2 Replies
View Related
Jul 16, 2010
Is there a way to code-sign (to allow it to open only on a device with specific ID) your Android app when using ad-hoc distribution (sending app to testers or clients as a subcontractor)?I know I can share apk file pretty easily, but what if I don't want other people to redistribute the app before it is ready? I don't want testers to be able to distribute not finished and buggy version of my app for example. Or I would like to show my client the final version of the app, but not allow them to distribute it until the payment is made.
View 1 Replies
View Related