Dynamic Pop for Note 4 (N910T & 910W8)

With the release of the Canadian Lollipop ROM for the Note 4, T-Mobile users can also enjoy the … more

Sunday Debate: Better to Buy Older or Newer Hardware?

Join us in a fun Sunday Debate on New vs. Old. Come with your opinions and feel … more

HTC Sense Camera & Gallery for M8 GPE Lollipop

If you are running a GPE ROM and miss the sense gallery and camera, this flashable zip by … more

XenonHD Unofficial AOSP-based ROM for Find 7a

XDA Recognized Contributor uppon2 & Team Horizon are bringing the Oppo … more

 View Poll Results: StyledDialogs dependency

Remove
 
0 Vote(s)
0%
Keep
 
0 Vote(s)
0%
Post Reply Subscribe to Thread Email Thread

[Library] UpdateChecker

19th August 2013, 09: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 06:18 PM. Reason: 2.1.3 release
The Following 9 Users Say Thank You to rampo For This Useful Post: [ View ]
 
 
20th August 2013, 05: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, 10: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, 01:04 PM |#4  
Senior Member
Thanks Meter: 6
 
278 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, 07:57 PM |#5  
marty331's Avatar
Senior Member
Dallas, TX
Thanks Meter: 247
 
789 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, 04: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, 07:05 PM |#7  
Me‎'s Avatar
Senior Member
Thanks Meter: 280
 
971 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
24th August 2013, 11:19 PM |#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
24th August 2013, 11:21 PM |#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?
24th August 2013, 11:49 PM |#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