[Library] Lemniscate Progress View - IDEs, Libraries, & Programming Tools

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.

Related

CE Scripting - new tool for MortScript and PHP!

Hi,
I'd like to intoduce the new tool - CEScripting!
With the CeSripting (CES), You can edit and execute scripts written in MortScript and PHP!
For PHP, CES has set of functions to expand PHP functionality to WinCE based devices.
The CES runs on desktop PC!
Some screenshots:
{
"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"
}
​
More details on http://ces.mdsoft.pl
I hope, You find it useful
Oh -- for a second there I thought you got PHP running on WinCe...
Nice
I'll give a try
Very nice, that can help with finding syntax errors in my poor scripting.

[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

[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][4.1.x+]ImageListPreference[Open Source]

ImageListPreference​
Based on ImageListPreference guide at :
'http://www.cmwmobile.com/index.php?option=com_content&view=article&id=4&Itemid=12' .
ImageListPreference class by Arnab Jain. Created for Proficient Apps.
Features
Image/Icon for each list item
Option to set Rounded Images [Circle shape]
Can be created in xml and as well as in Java
Bitmap or Drawable can be used for images when created using Java
Exception handling present along with log inputs for developers to fix issues while using the Preference in their application
Requirements
Tested with APIv21 & APIv23, but will work from APIv16 onward
GITHUB
Android-ImageListPreference
Screenshots
{
"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"
}

[Library][API 8+] AppUpdater

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

Categories

Resources