Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
View Poll Results: StyledDialogs dependency
Remove 0 0%
Keep 0 0%
Voters: 0. You may not vote on this poll

Post Reply

[Library] UpdateChecker

OP rampo

19th August 2013, 10:48 PM   |  #1  
OP Member
Flag Parma, Italy
Thanks Meter: 18
 
86 posts
Join Date:Joined: Jul 2012
Donate to Me
More
Update Checker is a class that can be used by Android Developers to increase the number of users update their apps by showing a "New Update Available" Notification or Dialog.

It checks for new updates downloadable by parsing the Play Store desktop page of your app.



Changelog

See complete Changelog

2.1.3
  • LIB: Added Japanese translation (thanks to @cutmail)

2.1.2
  • LIB: Fixed #93: StackOverflowError when multiple apks are published.
2.1.1
  • LIB: Fixed #90: missing apostrophe in french strings.

2.1.0
  • LIB: Classes moved to make code more ordered
  • LIB: Implemented all callbacks in UpdateCheckerResult.java (see CustomActivity.java for example)
  • LIB: Implemented numeric vesion comparator (based on @Gsdstr's work)
  • LIB: Fixed #73 and #75
  • LIB: Updated Hungarian and Russian translations (thanks to @Gsdstr)
  • LIB: Added Catalan translation (thanks to @alorma)
2.0.1
  • LIB: Added Brazilian Portuguese translation (thanks to @favasconcelos)
2.0.0
  • LIB: Complete Gradle support!
  • LIB: Added Hungarian translation (thanks to @Pistabaaa)
  • LIB: Removed StyledDialogs dependency
  • LIB: Removed FragmentActivity requirement
  • LIB: Support for Amazon App Store
  • LIB: Now you can specify an icon also for Dialog
  • LIB: Added the possibility to use a custom implementation. Manage yourself what to do if a new update is available by implementing UpdateCheckerResult instead of show a Dialog or Notification. See Custom Implementation.
  • LIB: Added Notice and Store classes to manager better the chooses of the dev
  • LIB: Removed DialogInterface
  • LIB: UpdateChecker.java rewritten; now completely static
  • LIB: Moved the ASyncCheck in its own class
  • DEMO: New icon
  • DEMO: Demo app rewritten.
  • DEMO: Demo app redesigned: branded to red
  • DEMO: Added CustomActivity. See above

1.2.5
  • LIB: Added Slovak translation (thanks to @pylerSM)

1.2.4
  • LIB: Added Croatian translation (thanks to @krvoZD)

1.2.3
  • LIB: Added Korean translation (thanks to @rino0601)

1.2.2
  • LIB: Bugs fixed (Fixed #26 and #27)

1.2.1
  • LIB: Bugs fixed (Fixed #24 and #27)

1.2.0
  • LIB: Now uses ASyncTask insted of Thread. (Fixed #7)
  • LIB: Implemented "No, thanks" button in dialog. (If the user tap on this button, the library will not show again the dialog/notification for this update.)
  • LIB: 2 new interfaces to facilitate the reading of UpdateChecker.java.
  • DEMO: App redesigned and rewritten (now uses custom style).
  • DEMO: New Infos activity.
  • DEMO: New buttons for tests.
  • DEMO: New icon.
  • DEMO: New style for Dialog.
  • DEMO: Removed ActionBarSherlock dependency.
  • DEMO: minSdkVersion set to 11.

1.1.0
  • Change to customize the number of checks after the dialog/notification will be shown with new methods
  • Added Dutch translation
  • Fixed other translation errors
  • New demo app

1.0.0
  • First Release
Last edited by rampo; 14th September 2014 at 07:18 PM. Reason: 2.1.3 release
The Following 9 Users Say Thank You to rampo For This Useful Post: [ View ]
20th August 2013, 06:57 AM   |  #2  
version2.0's Avatar
Junior Member
Flag Harrislee
Thanks Meter: 1
 
22 posts
Join Date:Joined: Jan 2013
More
Very good idea to remember the user to update the app/there apps.
But if someone include this feature I would wish that he includes a disable function. Because many users update there apps roundly. And e.g. me don't want to be remebered twice for an update, once from the app and once from the play store.

Best regards
The Following User Says Thank You to version2.0 For This Useful Post: [ View ]
20th August 2013, 11:56 AM   |  #3  
OP Member
Flag Parma, Italy
Thanks Meter: 18
 
86 posts
Join Date:Joined: Jul 2012
Donate to Me
More
See this note: https://github.com/rampo/UpdateChecker#important

The Library will show the Dialog/Update every 5 controls reported an update available.

I'll also working on a way to disable completely the library
20th August 2013, 02:04 PM   |  #4  
Senior Member
Thanks Meter: 6
 
276 posts
Join Date:Joined: Jul 2003
Is auto update really the best idea? Many updates seem to create as many issues as they solve. Plus permission changes
are sometimes too intrusive. Its much better to review each update before installing. That way, you will also know if one of the updates
is causing a conflict or problem.
The Following User Says Thank You to Joe_PDA For This Useful Post: [ View ]
20th August 2013, 08:57 PM   |  #5  
marty331's Avatar
Senior Member
Dallas, TX
Thanks Meter: 247
 
788 posts
Join Date:Joined: Jun 2011
More
I'm trying to compile this library and get the "R cannot be resolved to a variable" message. Any ideas on resolving this?
21st August 2013, 05:54 PM   |  #6  
Rinnegan's Avatar
Junior Member
Mendoan city, Central Java
Thanks Meter: 8
 
27 posts
Join Date:Joined: Sep 2012
Quote:
Originally Posted by Joe_PDA

Is auto update really the best idea? Many updates seem to create as many issues as they solve. Plus permission changes
are sometimes too intrusive. Its much better to review each update before installing. That way, you will also know if one of the updates
is causing a conflict or problem.

I agree, sir.

Sent from my Xperia Mini using XDA Premium 4 mobile app
22nd August 2013, 08:05 PM   |  #7  
Me‎'s Avatar
Senior Member
Thanks Meter: 280
 
965 posts
Join Date:Joined: Sep 2012
More
Would it be possible to have any link as the download location as app?
I mean update checker for non play store app
25th August 2013, 12:19 AM   |  #8  
OP Member
Flag Parma, Italy
Thanks Meter: 18
 
86 posts
Join Date:Joined: Jul 2012
Donate to Me
More
Quote:
Originally Posted by version2.0

Very good idea to remember the user to update the app/there apps.
But if someone include this feature I would wish that he includes a disable function. Because many users update there apps roundly. And e.g. me don't want to be remebered twice for an update, once from the app and once from the play store.

Best regards

https://github.com/rampo/UpdateChecker#coming-soon
25th August 2013, 12:21 AM   |  #9  
OP Member
Flag Parma, Italy
Thanks Meter: 18
 
86 posts
Join Date:Joined: Jul 2012
Donate to Me
More
Quote:
Originally Posted by marty331

I'm trying to compile this library and get the "R cannot be resolved to a variable" message. Any ideas on resolving this?

Checked Dependencies?
25th August 2013, 12:49 AM   |  #10  
OP Member
Flag Parma, Italy
Thanks Meter: 18
 
86 posts
Join Date:Joined: Jul 2012
Donate to Me
More
Quote:
Originally Posted by Me‎

Would it be possible to have any link as the download location as app?
I mean update checker for non play store app

For now not, but I'm working on it.
See Coming Soon

The Following User Says Thank You to rampo For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
android, dialog, library, update, updatechecker
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes