Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
We want to update our published app in google play. But I want to confirm can we fully change android source code expect package name. We have our .jks reserved and we want to update graphics in app not App Icon. We forget our signed key details. Can we again rebuilt signed details with existing .jks file. Please suggest.
Thanks in Advance.
If you have lost your signature key, then you can't update your app. This is why Google Play introduced Google Play signing. Google signs the app for you, takes care of the keys, and if you lose your they can migrate you to a new upload key.
If you aren't using Google Play App signing there is nothing you can do - the android system requires you to sign an update with the same key.
Yes you can change the the entire source code. All you need to Update your app is :
Use the following checklist to make sure your new APK is ready to
update your existing users:
The package name of the updated APK needs to be the same as the
current version.
The version code needs to be greater than that
current version. Learn more about versioning your applications.
The updated APK needs to be signed with the same signature as the
current version.
As general practice you can install one of the old APKs generate a new signed and install it. If it installs without any issue you are good to go.
yes, you can change the source code but remember following things before update :
keystore (same that used to build app)
Check backward compatibility
Don't change package name
update version number (like previous 1.0 update to 2.0 or 1.1 something)
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
Might be a beginner question, i'm new to android studio.
I need to write a simple .apk on java which will load a react web-app.
If the new version of the app crashes, I'd like to downgrade the .apk. I assume by downloading the older version and installing it.
How could I structure the code the proper way to do that?
I'm not asking for the whole source code, just some tips of code structuring.
This ap is not for the market but for internal use.
So the OS version is fixed, 7.1.
Thanks.
You need to set the apk version code correctly, most likely in your root build.gradle file.
If version code 1 is working and installed on your users devices, then apk with version code 2 is installed but crashes, you have two options:
Fix changes and submit to users as new apk version code 3 (they can
update to this version)
Have user uninstall app, and re-install previous apk with version code 1.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I would like to implement a Java application that can download a new version (.jar file) from a given URL, and then update itself at runtime.
We retrieve the versions available on the internet
We compare them with the current version
If the current version is newer, a message is displayed telling the user that there is no update possible
Otherwise, the user is informed of the possible versions and given the choice when to download.
If he wants to download one, download the one he chooses
Then we restart the program
The program at startup must see if there is a new version, and if necessary, take it ==> use a launcher
What is the best way to do this and is it possible?
Take a look at Getdown. This solution precisely addresses your problem. The docs say:
(GetDown) is a system for deploying Java applications to end-user computers, as well as keeping those applications up to date.
Don't bother with Java Webstart as since java 11 it will no longer be available.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I am currently working on banking app in Android(native development with Java, JNI but not in PhoneGap, ionic etc.). I have search a lot but did not find any tutorial for the same.
trustonic: very very expensive
for Trusty TEE but not understood how to use it and where to use?
Question:
How to communicate with trusted application?
How to install trusted application to trustzone OS with client application?
what will it need to implement(like libtee)?
is there any example available? if yes please provide the same.
How Trusty APIs call and if we need to do modify in code how to do that?
earlier I had worked on TEE development. But, never I used to use any SDK or plugin for the development. It was all AOSP. So, as you pointed out it is hard to find write-up openly available. There are set of sample sources available, which you may want to try along with your stock source. Here is the link.
You can also use build system applications (along with your system builds) using the API's from google. Then, you can just pull the application from system image and publish it (I know it's not a good idea!).If I can publish any blogs, I think it may help.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
Hi I try to create a simple Map project in Eclipse, when I run my project from Eclipse to device, my map can shown, but when my project was compiled as .apk my map not shown in my Fragment. How to solve my problem?
If you signed your APK with a different keystore you may not have registered both your debug and release keystore on the Google Developer Console.
Check out this link for details on how to add both SHA1 fingerprints (debug and release) so that your API Key works on both.
https://developers.google.com/maps/documentation/android/start#get_an_android_certificate_and_the_google_maps_api_key
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Am very interested in using cloudant's new sync library for iOS and Android. However, I'd also like like comparable support for desktop via J2SE. I realize this may be possible simply by bundling a local couchdb instance with your J2SE app & then using a wrapper like ektorp. However, I would prefer something a little lighter - e.g. cloudant sync runs atop of a local SQLite db; rather than on top of local couchdb.
I've loaded the code into eclipse as a J2SE project however have about 40 errors to resolve; most of which are due to dependancies on android.database.sqlite.SQLiteDatabase. Un suprisingly, copying the classes in question from the Android SDK didn't work.
I would appreciate any advice / pointers on a port, or alternative.
Thanks
At this point, as you discovered, while we choose the right data access class to use based on the runtime environment -- i.e., sqlite4java or the Android SQL classes -- the library requires the Android classes to be in the classpath even when running on a desktop.
We are hoping to address this with better dependency injection or build processes in the near future, and I'll try to keep this answer up to date.