android-widgets 0.1.2__tar.gz → 0.1.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {android_widgets-0.1.2 → android_widgets-0.1.4}/PKG-INFO +1 -1
- {android_widgets-0.1.2 → android_widgets-0.1.4}/android_widgets/__init__.py +2 -2
- {android_widgets-0.1.2 → android_widgets-0.1.4}/android_widgets/config.py +1 -2
- {android_widgets-0.1.2 → android_widgets-0.1.4}/android_widgets/maker.py +0 -2
- {android_widgets-0.1.2 → android_widgets-0.1.4}/android_widgets.egg-info/PKG-INFO +1 -1
- {android_widgets-0.1.2 → android_widgets-0.1.4}/pyproject.toml +1 -1
- {android_widgets-0.1.2 → android_widgets-0.1.4}/README.md +0 -0
- {android_widgets-0.1.2 → android_widgets-0.1.4}/android_widgets/aw_logging.py +0 -0
- {android_widgets-0.1.2 → android_widgets-0.1.4}/android_widgets/facade.py +0 -0
- {android_widgets-0.1.2 → android_widgets-0.1.4}/android_widgets/java_classes.py +0 -0
- {android_widgets-0.1.2 → android_widgets-0.1.4}/android_widgets/tools.py +0 -0
- {android_widgets-0.1.2 → android_widgets-0.1.4}/android_widgets.egg-info/SOURCES.txt +0 -0
- {android_widgets-0.1.2 → android_widgets-0.1.4}/android_widgets.egg-info/dependency_links.txt +0 -0
- {android_widgets-0.1.2 → android_widgets-0.1.4}/android_widgets.egg-info/requires.txt +0 -0
- {android_widgets-0.1.2 → android_widgets-0.1.4}/android_widgets.egg-info/top_level.txt +0 -0
- {android_widgets-0.1.2 → android_widgets-0.1.4}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import os
|
|
3
|
-
import traceback
|
|
3
|
+
# import traceback
|
|
4
4
|
|
|
5
5
|
from .config import is_platform_android
|
|
6
6
|
from .aw_logging import logger, enable_logging
|
|
@@ -35,7 +35,7 @@ def get_package_name():
|
|
|
35
35
|
def get_resource(name, folder_base):
|
|
36
36
|
resources = get_resources()
|
|
37
37
|
package_name = get_package_name()
|
|
38
|
-
print("resources.getIdentifier",name, folder_base,"id:",resources.getIdentifier(name, folder_base, package_name))
|
|
38
|
+
# print("resources.getIdentifier",name, folder_base,"id:",resources.getIdentifier(name, folder_base, package_name))
|
|
39
39
|
return resources.getIdentifier(name, folder_base, package_name)
|
|
40
40
|
|
|
41
41
|
def get_buildozer_spec_file_path():
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import os
|
|
2
|
-
from jnius import autoclass
|
|
3
|
-
|
|
4
2
|
|
|
5
3
|
ON_ANDROID = False
|
|
6
4
|
def is_platform_android():
|
|
@@ -19,6 +17,7 @@ def is_platform_android():
|
|
|
19
17
|
|
|
20
18
|
|
|
21
19
|
if is_platform_android():
|
|
20
|
+
from jnius import autoclass # This for when genrating xml with P4A.hook
|
|
22
21
|
ON_ANDROID = True
|
|
23
22
|
|
|
24
23
|
def from_service_file():
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "android-widgets"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.4"
|
|
8
8
|
description = "This would be used to auto gen XMLs for Android Home Screen widgets."
|
|
9
9
|
readme = { file = "README.md", content-type = "text/markdown" }
|
|
10
10
|
authors = [
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{android_widgets-0.1.2 → android_widgets-0.1.4}/android_widgets.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|