Android Question How to update application

krzyszp

Member
Licensed User
Longtime User
I have application for my client which needs updates sometimes.
Application isn't listed on Play store - is installed through B4A bridge (on 40+ tablets)...

Is any way to simply update it through internet on devices (again - Play store isn't an option)?
 

DonManfred

Expert
Licensed User
Longtime User
Google Play allows betatests too. Your customers must sign to a betatest and then you can publish the app as beta. all betatesters get their update (and you dont have to bother about to update the app on phone...

But if playstore is really not an opion you can have a look at this lib. I did´nt try it so i dont know whether this works good or not...
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Nice to hear... :)

Please give feedback if it really works...

I´ll do that for betatests in future cause i need the possibility for a faster update... Our worker call me and tell about a bug in app. I fix it and then i want a fast way to get this new version on the workers phone installed. Uploading to google lasts 4-10 hours till the app would be delivered to the betatesters...
 
Upvote 0

krzyszp

Member
Licensed User
Longtime User
Doesn't (at the moment), this library declare Http2Utils service. My app call it too as it need it to download data from MySQL server. So I still getting "double declaration" error in parser...
 
Upvote 0

krzyszp

Member
Licensed User
Longtime User
Yes, I know...
Adding AppUpdating library to project results with error "HttpUtils2Service is declared twice. You should either remove the library reference or the code module." if you have added HTTP library in libs-tab AND you use HttpUtils2Service module (which isn't added in libs)...
Everything works without AppUpdating lib...

Screenshot:
https://www.dropbox.com/s/lnuugndjb330a8v/error.png
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
aehm... there are two archives inside the libs thread... one is the source i think... maybe you find the solution there?
Sorry, i dont know this lib. i just know that it exists and put a link here. I thought it would possibly help you :-/

btw: In your screenshot you have a module httputil2service. I think this service is already part of the updatinglib and you can remove that module from your project. But you should be able to use it cause it´s part of the updatinglib. and therefor it´s included in your project
 
Upvote 0

udg

Expert
Licensed User
Longtime User
Hi all,

sorry I couldn't read this thread in time to be of any help. Anyway I'm glad a simple solution was found and so AppUpdating library could still play its intended role.
BTW, AppUpdating uses the following libraries: HttpUtils2, Phone, Reflection.

Umberto
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Thank you for answering here, Umberto!

you can add some hints into the "how to" or even documentation explaining that the module httputils2service is NOT needed to include in an app when using the updatelib cause it is include in updatelib...

Just make sure that coming users of this lib not run into such problems :)

I didnt try your lib but i read the thread about it and think it is VERY USEFUL (in some kinds of needs)... I´ll use it in a future project. An app only for special people. the workers in our company... So i dont need to go over googles playstore and betatest-platform. Getting updates by clicking a button instead of waiting for google to prozess the updated apk to the devices...

BTW: Thank you for sharing this Library!!
 
Upvote 0

Mahares

Expert
Licensed User
Longtime User
@umberto:
I also tried your lib last week by trying to create a project by piecing your code. But I ran into a few errors. After a few hours, I gave up and stopped working with it. I think if you want your lib to be accepted by a large number of users, you need to create a simple project that we can test. Please notice in the forum, that all those who created a library and provided an example had more hits and more usage than those who just posted the lib by itself.
Thank you for your efforts
 
Upvote 0
Top