Re: [android-porting] Re: PPP problem on Android
I check the modem in my PC, using linux pppd, and it works. BTW, the same options, the same MUXD, using no flow control. r...@ubuntu:/etc/ppp# pppd call gprs2 local IP address 10.7.157.79 remote IP address 10.64.64.64 primary DNS address 211.136.20.203 secondary DNS address 211.136.20.203 On Wed, Jan 27, 2010 at 9:48 AM, hongxue.ren bigc...@gmail.com wrote: What type is your modem? Check your modem serial setting, and try to use some AT command to change the flow control. On Wed, Jan 27, 2010 at 9:28 AM, Xingwen Huang hxwsi...@gmail.com wrote: I check the data on the port, and find one issue. i use chat util to dial ATD*99***1#, and it got the CONNECT and other data (I guest it is the REQ from the peer) 0d 0a 43 4f 4e 4e 45 43-54 0d 0a (CONNECT) 7e ff 7d 23 c0 21 7d 21-7d 21 7d 20 7d 32 7d 22 7d 26 7d 20 7d 2a 7d 20-7d 20 7d 23 7d 24 c0 23 7d 27 7d 22 7d 28 7d 22-55 83 7e However, the pppd seems to ignore the REQ, sent [LCP ConfReq id=0x1 asyncmap 0x0] rcvd [LCP ConfNak id=0x1 asyncmap 0xa] sent [LCP ConfReq id=0x2 asyncmap 0xa] rcvd [LCP ConfAck id=0x2 asyncmap 0xa] rcvd [LCP ConfReq id=0x1 asyncmap 0xa auth pap pcomp accomp] sent [LCP ConfRej id=0x1 pcomp accomp] rcvd [LCP ConfReq id=0x2 asyncmap 0xa auth pap] sent [LCP ConfAck id=0x2 asyncmap 0xa auth pap] PAP authentication succeeded sent [IPCP ConfReq id=0x2 addr 0.0.0.0 ms-dns1 0.0.0.0 ms-dns3 0.0.0.0] rcvd [IPCP ConfReq id=0x1] rcvd rcvd [LCP TermReq id=0x3] Will that REQ be the point? On Tue, Jan 26, 2010 at 6:08 PM, ypluo lypin...@gmail.com wrote: my work version with China unicom/CMCC /dev/ttyUSB1 crtscts noauth nodetach usepeerdns defaultroute modem 460800 0.0.0.0:0.0.0.0 noipdefault it's highly dependent on your modem implementation, I suggest set less options, and if possible check the modem's log. the ppp link setup proc, firstly AT command for pdp context LCP link setup, may along with auth, then the ipcp procedure to get IP address, please refer to 3GPP TS27.060 -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
Re: [android-porting] Re: hi,how to use mouse in Android
yes,,you are right ,,my mouse is running now..thanks . 2010/1/27 Yi Sun beyo...@gmail.com no, dispatchPinter is the one 2010/1/26 helen.wjt helen@gmail.com: Is mouse handled by method dispatchTrackball() ?? On 2009年12月17日, 下午3时07分, hedwin hedwin.kon...@gmail.com wrote: USBmouseand keyboard do work, only enabled them in the kernel and it worked without any change to android. But then again was using the mips android so not sure yet if specific changes were made there that makes it work. Hedwin On Wed, Dec 16, 2009 at 7:09 PM, Yi Sun beyo...@gmail.com wrote: Android does not supportmouseby default. But you can pick up all the changes from android-x86.org for themousesupport. Check the git logs in frameworks/base and frameworks/policy/base. You will be abel to find the changes And, yes, you need to enabled yourmousedriver in the kernel first. Yi On Wed, 2009-12-16 at 14:56 +0100, hedwin wrote: You need to enable this in the linux kernel. Hedwin On Wed, Dec 16, 2009 at 4:02 AM, jian qin qinjiana0...@gmail.com wrote: I want know how to usemousein Android,please help me. -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com website:http://groups.google.com/group/android-porting -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com website:http://groups.google.com/group/android-porting -- Android-x86 www.android-x86.org -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com website:http://groups.google.com/group/android-porting -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -- Android-x86 http://www.android-x86.org -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: Share: How to make android emulator support larger screen
I have a doubt, could you please clarify it, Just by increasing the DMA Size , how the size got changed to 1024*600, what is the logical connection between the memory size and the display support. Regards kokki On Jan 23, 12:20 pm, James Wang jameswangc...@gmail.com wrote: My colleague solved this problem and made emulator support 1024 * 600 screen. Before, I searched groups and found nothing about it. So I am sharing our solution with others: 1.modify memory.h and change 2M to 4M ~/android1.6r1/kernel/arch/arm/include/asm/memory.h #ifndef CONSISTENT_DMA_SIZE //#define CONSISTENT_DMA_SIZE SZ_2M #define CONSISTENT_DMA_SIZE SZ_4M #endif 2.compile linux kernel make ARCH=arm CROSS_COMPILE=android source path/prebuilt/linux-x86/ toolchain/arm-eabi-4.4.0/bin/arm-eabi- goldfish_defconfig make ARCH=arm CROSS_COMPILE=android source path/prebuilt/linux-x86/ toolchain/arm-eabi-4.4.0/bin/arm-eabi- zImage 3.use new kernel to start up emulator If anything wrong here, please let us know. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Insert new class in Android Source
Hi all, I would like create my personal logger. This class create,read and write a file in data folder. It's possible o there are some problems with permissions? Thanks in advance -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: Hooking into the android input processing line
Hey, i have exactly the same problem. Do I have to recompile the android kernel? (with CONFIG_INPUT_UINPUT Flag enabled) Can I use the NDK for the userspace development too? Thanks for help =) On 26 Jan., 21:30, Cironist simon.graet...@googlemail.com wrote: Ok so I have to build my own android system from source and enable CONFIG_INPUT_UINPUT in the Kernel? And for the userspace code I can utilize the NDK? b.g. On 26 Jan., 15:19, Bill Gatliff bgatl...@gmail.com wrote: Some gaming-related input devices have to do this, they use the existing uinput device that serves as a shim between userspace and the input subsystem. See CONFIG_INPUT_UINPUT. HTH, b.g. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Android Supportted Screent Resolution
Hi , We plan to use Android on our new board, which we didn't decide the resolution yet, so i'm wondering which resolution Android support, i think it's related to the kernel's frame buffer driver, but how about Android itself, is there any limitation about the screen resolution? Thanks Leo -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Novatel Wireless Modem
Hi friends, I am trying to port Android on SAMSUNG NC10 and in order to have an internet connection I am going to use Novatel Wireless Modem... For that reason I have made some experiments on ubuntu and was able to do a connection directly by using pppd, which required ttyUSB device depending on the modules usbserial.ko and option.ko I tried to configure the kernel of android by adding CONFIG_USB_SERIAL=m and CONFIG_USB_SERIAL_OPTION=m... Although there was no problem at the building phase, there occured the following errors at the loading phase of modules in to the out/ files: [ERROR] usbserial : Unknown symbol usb_serial_disconnect [ERROR] usbserial : Unknown symbol usb_serial_probe [ERROR] usbserial : Unknown symbol usb_serial_register and some more of them... Does anyone have an idea about the situation... ??? Regards... -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
Re: [android-porting] Insert new class in Android Source
Applications can't write into the data directory. They can only write into the the sub-directory that is for their app. On Wed, Jan 27, 2010 at 1:55 AM, Ben Linus fabriziomazzar...@gmail.comwrote: Hi all, I would like create my personal logger. This class create,read and write a file in data folder. It's possible o there are some problems with permissions? Thanks in advance -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
Re: [android-porting] Android Supportted Screent Resolution
The SDK documents the current screens that apps should support: http://developer.android.com/guide/practices/screens_support.html On Wed, Jan 27, 2010 at 4:04 AM, Leo Liang lxs...@gmail.com wrote: Hi , We plan to use Android on our new board, which we didn't decide the resolution yet, so i'm wondering which resolution Android support, i think it's related to the kernel's frame buffer driver, but how about Android itself, is there any limitation about the screen resolution? Thanks Leo -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: Eclair on Nokia N900
Can anyone tell how to get more out of the strace log? I have eclair booting and from the log files, nothing seems to be crashing with a segmentation fault, but it never gets to the point where it tries to start the android runtime? Would a target debug build type help? Thanks in advance. On Jan 24, 11:48 am, Brandon robert...@gmail.com wrote: Thanks for the link :-) I've got eclair to boot, but it hangs because zygote keeps restarting, and my strace log has these connection refused messages. Can you make anything of these? recv(1152208640, NULL, 2, 0) = 0 syscall_983045(0x44ad4f00, 0x12ba08, 0, 0x40, 0x44ad4f00, 0xad0425a1, 0x13f1e0, 0xf0005, 0x10, 0xad0425a1, 0x449d5000, 0x13f1e0, 0, 0x44ad4ee8, 0xafe0fd70, 0xafe0d7fc, 0x6010, 0x44ad4f00, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) = 0 prctl(0xf, 0x149d20, 0, 0, 0) = 0 mmap2(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x426f4000 SYS_224(0x12ba08, 0x1, 0xf, 0x44ad4f00) = 538 getpriority(PRIO_PROCESS, 0) = 20 recv(-1391972720, 0x1, 2147483647, 0) = 0 recv(1306992, NULL, 2, 0) = 0 recv(1306996, 0x1, 2147483647, 0) = 0 recv(1306992, 0x1, 1, 0) = 0 socket(PF_UNIX, SOCK_STREAM, 0) = 15 pipe([16, 17]) = 0 getpid() = 535 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({0, 5}, {0, 5}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({0, 75000}, {0, 75000}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({1, 12500}, {1, 12500}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({1, 68700}, {1, 68700}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({2, 0}, {2, 0}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({2, 0}, {2, 0}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({2, 0}, {2, 0}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({2, 0}, {2, 0}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({2, 0}, {2, 0}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({2, 0}, {2, 0}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({2, 0}, {2, 0}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({2, 0}, {2, 0}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({2, 0}, {2, 0}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({2, 0}, {2, 0}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({2, 0}, {2, 0}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({2, 0}, {2, 0}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({2, 0}, {2, 0}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({2, 0}, {2, 0}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({2, 0}, {2, 0}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({2, 0}, {2, 0}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({2, 0}, {2, 0}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({2, 0}, {2, 0}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({2, 0}, {2, 0}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({2, 0}, {2, 0}) = 0 connect(15, {sa_family=AF_UNIX, pa...@jdwp-control}, 15) = -1 ECONNREFUSED (Connection refused) nanosleep({2, 0}, {2, 0}) = 0 connect(15, {sa_family=AF_UNIX,
[android-porting] What does it take for a new device to be Android Compliant?
Hi All, I have a device that I'm designing and would like it to run Android. Moreover, I would like the device to be fully Android compliant, so I would be able to make that claim. Can anyone comment on the following questions or where I'd be able to get more info? 1) Any info on the Android Comliance Test Suite? Specifically, is this similar to how MIDP's TCK is used to verify the application api set? Or does it also contain device hw requirements (e.g., device has to have screen of certain resolution, touch input, etc.) 2) I've noticed that many of the phones share similar hard keys (e.g., home, etc). However, my device may not need all the standard hard keys. Is that okay? (I did read about Microwave running Android at the CES, but I'm not sure about the default hardkey requirements) 3) I'm planning on having the device connect to a centralized server. Depending on the end-user I would like to impose a restriction of whether they would be able download Marketplace applications or not (say the device is loaned to a guest user for the day and I don't want them installing any application). Is this allowed? For the most part, I'd like know more about Android Compliance from a device manufacturers perspective. I appreciate any guidance you may have for me. Thanks, Xavier -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: WIFI - signal strength
Hi, Any Suggestions? Thanks On Wed, Jan 27, 2010 at 11:12 AM, linux newbie linux.newbi...@gmail.comwrote: Hi, In my target hardware, Android is running but the signal strength on top of the screen displays No Signal icon (i.e x on signal strength icon). I have wpa_supplicant running and it is associated with the Access Point. How to enable this icon? Can anyone let me know, which section of the code to be looked upon? Thanks -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: web page not available
Hi, Any suggestions? Thanks On Wed, Jan 27, 2010 at 10:27 AM, linux newbie linux.newbi...@gmail.comwrote: Hi, The supplicant with dhcpcd is running fine and I can able to ping my target hardware from my host. When I tried to load the intranet webpage it says Web Page not available. Can anyone guide me how to debug this issue? Thanks -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: wpa_supplicant issue
The issue is still there. But I can establish the connection with SSID. I enabled wpa_supplicant and dhcpcd as service in init.rc. Then from GUI on selecting WIFI, I can able to connect to SSID. But all the time wpa_driver_priv_driver_cmd failed is keep on displaying (in logcat). If I go to static IP settings window, then bang dhcpcd fails and my target is not connecting to SSID. :( On Wed, Jan 27, 2010 at 8:26 PM, Richard Chang richard.chan...@gmail.comwrote: Hi: I have the same problem, wpa_driver_priv_driver_cmd failed. Did you resolve it? Thanks, On Jan 22, 7:34 am, linux newbie linux.newbi...@gmail.com wrote: Hi, Any suggestions? Thanks On Thu, Jan 21, 2010 at 5:33 PM, linux newbie linux.newbi...@gmail.comwrote: Hi, I modified wifi.c but still couldnt get the UI to display the desired results. This time logcat shows the following error. As I have started the supplicant as service, it is associated to AP. If I do ifconfig eth1 it shows the static IP address assigned. I set the following in init.rc file after making modifications in wifi.c accordingly setprop wifi.interface eth1 setprop wlan.driver.status ok (as driver is built in kernel instead of module) setprop init.svc.wpa_supplicant running (as it is started as service) service wpa_supplicant /system/bin/wpa_supplicant \ -D wext -i eth1 -c /system/etc/wpa_supplicant.conf group wifi When I select WIFI in GUI, my association with AP disconnects. Following is the logcat. Help me to resolve this issue. I/wpa_supplicant( 913): CTRL-EVENT-STATE-CHANGE id=0 state=4 V/WifiMonitor( 2286): Event [CTRL-EVENT-STATE-CHANGE id=0 state=4] I/wpa_supplicant( 913): Associated with 00:23:ab:be:90:70 I/wpa_supplicant( 913): CTRL-EVENT-STATE-CHANGE id=0 state=5 V/WifiStateTracker( 2286): Changing supplicant state: ASSOCIATING == ASSOCIATED D/NetworkStateTracker( 2286): setDetailed state, old =CONNECTING and new state=CONNECTING V/WifiMonitor( 2286): Event [Associated with 00:23:ab:be:90:70] V/WifiMonitor( 2286): Event [CTRL-EVENT-STATE-CHANGE id=0 state=5] V/WifiStateTracker( 2286): Changing supplicant state: ASSOCIATED == FOUR_WAY_HANDSHAKE D/NetworkStateTracker( 2286): setDetailed state, old =CONNECTING and new state=AUTHENTICATING D/ConnectivityService( 2286): ConnectivityChange for WIFI: CONNECTING/AUTHENTICATING I/wpa_supplicant( 913): CTRL-EVENT-STATE-CHANGE id=0 state=5 V/WifiMonitor( 2286): Event [CTRL-EVENT-STATE-CHANGE id=0 state=5] I/wpa_supplicant( 913): CTRL-EVENT-STATE-CHANGE id=0 state=6 V/WifiStateTracker( 2286): Changing supplicant state: FOUR_WAY_HANDSHAKE == FOUR_WAY_HANDSHAKE V/WifiMonitor( 2286): Event [CTRL-EVENT-STATE-CHANGE id=0 state=6] V/WifiStateTracker( 2286): Changing supplicant state: FOUR_WAY_HANDSHAKE == GROUP_HANDSHAKE D/NetworkStateTracker( 2286): setDetailed state, old =AUTHENTICATING and new state=AUTHENTICATING W/ResourceType( 2286): Failure getting entry for 0x7f020080 (t=1 e=128) in package 0: 0xffb5 I/wpa_supplicant( 913): CTRL-EVENT-STATE-CHANGE id=0 state=6 I/wpa_supplicant( 913): WPA: Key negotiation completed with 00:23:ab:be:90:70 [PTK=TKIP GTK=TKIP] I/wpa_supplicant( 913): CTRL-EVENT-STATE-CHANGE id=0 state=7 I/wpa_supplicant( 913): CTRL-EVENT-CONNECTED - Connection to 00:23:ab:be:90:70 completed (reauth) [id=0 id_str=] V/WifiMonitor( 2286): Event [CTRL-EVENT-STATE-CHANGE id=0 state=6] V/WifiStateTracker( 2286): Changing supplicant state: GROUP_HANDSHAKE == GROUP_HANDSHAKE V/WifiMonitor( 2286): Event [WPA: Key negotiation completed with 00:23:ab:be:90:70 [PTK=TKIP GTK=TKIP]] V/WifiMonitor( 2286): Event [CTRL-EVENT-STATE-CHANGE id=0 state=7] V/WifiStateTracker( 2286): Changing supplicant state: GROUP_HANDSHAKE == COMPLETED V/WifiMonitor( 2286): Event [CTRL-EVENT-CONNECTED - Connection to 00:23:ab:be:90:70 completed (reauth) [id=0 id_str=]] V/WifiStateTracker( 2286): New network state is CONNECTED D/NetworkStateTracker( 2286): setDetailed state, old =AUTHENTICATING and new state=OBTAINING_IPADDR D/ConnectivityService( 2286): ConnectivityChange for WIFI: CONNECTING/OBTAINING_IPADDR D/Searchables( 2286): Checking component ComponentInfo{com.google.android.providers.enhancedgooglesearch/com.google.android.providers.enhancedgooglesearch.Launcher} D/dalvikvm( 2286): GREF has increased to 201 D/dalvikvm( 2360): GC freed 3196 objects / 236944 bytes in 341ms I/ActivityThread( 2360): Publishing provider com.android.googlesearch.SuggestionProvider: com.android.googlesearch.SuggestionProvider I/ActivityThread( 2360): Publishing provider call_log: com.android.providers.contacts.CallLogProvider I/ActivityThread( 2360): Publishing provider user_dictionary: com.android.providers.userdictionary.UserDictionaryProvider
Re: [android-porting] Android Supportted Screent Resolution
Thanks Dianne 2010/1/28 Dianne Hackborn hack...@android.com The SDK documents the current screens that apps should support: http://developer.android.com/guide/practices/screens_support.html On Wed, Jan 27, 2010 at 4:04 AM, Leo Liang lxs...@gmail.com wrote: Hi , We plan to use Android on our new board, which we didn't decide the resolution yet, so i'm wondering which resolution Android support, i think it's related to the kernel's frame buffer driver, but how about Android itself, is there any limitation about the screen resolution? Thanks Leo -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] pppd dns problem
Hi all, I have tried to make an internet connection for android x86 on my netbook... Using umts module provided, I have managed to make a connection by using pppd... There exists a ppp0 device after running pppd and it is possible to ping using external ip adresses of internet sites, however when I try to ping with the name of the site, there occurs an bad address problem... Did anyone solve such a problem so far ? Regards ... -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: Share: How to make android emulator support larger screen
Great! Thanks for sharing. On 1月23日, 下午3時20分, James Wang jameswangc...@gmail.com wrote: My colleague solved this problem and made emulator support 1024 * 600 screen. Before, I searched groups and found nothing about it. So I am sharing our solution with others: 1.modify memory.h and change 2M to 4M ~/android1.6r1/kernel/arch/arm/include/asm/memory.h #ifndef CONSISTENT_DMA_SIZE //#define CONSISTENT_DMA_SIZE SZ_2M #define CONSISTENT_DMA_SIZE SZ_4M #endif 2.compile linux kernel make ARCH=arm CROSS_COMPILE=android source path/prebuilt/linux-x86/ toolchain/arm-eabi-4.4.0/bin/arm-eabi- goldfish_defconfig make ARCH=arm CROSS_COMPILE=android source path/prebuilt/linux-x86/ toolchain/arm-eabi-4.4.0/bin/arm-eabi- zImage 3.use new kernel to start up emulator If anything wrong here, please let us know. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: Run application during boot up(.apk file)
Yes, After starting Activity manager and zygote i am able to start application. I dont want to start other application(resides in system/app) but when I simply delete that I am not able to start android so i think some are mandatory. dalkvik is taking time. system manager is starting so many other services I just need activity manager as it is require to start an application I want. So I want as minimum as possible init and only required services to start by system_server process. So if I go to system server code and comment out the other services and only keep activity manager will it do? Actually my intention is to start only an application at boot up time no other init. Regards, Niral On Jan 27, 1:39 pm, Dianne Hackborn hack...@android.com 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 runs, and zygote is the lowest-level dalkvik stuff. An .apk is the highest-level application concept, and needs all of the other platform (system process with all of the system java code like the window manager) to be up and running for it to be able to do anything. On Tue, Jan 26, 2010 at 8:12 PM, Nilly ni...@oriolesoftware.com wrote: I have tried disabling zygote process in init.rc started the .apk using am start. e.g. am start -a android.intent.action.MAIN -n com.iftitah.android.contact/ com.iftitah.android.contact.Contact but it is not starting saying IS SYSTEM RUNNING can not connect to activity manager I want to know if i want to start only single application than what all process is requierd? Regards, Niral On Jan 23, 8:36 pm, Anil Sasidharan anil...@gmail.com wrote: Hi, Try broadcast receiver or intent filter for BOOTUP_COMPLETED notification. Warm Regards, Anil On Sat, Jan 23, 2010 at 5:04 PM, Nilly ni...@oriolesoftware.com wrote: hmm, If I have .apk installed already than is it possible to run it on boot up time? Regards, Niral On Jan 23, 4:27 pm, Dianne Hackborn hack...@android.com wrote: You can't. You need to have the rest of the system running before you can run a .apk. On Fri, Jan 22, 2010 at 8:53 PM, Nilly ni...@oriolesoftware.com wrote: HI All, I want to run an application at startup.I have .apk file. How can I run it at start up? I have looked at the init.rc but it only shows how to run process.but i have seen that dalvikvm other process starts .apk file resides in / system/app folder. If I want to run application (using installing .apk file) at boot up time how can i do that? Rgrds, Niral -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com android-porting%2bunsubscr...@googlegroups.com website:http://groups.google.com/group/android-porting -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them.- Hide quoted text - - Show quoted text - -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com website:http://groups.google.com/group/android-porting-Hide quoted text - - Show quoted text - -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com website:http://groups.google.com/group/android-porting -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them.- Hide quoted text - - Show quoted text - -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
Re: [android-porting] Re: WIFI - signal strength
Hi, Does the wifi-supplicant report RSSI (signal strength) to Android's WiFi layer? Warm Regards, Anil On Thu, Jan 28, 2010 at 4:49 AM, linux newbie linux.newbi...@gmail.com wrote: Hi, Any Suggestions? Thanks On Wed, Jan 27, 2010 at 11:12 AM, linux newbie linux.newbi...@gmail.com wrote: Hi, In my target hardware, Android is running but the signal strength on top of the screen displays No Signal icon (i.e x on signal strength icon). I have wpa_supplicant running and it is associated with the Access Point. How to enable this icon? Can anyone let me know, which section of the code to be looked upon? Thanks -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
Re: [android-porting] Re: wpa_supplicant issue
On Thu, Jan 28, 2010 at 8:29 AM, linux newbie linux.newbi...@gmail.comwrote: The issue is still there. But I can establish the connection with SSID. I enabled wpa_supplicant and dhcpcd as service in init.rc. Then from GUI on selecting WIFI, I can able to connect to SSID. But all the time wpa_driver_priv_driver_cmd failed is keep on displaying (in logcat). What command failed ? I think your wpa_driver_xxx.c or your wifi driver is have some command not matched. you maybe need dump the private command in wpa_supplicant kernel wifi driver to figure out which command is failed. If I go to static IP settings window, then bang dhcpcd fails and my target is not connecting to SSID. :( On Wed, Jan 27, 2010 at 8:26 PM, Richard Chang richard.chan...@gmail.comwrote: Hi: I have the same problem, wpa_driver_priv_driver_cmd failed. Did you resolve it? Thanks, On Jan 22, 7:34 am, linux newbie linux.newbi...@gmail.com wrote: Hi, Any suggestions? Thanks On Thu, Jan 21, 2010 at 5:33 PM, linux newbie linux.newbi...@gmail.comwrote: Hi, I modified wifi.c but still couldnt get the UI to display the desired results. This time logcat shows the following error. As I have started the supplicant as service, it is associated to AP. If I do ifconfig eth1 it shows the static IP address assigned. I set the following in init.rc file after making modifications in wifi.c accordingly setprop wifi.interface eth1 setprop wlan.driver.status ok (as driver is built in kernel instead of module) setprop init.svc.wpa_supplicant running (as it is started as service) service wpa_supplicant /system/bin/wpa_supplicant \ -D wext -i eth1 -c /system/etc/wpa_supplicant.conf group wifi When I select WIFI in GUI, my association with AP disconnects. Following is the logcat. Help me to resolve this issue. I/wpa_supplicant( 913): CTRL-EVENT-STATE-CHANGE id=0 state=4 V/WifiMonitor( 2286): Event [CTRL-EVENT-STATE-CHANGE id=0 state=4] I/wpa_supplicant( 913): Associated with 00:23:ab:be:90:70 I/wpa_supplicant( 913): CTRL-EVENT-STATE-CHANGE id=0 state=5 V/WifiStateTracker( 2286): Changing supplicant state: ASSOCIATING == ASSOCIATED D/NetworkStateTracker( 2286): setDetailed state, old =CONNECTING and new state=CONNECTING V/WifiMonitor( 2286): Event [Associated with 00:23:ab:be:90:70] V/WifiMonitor( 2286): Event [CTRL-EVENT-STATE-CHANGE id=0 state=5] V/WifiStateTracker( 2286): Changing supplicant state: ASSOCIATED == FOUR_WAY_HANDSHAKE D/NetworkStateTracker( 2286): setDetailed state, old =CONNECTING and new state=AUTHENTICATING D/ConnectivityService( 2286): ConnectivityChange for WIFI: CONNECTING/AUTHENTICATING I/wpa_supplicant( 913): CTRL-EVENT-STATE-CHANGE id=0 state=5 V/WifiMonitor( 2286): Event [CTRL-EVENT-STATE-CHANGE id=0 state=5] I/wpa_supplicant( 913): CTRL-EVENT-STATE-CHANGE id=0 state=6 V/WifiStateTracker( 2286): Changing supplicant state: FOUR_WAY_HANDSHAKE == FOUR_WAY_HANDSHAKE V/WifiMonitor( 2286): Event [CTRL-EVENT-STATE-CHANGE id=0 state=6] V/WifiStateTracker( 2286): Changing supplicant state: FOUR_WAY_HANDSHAKE == GROUP_HANDSHAKE D/NetworkStateTracker( 2286): setDetailed state, old =AUTHENTICATING and new state=AUTHENTICATING W/ResourceType( 2286): Failure getting entry for 0x7f020080 (t=1 e=128) in package 0: 0xffb5 I/wpa_supplicant( 913): CTRL-EVENT-STATE-CHANGE id=0 state=6 I/wpa_supplicant( 913): WPA: Key negotiation completed with 00:23:ab:be:90:70 [PTK=TKIP GTK=TKIP] I/wpa_supplicant( 913): CTRL-EVENT-STATE-CHANGE id=0 state=7 I/wpa_supplicant( 913): CTRL-EVENT-CONNECTED - Connection to 00:23:ab:be:90:70 completed (reauth) [id=0 id_str=] V/WifiMonitor( 2286): Event [CTRL-EVENT-STATE-CHANGE id=0 state=6] V/WifiStateTracker( 2286): Changing supplicant state: GROUP_HANDSHAKE == GROUP_HANDSHAKE V/WifiMonitor( 2286): Event [WPA: Key negotiation completed with 00:23:ab:be:90:70 [PTK=TKIP GTK=TKIP]] V/WifiMonitor( 2286): Event [CTRL-EVENT-STATE-CHANGE id=0 state=7] V/WifiStateTracker( 2286): Changing supplicant state: GROUP_HANDSHAKE == COMPLETED V/WifiMonitor( 2286): Event [CTRL-EVENT-CONNECTED - Connection to 00:23:ab:be:90:70 completed (reauth) [id=0 id_str=]] V/WifiStateTracker( 2286): New network state is CONNECTED D/NetworkStateTracker( 2286): setDetailed state, old =AUTHENTICATING and new state=OBTAINING_IPADDR D/ConnectivityService( 2286): ConnectivityChange for WIFI: CONNECTING/OBTAINING_IPADDR D/Searchables( 2286): Checking component ComponentInfo{com.google.android.providers.enhancedgooglesearch/com.google.android.providers.enhancedgooglesearch.Launcher} D/dalvikvm( 2286): GREF has increased to 201 D/dalvikvm( 2360): GC freed 3196 objects / 236944 bytes in 341ms I/ActivityThread( 2360): Publishing provider
Re: [android-porting] Re: wpa_supplicant issue
wpa_driver_priv_driver_cmd calls ioctl SIOCSIWPRIV which is not supported in kernel. On Thu, Jan 28, 2010 at 4:07 PM, ZhangJieJing kzj...@gmail.com wrote: On Thu, Jan 28, 2010 at 8:29 AM, linux newbie linux.newbi...@gmail.comwrote: The issue is still there. But I can establish the connection with SSID. I enabled wpa_supplicant and dhcpcd as service in init.rc. Then from GUI on selecting WIFI, I can able to connect to SSID. But all the time wpa_driver_priv_driver_cmd failed is keep on displaying (in logcat). What command failed ? I think your wpa_driver_xxx.c or your wifi driver is have some command not matched. you maybe need dump the private command in wpa_supplicant kernel wifi driver to figure out which command is failed. If I go to static IP settings window, then bang dhcpcd fails and my target is not connecting to SSID. :( On Wed, Jan 27, 2010 at 8:26 PM, Richard Chang richard.chan...@gmail.com wrote: Hi: I have the same problem, wpa_driver_priv_driver_cmd failed. Did you resolve it? Thanks, On Jan 22, 7:34 am, linux newbie linux.newbi...@gmail.com wrote: Hi, Any suggestions? Thanks On Thu, Jan 21, 2010 at 5:33 PM, linux newbie linux.newbi...@gmail.comwrote: Hi, I modified wifi.c but still couldnt get the UI to display the desired results. This time logcat shows the following error. As I have started the supplicant as service, it is associated to AP. If I do ifconfig eth1 it shows the static IP address assigned. I set the following in init.rc file after making modifications in wifi.c accordingly setprop wifi.interface eth1 setprop wlan.driver.status ok (as driver is built in kernel instead of module) setprop init.svc.wpa_supplicant running (as it is started as service) service wpa_supplicant /system/bin/wpa_supplicant \ -D wext -i eth1 -c /system/etc/wpa_supplicant.conf group wifi When I select WIFI in GUI, my association with AP disconnects. Following is the logcat. Help me to resolve this issue. I/wpa_supplicant( 913): CTRL-EVENT-STATE-CHANGE id=0 state=4 V/WifiMonitor( 2286): Event [CTRL-EVENT-STATE-CHANGE id=0 state=4] I/wpa_supplicant( 913): Associated with 00:23:ab:be:90:70 I/wpa_supplicant( 913): CTRL-EVENT-STATE-CHANGE id=0 state=5 V/WifiStateTracker( 2286): Changing supplicant state: ASSOCIATING == ASSOCIATED D/NetworkStateTracker( 2286): setDetailed state, old =CONNECTING and new state=CONNECTING V/WifiMonitor( 2286): Event [Associated with 00:23:ab:be:90:70] V/WifiMonitor( 2286): Event [CTRL-EVENT-STATE-CHANGE id=0 state=5] V/WifiStateTracker( 2286): Changing supplicant state: ASSOCIATED == FOUR_WAY_HANDSHAKE D/NetworkStateTracker( 2286): setDetailed state, old =CONNECTING and new state=AUTHENTICATING D/ConnectivityService( 2286): ConnectivityChange for WIFI: CONNECTING/AUTHENTICATING I/wpa_supplicant( 913): CTRL-EVENT-STATE-CHANGE id=0 state=5 V/WifiMonitor( 2286): Event [CTRL-EVENT-STATE-CHANGE id=0 state=5] I/wpa_supplicant( 913): CTRL-EVENT-STATE-CHANGE id=0 state=6 V/WifiStateTracker( 2286): Changing supplicant state: FOUR_WAY_HANDSHAKE == FOUR_WAY_HANDSHAKE V/WifiMonitor( 2286): Event [CTRL-EVENT-STATE-CHANGE id=0 state=6] V/WifiStateTracker( 2286): Changing supplicant state: FOUR_WAY_HANDSHAKE == GROUP_HANDSHAKE D/NetworkStateTracker( 2286): setDetailed state, old =AUTHENTICATING and new state=AUTHENTICATING W/ResourceType( 2286): Failure getting entry for 0x7f020080 (t=1 e=128) in package 0: 0xffb5 I/wpa_supplicant( 913): CTRL-EVENT-STATE-CHANGE id=0 state=6 I/wpa_supplicant( 913): WPA: Key negotiation completed with 00:23:ab:be:90:70 [PTK=TKIP GTK=TKIP] I/wpa_supplicant( 913): CTRL-EVENT-STATE-CHANGE id=0 state=7 I/wpa_supplicant( 913): CTRL-EVENT-CONNECTED - Connection to 00:23:ab:be:90:70 completed (reauth) [id=0 id_str=] V/WifiMonitor( 2286): Event [CTRL-EVENT-STATE-CHANGE id=0 state=6] V/WifiStateTracker( 2286): Changing supplicant state: GROUP_HANDSHAKE == GROUP_HANDSHAKE V/WifiMonitor( 2286): Event [WPA: Key negotiation completed with 00:23:ab:be:90:70 [PTK=TKIP GTK=TKIP]] V/WifiMonitor( 2286): Event [CTRL-EVENT-STATE-CHANGE id=0 state=7] V/WifiStateTracker( 2286): Changing supplicant state: GROUP_HANDSHAKE == COMPLETED V/WifiMonitor( 2286): Event [CTRL-EVENT-CONNECTED - Connection to 00:23:ab:be:90:70 completed (reauth) [id=0 id_str=]] V/WifiStateTracker( 2286): New network state is CONNECTED D/NetworkStateTracker( 2286): setDetailed state, old =AUTHENTICATING and new state=OBTAINING_IPADDR D/ConnectivityService( 2286): ConnectivityChange for WIFI: CONNECTING/OBTAINING_IPADDR D/Searchables( 2286): Checking component ComponentInfo{com.google.android.providers.enhancedgooglesearch/com.google.android.providers.enhancedgooglesearch.Launcher}
Re: [android-porting] Re: WIFI - signal strength
Hi, Which section of the code do I need to look at?? Thanks On Thu, Jan 28, 2010 at 3:52 PM, Anil Sasidharan anil...@gmail.com wrote: Hi, Does the wifi-supplicant report RSSI (signal strength) to Android's WiFi layer? Warm Regards, Anil On Thu, Jan 28, 2010 at 4:49 AM, linux newbie linux.newbi...@gmail.com wrote: Hi, Any Suggestions? Thanks On Wed, Jan 27, 2010 at 11:12 AM, linux newbie linux.newbi...@gmail.com wrote: Hi, In my target hardware, Android is running but the signal strength on top of the screen displays No Signal icon (i.e x on signal strength icon). I have wpa_supplicant running and it is associated with the Access Point. How to enable this icon? Can anyone let me know, which section of the code to be looked upon? Thanks -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] BUILD_TINY_ANDROID=true option for building android
hi All, Does any one know about make BUILD_TINY_ANDROID=true It has built the images for me but when I am porting that on board it is not finding the app_process,rild ,mediaserver files and not able to boot it. Has Any one tried this option and able to reach 1 screen? Regards, Niral -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: What does it take for a new device to be Android Compliant?
1) Any info on the Android Comliance Test Suite? Specifically, is this similar to how MIDP's TCK is used to verify the application api set? Or does it also contain device hw requirements (e.g., device has to have screen of certain resolution, touch input, etc.) As far as I heard CTS also mandates lot of h/w features. 2) I've noticed that many of the phones share similar hard keys (e.g., home, etc). However, my device may not need all the standard hard keys. Is that okay? (I did read about Microwave running Android at the CES, but I'm not sure about the default hardkey requirements) HOME, MENU, BACK are mandatory keys a Android handset should support (according to CTS) 3) I'm planning on having the device connect to a centralized server. Depending on the end-user I would like to impose a restriction of whether they would be able download Marketplace applications or not (say the device is loaned to a guest user for the day and I don't want them installing any application). Is this allowed? For the most part, I'd like know more about Android Compliance from a device manufacturers perspective. I appreciate any guidance you may have for me. I guess you have to be part of OHA to this info. Subhash -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting