This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[39m[0m[36m# Check configuration tokens[39m[0m | |
[39m[0m[36m# Ensure build layout[39m[0m | |
[39m[0m[36m# Check configuration tokens[39m[0m | |
[39m[0m[36m# Preparing build[39m[0m | |
[39m[0m[36m# Check requirements for android[39m[0m | |
[39m[0m[30m[1m# Run 'dpkg --version'[39m[0m | |
[39m[0m[30m[1m# Cwd None[39m[0m | |
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. |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[39m[0m[36m# Check configuration tokens[39m[0m | |
[39m[0m[36m# Ensure build layout[39m[0m | |
[39m[0m[36m# Check configuration tokens[39m[0m | |
[39m[0m[36m# Preparing build[39m[0m | |
[39m[0m[36m# Check requirements for android[39m[0m | |
[39m[0m[30m[1m# Run 'dpkg --version'[39m[0m | |
[39m[0m[30m[1m# Cwd None[39m[0m | |
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You need to use adb server. | |
1. Connect your android with your laptop/pc | |
2. Go to developer options and turn on the stay awake and USB debugging options. (Your phone) | |
3. In your terminal, type "sudo adb kill-server" and then "sudo adb start-server". | |
4. Type "adb devices" (this should give list of devices connected) | |
List of devices attached | |
you_device_name device | |
5. "cd" to your folder where you have made your build. | |
6. Type "buildozer android debug deploy run logcat > logcat.txt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
sys.platform = 'linux2' | |
import os.path | |
import mimetypes | |
import urlparse | |
import requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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 ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"), |
OlderNewer