2012年12月30日 星期日

My Shortcuts Android app

Dropbox Link

Mega Link

Baidu Link



Would you like to change the icon of a desktop shortcut?
   
Would you like to trick your friends?
   
This is a shortcut generator app. Through two simple steps, you can generate custom shortcuts on the desktop.
   
Instruction:
   
You can make a new shortcut in two ways:
1. Classic style (Run this app from the app list)
Fixed size
Even if this app is removed, the shortcut will be retained.
   
2.Widget style (Add widget from the widget list)
Scalable size (Client launcher must support it)
When this app is removed, the shortcut will also be removed.
   
   
The process of generating shortcuts:
1 Select a picture
2 Key in text (optional)
3 Select the target
A new shortcut will be generated after final confirmation.
   
Features:

   
★ ★ Disguising a shortcut by using the icon of another app, you can use Gmail’s icon to trigger Google Maps.
★ You can use any app’s icon
★ You can choose an avatar from the contact list
★ You can pick a picture from the gallery
★ You can use the system's built-in pictures
★ ★ You can also use the internal pictures of other apps(PRO-only)

You can create a shortcut to:
★ Trigger any installed app
★ Open a web page
★ Open the contact menu
★ Quick text share  





Both Google’s logo and Google Maps are the trademarks of Google Inc.

2012年8月30日 星期四

About Diablo III Profile

API Documentation for the D3 Web API.

https://github.com/Blizzard/d3-api-docs

example: 

Career Profile

http://us.battle.net/api/d3/profile/gressil-3533/


Hero Profile


http://us.battle.net/api/d3/profile/gressil-3533/hero/2448092


Item Information


http://us.battle.net/api/d3/data/item/CmUIidfYyA8SBwgEFXz5Tl0dhgJj6h12Tww1HT-kUAcdR_GUPyILCAEVyEQDABgWIAAwDTiPBEAASApQDGCTBWolCgwIABDkloGUgYCAgCESFQiA0K7sDBIHCAQVYvWLXzANOABAARDF5ar3Chj45ffUC1AEWAI


Follower Information


http://us.battle.net/api/d3/data/follower/enchantress

Artisan Information
http://us.battle.net/api/d3/data/artisan/jeweler

======

App cache path

/sdcard/android/data/com.yt.diablo/cache/


======

Detailed item information

String us = "http://us.battle.net/d3/en/tooltip/";
String eu_de = "http://eu.battle.net/d3/de/tooltip/";
String eu_es = "http://eu.battle.net/d3/es/tooltip/";
String eu_fr = "http://eu.battle.net/d3/fr/tooltip/";
String eu_ru = "http://eu.battle.net/d3/ru/tooltip/";
String eu_it = "http://eu.battle.net/d3/it/tooltip/";
String ko = "http://kr.battle.net/d3/ko/tooltip/";
String zh = "http://tw.battle.net/d3/zh/tooltip/";


String url = your language;


url + item id

such as:

http://us.battle.net/d3/en/tooltip/item/CmUIidfYyA8SBwgEFXz5Tl0dhgJj6h12Tww1HT-kUAcdR_GUPyILCAEVyEQDABgWIAAwDTiPBEAASApQDGCTBWolCgwIABDkloGUgYCAgCESFQiA0K7sDBIHCAQVYvWLXzANOABAARDF5ar3Chj45ffUC1AEWAI


======

Item dialog

use webview

String usCSS = "http://us.battle.net/d3/static/css/tooltips.css";
String euCSS = "http://eu.battle.net/d3/static/css/tooltips.css";
String koCSS = "http://kr.battle.net/d3/static/css/tooltips.css";
String zhCSS = "http://tw.battle.net/d3/static/css/tooltips.css";


<html>
<link rel="stylesheet" type="text/css" media="all" href=" your css "/>
<style type=\"text/css\">

.ui-tooltip { background: #1d180e; padding: 1px; border: 1px solid #322a20; opacity: 0.9; max-width: 355px; border-radius: 2px; box-shadow: 0 0 10px #000; }

.ui-tooltip .tooltip-content { background: black; padding: 10px; color: #CFB991; font-size: 12px; }

.ui-tooltip-d3 { opacity: 1; }" + ".ui-tooltip-d3 .tooltip-content { padding: 0; }

.ui-tooltip .subheader { font-size: 18px; color: #F3E6D0; font-weight: normal; margin-bottom: 4px; }

.ui-tooltip table { border-collapse: collapse; border-spacing: 0; }

.ui-tooltip td { margin: 0; padding: 0 }

</style>
<body>
<div class="ui-tooltip">
Detailed item information
</div>
</body>
</html>