Android :: Handle APK Signing For Droid In An FOSS Project?

Oct 29, 2010

I'm working on an open source project for android and am wondering whether there are any best practices (or at least well-argued hints) on how to manage the private key for signing the APKs.

On the one hand, the key should be secured, on the other hand, at least the members of the core team should be able to create "official" releases.

My first suggestion was to just distribute the encrypted private key in the source repository and give out the passphrase to committers, but the trust (from the community to the individual) cannot be revoked.

Is there any other way to share the signing rights (e.g. by setting up a private CA and creating keys for each committer) among the members?

Android :: Handle APK signing for droid in an FOSS project?


Android : Signing Key Got Corrupted - Getting Invalid Keystore Format In Eclipse Signing Wizard

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

Android :: Best Source Of Droid FOSS / Is It Phone Marketplace?

Jul 29, 2010

Before I start to reinvent the axle ... what's the best source of Android FOSS?

Is it the Android marketplace? There appear to be some projects on SourceForge ... anywhere else?

View 1 Replies View Related

Android : How To Add Project Reference To Droid Project?

Jan 25, 2010

I am a C# developer and getting started with Android. I am attempting to duplicate a couple applications I already have in VS. The project is made of 2 executables and 1 common assembly. The 2 executables contain the application specific logic while the common contains centralized forms and logic (such as login form). I am using Eclipse. So how can I accomplish this layout?

View 1 Replies View Related

General :: Porting Any FOSS Operating System Viz Debian To Playbook?

Jun 13, 2013

porting any FOSS Operating system viz debian to playbook. I tried to post franticly in crackberry forum, initial posts were cool. later when i started to throw too much info in hope of reply i got few replies or responses. i am dead serious about porting debian to this device.

View 1 Replies View Related

Android :: Project Contains Errors - Eclipse Won't Compile Project

Mar 21, 2010

Somethings I'll have an? .xml file selected when I compile a project, only to have a? .out.xml generated. Deleting the file doesn't clear the error, and Eclipse won't compile the project. It just reports that your project contains errors. The solution is to go to Project/Clean. This will clear the error in the project and allow it to compile.

View 6 Replies View Related

Android :: Get Project And Std Java Project To Play Nice?

Aug 11, 2010

I can now get our Android project to talk to our non-Android project. But there's still an issue: I are trying to have an Android class call a non Android Hello World class. I tried compiling our non-Android Hello World class in a separate Eclipse workspace. I then packaged it into a jar. I imported that jar into our Android Hello World class.

I then called one of the methods in the non-Android Hello World class. When I ran the Android Hello World class as an Android application, the following runtime error occurred. Here are the Android debug logs:

08-11 09:07:56.764: ERROR/AndroidRuntime(333): FATAL EXCEPTION: main
08-11 09:07:56.764: ERROR/AndroidRuntime(333): java.lang.ExceptionInInitializerError
08-11 09:07:56.764: ERROR/AndroidRuntime(333): at com.hello2.hello2.onCreate(hello2.java:27)
08-11 09:07:56.764: ERROR/AndroidRuntime(333): at android.app.Instrumentation.callActivityOnCreate(I nstrumentation.java:1047).....................

View 1 Replies View Related

Android :: Reference Project Library From Another Project

Jun 6, 2010

I have 2 android projects out of which I modified one to work as a library. I want the main project to refer to this library to perform few functions. While this scenario works just as expected, I want to introduce one more functionality. I want to link this library project with another just a java project which has code common to both Android and Blackberry applications. This second part however doesn't seem to work and throws "The application <appname> (<package name>) has stopped unexpectedly. Please try again" with a ForceClose button. I would greatly appreciate if someone can give a brief information on how to make this work.

View 2 Replies View Related

Android :: R.java File From Android Library Project Not Importing Into Application Project

Aug 8, 2010

I followed the instructions here on how to create an Android library project, and use it in an Android application:

http://developer.android.com/guide/developing/eclipse-adt.html

But it is not working. I can see the library project is added to my application but I cannot reference anything in it because it won't build. The R.java file from the lib is NOT being added to my application project, so the lib project contains tons of errors, everywhere it tries to reference it's own R.java file.

I don't know if this has anything to do with it, but in the console there are messages stating that the there is "No resource identifier found for attribute 'X' in package 'Lib Package'. My library package has a a few styleable attributes defined for a custom view I made, all of which are being complained about in this console message. The library builds just fine, and I don't get those messages in the console until I hook the library to my application, so I don't know what's up with this.

View 1 Replies View Related

Android :: Add Library Project To Project?

Sep 15, 2010

When I right click the project in the eclipse, select "Properties". In the property page, select Android. According to the document, you can add the library project through that page. But my problem is that, there is no library information on the page. It only lists "project build target"

View 2 Replies View Related

Android :: Use Library Project In Other Project

Jul 19, 2010

I have created a library project. When I use the library project in other project, it compiles. How ever, when I run the application, it always get the error "The application has stopped unexpectly.".

View 4 Replies View Related

Android :: Check If Droid Can Handle PDF

May 6, 2010

I know Android cannot handle PDFs natively. However, the Nexus One (and possibly other phones) come pre-Installed with QuickOffice Viewer. How would I determine whether the user has a PDF viewer installed?

Currently, the code to start the PDF download looks pretty simple:

Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse(url));
startActivity(intent);

After the download, the user clicks on the downloaded file to invoke the viewer.
However, if there is no PDF viewer, Android reports "Cannot download. The content is not supported on the phone."
I want to determine if the user will get this message, and if so, direct them to PDF apps in the Android Market.

View 3 Replies View Related

Android : Can Droid Handle Data?

Jun 8, 2010

I have just gotten my first Android based device, the HTC Droid Incredible.

I am not new to the world of smartphones (I have owned a Blackberry and have worked on many other Blackberries), but I am new to the whole world of Android.

I really do like it so far, but I have a question...

How does Android handle data? What I mean by this question is this: Does Android use a store and forward approach to sending data (emails)? Or does it send it out and if it doesn't have a good connection, it will just fail out, never to try again?

And based on the fact that it uses data, I also assume that it will never lose it's data connection even though a cell phone tower might be buried under voice calls?

The reason I ask this is because during 9/11, many people's cell phones could not make or receive calls but those who had some of the first Blackberries were able to send and receive emails just fine due to the store and forward approach.

Also, another reason is that this device will be used in a SHTF type of situation due to it's capabilities and I want to make sure that it will work with data (sending emails), although I may not be able to make voice calls with it.

View 1 Replies View Related

Android :: Signing The Application

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

Android :: Backing Up App Signing Key

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

Android :: Aptana ADT Signing App

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

Android :: Error With Signing Apk

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

Android :: App Signing And Market

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

Android : Handle Person Extensions In Droid 2.0?

Dec 3, 2009

I have as a lot a people troubles with the new ContactsContract class.

My problem is like in 1.5 and 1.6 devices, we can add a key to a contact with the Contacts.People.Extensions class. But now there is a problem with this content provider.. It's unknown by new devices. And it's the only provider who does not work. Does someone know why is it not working anymore ? And is there a new way to put some extensions for contacts ( with the ContactContract class maybe?

View 2 Replies View Related

Android :: App Ad-hoc Distribution And Code Signing

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

Android :: Permissions With Application Signing?

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

Android :: Signing An Application On Linux

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

Android :: Application Signing Required?

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

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 View Related

Android :: Signing And Publishing Application

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

Android :: Shared User ID And Signing

Nov 5, 2010

I am trying to have 2 applications which can access each other's data.I have a two test applications which I am experimenting with.I set the 'Shared user id' for each to 'com.gabysoft.sharedfiles'.However, when I sign the first app and try and install it, I get the error:

11-05 16:50:33.422: ERROR/PackageManager(61): Package com.gabysoft.sharedfiles1 has no signatures that match those in shared user com.gabysoft.sharedfiles; ignoring!

Clearly, I am not signing it correctly (I am using Eclipse's "Export signed application package" function).How do I properly sign the .apk file so that I don't have this problem?

View 7 Replies View Related

Android : Signing Out Of Google Maps

Jan 10, 2010

I got my phone a couple of days ago and i was wondering if i could sign out of google maps. the lady at verizon was setting up an account she spelt my name wrong. so i created a new name but i cant sign out on my phone to use the new account.

View 6 Replies View Related

Android :: How To Handle Incoming Call Events In Droid?

Jun 29, 2010

Does anybody know if there is any event to handle incoming calls?? I'm developing an app that streams audio from the microphone and I would like to have a listener that stops the recording, etc when there is an incoming call...and that restarts the process when the telephone call is over.

View 1 Replies View Related

Android :: Handle Droid Trackball Events From A Web Page?

Jun 24, 2010

Is there any DOM event in Webkit associated to trackball events (movement and pressing)?

Or is there any other way to handle those events from a webpage?

View 1 Replies View Related

Android : How Viewflipper Handle Back Button In Droid?

Mar 16, 2010

I'm thinking about using a ViewFlipper for an Wizard like Activity. But I see one problem with this approach. The back button. Will the back button go back to the last shown activity or will the the Viewflipper somehow catch the back button event and only change to the last shown activity?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved