appcelerator

Ti.UI.WebView on Android: webpage is not being displayed

限于喜欢 提交于 2021-01-28 20:12:38
问题 I am using a WebView in my app. This WebView must display an external webpage. It works fine on iOS, but on Android I get a white screen. In the console I see this warning: W/cr.BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid I added debug messages inside the load event of the WebView. When I call the getHtml method there I see that the html is being retrieved. I have no idea why it is not being displayed? I find some similar issues on stackoverflow

DLL load failed: %1 is not a valid Win32 application - Appcelerator

a 夏天 提交于 2021-01-23 04:50:47
问题 When I try to run an app in Appcelerator (3.1.x) on the built-in Android emulator I'm getting a Python error like this: Traceback (most recent call last): File "C:\Users\Donny\AppData\Roaming\Titanium\mobilesdk\win32\3.1.3.GA\android\fastdev.py", line 10, in <module> import urllib, threading File "C:\csvn\Python25\lib\urllib.py", line 26, in <module> import socket File "C:\csvn\Python25\lib\socket.py", line 47, in <module> import _socket ImportError: DLL load failed: %1 is not a valid Win32

DLL load failed: %1 is not a valid Win32 application - Appcelerator

拟墨画扇 提交于 2021-01-23 04:49:37
问题 When I try to run an app in Appcelerator (3.1.x) on the built-in Android emulator I'm getting a Python error like this: Traceback (most recent call last): File "C:\Users\Donny\AppData\Roaming\Titanium\mobilesdk\win32\3.1.3.GA\android\fastdev.py", line 10, in <module> import urllib, threading File "C:\csvn\Python25\lib\urllib.py", line 26, in <module> import socket File "C:\csvn\Python25\lib\socket.py", line 47, in <module> import _socket ImportError: DLL load failed: %1 is not a valid Win32

程序员,你准备好去赚属于你的一千多万了么?

瘦欲@ 提交于 2020-07-26 09:03:45
这不是传销!这不是传销!呜呜呜~别被标题吓到了!!! 由于大家都是搞程序的,无非就讨论了android、C++、ios、html5的一些东西,但是一个朋友最近家里拆迁,补助了600多万现金,还有四套房子,加起来可能一千多万了,以前一顿麻辣烫都要我们请的朋友马上买了路虎等等,大家都在叹息,这一辈子奋斗不过人家一次拆迁!但是我没什么羡慕的,我觉得一千多万不过如此,我赚到手是迟早的事情,因为我是程序员啊,也因为我不是程序员啊! 互联网时代,技术牛人绝对是占有重要位置的,如果加上前瞻性的眼光和一定的组织能力再加上一点点好的运气,那可能就可以成就一番事业了,这个就是为什么程序员的一千多万根本就不难赚到,对于程序员来说,一千多万不在代码里,不在技术里,而在生活中,在眼光里,在勇气里。 大多数工资几万一个月的大牛,基本上技术能力上已经具备了一千多万的能力了,但是眼光,组织力,勇气,甚至于社交恐怕是远远不够的,所以刚刚说我们程序员的一千多万就在上述不足的地方,程序员,你准备好去赚你的一千多万了么? 一直以来,我都看到大多数关于程序员的文章都是自我挖苦和调侃,也在不断探讨程序员的出路,更多的还是在探讨技术,这也使得程序员越加深入到技术上,就像练武一样,成为武痴,希望自己能达到非常牛逼的地步这是好事,但是我更加希望有更多人能够鼓励和引导程序员去发展和挖掘技术之外的能力,比如对行业有更广更深的了解

Titanium index.html

自闭症网瘾萝莉.ら 提交于 2020-01-26 04:08:29
问题 ive just installed titanium and the android sdk for development. In my project i have an index.html but its not loading that when i do a build, it keeps loading a 'welcome to titanium' html page which for the life of me i just can't find anywhere to see where its being loaded from. How the heck do i set my index.html to be the one that is loaded when the app first loads? I have tried adding index2.html (index2 as a test) but its still loading this welcome to titanium url even when i make a

What are some of the best ways to optimize a Titanium app?

时光毁灭记忆、已成空白 提交于 2020-01-21 08:40:26
问题 I have a titanium based iOS app that basically is following my own MVC structure. It has around 30 views and a lot of network connections to do API calls. So, it seems that the application is performing assumably sluggish on an actual device except iPhone4S. Specifically, the app would hang for about 10s after re-launching it from the multi-tasking menu. Any tips? 回答1: You mostly have to care about memory leaks. You have a VERY important webcast on the subject. In short; be very careful to :

How to build a SystemTray app for Windows?

久未见 提交于 2020-01-18 19:48:02
问题 I usually work on a Linux system, but I have a situation where I need to write a client app which would run on windows as a serivce. Can someone help me or direct to, on how to build a MenuBar app ( for example like dropbox) for windows environment, which gets started on OS startup and the icon sits in the TaskBar and on clicking the app icon presents a menu. My scripting language is python. Thanks. 回答1: You do this using the pywin32 (Python for Windows Extensions) module. Example Code for

How to build a SystemTray app for Windows?

£可爱£侵袭症+ 提交于 2020-01-18 19:45:46
问题 I usually work on a Linux system, but I have a situation where I need to write a client app which would run on windows as a serivce. Can someone help me or direct to, on how to build a MenuBar app ( for example like dropbox) for windows environment, which gets started on OS startup and the icon sits in the TaskBar and on clicking the app icon presents a menu. My scripting language is python. Thanks. 回答1: You do this using the pywin32 (Python for Windows Extensions) module. Example Code for

How to show details from ArrowDB for individual objects #appcelerator

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-17 05:08:06
问题 I have queried from ArrowDB and gotten a list of events, now I want each individual event details when the specific view is clicked. My code as shown below works except that it puts the details from all the queried events on the opened window, and it shows the last queried event at the top. How can I do this please? My brain just can't fix this. Cloud.Events.query(function (e) { if (e.success) { alert('Success:\n' + 'Count: ' + e.events.length); for (var i = 0; i < e.events.length; i++) { var

Appcelerator Titanium error: Application Installer abnormal process termination. Process exit value was 1

和自甴很熟 提交于 2020-01-16 00:02:39
问题 I almost lost my mind, I have spent 3 days trying to fix this. I have Windows 7 64 Bits, I have installed the jdk for 32 bits, I have installed the following Android SDK's: 2.3.3, 3.0, 4.1.2 and 4.3. Also I have set the variable ANDROID_SKD to the right path, etc. I really don't know what else to do. I have already done this: Titanium [ERROR] Application Installer abnormal process termination I would appreciate your help with this. 回答1: Have you checked This Link. And try to use JDK 6 not JDK