Skip to content

Instantly share code, notes, and snippets.

View AppWerft's full-sized avatar

Rainer Schleevoigt AppWerft

View GitHub Profile
@AppWerft
AppWerft / mobileprojects.json
Created January 13, 2020 12:08
Mobile Projekte Appwerft
{
"title": "Mobile Projekte Dipl.-Ing. Rainer Schleevoigt",
"items": [
{
"projekt": "Vladi Private Islands",
"technik": "cordova/phonegap",
"plattformen": ["iOS, Android"],
"inhalt": ["Darstellung aktueller Immobilien", "redaktionelle Seiten", "Karte"],
"rolle": "Konzeption und Umsetzung",
"layoutdesign": "Eigenentwicklung",
module.exports = function() {
var $ = Ti.UI.createView({
backgroundColor : BLUE
});
const Map = require("ti.map");
var mapView = Map.createView({
bottom : 0,
userLocation : Ti.Geolocation.locationServicesEnabled ? true : false,
region : {
{
"proxies":{
"ti.map.MapModule":{
"superPackageName":"org.appcelerator.kroll",
"methods":{
"isGooglePlayServicesAvailable":{
"runOnUiThread":false,
"hasInvocation":false,
"args":[
?php
$ts = '';
$R = 'EXT:hosvisualization/Resources/Public';
$EP = "/home/mirko/.web/raw";
$NS = "hosvirt_";
$doc = new DOMDocument();
$doc->loadHTMLFile($EP . "/index.html");
$xpath = new DOMXPath($doc);
$count = 10;
foreach ($xpath->evaluate("//link[contains(@href, 'css')]") as $node) {
Rainers-MacBook-Pro-3:Hoerdat fuerst$ appc ti build --verbose -p android --sdk 8.0.0.GA
Finding latest version 7.0.10 ✓
Validating security checksum ✓
Installing ✓
Compiling platform native modules
└ external-editor/spawn-sync ✓
└ bunyan/dtrace-provider ✓
└ package/appcd ✓
└ bunyan/dtrace-provider ✓
└ axway-flow/jsonpath ✓
Rainers-MacBook-Pro-3:Hoerdat fuerst$ appc ti build --verbose -p android
Appcelerator Command-Line Interface, version 7.0.10
Copyright (c) 2014-2019, Appcelerator, Inc. All Rights Reserved.
2019-5-2 18:14:01
Operating System
Name = Mac OS X
Version = 10.14.4
Architecture = 64bit
04-18 20:41:01.695 5544 5563 I TiAPI : _openevent
04-18 20:41:01.695 5544 5563 I TiAPI : _openevent activity
04-18 20:41:01.752 5544 5544 D AndroidRuntime: Shutting down VM
04-18 20:41:01.755 5544 5544 E AndroidRuntime: FATAL EXCEPTION: main
04-18 20:41:01.755 5544 5544 E AndroidRuntime: Process: de.appwerft.hoerdat, PID: 5544
04-18 20:41:01.755 5544 5544 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'android.app.Activity ti.modules.titanium.ui.TabGroupProxy.getActivity()' on a null object reference
04-18 20:41:01.755 5544 5544 E AndroidRuntime: at ti.modules.titanium.ui.widget.tabgroup.TiUIAbstractTab.getContentView(TiUIAbstractTab.java:55)
04-18 20:41:01.755 5544 5544 E AndroidRuntime: at ti.modules.titanium.ui.widget.tabgroup.TiUIActionBarTab$TabFragment.onCreateView(TiUIActionBarTab.java:52)
04-18 20:41:01.755 5544 5544 E AndroidRuntime: at android.support.v4.app.Fragment.performCreateView(Fragment.java:2346)
04-18 20:41:01.755 5544 5544 E
/* this module will called from _e.source on open event */
module.exports = function(_openevent) {
console.log("_openevent");
if (!_openevent.source)
return;
var activity = _openevent.source.getActivity();
if (activity) {
console.log("_openevent activity");
activity.onCreateOptionsMenu = function(_menu) {
console.log("_openevent onCreateOptionsMenu");
@Override
public void onError(Activity activity, int requestCode, Exception e) {
Log.e(LCAT, e.getMessage());
if (onErrorCallback != null) {
KrollDict event = new KrollDict();
event.put("message", e.getMessage());
event.put("error", e.toString());
onErrorCallback.call(getKrollObject(), event);
}
}
[DEBUG] Running: /Users/fuerst/Library/Android/ndk/ndk-build TI_MOBILE_SDK=/Users/fuerst/Library/Application Support/Titanium/mobilesdk/osx/7.1.0.GA NDK_PROJECT_PATH=/Users/fuerst/Documents/APPC_WORKSPACE/FIN/Ti.Fidel/android/build/generated NDK_APPLICATION_MK=/Users/fuerst/Documents/APPC_WORKSPACE/FIN/Ti.Fidel/android/build/generated/Application.mk PYTHON=python V=0
[ERROR] Failed to run ndk-build
[ERROR]
[ERROR] In file included from jni/ti.fidel.TifidelModule.cpp:16:0:
[ERROR] jni/ti.fidel.TifidelModule.cpp: In static member function 'static v8::Local<v8::FunctionTemplate> ti::fidel::TifidelModule::getProxyTemplate(v8::Isolate*)':
[ERROR] /Users/fuerst/Library/Application Support/Titanium/mobilesdk/osx/7.1.0.GA/android/native/include/V8Util.h:23:50: error: expected ')' before string constant
[ERROR] v8::String::NewFromUtf8(isolate, string_literal "")
[ERROR] ^
[ERROR] /Users/fuerst/Library/Application Support/Titanium/mobilesdk/osx/7.1.0.GA/android/nat