OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:wiktionary
(Results
1 - 4
of
4
) sorted by null
/development/samples/Wiktionary/src/com/example/android/wiktionary/
ExtendedWikiHelper.java
17
package com.example.android.
wiktionary
;
72
public static final String WIKI_AUTHORITY = "
wiktionary
";
93
"http://en.
wiktionary
.org/w/api.php?action=query&list=random&format=json";
193
* Query the
Wiktionary
API to pick a random dictionary word. Will try
SimpleWikiHelper.java
17
package com.example.android.
wiktionary
;
42
* lightweight
Wiktionary
API. Before making any requests, you should call
51
*
Wiktionary
page. Use {@link String#format(String, Object...)} to insert
55
"http://en.
wiktionary
.org/w/api.php?action=query&prop=revisions&titles=%s&" +
126
* Read and return the content for a specific
Wiktionary
page. This makes a
131
* @param title The exact title of the
Wiktionary
page requested.
WordWidget.java
17
package com.example.android.
wiktionary
;
19
import com.example.android.
wiktionary
.SimpleWikiHelper.ApiException;
20
import com.example.android.
wiktionary
.SimpleWikiHelper.ParseException;
40
* Define a simple widget that shows the
Wiktionary
"Word of the day." To build
75
* Build a widget update to show the current
Wiktionary
93
// Try querying the
Wiktionary
API for today's word
113
// When user clicks on widget, launch to
Wiktionary
definition page
LookupActivity.java
17
package com.example.android.
wiktionary
;
19
import com.example.android.
wiktionary
.SimpleWikiHelper.ApiException;
20
import com.example.android.
wiktionary
.SimpleWikiHelper.ParseException;
48
* Activity that lets users browse through
Wiktionary
content. This is just the
259
* Background task to handle
Wiktionary
lookups. This correctly shows and
261
* background query to the
Wiktionary
API. When finished, it transitions
296
Log.e(TAG, "Problem making
wiktionary
request", e);
298
Log.e(TAG, "Problem making
wiktionary
request", e);
Completed in 4160 milliseconds