Nov 18, 2010
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.
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.
Exactly i want to get a html stream from GoogleServices.js by calling:
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?
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?
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:
This is probably the easiest and quickest method to ROOT your Cherry Mobile Flame 2.0/ Karbonn S1 Titanium.
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.
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?
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.
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.
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?
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.
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.
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!
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
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?