The framework code does the following:
SystemProperties.get(ro.kernel.qemu)) ? 1 : 0
On Tuesday, July 24, 2012 1:29:55 PM UTC+2, Shafali Gupta wrote:
Hi,
I just need to identify whether code is running on device or on emulator.
please suggest something which works for AOSP 4.0.
Thanks
Hello,
On Wednesday, April 11, 2012 8:29:54 PM UTC+2, lyakh wrote:
Hi all
I've spent a couple of hours searching the http://source.android.com/
site, the relevant google groups and the internet at large for an answer
to a simple question: how do I add my new device under
Hello
On Wednesday, March 28, 2012 8:35:57 AM UTC+2, venkat k raju wrote:
Hi all,
i am using build command below one
$ make TARGET_PRODUCT=beagleboard TARGET_BUILD_VARIANT=tests -j8 droid
Please read
http://source.android.com/tech/input/validate-keymaps.html
it shows how to use the tool.
Hello
On Monday, March 5, 2012 2:32:14 PM UTC+1, akash malhotra wrote:
mini6410 board , i get this error on the serial
port ,
# warning: `rild' uses 32-bit capabilities (legacy support in use)
request_suspend_state: wakeup (3-0) at 53093245160 (2011-04-12
10:37:15.802849407 UTC)
Hello
On Tuesday, February 14, 2012 6:54:59 PM UTC+1, jagan wrote:
Hi All,
I have trying to port android onto my ARM target.
Before proceeding with android, I tried for Linux kernel+root file-
system.
It was pretty working with above combination. [console is up]
As my observation
Hello,
On Thursday, February 16, 2012 1:55:28 PM UTC+1, Amit wrote:
Hi,
I have downloaded android gingerbread source code and compiled. But for
browsing the source code I want to add the total android project in the
eclipse, so that its easy to trace the code.
You might want to follow
Hello,
On Wednesday, February 15, 2012 12:21:24 PM UTC+1, Vikas KM wrote:
HI All,
I am trying to get the USB modem working for Android (Gingerbread Version)
Using *usb-modeswitch* and the conf file i am able to run get the USB
modem working thing is
I need to run the *usb-modeswitch*
Hello,
On Wednesday, February 8, 2012 1:05:58 AM UTC+1, Artemy Makarov wrote:
Hi
Well, you're pretty much covered most of my questions.
Now i have another two:
1) Are there any possibility, that Android will be easier to build for
particular new device?
As long as you do not modify
Hi,
While not a phone device vendor I will state a few problem we had.
On Sunday, February 5, 2012 9:19:56 PM UTC+1, Artemy Makarov wrote:
1) Why is it so hard to port new versions of android to existing devices?
Why does it takes so long for vendors to release new versions of software
for
Hello Philip,
We also made similar modifications to the platform and at first tried to
rebuild the platform-sdk as a means of distributing changes e.g we made
changes to the public API's and sometime unhidden methods. This is a
dead-end road because it does not leave room for upgrading your
On Friday, December 16, 2011 6:36:35 PM UTC+1, Phillip wrote:
Hi freakingtux ! Thanks for your answer!
Well but my problem is that I have added some code to existing
platform classes (e.g. simple static variables) and I want the IDE
(e.g. Eclipse) to have this updated class available
Hi
This is probably not a good group to post this question.
On Friday, December 2, 2011 12:51:58 AM UTC+1, martin...@abv.bg wrote:
Hi Everyone,
I am trying to read data from a serial port. I have no problem with
sending bytes. Everything works fine. There is a problem when i
receive bytes.
Hi
On Monday, November 28, 2011 7:23:48 PM UTC+1, Ronnyek wrote:
I dont know if this is the the correct place to ask, but I figure
people on this list must be trying it...
I tried following this:
http://source.android.com/source/using-eclipse.html
After doing the first build onces all the
Hi,
upon closer inspection the problem is related to the emulator used. The
emulator ( external/qemu) found on the gingerbread branch
does not pick-up the hardware-qemu.ini and thus starts the wrong kernel
(kermel-qemu) on the wrong CPU architecture. Pretty soon (in the ramdisk)
illegal
Hi
I started working on gingerbread after having worked on Froyo for a while.
The workflow to do platform development
I figured out no longer works
https://github.com/keesj/gomo/wiki/AndroidPlatformDevelopmentWorkflow
Can somebody help me update the documentation?
Basically in gingerbread I
Hi,
Hi,
On Thursday, September 29, 2011 3:14:04 AM UTC+2, G.SU wrote:
Hi,
I am completely new to android development.
I am planning to run native code on android processor core.
I am looking out for a cheap android hardware device .
Can any one here help me out in this regard ?
Hi,
On Friday, September 30, 2011 2:44:53 PM UTC+2, Vishwanath Hegde wrote:
Hi,
I am seeing the mounting and auto mounting of SD Card is not happening
when the SD card is inserted through a card reader on android tablet.
Can someone explain me in this particular scenario, how the auto
Hello Matthias,
On Friday, September 30, 2011 9:46:42 AM UTC+2, Matthias Kaehlcke wrote:
Hi,
By default the Android mass storage driver (v2.6.32) only creates one
lun. The g_file_storage gadget allows to specify the number of luns
with the parameter 'luns', but it isn't clear to me how to
Hi
On Tuesday, September 27, 2011 10:55:19 PM UTC+2, Pratik Prajapati wrote:
While building any module in android, its build infrastructure does not
show what make commands it is firing.
try building using the additional showcommands parameter
There is a group called android-building
Hi,
On Wednesday, September 28, 2011 5:27:51 AM UTC+2, arif wrote:
1) un-rooted devices applications do not have permissions to run
/system/bin binaries, so you need to root you device and change the access
permission for /system/bin.
2) The proper-way is, create shared library of your
On Tuesday, September 13, 2011 6:56:41 PM UTC+2, Nitin wrote:
On Saturday, October 23, 2010, Dianne Hackborn hac...@android.com wrote:
The Java runtime has wrappers around C++ IBinder. This is what Java's
Binder is. You can write a JNI function that returns a Java Binder and in
its
Hi,
On Tuesday, September 6, 2011 6:15:29 PM UTC+2, Robert Greenwalt wrote:
I believe so. I've heard of people making it work hacking up the build
system, but I don't think it's officially supported - that sort of code
fragmentation would be a nightmare to support.
A better approach
Hello,
On Tuesday, May 31, 2011 2:49:24 PM UTC+2, paldan wrote:
Following your advice I've changed my init.rc script and now I'm
launching the RIL with the following lines:
service ril-daemon /system/bin/rild
socket rild stream 660 root radio
socket rild-debug stream 660 radio
Hello,
On Wednesday, August 31, 2011 2:46:36 AM UTC+2, Pratik Prajapati wrote:
Hi,
For production of the device, android APKs needs to be signed. I have
created keystore as explained in
http://developer.android.com/guide/publishing/app-signing.html and signed
my APKs with that
On Thursday, November 13, 2008 9:48:52 AM UTC+1, Brian Swetland wrote:
The property name is invalid and will have to be shortened. Right now
there's a fair bit of abuse of system properties -- this in particular
is a questionable use of properties in that it smells like it should
really
Hi
On Monday, July 18, 2011 1:02:18 PM UTC+2, Hvr wrote:
Hi,
I want to handle uevent in user-space mainly for battery status
changed in my application.
Can this be done using C program?
vold and some other platform programs do read uevents so yes it is
possible but you need boot root
Hi,
try building with the showcommand meta command so see what gets executed.
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
Hi
On Friday, July 8, 2011 10:20:56 AM UTC+2, Vikram.exe wrote:
Hi,
I have been using pulse audio on Ubuntu to remote my sound to a
network Windows-7 machine. Now I am trying to port pulse audio to
Android. Looking at the dependencies, I think, I will have to port a
lot of libraries
Hi
On Thursday, July 7, 2011 12:27:31 PM UTC+2, ceat...@yahoo.de wrote:
Hi,
can someone tell me which file android is using to compare with the
qualifiers in the alternative resource directory?
The reason why i want to know it, is because im trying to get smaller
icons for the apps. So
Hi,
On Wednesday, June 3, 2009 9:20:21 PM UTC+2, JoelV wrote:
In porting Android to a new device, I've run into some use cases where
we've added support for some native OEM hal-specific services and
hardware resources which do not seem to fall within the scope of the
existing ID's defined
Also see
http://code.google.com/p/android/issues/detail?id=5524
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
Hi Jean-Pierre ,
There are a few things I don't understand about your post:
If you are really downloading file and putting them on the sdcard why do you
need to create a system service for that?
If you are running as root or system user (as the system_server is) no
calling permissions at binder
Hi,
On Wednesday, June 29, 2011 10:42:20 AM UTC+2, Gopi wrote:
Hi freakingtux,
I want to know how this android.os.Build.Version.SDK works. I
mean how the package gets the info from the system. so that i can
directly use that way in my C file
Perhaps you are after
Hi,
On Tuesday, June 28, 2011 12:47:37 PM UTC+2, Gopi wrote:
Hi all,
I want to log the build info of the android OS from the init
service native C file. Is there any direct way to get the build info
from the shell like using the package android.os.Build. My c file
looks like
Hi
Why are sockets used between rild and RIL.java and why not binder?
Thanks,
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
On Friday, June 3, 2011 10:00:44 AM UTC+2, steeldusk wrote:
Hi,
I am trying to set user and group in init.rc for my own service. It
works nicely with having user as root, but I see some other default
android services have 'system' as group.
Hi
I written down what I understand from
Hi,
On Wednesday, June 15, 2011 10:57:39 AM UTC+2, yanamala siddaiah wrote:
how to get network speed using android app.
perhaps get information about the connection using the
http://developer.android.com/reference/android/net/ConnectivityManager.html
for example the
Hello
On Friday, May 27, 2011 4:54:00 PM UTC+2, paldan wrote:
Same problem here.
Using adb logcat for main, I read the following log:
E/pppd( 1017): This system lacks kernel support for PPP. This
could be because
E/pppd( 1017): the PPP kernel module could not be loaded, or
Hi
http://hackaday.com/ is a nice site to get ideas. Many of the suggestions
Chris did can be found there.
Using serial over the audio connector
http://hackaday.com/2010/11/10/android-talks-pulsewave/
Using ADB as suggested
Hi
On Thursday, May 26, 2011 1:42:37 PM UTC+2, Gopi wrote:
Hi,
I m trying to write log to sdcard. I have created a native service
that starts during boot and i want it to write a log file to
sdcard..my c file looks like this logservice.c
#define LOG_TAG Log Service
#include
Hello
On Monday, May 16, 2011 5:48:28 PM UTC+2, Digit wrote:
They are not merge, they are simply searched in numerical order (so
sysdir.1 first, then sysdir.2, etc...)
A platform add-on typically provides a full system.img if it provides new
system libraries / frameworks.
There is no way
Hello,
On Saturday, May 7, 2011 4:10:55 PM UTC+2, Jeje wrote:
Hi,
I would like to know the tools which enables to debug the application
framework layer on a target. Indeed, I would like to be able to
follow
each step when an application is launched for instance (not using the
logCat
On Wednesday, May 4, 2011 1:46:56 PM UTC+2, krishna chaitanya wrote:
Hi,
I have downloaded the latest kernel code using
git clone git://android.git.kernel.org/kernel/common.git.
After that I have run the following commands
make ARCH=arm CROSS_COMPILE=arm-eabi- oldconfig // to set
Hello,
On Monday, May 9, 2011 12:46:54 PM UTC+2, krishna chaitanya wrote:
Hi freakingtux,
Can you please explain what is toolchain and how to complie it?I am
new to this.
You need to get yourself a proper toolchain and you do not necessarily want
to compile it yourself. if you follow
Hi
On Thursday, May 5, 2011 4:20:35 PM UTC+2, AitorTheRed wrote:
Hi to everyone.
I'm starting to learn about android AOSP and porting/building, so sorry if
this is not the right place to ask my question.
I have been looking on internet for tutorials about building and porting
AOSP to
Hello
I am trying to understand what can be put in a platform add-ons and
therefore need to understand how some parts of the emulator work.
When a new avd is created for an add-on a config.ini file is put in the
avd's directory. This ini files contains multiple entries to a sysdir
Hello
On Monday, April 25, 2011 1:53:54 PM UTC+2, Srinidhi wrote:
Hi All,
I have a local git repository which I would like to add in
$ANDROID/external/ folder as a project. So that it get synced from a local
repository when repo sync project name command is used.
I tried adding this in
Hi
I am having the same problem here:
During the jar phase of the core-tests every resource gets added to the root
of the jar (you can see this if you run make showcommands core-tests)
jar cf ..
-C dalvik/libcore/luni/src/test/resources hyts_Foo.c
-C
Hi
Somebody else was kind enough to send me an email about dexopts. Basically
in some situation it is possible to already replace the byte code into
optimized dex inside the apk. Documentation can be found in the dalvik
documentation folter dalvik/docs/dexopt.html) but also (the same) here
Hello, I am not familiar with the HID part
On Wednesday, March 16, 2011 7:50:41 AM UTC+1, WuZhenda wrote:
I'm trying to port usbhid about to android platform.
It's OK when I use c test bin file.
but when I'm try to use ndk-build for java,these error displays.
03-16 14:37:33.220:
Hello Akash,
Building Android itself on Android will be quite a hard task as you first
will need to port/recompile a lot of tools from GNU/Linux to Android/Linux.
Porting the SDK will also be an interesting task specially if you think of
running eclipse on the PC. Basically you will probably
Hi
On Wednesday, March 9, 2011 9:08:20 AM UTC+1, Matt wrote:
Hi guys:
As a fresh man to the JAVA and Android.
I wonder is there a official way to pass the BoardConfig.mk value to the
JAVA source code?
I could do this for the C/C++ source code which only need add some checking
code in
frameworks/base/Android.mk for example:
# Include a different set of source files when building a debug build.
# TODO: Maybe build these into a separate .jar and put it on the classpath
# in front of framework.jar.
# NOTE: Do not use this as an example; this is a very special situation.
#
Hi,
I have different situations where I want an Android (2.2.) native service to
communicate
with an other service (sometime native and sometimes not).
If I start using binder as rpc I need to write Java[tm] code as there is no
official support
for binder in c/c++ code.
What is the
Hello Howard,
On Monday, February 14, 2011 5:33:16 PM UTC+1, Howard M. Harte wrote:
There is already support in the platform for this, I think from 1.6
and later. You make shared libraries using the appropriate NDK for
each ABI you support, and during install, the appropriate shared
Hi,
On Monday, January 31, 2011 2:43:58 PM UTC+1, koby.fr wrote:
I think I got it.
See the list of heads in
http://android.git.kernel.org/?p=platform/libcore.git;a=heads
I've selected -b froyo-plus-aosp, and repo init + repo sync seem
to be working.
But how to you know if this the
Hi,
On Wednesday, January 27, 2010 9:39:41 AM UTC+1, hackbod wrote:
The am command requires that the entire system be running, since it makes
calls on the activity manager.
You are mixing two completely different levels of the system. init is the
very lowest-level user space code that
Hi
The procedure you are following indeed goes into detail about replacing the
kernel (so not about replacing the file systems containing applications).
You can get new packages on the target in a few ways
-adb install
-using pm install (over serial)
-By putting a new system image on your
Hi,
On Thursday, January 27, 2011 9:45:47 PM UTC+1, Hank wrote:
I have been trying to make my application a pre-loaded application on
the Android OS Kernel. Within these two makefiles: generic.mk and
core.mk, I added my application to the list of pre-loaded applications
found under
Hello,
I am working on implementing an SDK-addon and wonder how to setup my
components and source codes.
I have seen the sample-addon but somehow it does not feel like this
offers enough of a sample to explain all I would like because my SDK-
addon also contains a service.
My setup looks pretty
Hi,
On Thursday, January 27, 2011 2:38:06 PM UTC+1, xliu wrote:
Hi, List,
I wonder whether Skia has any architecture-dependent code. I draw picture
on Canvas. but the result is twisted.
is that possible there's code-generator stuff inside of skia which emits
arm code? we are using a
Hello,
The supported kernel is the 2.6.35 kernel as you can see here:
http://developer.android.com/sdk/android-2.3-highlights.html
Greetings
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
Hello,
I am trying to understand how to deploy and use the different Android
platform make targets.
I am working with the following cases:
Case-1) I will need to make small modifications to the standard Android APIs
or code
Case-2) I will want to add new APIs next to the existing Android APIs
On Tuesday, January 4, 2011 5:40:55 PM UTC+1, freakingtux wrote:
system_server who runs as user system how can is bind to a port 1024 ?
did I miss something?
How can I get notifications of events (like usb plugging) into my
application? I plan to talk to the plugged usb device using
Hi,
I am trying to create a Java service that listens to kernel netlink uevent
in order for it to detect when a Usb device is plugged-in/out.(is there a
more simple way to do this in 2.2. ?)
Basically I want a kernel uevent - broadcast intent service
I found a few classes in the Android
Hi,
On Jan 4, 5:23 pm, Retti retti...@googlemail.com wrote:
W/InputManager-Callbacks( 541): Error reading input device
calibration properties for device ADS7846 Touchscreen from /system/usr/
idc/ADS7846 Touchscreen.idc.
W/InputManager-Callbacks( 541): java.io.FileNotFoundException:
66 matches
Mail list logo