View app..android.js
if (app.android) {
let btStateChanged = (context,intent) => {
myTrace.write("###################");
myTrace.write("app.js: Modo Bluetooth Adapter Alterado!");
var state = intent.getBooleanExtra(android.bluetooth.BluetoothAdapter.ACTION_STATE,false);
myTrace.write("app.js: Estado: " + state);
};
app.android.registerBroadcastReceiver(android.bluetooth.BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED,btStateChanged);
var airplaneModeChanged = (context,intent) => {
myTrace.write("###################");
View Trace Dump
Successfully synced application br.com.ritech.MobileECG.mobile.client on device LQ4325B15008.
JS: Handler onNavigatingTo navigatingTo
JS: 2017-07-31T14:20:13.788Z Debug: Modulo aplicação carregado e TraceManager inicializado!
JS: 2017-07-31T14:20:13.806Z Debug: Obtendo Instância do MobileManager!
JS: 2017-07-31T14:20:13.807Z Debug: Obtendo Instância do MobileManager!
JS: 2017-07-31T14:20:13.808Z Debug: Inicializando Aplicação
JS: 2017-07-31T14:20:13.808Z Debug: APP Version: 0.0.003
JS: 2017-07-31T14:20:13.808Z Debug: Managers Version: 0.0.1
JS: 2017-07-31T14:20:16.486Z Debug: Carreando conteudo página principal
JS: 2017-07-31T14:20:16.487Z Debug: Image<logo>@file:///app/pages/home/home.xml:26:10;
View StackTrace for Error
An uncaught Exception occurred on "main" thread.
java.lang.RuntimeException: Unable to start activity ComponentInfo{br.com.fullservice.MobileAPP.mobile.client/com.tns.NativeScriptActivity}: com.tns.NativeScriptException:
Calling js method onCreate failed
Error: Building UI from XML. @file:///app/pages/home/home.xml:35:7
> Module '/data/data/br.com.fullservice.MobileAPP.mobile.client/files/app/widgets/menu' not found for element 'widgets/menu:SideMenu'.
> Unexpected identifier
File: "file:///data/data/br.com.fullservice.MobileAPP.mobile.client/files/app/tns_modules/tns-core-modules/ui/builder/builder.js, line: 195, column: 20
StackTrace:
View 1.trace
This file has been truncated, but you can view the full file.
Last login: Fri Jun 16 18:06:03 on console
#### START BASH_PROFILE ###
#### START BASHRC ####
#### BASHRC ####
#### START PROFILE ####
#### END PROFILE ####
#### END BASH_PROFILE ###
estudio-1:~ carlosdelfino$ cd workspace/MobileECG/mobileecg_mobile_client
estudio-1:mobileecg_mobile_client carlosdelfino$ rm -rf platforms node_modules hooks
View gist:417aa38090ae68ed94c3d91affc0797a
estudio-1:mobileecg_mobile_client carlosdelfino$ tns device run
I/RESPONSE(16600): pVZbb+I4FP4rFc9DHEBz60vFFnaF1E5HtDsvuyvrxHbhTJ04YzuQmar/fU4ubA0EaNUXiI997t+5/PPYA28xKbzpnfckeBhrrywIML13vRVoY4k+/MjiT2wwGozOB6M/5ne9p3dbfNp8B5NpzBQvrOb0UZQBO9O4ssb1JS7QAzp2cXk147PJv0Ucj+QjyqcjAnPlfhToYBgIrBiHH76Or8bf5uPbL4NWkFelN0/NJaawUMOobK7iLeLPlnjCjTVmb3MCswcukfgX3JnEqkDa0vv8nLH1eh05sIAriIRJo8R2CsmtkdVxm9+RgMYaHVXGgUXYFsamcwVS2VtlVygUqxxklans0dUk83Q8Bm/yX8iM1xFPK1EJuI4AYLo47sKu0CU6byxZTte5Bf7Dy9qwQPRol6dKpjTrTBuQlBCBJiNFhueek4I9m07EdFdA9AvzPddNdo82Ba5KoXmCiUbjlYBAmcN0l6sz7gFSXhYhSjhfGV2kVDsgHij+HDNHDmkVOsu+1W8cG0+mZ8MoZpPG7bOpRE8Ouop4NttwRvnD4hg2OcpA+MFyqIpZCeQpZkvgTtFvB6oPO8uEyrwFvfmPpNZMZSt6V8m68LmncsOsQWVNi5Y+7bTFFcBNjhmCeU289wpBKixVn6T1W2kHNcL3QsKbdDnABPopffZtXdpduqgmZCXJF6DxV6hw8H4PLblGUbV7DtoXVFCUGSragOfDMSYNdtHJ9WkYdwFTlUoUHlZKt6AEGQafjfNadA1ANpYmUWdduIwgz9mlyTyhwLFrEDe3B14faUqE3G3QEoF3ANdjqkzhyUet0XGqbVVuxTSO93x97nuhdzvteNL2JDa7/osd0v5KY4P+jbJwWyV/sCo3NdwOhZDl0JzwKs0NX6EETkhYKvrNTyCN0t+MxNbtjs7b3kRQ5bKqAZYXCatPm7as
View dmesg 26 de Março de 2017 10:30 - problemas HD
[ 727.031759] usb 1-1: USB disconnect, device number 2
[ 729.732216] usb 1-1: new high-speed USB device number 5 using ehci-pci
[ 729.865242] usb 1-1: New USB device found, idVendor=1058, idProduct=0740
[ 729.865256] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 729.865265] usb 1-1: Product: My Passport 0740
[ 729.865272] usb 1-1: Manufacturer: Western Digital
[ 729.865279] usb 1-1: SerialNumber: 575835314139313237393632
[ 729.866315] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 729.867408] scsi host3: usb-storage 1-1:1.0
[ 730.865067] scsi 3:0:0:0: Direct-Access WD My Passport 0740 1003 PQ: 0 ANSI: 6
View glib-prefer-constructors-over-DllMain.patch
---
glib/glib-init.c | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)
diff --git a/glib/glib-init.c b/glib/glib-init.c
index 0032ee8..dd6ccbf 100644
--- a/glib/glib-init.c
+++ b/glib/glib-init.c
@@ -223,12 +223,14 @@ glib_init (void)
View Command and Result
cmake -G "Unix Makefiles" -D CMAKE_CXX_COMPILER=/usr/bin/arm-linux-gnueabihf-g++ -D CMAKE_C_COMPILER=/usr/bin/arm-linux-gnueabihf-gcc -D CMAKE_BUILD_TYPE=RELEASE-NANOPI -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D WITH_V4L=ON -D WITH_QT=ON -D WITH_OPENGL=ON -D WITH_IMAGEIO=ON -D WITH_GSTREAMER=ON -D ENABLE_NEON=ON -D ENABLE_FAST_MATH=ON -D BUILD_SHARED_LIBS=OFF -D BUILD_NEW_PYTHON_SUPPORT=OFF -D BUILD_EXAMPLES=ON -D BUILD_FAT_JAVA_LIB=OFF -D BUILD_TBB=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=OFF -D INSTALL_TO_MANGLED_PATHS=ON -D INSTALL_CREATE_DISTRIB=ON -D INSTALL_TESTS=ON -D CMAKE_C_FLAGS_RELEASE="-mtune=cortex-a53 -mcpu=cortex-a53 -mfloat-abi=hard -march=armv8-a+crc" -D CMAKE_CXX_FLAGS_RELEASE="-mtune=cortex-a53 -mcpu=cortex-a53 -mfloat-abi=hard -march=armv8-a+crc" -D CMAKE_VERBOSE=ON ..
-- The CXX compiler identification is GNU 4.9.2
-- The C compiler identification is GNU 4.9.2
-- Check for working CXX compiler: /usr/bin/arm-linux-gnueabihf-g++
-- Check for
View cycloconfig.cpp
/*
* CycloConfig.cpp
*
* Created on: 5 de out de 2016
* Author: consultoria@carlosdelfino.eti.br
*/
#include "CycloConfig.hpp"
#include <opencv2/opencv.hpp>
View install-opencv-2.4.11-in-ubuntu.sh
# install dependencies
sudo apt-get update
sudo apt-get install -y build-essential
sudo apt-get install -y cmake
sudo apt-get install -y libgtk2.0-dev
sudo apt-get install -y pkg-config
sudo apt-get install -y python-numpy python-dev
sudo apt-get install -y libavcodec-dev libavformat-dev libswscale-dev
sudo apt-get install -y libjpeg-dev libpng-dev libtiff-dev libjasper-dev