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
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).
View 2 Replies
View Related
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
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
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
Sep 20, 2010
I have two vertical TableLayouts containing rows of TextViews separated by some graphics. Something like this:
R-L Graphics R-R R-L R-R R-L R-R R-L R-R R-L R-R
The R-R TextViews have a fixed width, which means they grow vertically when the text is longer than will fit in the width. The text is set at runtime so this height is not known in advance. I want the height of the R-L rows to exactly match the height of the R-R rows with the R-R rows being the reference source for the height. Once I do a TextView.setText and a TextView.setWidth on the R-R TextViews, the height of those TextViews should be determined. Then I can do a TextView.setMinHeight on the R-L TextViews. But I'm having trouble getting the height value from the R-R TextViews. The TextView.getHeight method returns zero.
View 5 Replies
View Related
Aug 21, 2010
Anyone else seen this on the featured apps page? Games and Apps tabs working ok though. I guess it's a market error.
View 1 Replies
View Related
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
Mar 15, 2009
I wrote an app that, among other things, renders feed articles using WebView. Now I get error reports that seem to originate in WebView:
-- NewsRob Version: 1.7.0/170 -- Android Version: sdk=2, release=1.1, inc=128600 -- Thread State: RUNNABLE -- Stacktrace: java.lang.NullPointerException at android.webkit.CacheManager$1.run(CacheManager.java:391) at java.lang.Thread.run(Thread.java:935)
I've got another report with the same content, but a different incremental version of the sdk (126986). Probably one from the US and one from the UK. So now I would love to know why the code blows up and if there is anything I can do about it. And with the source files and line numbers I felt in good shape to so. If only I could match them to the public code repositories ;-(............................
View 5 Replies
View Related
Sep 29, 2009
I have written an Instrumentation class for testing some application. I want to run some automation actions on Contacts activity (system application). But I have "signature does not matching" problem when start instrumentation. How can I run this instrumentation on system application?
View 9 Replies
View Related
Nov 17, 2012
I've been trying to organize the phone numbers in my address book so that:The phone calls I receive show the contact name (and not only the number).
The SMS messages I receive show the contact name (and not only the number).Android is able to join the WhatsApp contact with the main contact based on the phone number.
I live in Brazil and the phone numbers have a few particularities: you can include the country code or not (55), you can include the city code or not (which is usually prepended with a 0), you can include the phone carrier code or not, etc. So matching those numbers is not a trivial problem.
I have the impression that Android has an internal logic for dealing with this issue. But it's not working particularly well for me. If this logic is configurable?The issues I'm having right now are:The numbers shown in the SMS messages don't have a consistent pattern:
View 2 Replies
View Related
Oct 7, 2009
I have a TEXT column and I want to match all rows where the value has a certain prefix. For example, WHERE mycol LIKE 'myprefix%' However, I noticed in some optimization guidelines that this will not use the index and instead you should do this:WHERE mycol >= 'myprefix' AND mycol < 'myprefiy'Instead of simple A-Z chars, I have a whole variety of UTF-8 chars (think chinese characters).My question is, how to work out the next char in UTF-8? Is it enough to add one to the codepoint,
View 3 Replies
View Related
Nov 18, 2010
Does anybody know if the new desktop kernel patch written by Mike Galbraith can be applied or modified to be used in the android kernel?
Tiny Linux Kernel Patch Delivers Huge Speed Boost - PCWorld Business Center
I haven't messed around with android kernels yet, but I have applied it to my current Ubuntu 10.10 system and you can see the difference. Its like night & day!
View 2 Replies
View Related
Mar 3, 2010
I have vanilla linux kernel version 2.6.27. I want to apply android specific patches and convert it to android linux kernel 2.6.27. Where can a user find the patches to convert a normal vanilla kernel into android kernel?
View 1 Replies
View Related
Jul 18, 2010
I am still working on 1.6 version apps and need the source for 1.6 rather than 2.2. Where or how can I get that... are there branches that I can clone from?
View 4 Replies
View Related
Feb 4, 2009
We have ported android to our hardware. I am facing some issues related to sdcard. Here is the test scenario and issues:
First issue :
1. On hardware, insert the card and copy a file to sdcard using dd command.
2. Remove the card from hardware.
3. Do ls /sdcard. It shows the file present in sdcard. It seems unmount of sdcard device is not happening.
Second issue:
1. Copy a file to sdcard using dd command.
2. Remove the sdcard and check the content of the sdcard from PC. File is not visible.
3. Copy file to sdcard again and then check the content of sdcard from PC. File size is zero bytes.
4. Restart the hardware and copy the file again. File is visible when checked from PC.
Third issue:
1. The content of copied file are not matching with the original source file.
View 3 Replies
View Related
Dec 15, 2009
I was trying to do a memory game on android, but i can't figure out the code that matching 2 button with the same image..
CODE:..................
View 1 Replies
View Related
Apr 5, 2010
I would like to see the implementation of Android Development Tool (ADT) plugin for Eclipse, but I cannot find the sources in the repository. Time ago, they where under [/platform/development.git] / tools/eclipse.
View 3 Replies
View Related
Nov 21, 2010
I have the sample code packages for eclipse installed. On the webpage about Searchable Dictionary v2 http://developer.android.com/resources/samples/SearchableDictionary/i... it is noted that the project source code is contained in the SDK. But the SDK only contains V1 without database usage. Can the souces be downloaded somewhere else?
View 2 Replies
View Related
Sep 18, 2009
Is their any other way to debug the framework sources? .Instead of adding logs in the framework source and building again.
View 3 Replies
View Related
Jun 23, 2010
Just checking to see if market is working OK for you guys because when I load'er up I'm getting "No matching content in Android Market" messages at start and in various categories.
View 3 Replies
View Related
May 20, 2009
I just want to develop a service which listens to the database and it should invoke an activity as soon as there is a change. I tried to implement Contacts listener by registering Content Observer but couldn't see the expected result. Kept log in on Change() method, observed that it is not getting called, any clue that where it might went wrong.
View 4 Replies
View Related
May 31, 2010
Could someone give me an idea about how to exclude using maven, some resources. I have a lot of languages in my project and I want to make build only for 3 languages for example. I have create the pom file and when I make the apk, all resources are copy by default(resources:resources,"Copying 122 resources"). Can I make in any way to create the apk only with the language resources that I want?
View 3 Replies
View Related
Feb 14, 2009
is it possible to send data to external sources.. like a remote sql server or a remote website?example: make a pic with G1 and send it to a remote db server (via internet).is there somewhere an example of how to do it? thanks for the info.
View 2 Replies
View Related
Aug 20, 2010
Where can I get all latest Android Java framework classes sources?
View 4 Replies
View Related
Sep 8, 2010
I have a number of different calendars on Google calendars all with different colours. I have recently started a job that uses Google Calendars too and so have imported these into my account. However, when I sync them, the colours of each calendar do not match the colours on Google Calendars online. My original 3 calendars colours are all correct, but the recent ones I have added all appear red on the Desire's stock calendar app instead of the colours I have assigned.
View 4 Replies
View Related
Jul 27, 2010
Is there anyway to bypass 'Unknown sources' setting without having the application actually downloadable in the market? Signing up for the market is fine but I do not want the application actually available via the market due to partner restrictions. However, installation should be smooth without requiring the user to allow installation of application from non-market applications.
View 1 Replies
View Related
Nov 1, 2010
I would really appreciate if someone could point me to a list of devices/carriers where install from unknown sources is not allowed.
For e.g. I can confirm that HTC Aria (offered by AT&T) does not allow install from sources other than market.
View 8 Replies
View Related
Mar 6, 2010
Has anyone got a good source for icons that can be used in an application?
I'm thinking of things like pushpins, scope sights, house, car, shop, and other small graphics you might overlay on a map or picture.
Most people just rip them off from the web, but I'm looking for an honest source.
A while ago, I found a website marketplace where you could commission stuff from graphic artists. Does anyone have any links for these? The sort of thing I mean is like this: http://www.graphicster.com/Default.aspx (But those guys haven't got critical mass yet). Or these guys http://www.crowdspring.com/how-it-works/ (but they seem a bit high end).
View 5 Replies
View Related
Apr 20, 2010
I pre ordered the Incredible through Best Buy the other day.I asked them about Verizon's online discount of $100 and another $100 off with new every two discount.The sales rep did not know about the deal but said they would price match whatever Verizon had on their site.I'm hoping they will match it, the guy seemed really nice.Anyone else run into this?
View 15 Replies
View Related