[android-porting] open("/dev/graphics/fb0", O_RDWR) failded.

2010-12-14 Thread 袁堂夫
I use jni to open the Framebuffer,but it failed,logcat showed that permisson denied. how to fix this question? thank you~ -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] How to display a raw YUV frame on android?

2010-12-14 Thread 袁堂夫
First,I am sorroy that my English is so poor. I try several method to display the yuv frame, but failed always.These method belowed: (1) I try to use opengl 2.0 and write shader, the question is that it is too slowly when upload texture with glTexImage2D. (2) I try to create Overlay from ISurface

[android-porting] Re: Native code segfault on Tegra2

2010-12-14 Thread David Turner
First, you should try android-porting, not android-ndk Do you know what the code that crashes does exactly? You should have a stack trace that tells you where the problem is located, which might give you some ideas. What compiler flags are you using when building with the gcc-4.4.0 toolchain. Not

[android-porting] Re: Downloading a particular software component of a particular branch

2010-12-14 Thread Lay
Hi Deva, Thank you very much for taking the time to help. You are most helpful. On Dec 13, 10:10 pm, Deva R wrote: > Hi, > > repo had a "-b" option to pick manifest from manifest git branch., > > git clone can be done to specific branch (i guess), but i havent tried yet., > > but even if u clone

Re: [android-porting] How to declare device as "hdpi " even when it's not… à la Galaxy Tab

2010-12-14 Thread Al Sutton
I was told the straight dpi to density mappings weren't accurate, so a device with a larger display could get a higher bucked than then SDK documentation indicated it would due to expected viewing distance being taken into account. Al. == Funky Android Limited is registered in England & Wale

[android-porting] Problems with GPRS module

2010-12-14 Thread Lay
Dear Android porting Gurus, I have been stuck at this problem for more than a week and am under tremendous pressure now. I am trying to get a GPRS module to work. The strange thing is that although the GPRS module can answer incoming calls and dial outgoing calls successfully, it does not work ver

[android-porting] Porting android to AT91SAM9261-EK

2010-12-14 Thread Akash Guttedar
Hello, I'm working on AT91SAM9261EK board, i want to port Android on my atmel board, i have already booted linux on my board. Now my task is to bring up android, i dont know anything about android. Please some one help me to bring Android on AT91SAM9261EK board. I want to know what all the steps

[android-porting] Stuck in airplane mode

2010-12-14 Thread Michael Wu
When I turn on/off the airplane mode, the check box become gray with showing message "Trying to turning off the wireless devices ...". After waiting some times, the airplane mode does not change state correctly. I try to use "logcat" to capture some useful message, however, there is no any message

[android-porting] Re: Problems with GPRS module

2010-12-14 Thread Daniel Baeyens
Hi, If you are using the default reference RIL, you are going to have plenty of problems as it is quite incomplete. You should develop your own libvendor-ril library to make android work better with your GPRS module (or ask your vendor for it) http://source.android.com/porting/telephony.html Kin

Re: [android-porting] Re: Problems with GPRS module

2010-12-14 Thread Hamilton Vera
Now you are missing the PPP part. But first check if you are able to see the MCC and MNC when you try to configure the APN. About the PPP stuff I have some code that may help you. I will look for it and send to the list. Also make sure that init.gprs-pppd is using the right device. []'s Hami

[android-porting] Re: open("/dev/graphics/fb0", O_RDWR) failded.

2010-12-14 Thread Chris Stratton
SDK/NDK applications do not run with sufficient permissions to access the framebuffer as they are not in the graphics group. It might be a fun project to modify the platform to add a new permission for "FRAMEBUFFER" that would put the application in the graphics group, though some would likely obj

[android-porting] Re: SDK & AVD Manager Docs for setting up repository?

2010-12-14 Thread todd.lee
Thanks for the follow up Xavier - Things are a little clearer now... So first off, to answer your question - we are currently doing internal development where we are working against a 'tweaked' android platform (r8). The reason for the tweaks is basically to accommodate some unique hardware featur

[android-porting] How to change default home app on 2.2.

2010-12-14 Thread oiplululu
Hi all, I want to make my home app to default without user operation and not remove previous home(Launcher2.apk). Anyone help me!! Please tell me how to change default home app. Should I change PackageManagerService.java? -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http

[android-porting] Boot-Loader support?

2010-12-14 Thread Dudero
Hi, I have a question about the android open source project: Android has its own boot-loader, or is it necessary to take someone like U-Boot? Greetz dudero -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

Re: [android-porting] Boot-Loader support?

2010-12-14 Thread Ashwin Bihari
Android is based on the Linux Kernel, so you need to determine what it takes to load the Kernel. U-Boot is traditionally is used to boot Linux. I know Motorola has a custom boot loader for the Droid (as an example).. But start with U-Boot unless you have reasons otherwise.. Regards -- Ashwin O

Re: [android-porting] Stuck in airplane mode

2010-12-14 Thread Robert Greenwalt
You can either actively debug this with an attached debugger or passively via added log statements. Start in the settings app and see what it does to turn on airplane mode then go from there. This works on other ports so you obviously messed something up - probably in telephony. R On Tue, Dec 1

[android-porting] Re: Boot-Loader support?

2010-12-14 Thread Dudero
Hey Ashwin, I thought Android probably bring his own version: like something in the "bootable"-folder of the source tree... after all kernel and root- file-system are included. So is the boot-loader the only thing of the operating system: Android which is not officially supported by the AOSP? Gr

[android-porting] Android emulator: kernel console output and tab completion

2010-12-14 Thread Dudero
Hello Guys, does anybody know a way to get the kernel console output? Or need I only read from a /dev/ttySX device? On the emulator I only found "sh", but I want tab-completion - do I have therefore build al shell binary for the goldfish like "ash" or is there an easier way? Greetz dudero -- u

[android-porting] Re: Boot-Loader support?

2010-12-14 Thread Chris Stratton
Android phones typically have their own bootloader (or even chain of them, there are two processors involved) which may be either fastboot or something else. Non-phone android devices might use busybox or whatever is customary for linux on that platform - there's not really anything unusual about

[android-porting] Re: Boot-Loader support?

2010-12-14 Thread Chris Stratton
Android phones typically have their own bootloader (or even chain of them, there are two processors involved) which may be either fastboot or something else. Non-phone android devices might use uboot or whatever is customary for linux on that platform - there's not really anything unusual about th

Re: [android-porting] Re: SDK & AVD Manager Docs for setting up repository?

2010-12-14 Thread Xavier Ducrohet
Well there's a difference between doing changes in the framework, and exposing new APIs. I guess as long as you don't distribute this repository publicly and only give it to internal devs who will develop apps that are bundled with the devices (and not on any app store), then you'll be fine. FYI,

[android-porting] Re: Problems with GPRS module

2010-12-14 Thread Lay
Thank you about the tip on PPP. I will look into it. However, I was thinking whether it is necessary to get PPP up in order to get the GSM voice and SMS portion working. My first priority is to get voice, SMS working and these do not require PPP. Is it really necessary to get PPP working in order