Android :: Way To Use Prebuilt Toolchain With Configure / Make?

May 30, 2009

I'd like to know more about porting C applications to native ARM for use on Android devices. I can make simple programs using the prebuild toolchain which comes with the source, but how can I use this toolchain with applications which are more than one file and require configure and make? (I'm trying with Vim for starters).

Android :: Way to Use Prebuilt Toolchain with configure / make?


Android :: Link Error Using Cygwin Toolchain

Sep 9, 2010

I need to use Cygwin to compile C++ code for an Android project. I'm having trouble compiling even a basic "hello world" program. The console gives me this message: /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: unrecognized -a option `ware'

I've googled the error and the only result I've found was an issue with one of the programs (I think it was binutils) being out of date, and was resolved when that program was updated. I downloaded the entirety of the Cygwin package at once, so I don't think that's the problem. The compiler and linker aren't communicating properly. How do I fix it without changing compilers?

View 1 Replies View Related

Android :: Matching Prebuilt Kernel Sources

Jul 10, 2009

I have a recent "repo" copy of the platform tree and I noticed that the kernel sources included in it are incomplete. For example, the arch/arm/mach-goldfish directory is not present, but devices from this directory are present in the kernel that the emulator boots. How can I get a more complete copy of the linux kernel sources? Are there tags for lining up these sources with the prebuilt kernel that is shipped in the platform tree?

View 3 Replies View Related

Android :: Including Prebuilt Java Classes Into Project

May 3, 2010

i'm trying to include a maven java project into my android project. the maven project is the greader-unofficial project which allows developers access to google reader accounts, and handles all of the http transactions and URI/URL building, making grabbing feeds and items from google reader transparent to the developer. the project is available here:

the code is originally written for the standard jdk and uses classes from java.net that are not a part of the standard Android SDK. i actually tried to manually resolve all dependencies and ran into a problem when i got as far as including com.sun.syndication pieces required by the class be.lechtitseb.google.reader.api.util.AtomUtil.java... some of the classes in java.net that are in the standard jdk (i'm using 1.6) are not in the Android SDK. in addition, resolving all of these dependencies manually is just ridiculous when i'm compiling a maven project that should be pretty simple.

however, i can use maven to compile the sources with no issue. how can i include this maven project, which is dependent on the complete jdk, into my android project in such a way that it will compile so that i can access the GoogleReader class from my android project? and for the record, i don't have the expertise to rewrite this entire api to work with the standard Android SDK.

View 2 Replies View Related

Android :: Strange Error When Building / Using Prebuilt Tool Chain

Jan 17, 2009

When I using default pre-built android-toolchain to build android on linux, the following errors occur: hucheng@hucheng-bj:~/temp$ uname -a Linux 2.6.18.5-gg42workstation-mixed64-32 #1 SMP Tue Nov 25 21:45:59 PST 2008 x86_64 GNU/Linux Have you met it before? Institute of High Performance Computing, Department of Computer Science and Technology,

View 2 Replies View Related

General :: CM KitKat Build - Add Prebuilt Package?

Nov 25, 2013

I'm trying to build CM KitKat for the Optimus S/V (unsupported by CM). The build is crashing out trying to link libwebviewchromium.so.It gives dozens and dozens of errors like this: external/chromium_org/content/browser/android/browser_media_player_manager.cc:70: error: relocation overflow in R_ARM_THM_CALL

At the end it prints this:

collect2: error: ld returned 1 exit status
make: *** [/home/dbrown/cm11/out/target/product/thunderc/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so] Error 1

It may be a problem with insufficient memory on my build machine (Core 2 Duo laptop with 3 gb ram). For the time being, or in case that's not the problem I'm looking for a work-around. I looked in the Android.mk file for external/chromium_org and saw this:

# Don't include anything if the product is using a prebuilt webviewchromium.
ifneq ($(PRODUCT_PREBUILT_WEBVIEWCHROMIUM),yes)

how can I add a prebuilt webview library so I can get past this error? I just want to get something built for now so I can test it. This would be the first successful build for this device.

View 3 Replies View Related

Android :: Android Installing A Prebuilt Binary Not Found

Jun 25, 2009

I'm trying to install a prebuilt binary in a custom Android image. For that I have copied it to a new directory in prebuilt/android-arm/ with an Android.mk file similar to this one:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := binary_name
LOCAL_MODULE := binary_name
LOCAL_MODULE_CLASS := EXECUTABLES
include $(BUILD_PREBUILT)
So if I run make system_image binary_name, the binary file is copied to /bin/ in system image. And if I run the emulator I can see the binary file in /system/bin. The permissions are the same as the other executables (-rwxr-xr-x) and, according to file, this is an ARM binary (ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), stripped).But when I run it on the emulator, it says:
# binary_name binary_name: not found have straced it and this is what I can see: # strace binary_name execve("/system/bin/binary_name", ["binary_name"], [/* 9 vars */]) = -1 ENOENT (No such file or directory)But the file is there, and strace is able to find it.Any idea of what can be happening?UPDATE: As Kristof says, this is probably a problem of dynamic linking, but I don't have ldd for Android ARM.

View 1 Replies View Related

Android :: APP - Configure Your LED Colors

Nov 23, 2010

This app is pretty useful changing the LED colors on my Evo & may be useful on your Android device also. So far it's confirmed working on Evo's, G2's, & Desire Check it: FREE LED me know BETA - Android app on AppBrain Configure LED color and frequency for Gmail, SMS, missed calls ONLY AVAILABLE AT THE MOMENT FOR HTC DESIRE 2.2. I DO NOT GUARANTEE FULL FUNCTIONALITY ON OTHER DEVICES. Stay tuned for updates! Nexus one, among other devices, will be supported soon and new functionalities will be added such as Gmail labels notifications!
Recent changes:
1.08
Bug fixing
New notification settings
Remove notification from toolbar
Desire Z (no root)
Wildfire (no root)
and hopefully much more devices/roms...
oh! and GTALK (on debug...Do not disable gtalk app default notification)
1.08.x
FC FIXED
G2 TRACKPAD FIXED
MISSING COLORS FIXED (EVO,HD2...)
Desire a8181 added

View 4 Replies View Related

Android :: Configure Virtual Keyboard

Apr 7, 2010

Is there a way to configure the virtual keyboard to "hide" once the return key is pressed? I have numerous EditText fields in my application and I want the user to be able to enter a single line value, press return, and the keyboard goes away.Is there a way to override the virtual keyboard return key?

View 4 Replies View Related

Android :: Way To Configure ListView Of ListActivity Via Xml?

Jul 28, 2010

Actually the question in subject... How to configure ListView of ListActivity via xml, for example padding, dividerHeight etc...

View 2 Replies View Related

Android :: Configure Admob And Adwhirl?

Sep 8, 2010

I follow all the instruction but my ad doesn't appear on my app. My app is already on the market, i configure admob and adwhirl, and it's say it's active, but i can't do it.

View 3 Replies View Related

General :: How To Configure LG GM750 To Use Android

Nov 18, 2012

how to configure my lg to using android. it is impossible to find android port for my phone.

View 1 Replies View Related

Android :: Configure The Web Browser Cache Size?

Jul 30, 2009

Configure the web browser cache size? In HTC's new product HERO, they limit the cache size from 100KB to 6MB, and user can configure it manually. It can prevent browser sucking up memory space too much.

View 2 Replies View Related

Android :: Configure How Header Of An Alert Dialog Looks?

Jan 5, 2010

Is there a way to configure how the header of an alert dialog looks? It nows has an icon (on the left) with text as title. Is there a way to add view on the same line?

View 1 Replies View Related

Android :: How To Configure The 5554 WVGA800H Model?

May 10, 2010

Can any one help me out in Configuring the 5554:WVGA800H model in android,as per this link http://developer.android.com/guide/developing/tools/emulator.html#emulatornetworking they have given the screen for the TABLET ,can any one guide me in this?

View 2 Replies View Related

Android :: How To Connect Configure Static IP For WIFI?

Mar 3, 2009

I'm currently following the instructions given on this blog: http://android-tricks.blogspot.com/2009/01/using-adp1-without-sim-car... I've already connected to the WIFI, but it's trying to obtain... I'm trying to look for a way to set a static IP, Gateway and DNS to my Android Phone. How do I do this?

View 2 Replies View Related

Android :: How To Configure App To Work Horizontal / Vertical?

Jan 16, 2010

Is it possible to configure all layouts of an Android app to support BOTH landscape and portrait mode so that the app will work both when phone is held vertically and horizontally. From my brief reading, it seems not. Am I right?

View 2 Replies View Related

Android :: How To Configure Gmail In Droid Emulator?

Oct 27, 2010

I want to configure gmail in my android emulator, i went to the "Add a Google Account" under settings/Add Account, i have given gmail username and password, but after some time it is saying that "Can't establish reliable data connection to the Server" ? What is this error ?

View 1 Replies View Related

Android :: How To Configure Color Of Text In A Dialog?

Sep 14, 2010

In android selection dialog, like this example, http://labs.makemachine.net/2010/03/android-multi-selection-dialogs/ How can I specific the color of the text in the dialog? e.g. the color of the text "Mars", "Jupiter"?

View 2 Replies View Related

Android :: Can I Configure Gmail In Droid Emulator?

Oct 27, 2010

I want to configure gmail in my android emulator, i went to the "Add a Google Account" under settings/Add Account, i have given gmail username and password, but after some time it is saying that "Can't establish reliable data connection to the Server" ? What is this error ?

View 2 Replies View Related

Android :: Configure Droid Install To Run A Single App?

Nov 2, 2010

Is it possible to configure the Android OS to run only a single app?

Basically what I want to do is customize an Android device so that it boots up and runs one application only, and for that application to be switched to the front of the screen automatically. Also, when it gets closed, to be started up and switched to again. Any ideas?

View 2 Replies View Related

Android :: Email Application Wont Configure

Oct 18, 2010

Yeah. For some reason the Email application on my X wont configure my school email. I don't know if this has something to do with the ".edu"? I guess if anyone has any advice on a new email that COULD configure this, or if you have a solution to configuring the default email app on the X to configure this account.

View 4 Replies View Related

Android :: Way To Configure App To Ensure Proper Display On Droid?

Nov 20, 2009

I am having trouble in finding out the right settings for my emulator to simulate the Motorola Droid. Does anyone know with what settings should I create my emulator, so that I can emulate the Droid handset?

View 4 Replies View Related

Android :: How To Decide Widget Size In Configure Activity?

Feb 7, 2010

in HTC Sense, we can choose widgets of different size after tapping a single entry in the widget list. Is this also possible in pure Android Framework? I have tried to modify the widget's size in the configure Activity, but failed.

View 2 Replies View Related

Android :: How To Configure SDK Emulator To Start With English Instead Of Japanese

Aug 25, 2010

I'm new to Android development and have just started playing with the SDK.

One thing that is annoying is that the emulator always start with Japanese settings. I have found out how to fix this by going into settings and remove all the Japanese stuff, but this is time consuming since I have to do it every time I start the emulator.

Can someone help me change the startup settings for the emulator?

View 8 Replies View Related

Android :: Widget : Get Data From Configure Activity To AppWidgetProvider?

Feb 14, 2010

I'm writing a widget where i first have a configure screen where the user makes a selection. Then I want to pass that data on to the actual widget. This must be really simple but I just can find out how to do it.

View 2 Replies View Related

Android :: SMS Back To Caller Application / How To Configure It Comes With Phone?

Jan 4, 2009

My friend was talking to me about an application my friend has, or that it comes with the phone, but I can't seem to figure out a way to do it.

So the application basically sends the caller a customized SMS if you do not pick up the phone. Say you call me, and I didn't answer, the phone automatically sends the caller a text that you set up beforehand that could say 'I'm sleeping, I'll call you when I'm awake' or something along those lines.

Anyone know what it is or how to configure it if it comes with the phone?

View 3 Replies View Related

Android : Configure ListView To Automatically Change Its Height

Jul 28, 2010

I have three ListView widgets in the same LinearLayout. Something like this (I'm omitting XML elements that are not relevant in this example):

CODE:..............

This forces the list to have a height of 360 dip. Of course, that will be its height even if there are few list items. So, my question is how can make the lists have an automatic height? What I want is that the ListView height takes the exact size of the sum of all its list items.

View 2 Replies View Related

Programmatically Configure Orientation In Android Application At Runtime?

Mar 13, 2014

is there a way to programmatically configure orientation in android application at runtime ?

(I want to allow portrait in phones and portrait/landscape in tablets)

View 1 Replies View Related

Android :: Way To Configure Sampling Rate / Period While Audio Capture

Sep 23, 2009

I am working on a VOIP based application. I need to capture the audio from mic at 8000 hz sampling rate, get the 20msec packets, encode and send the packets over the network.

Can somebody tell me how to configure the mic for the desired sampling rate?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved