Skip to content

Instantly share code, notes, and snippets.

assets/private.mp3: /home/kiok/Documents/hello/.buildozer/android/app/venv/lib/python2.7/site-packages/setuptools/tests/doctest.pyo
assets/private.mp3: /home/kiok/Documents/hello/.buildozer/android/app/venv/lib/python2.7/site-packages/setuptools/tests/test_build_ext.pyo
assets/private.mp3: /home/kiok/Documents/hello/.buildozer/android/app/venv/lib/python2.7/site-packages/setuptools/tests/test_easy_install.pyo
assets/private.mp3: /home/kiok/Documents/hello/.buildozer/android/app/venv/lib/python2.7/site-packages/setuptools/tests/environment.pyo
assets/private.mp3: /home/kiok/Documents/hello/.buildozer/android/app/venv/lib/python2.7/site-packages/setuptools/tests/test_dist_info.pyo
assets/private.mp3: /home/kiok/Documents/hello/.buildozer/android/app/venv/lib/python2.7/site-packages/setuptools/tests/test_test.pyo
assets/private.mp3: /home/kiok/Documents/hello/.buildozer/android/app/venv/lib/python2.7/site-packages/setuptools/tests/test_markerlib.pyo
assets/private.mp3: /home/kiok/Documents/hello/.buildozer/andro
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
Debian `dpkg' package management program version 1.17.5 (amd64).
This is free software; see the GNU General Public License version 2 or
later for copying conditions. There is NO warranty.
@kiok46
kiok46 / buggy-dcs
Created June 11, 2015 14:56
Camera crashes when GPS in kept on(kivy-Plyer)
This file has been truncated, but you can view the full file.
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
Debian `dpkg' package management program version 1.17.5 (amd64).
This is free software; see the GNU General Public License version 2 or
later for copying conditions. There is NO warranty.
@kiok46
kiok46 / main.py
Created November 12, 2015 17:30 — forked from dustinfarris/main.py
Download a file in a Kivy application then open it in a separate application
#!/usr/bin/env python
import sys
sys.platform = 'linux2'
import os.path
import mimetypes
import urlparse
import requests
@kiok46
kiok46 / build_attributes.txt
Created May 2, 2016 19:13
android.os.Build attributes
I/python ( 3912): Build.BOARD
I/python ( 3912): Build.BOOTLOADER
I/python ( 3912): Build.BRAND
I/python ( 3912): Build.CPU_ABI
I/python ( 3912): Build.CPU_ABI2
I/python ( 3912): Build.DEVICE
I/python ( 3912): Build.DISPLAY
I/python ( 3912): Build.FINGERPRINT
I/python ( 3912): Build.HARDWARE
I/python ( 3912): Build.HOST
## Objective-C implementation
- (void)updateScanTab
{
NSError *err = nil;
NSDictionary *params = [NSDictionary dictionaryWithObject:[NSNumber numberWithBool:([mergeScanResultsCheckbox state] == NSOnState)] forKey:kCWScanKeyMerge];
self.scanResults = [NSMutableArray arrayWithArray:[self.currentInterface scanForNetworksWithParameters:params error:&err]];
if( err )
from pyobjus import autoclass
CWInterface = autoclass('CWInterface')
def _enable(self):
'''
Method to turn on the Wi-Fi.
'''
CWInterface.interface().setPower_error_(True, None)
def _disable(self):
self.foo(UIApplication.sharedApplication(), "")
a = UIAlertController.alertControllerWithTitle_message_preferredStyle_(ns('Pycon Alert'),
ns('Talk in 10 minutes'),
0)
b = UIAlertView.alloc().initWithTitle_message_delegate_cancelButtonTitle_otherButtonTitles_(ns("Pycon Alert"),
ns("Talk in 10 minutes"),
@kiok46
kiok46 / logs.txt
Created August 9, 2016 12:21
Crash report (Sysinfo android)
This file has been truncated, but you can view the full file.
--------- beginning of main
I/MtpServer(14289): sending data:
I/MtpServer(14289): sending response 2001
W/AEE ( 0): some logs have been lost (350 bytes estimated)
I/MtpServer(14289): got MTP_OPERATION_GET_OBJECT_PROP_LIST command MTP_OPERATION_GET_OBJECT_PROP_LIST, line 597
I/MtpServer(14289): GetObjectPropList handle: 0x16e, format: NONE, property: UNKNOWN, group: 0, depth: 0
D/MtpPropertyGroup(14289): getPropertyList handle: 16e, format: 0, depth: 0
W/MtpPropertyGroup(14289): getPropertyList handle: 0x16e, c.getInt(column) = 1444562702
W/MtpPropertyGroup(14289): getPropertyList handle: 0x16e, c.getInt(column) = 1444562702
I/MtpServer(14289): sending data:
gesture_strings = {
'left_to_right_line': 'eNq1mE1y3DYQhfe8iLXRFPofuICyTZUOkFLsKVllR5qSxkl8+zS7ZWWaFYfYaDajeQQf8PUDAVBXD18e/vx+uD++nL89H5dfXr9Pbbn6dILl9sPj3R/HD8sJ/U//ouXl9sPL+fnpy/HFf/Jy9fUky9V/mtxGs+Wkq5X5/aenh8fzeltfbxs/ue3XtdVyghzBOoTvfgvgctMOrQFpgz6odeEm1Nfx/L1ep+Xmuh2MGzJAM8HBXWV5+f3u/7vh6EaW+5/3cP/DvHU1Q0W2gebtd80DHSzNr+3AQm0gNGC3aXS8bvKvvWqXJm1oEzBk3bfvYT8m7QmVrI1GgJ3Jdu0xEkCYtG/aAQEVeus89iuPGPY0Zy8ioAjDBmjX1vftI1iUOXseStTfEoCJ6kS2aO/mH+HiZLiso1kfnYFJWPftKcKlyXAZGoqwsBFYh0H7/pEu0bv5R7w0GS+JzxkRVC+NDb931z7SJXsv+wiXJsMlAJRh0vvwpaftLwwc4fJkuL4aNP/YayPYLz5HuDwZLjLSIOjWjTxb3F8aOMLlyXCxIfo1BGZFvz4x/kiX7d38I16ejNcfWRrGAxuxNBu79hLxCryXfaQrk+m+7bU4RFHH/tIjka5Mpuvbiu+2zafoMCXfBfb9I12ZTNc3WzHxChHjMLS+//RKxCuT8b5NHEH0rdcmFjeNgHUmYPf3w8IAMFITtS77y4NGwEpz9uzLjwJZb6aGfT9fjXxV5uxNwfXmxy1jJtzf2DXiVZuyh8a9DViH7se53vZnj0a4OubsyY9UPvFxLcx6wNq1t4jW5qIFVWnYzISHL6Iz9hGtzUULozeVgb65+PFkYuJbJGtzySIOXxO88MqjC1lMnPXt4ePz8fj49i5gur4M+NWrG6ZDW24Yzb/OJ+vLnWtatLFqCpdab6FJ0WDVxqufpoarBtCLSCEiF5FDJC2ihGhYRF1FhNqRhUhwGJcfu2gRaGj1t