[Library][API 8+] AppUpdater - IDEs, Libraries, & Programming Tools

AppUpdater is an Android Library that checks for updates on Google Play, GitHub or Amazon. This library notifies your apps' updates by showing a Material dialog, Snackbar or notification.
It supports other customization methods, such as duration for the Snackbar, display the update message every X times, show the dialog, snackbar or notification although there aren't updates, etc.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Requirements
API 8+
INTERNET and ACCESS_NETWORK_STATE permissions.
Usage
Add INTERNET and ACCESS_NETWORK_STATE permissions to your app's Manifest:
Code:
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
And include the call to AppUpdater whatever you want in your code:
Code:
AppUpdater appUpdater = new AppUpdater(this);
appUpdater.init();
View on GitHub

Related

Nektra Contact Manager for QVGA

Hi,
I'm releasing v1.01b of Nektra Contact Manager for QVGA:
Changelog:
* Improved load speed
* Spanish version had too large strings
* Spanish version had some strings in english (Today, Yesterday, etc.)
* Lost calls take lost call number from the OS and when the user select the call list view, it reset the OS flag
* Synchronization:
** When a contact was changed in desktop it was generating a crash when it was selected
** When a contact was changed, it wasn't updated in the list view.
** When a contact was added in desktop it wasn't added in the application.
** When a contact was changed and selected, it wasn't changed.
Download here:
http://mobile.nektra.com/mobile/products/nektra-windows-mobile-contact-manager
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

[Tutorials]In the settings at the about phone inside to add a picture

In the "About phone" in the title picture added
Below
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
OK,Then
Let Toturials begin!
same as before,Decompile settings.apk and get ready your resources!
A png picture,480 * 200 pixels,Just as an example
My files
then,you file copy to res/drawable-hdpi,name is logo.png
download this xml file,copy to res/layout
http://forum.xda-developers.com/attachment.php?attachmentid=2685092&stc=1&d=1397455814
goto res/xml open device_info_settings.xml
In
Code:
xmlns: android = "http://schemas.android.com/apk/res/android"
xmlns: settings = "http://schemas.android.com/apk/res/com.android.settings">
Next, add the phrase, note the alignment
Code:
<PreferenceScreen android:layout="@layout/logo" android:key="od_logo" />
preview:
Then you can compile it.
well done
good!thanx huaihuai
Sent from my MI 2SC using xda app-developers app
。。。。。。
bloody hell,you got the sofa

[Q] "Use location" popup in some new android apps

Hi i have seen these popups in some new android apps,Clicking on yes will automatically turn on location services and wifi. I want to know how is this done or is this a new feature from play services?I like to implement some thing like this for next update of my app. The popup image can been seen in the following url http://i.stack.imgur.com/EP4Qd.png
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
See this - http://android-developers.blogspot.com/2015/03/google-play-services-70-places-everyone.html
I'm pretty sure if you use the new Fused Location Api the prompt will appear automatically
Edit: Here's what you want - https://stackoverflow.com/questions/29801368/how-to-show-enable-location-dialog-like-google-maps

[Library] ContextMenu - floating menu like the new Text Selection in Android 6.0

Description
ContextMenu is a floating menu which show up when user click on a view that it is clipped to. Just like the new Text Selection in Android 6.0.
Check it on Github: ContextMenu
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Installation
Add this to your app Gradle:
Code:
dependencies {
compile 'com.rstudio.widget:contextmenu:0.1'
}
Declare a new ContextMenu:
Code:
ContextMenu menu = new ContextMenu.Builder(context)
.setContextMenuView(R.layout.context_menu)
.build();
Clip ContextMenu to your view:
Code:
menu.clipToView(desView);
Discussion
For more information and issues, please check this Github repo:
ContextMenu

[Library] Lemniscate Progress View

Hi Xda, I've been working on this library for past couple of weeks. The library is a collection of progress views based on mathematical curves. Please try it, fork it, and contribute to it.
Github project page: https://github.com/vlad1m1r990/Lemniscate
Apache License 2.0.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Setup
Add to your module's build.gradle:
Code:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
and to your app build.gradle:
Code:
dependencies {
compile 'com.github.vlad1m1r990:Lemniscate:1.0.2'
}
Usage:
Code:
<com.vlad1m1r.lemniscate.BernoullisProgressView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:duration="1000"
app:hasHole="false"
app:lineColor="@color/colorPrimary"
app:lineLength="0.6"
app:lineLengthChangeable="true"
app:maxLineLength="0.8"
app:minLineLength="0.4"
app:sizeMultiplier="1"
app:strokeWidth="5dp"/>
More about library can be found on GitHub page.

Categories

Resources