Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,731,360 Members 53,375 Now Online
XDA Developers Android and Mobile Development Forum
View Poll Results: StyledDialogs dependency
Remove 0 0%
Keep 0 0%
Voters: 0. You may not vote on this poll

[Library] UpdateChecker

Tip us?
 
rampo
Old
(Last edited by rampo; 7th July 2014 at 06:41 PM.) Reason: 2.1.0 release
#1  
Member - OP
Thanks Meter 18
Posts: 86
Join Date: Jul 2012
Location: Parma, Italy

 
DONATE TO ME
Default [Library] UpdateChecker

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.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
Pietro Rampini

Follow me on GitHub
Check out my library: UpdateChecker featured on XDA Portal!

Devices:
HTC One
ROM: Android Revolution 41.0
Kernel: Stock (3.4.10-gdf6147)
Baseband: 4a.13.3231.27_10.31.1131.05L

Galaxy Nexus
ROM: Paranoid Android 3.50 (Android 4.2.2)
Kernel: Stock
Baseband: I9250XXLF1
The Following 9 Users Say Thank You to rampo For This Useful Post: [ Click to Expand ]
 
version2.0
Old
#2  
version2.0's Avatar
Junior Member
Thanks Meter 1
Posts: 22
Join Date: Jan 2013
Location: Harrislee
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
Device: Sony Xperia Z
Recovery:
ROM: AOKP

Device: Nexus 7
Recovery: TWRP 2.6.0.0
ROM: Paranoid Android

Old Device
Device: HTC Desire
Recovery: TWRP 2.6.0.0
The Following User Says Thank You to version2.0 For This Useful Post: [ Click to Expand ]
 
rampo
Old
#3  
Member - OP
Thanks Meter 18
Posts: 86
Join Date: Jul 2012
Location: Parma, Italy

 
DONATE TO ME
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
Pietro Rampini

Follow me on GitHub
Check out my library: UpdateChecker featured on XDA Portal!

Devices:
HTC One
ROM: Android Revolution 41.0
Kernel: Stock (3.4.10-gdf6147)
Baseband: 4a.13.3231.27_10.31.1131.05L

Galaxy Nexus
ROM: Paranoid Android 3.50 (Android 4.2.2)
Kernel: Stock
Baseband: I9250XXLF1
 
Joe_PDA
Old
#4  
Senior Member
Thanks Meter 6
Posts: 276
Join Date: 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: [ Click to Expand ]
 
marty331
Old
#5  
marty331's Avatar
Senior Member
Thanks Meter 243
Posts: 781
Join Date: Jun 2011
Location: Dallas, TX
I'm trying to compile this library and get the "R cannot be resolved to a variable" message. Any ideas on resolving this?
Current Devices:
Phone: Nexus 4
ROMs: CM10.1

Device: Nexus 7
ROM: Stock Rooted
CM10

Previous:

Phone: Infuse SGH-I997
ROMs: Infused 2.2
Serendipity VII
CM7
CM9
CM10

Device: Kindle Fire
ROMs: CM7
ICS/CM9
 
Rinnegan
Old
#6  
Rinnegan's Avatar
Junior Member
Thanks Meter 8
Posts: 27
Join Date: Sep 2012
Location: Mendoan city, Central Java
Quote:
Originally Posted by Joe_PDA View Post
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
 
Me‎
Old
#7  
Me‎'s Avatar
Senior Member
Thanks Meter 279
Posts: 965
Join Date: Sep 2012
Would it be possible to have any link as the download location as app?
I mean update checker for non play store app

Sony Xperia User !
 

Rooted: Yes.
Unlocked bootloader: Yes.
Roms: (1)Unofficial cm10.2.
---------(2)XNovathor 4.1.2
.
If I helped you press thanks .
If you like my work please consider donating .
 
rampo
Old
#8  
Member - OP
Thanks Meter 18
Posts: 86
Join Date: Jul 2012
Location: Parma, Italy

 
DONATE TO ME
Quote:
Originally Posted by version2.0 View Post
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
Pietro Rampini

Follow me on GitHub
Check out my library: UpdateChecker featured on XDA Portal!

Devices:
HTC One
ROM: Android Revolution 41.0
Kernel: Stock (3.4.10-gdf6147)
Baseband: 4a.13.3231.27_10.31.1131.05L

Galaxy Nexus
ROM: Paranoid Android 3.50 (Android 4.2.2)
Kernel: Stock
Baseband: I9250XXLF1
 
rampo
Old
#9  
Member - OP
Thanks Meter 18
Posts: 86
Join Date: Jul 2012
Location: Parma, Italy

 
DONATE TO ME
Quote:
Originally Posted by marty331 View Post
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?
Pietro Rampini

Follow me on GitHub
Check out my library: UpdateChecker featured on XDA Portal!

Devices:
HTC One
ROM: Android Revolution 41.0
Kernel: Stock (3.4.10-gdf6147)
Baseband: 4a.13.3231.27_10.31.1131.05L

Galaxy Nexus
ROM: Paranoid Android 3.50 (Android 4.2.2)
Kernel: Stock
Baseband: I9250XXLF1
 
rampo
Old
#10  
Member - OP
Thanks Meter 18
Posts: 86
Join Date: Jul 2012
Location: Parma, Italy

 
DONATE TO ME
Quote:
Originally Posted by Me‎ View Post
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
Pietro Rampini

Follow me on GitHub
Check out my library: UpdateChecker featured on XDA Portal!

Devices:
HTC One
ROM: Android Revolution 41.0
Kernel: Stock (3.4.10-gdf6147)
Baseband: 4a.13.3231.27_10.31.1131.05L

Galaxy Nexus
ROM: Paranoid Android 3.50 (Android 4.2.2)
Kernel: Stock
Baseband: I9250XXLF1

The Following User Says Thank You to rampo For This Useful Post: [ Click to Expand ]
Tags
android, dialog, library, update, updatechecker
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes