Android :: JavaScript Code After App Is Compiled Using Titanium Mobile
Nov 18, 2010
I installed Titanium from appcelerator and built the "KitchenSink" example application.All works well, I'm just wondering where does the javascript code ends up in a built app.I grep-ed the Xcode project and also the result application as I found it in Library/Application Support/iPhone Simulator/KitchenSink.app, but I can't find any function names from .js files, not even string texts used within the application. Nearest information I found is an answer here : How Does Appcelerator Titanium Mobile Work? but I do not understand clearly how the process works.Is the javascript code being compiled into a binary code (what compiler is used then?), or is it just transformed in some special data-format and interpreted in a running application ?
View 3 Replies
Aug 23, 2010
How I can add headers to my native c file.
So here's the details.
I was able to setup my android project to call a native function from a .so file. And actually I need to add box2d to my project, but I when I include the header files, it won't make. So basically my problem is how do I tell the make file to include a whole folder with header and cpp files.
I tried adding the path directly to the include statement just for the sake of testing it. The error goes away, but new errors come out.
View 2 Replies
View Related
Jun 24, 2010
A lot of Android apps are open source, but how can we make sure the person who finally uploads to the Google Market does not include some spyware just before uploading?
Background: Mobile apps security seems to be a growing concern, and I would like to reassure the users of my Open Source Android app. Solutions that require to modify the deployment process or application content are acceptable too.
View 1 Replies
View Related
Jul 2, 2013
How to add Admob ads in a compiled APK without source code.
We loss the source code, we need to create a free version with admod ads and that can manipulate the apk for to include ads.
View 2 Replies
View Related
Sep 27, 2010
Does somebody send me code of using javascript with android and how to use wallpaper in android?
View 2 Replies
View Related
Jan 18, 2010
Id like to create a small cross-mobile javascript application, which consists of a form and a grid as result. I also want to display some images, with something similar to lightbox. I coded an home maded prototype but id like to add 'touch' effects and support multiple screens easyly.I looked at JqTouch but its very slow on my HTC magic/android. Also found XuiJs but cant find any working example.Anyone found something light, nice, and iPhone+Android compatible ?
View 7 Replies
View Related
Jul 26, 2010
I am trying to set the value of a global variable from Android code..
View 2 Replies
View Related
Sep 24, 2010
There is a HTML page that has a javascript function in it.This function returns a frame with a random picture. Is there a way to call this function and get the HTML code that is hidding? (So i get the image)
Exactly i want to get a html stream from GoogleServices.js
by calling:
GS_googleAddAdSenseService("ca-pub-YOU
RPUBIDHERE");
GS_googleEnableAllServices();
GA_googleAddSlot("ca-pub-YOURPUBIDHERE", "ADSLOT_NAME_HERE");
GA_googleFetchAds();
GA_googleFillSlot("ADSLOT_NAME_HERE");
View 1 Replies
View Related
Jan 16, 2013
I need a JavaScript code to create Live Wallpaper.
Example:
Bird in Flight
Night and Day
Moving Clouds
View 1 Replies
View Related
Feb 26, 2010
I have built a website for mobile webkit browsers, there is an interval update to refresh data. But it turns out that the pooling refresh will stop at some time after run for a while (some minutes or hours, different by each time).I thought there may be something error occurred in my refresh data functions, but it works well in my laptop browser. I also tried to listen window.onerror event, but webkit browser seems do not support that event. What else can I do?And I am also doubting is there any problem with setTimeout and setInterval functions in mobile webkit browser?
View 1 Replies
View Related
Nov 17, 2009
I would love to use the Web Inspector development tools that come with webkit on a mobile browser.Does anyone know if it is possible to enable web inspector on say the Android web browser?
View 2 Replies
View Related
Jul 15, 2010
For a site I'm working on I'm implementing image preloading with javascript however i most certainly do not want to call my preload_images() function if someone is on slow bandwidth.
For my market the only people with slow bandwidth are those using mobile Internet on a smartphone.
What's the best approach for detecting these users so i can avoid image preloading for them?
option 1 : detect browser width
if($(window).width() > 960){ preload... }
option 2: detect user-agent with a list of browser to preload for
if($.browser in array safelist){ preload... }
are there any better options?
View 3 Replies
View Related
Jun 25, 2010
I was recently hired to work on mobile Ajax applications. This is the first time I do this, as I always worked on usual Ajax sites on common web browsers. I'd need a framework and possibly a toolkit that works both on IPhone and Android... capable of abstracting the mobile browser the same way jQuery does with desktop browsers. I've seen JQTOUCH, but it seems very much IPhone oriented. I'd like something more cross platform and lighter. Do you have any idea?
View 1 Replies
View Related
Apr 16, 2010
I am entering mobile development. I have been working primarily in .NET since 1.0 came out in beta. Before that, I was mostly a C++ and Delphi guy and still dabble in C++ from time to time. I do web apps quite a bit so I am reasonably proficient with Javascript, JQuery and CSS. I have also done a few Java applications. I started web programming with CGI and live mostly in the ASP.NET MVC world these days.
I am trying to decide on which platform/OS and tool to select. I am concerned with the size of the market available for my applications as well as the marketibility of the skills I will pick up.
The apps I have in mind would work on both phones and pads. Some aspects of what I have in mind will play better on the bigger screens that will be available on pads.
Here are the options I am considering:
Apple iPhone/iPad using pure Apple SDK (Objective-C)
Apple iPhone/iPad using Mono Touch (C#)
Android using pure Android SDK (Java)
Multiple platforms using something like Titanium to generate native apps from web technologies (HTML, CSS and Javascript)
Multiple platforms using HTML5 web applications that run in the browser (HTML, CSS and Javascript).
View 10 Replies
View Related
Apr 12, 2012
When trying to restore the mobile hotspot app, titanium backup just spins endlessly. DROID RAZR
View 6 Replies
View Related
Apr 7, 2013
This is probably the easiest and quickest method to ROOT your Cherry Mobile Flame 2.0/ Karbonn S1 Titanium.
STEPS:
1. Download ZIP File for rooting in the attachments below
2. Connect your device to a pc and copy and paste the ZIP file you just downloaded to the external card on the device. (it really does not matter if your phone is in USB debugging mode or not.)
3. Disconnect the device from the PC safely and turn it off.
4. Hold the volume up key+ power button at the same time until a green screen appears. (this is the fastboot mode) Keep holding until screen turns red (recovery mode) and release to enter stock recovery.
5. Navigate using hardware buttons (power to confirm selections) and wipe cache partition and factory reset data.
6. select "apply update from external SD card" and navigate to where you pasted the ZIP file for rooting.
7. Confirm the ZIP file selection and wait for the process to finish.
8. Reboot the device.
Your phone should now be rooted. the super user app should now be visible in the app drawer of the device.
View 9 Replies
View Related
May 28, 2010
is there a methods to keep mobile phone off using code, i have no idea about this,and hope someone give me some advice,or example , code,api
View 1 Replies
View Related
Sep 15, 2010
Basically i don't know the mobile file / setup exe extension and all ,
Now i did some basic sample, it working fine in my simulator,
Before i proceed , i want to test these codes in my mobile , the code working or not,
What should i do now ,
I want to install my sample application into my iphone, how to install this application.
View 3 Replies
View Related
Oct 8, 2010
Is it possible to share a Java application across several mobile platforms (Android, BlackBerry, Symbian, etc) regarding of Android is a Java SE (almost compliant), BlackBerry is JavaME, etc?
View 1 Replies
View Related
Apr 14, 2010
My Android application needs to react differently to different Mobile Country Codes. It seems like it is hardcoded to mcc310 (US). I can read this value from TelephonyManager.getSimCountryIso() or by using a resource folder like res/values-mcc123/, but how do I set this value in the emulator?
View 2 Replies
View Related
Jun 10, 2010
I'm doing some initial research on smart phone development, and I noticed that Android and Windows Mobile both support c++ for application development. I was curious if anyone had any experience trying to manage shared files between both Android and Windows Mobile, and to what extent that code can be shared? e.g. no user interface can be shared, but web service and business logic classes can be shared, etc.
View 1 Replies
View Related
Nov 7, 2010
HTTP error code: 504 (T-Mobile)
I've got a weird internet connection problem:
When using the standard internet app on mobile data (3G/HSDPA) I get the error for all webpages:
~~~~~~~~~~
Web page not available:
The web page at: ############# could not be loaded as:
HTTP error code: 504
Gateway Time-out
~~~~~~~~~~~
All other apps that require internet/data over mobile network function correctly (e.g. facebook, maps, twitter etc). When using the standard internet app on wi-fi it works fine, so I decided to download another browser (opera) and without inputting any settings it works fine on the mobile network and wifi.
One theory, after the recent update of 1.32.405.6 this may have caused this problem???
When looking at the settings, under wireless and settings, mobile network sometimes displays 'not connected' after using the internet app.
I've gone through all the settings, and can't see any issues? I've deleted cache, 'force stop', restarted the phone, removed the battery and sim card and restarted phone. I'm thinking it has to be a software issue with the internet app as i can use the 3G/HSPDA connection through other apps.
View 2 Replies
View Related
Jun 30, 2010
I have some xml files with a custom format (based on the scxml specifications) that I want my program to read. I've already written the code to read it, but I'm running into problems actually reading the file itself. I want the file to be compiled with the apk, as it will not be changed at all during run time. So I put the file (test.xml) in the res/xml/ folder, and got the inputstream by using:
getResources().openRawResource(R.xml.test);
But when I read in this inputstream it is complete jibberish, which makes me suspect it is being read in binary, as openRawResource() is often used for binary files like images, if I am correct. What is the correct way to do this?
View 11 Replies
View Related
Apr 2, 2009
Is there any 1.5 image going around for the emulator? I would like to try my apps with onscreen keyboard. Maybe someone is actually making nightly builds but I can't find any.
PS: Not sure if it's appropriate to ask in this list.
View 11 Replies
View Related
Sep 28, 2010
I need to import a couple of jars that where compiled under the full implementation of java. I know that Android doesn't use all the packages that java has to offer. My question is: Is it possible to import them without creating errors? Is there a tool that can convert jars to android jars? if so, can some examples be provided.
View 1 Replies
View Related
Nov 3, 2009
I have an application which is based Android 1.5 but for enabling different screen types support I have to compile and package it with v1.6. When I install and run the resulted APK on my 1.5 emulator, everything works fine except that "Preferences" activity crashes every time I launch it!
When I revert back my API dependency to 1.5 and remove a few 1.6 specific config blocks from AndroidManifest.xml and compile/package it with 1.5, everything works just fine!
Below is the exception I get when it crashes:
CODE:.................
View 4 Replies
View Related
Nov 15, 2010
I am writing an application and due to various reasons I had to build it using make (froyo code) and not SDK. When I run my app on emulator it works fine. I have an Android device and code to build image for the device. When I build my app with device code, it builds fine. How ever, when I run the application, I get
java.lang.ClassNotFoundException:
<package.class> in loader dalvik.system.PathClassLoader[.]
A source file in my code is actually doing
sourceClass = classLoader.loadClass(sourceName);
sourceName here is pointing to a class I actually build (I have classname.java file in my code under correct package directory and package name). Note that this app is running fine on emulator, but on a device it is failing.
I verified that the .class file exists in out/target/common/obj/APPS/ xxxApp_intermediates/classes.jar, classes-full-debug.jar, classes-full- names.jar
View 2 Replies
View Related
Aug 2, 2010
There are so many apps in the market and I don't trust all of them. Is there a way to remove some permissions of the already compiled APK? It doesn't matter if I cannot sign it anymore with the original certificate of the developer. And is there also a way to add an error-handler into the .apk-file, so that the errors of the requested permissions will also be suppressed?
View 3 Replies
View Related
Jan 4, 2010
This is basic kind of question, Can we load our own compiled kernel into the emulator? If there is guide or steps for that please give me those links.
View 2 Replies
View Related
May 20, 2010
How do I remove strings from / obfuscate a compiled binary? The goal is to avoid having people read the names of the functions/methods inside.
It is a dynamic library (.so) compiled from C++ code for Android with the NDK tools (includes GCC)
I compile with -O3 and already use arm-eabi-strip -g mylib.so to remove debugging symbols, but when I do strings mylib.so all the names of the functions/methods are still readable.
View 4 Replies
View Related