[android-porting] Re: Determine build type within code?

2009-11-18 Thread RaviY
Here is something crude that you can try: In the Android.mk of your library, you can add something like ifeq ($(user_variant),userdebug) LOCAL_CFLAGS += -DUSERDEBUG else ifeq ($(user_variant),user) LOCAL_CFLAGS += -DUSER else ifeq ($(user_variant),eng) LOCAL

Re: [android-porting] Re: problem about repo sync

2009-11-18 Thread tommy tommy
hi,jack! It test good with your shell 2009/11/19 jack > Hi, > > last night same happens to me also.. > Network traffic is the only cause for this, you keep trying. > I wrote a script to run the repo sync command in a loop till it > successfully executed. > you can put something like this: > > #

[android-porting] Re: problem about repo sync

2009-11-18 Thread jack
Hi, last night same happens to me also.. Network traffic is the only cause for this, you keep trying. I wrote a script to run the repo sync command in a loop till it successfully executed. you can put something like this: #! /bin/sh repo sync ret_val = echo $? if [ $ret_val != 0 ] then while [ 1

Re: [android-porting] Re: pppd start

2009-11-18 Thread Xingwen Huang
Thanks your advice. I have modified the Android.mk in system/core/rootdir copy_from := \ etc/dbus.conf \ etc/init.goldfish.sh \ etc/hosts \ etc/init.gprs-pppd \ etc/ppp/chap-secrets \ etc/ppp/ip-down \ etc/ppp/ip-up but the service can not work. I can start it by myself,

[android-porting] Determine build type within code?

2009-11-18 Thread vj
Hi, Is it possible to determine the type of (USERDEBUG, ENG, USER) build within the code at compile time? I wanted to use something like #ifdef USERDEBUG within my code. Is something similar possible? Thanks, VIjay -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://g

Re: [android-porting] adding new API : make error :41

2009-11-18 Thread Dianne Hackborn
I strongly recommend basing your work on the PlatformLibrary sample code, rather than modifying the framework itself. On Wed, Nov 18, 2009 at 1:37 AM, Sam wrote: > Hi all, > I want to add my own API's to android. > For this thing I followed one document I got from net and > according t

[android-porting] Android Linux ( timed_outout & timed_gpio )

2009-11-18 Thread Raghu D K
Hello All, In the Linux kernel patches for the kernel, say "msm" we have "timed_gpio.c" and "timed_output.c" modules. And these get included when we define "CONFIG_TIMED_OUTPUT" and "CONFIG_TIMED_GPIO". In the MSM platform the timed_gpio is defined in the "board-trout.c". Are these specific to MSM

Re: [android-porting] Android Eclair -- hangs after gralloc/mapFrameBufferLocked

2009-11-18 Thread Porting beginner
On Wed, Nov 18, 2009 at 7:05 AM, Alexey Roslyakov < alexey.roslya...@gmail.com> wrote: > Hello, > I managed to compile Eclair for mini2440 (ARMv4) platform and run it. > Unfortunately, it hangs after start > > 11-18 14:20:32.388 W/gralloc ( 708): page flipping not supported > (yres_virtual=480,

Re: [android-porting] Reg Java 6 issue with ubuntu 9.1

2009-11-18 Thread Misael Lopez
Ubuntu 9.10 doesn't include jdk5, but you can add the source list entry from 9.04 (Jaunty). 1. Append the two lines shown below to your /etc/apt/source.list: deb http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse 2. Retrieve n

[android-porting] Re: Audio Capture on Beagle Board

2009-11-18 Thread aney
Hi Ben >I think that you should be able to symlink alsa_arecord to the alsa_aplay >binary for recording: You are spot on!!! I was able to symlink alsa_arecord to alsa_aplay.Now i am able to capture audio using alsa_arecord:-)I connected the Line-in of my Media Player to the line-in o

[android-porting] Re: Android on Samsung s3c6410 accessing rs232 serial port

2009-11-18 Thread mar...@armdesigner.com
Hi Jleiser, This website named Boardcon www.armdesigner.com has Android Kit based on Samsung S3C6410 ARM Processor. The Android Kit on the website supports RS232 Serial Ports, And Android version is 1.5. I think you can write letter to them to ask for help. Dedao On 11月3日, 下午11时23分, JLeiser wr

[android-porting] Re: problem about repo sync

2009-11-18 Thread Dmitry
you can try to modify .py script - http://android.amberfog.com/?p=230 On Nov 5, 12:40 pm, Thimmarayaswamy Krishnappa wrote: > Dear Brad Shen, > > Same problem occurred to me. > Hope it was due to Network connection problem or because of git server > is down. > I tried three time again and again,

[android-porting] Reg Java 6 issue with ubuntu 9.1

2009-11-18 Thread Karthik P
Hi, I recently installed ubuntu 9.1 in my system which had java 6 installed. I'm unable to build Android on my system due to Java version mismatch. Hence I tried to download jdk5 but packages are not available thru synaptics package manager. Can anyone help me in this regard? Karthik -- unsubsc

[android-porting] Android Eclair -- hangs after gralloc/mapFrameBufferLocked

2009-11-18 Thread Alexey Roslyakov
Hello, I managed to compile Eclair for mini2440 (ARMv4) platform and run it. Unfortunately, it hangs after start 11-18 14:20:32.388 W/gralloc ( 708): page flipping not supported (yres_virtual=480, requested=960) 11-18 14:20:32.388 I/gralloc ( 708): using (fd=23) 11-18 14:20:32.388 I/gralloc (

[android-porting] Re: Cannot start volume '/sdcard' (volume is not bound) error using vold

2009-11-18 Thread Arun George
Hi, I also had the same problem and it is solved now. You have to do two things to solve this 1- Configure your '/system/etc/vold.conf' correctly. media path should be set to uevent interface. It will be something like 'emu_media_path /devices/platform/mmci-omap-hs.0/mmc_host/ mmc0'

Re: [android-porting] error linking

2009-11-18 Thread Carlos Piñeiro
Solved! When I compile the rootfs, I did it with next parameters: make TARGET_ARCH=mips TARGET_ARCH_VERSION=mips32 and the right ones are make TARGET_ARCH=mips TARGET_ARCH_VERSION=mips32r2 Now I can boot in android. 2009/11/18 Carlos Piñeiro > To built the rootfs, I´ve only downloaded the r

[android-porting] Re: pppd start

2009-11-18 Thread hikeit
I'm seeing two problems here. First is that it can't start pppd: -Possibly because you don't have /etc/init.gprs_pppd executable, as kkw mentioned... grab the script from some other cupcake build and modify it to point to the correct serial channel -Also you do need to configure all the scripts and

[android-porting] Re: pppd start

2009-11-18 Thread kkw
Hi XingWen, i think u r working cupcake rite? Do u hv the init.gprs_pppd in the /etc directory and is it executable? On Nov 18, 5:53 pm, Xingwen Huang wrote: > any idea for the problem, please > > > > On Wed, Nov 18, 2009 at 11:33 AM, simon wrote: > > Hi, all > >    I want to start pppd in my sy

[android-porting] Question in playing the flv file in browser with mediaplayer(opencore)

2009-11-18 Thread nearfuture
Hi,all I want to play the flv file in browser with opencore. As we know, the browser by default can play mp4 file in browser with mediaplayer(opencore) in http streaming mode. Here I want to make the browser can play the .flv file as that of mp4.So I do it for flv and also for rmvb for a c

[android-porting] Re: pppd start

2009-11-18 Thread Xingwen Huang
any idea for the problem, please On Wed, Nov 18, 2009 at 11:33 AM, simon wrote: > Hi, all >I want to start pppd in my system. So, I follow the advice in the > maillist, but it still doesn't work. It said that Unable to start > service ctl [pppd_gprs] uid: 1001. > I found my problem was in t

[android-porting] adding new API : make error :41

2009-11-18 Thread Sam
Hi all, I want to add my own API's to android. For this thing I followed one document I got from net and according to I added one directory called "abc" to android framework which contains three sub directories "java", "jni" and "libabc". When I tried to build the source code with thi

Re: [android-porting] Does android support raw IP GPRS interface like NDIS in Windows Mobile

2009-11-18 Thread Sunny Liu
To see hso driver! It is released by option. 2009/11/10 ShivaP > HI all, > > Is PPP the only way for GPRS Data connection.?? > Does android support raw IP GPRS interface like NDIS in Windows > Mobile. > > if this is supported, is there any WWAN Driver in android to route the > IP packet to the M

[android-porting] Re: PV Architecture Question

2009-11-18 Thread praj
Hi, My understanding is that the PV engines (author/player) have a max of 3 nodes possible. Depends on whether Jeff wants to use the engine as it is or does he want to implement a new/modified engine with any number of nodes in it. regards. On Nov 17, 8:14 pm, RaviY wrote: > That is incorrect

Re: [android-porting] error linking

2009-11-18 Thread Carlos Piñeiro
To built the rootfs, I´ve only downloaded the repo with git, and compiled it with the toolchain. I´ve compiled if only with make -TARGET_ARCH=mips Maybe I need more parameters... Any idea? Could this problem be caused by mounting the root file system via NFS (rw) ? Bye, 2009/11/17 Carlospg > H