Skip to content

Commit 5e237e1

Browse files
committed
Update notify API for new release
1 parent afeb527 commit 5e237e1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+5499
-5192
lines changed

docs/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 6691b0bcac50d091129ee8c9a2c88c9a
3+
config: 73c1a81a8979635c625f3371149742eb
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/_sources/en/faq.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
What packages QPython doesn't support NOW ?
2+
========================================
3+
4+
pygame
5+
------------
6+
Even you could import pygame in QPython, but QPython doesn't support pygame now.
7+
8+
We will consider to support it later, please follow us on facebook to get it's progress.
9+
10+
11+
`One issue sample <http://stackoverflow.com/questions/30489732/qpythonpygame-segmentation-fault>`_
12+
13+
14+

docs/_sources/en/guide_androidhelpers.rst.txt renamed to docs/_sources/en/guide_androidhelpers.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,16 +291,19 @@ Toast, getInput, getPassword, notify APIs
291291

292292
sample code to show getPassword
293293

294-
.. py:function:: notify(title, message)
294+
.. py:function:: notify(title, message, url)
295295

296296
Displays a notification that will be canceled when the user clicks on it
297297

298298
:param str title: title
299299
:param str message: message
300+
:param str url(optional): url
300301

301302
::
303+
import androidhelper
304+
droid = androidhelper.Android()
305+
droid.notify('Hello','QPython','http://qpython.org') # you could set the 3rd parameter None also
302306

303-
sample code to show notify
304307

305308

306309
ApplicationManagerFacade
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)