how to edit the resource.arsc file in the android APK package
Hi, I would like to edit the resource.arsc file with the android APK package. Addition/modification of the string values. Br, Vikram --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: how to edit the resource.arsc file in the android APK package
You can't, this is the binary from compiling the resource source files, like the dex files generated from the java sources. I think someone may have written something to extract some information from them, and aapt has some command to dump parts of it, but you can't just edit it. On Mon, Apr 20, 2009 at 12:22 AM, Google_Android_discussion vikram.da...@gmail.com wrote: Hi, I would like to edit the resource.arsc file with the android APK package. Addition/modification of the string values. Br, Vikram -- 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. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
error: The import com.android.internal.telephony.Phone can not be resolved.
Hi there, I'm trying to invoke the functions belong to class phone and PhoneFactory. But when I'm trying to import these packages, it reminds errors: code: import com.android.internal.telephony.Phone import com.android.internal.telephony.PhoneFactory ... PhoneFactory.makeDefaultPhones(this) Phone phone = PhoneFactory.getDefaultPhone() error: The com.android.internal.telephony.Phone can not be resolved. The com.android.internal.telephony.PhoneFactory can not be resolved. But some other packages can be imported. I don't know why. I think all this packages should be included in the SDK. Can any one tell me where I am getting wrong? Thanks. Nio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: ☆ About VoIP in Android
There is a project gst-openmax to make gstreamer support OpenMAX. If your hardware vendor provide OpenMAX, you can use it. 2009/4/16 Han Chao hancha...@gmail.com Thank you very much. Do you have plan for how to use HW codec if Android system has it. On 4月13日, 上午11时10分, Prajnashi S prajna...@gmail.com wrote: I'm not sure PV 2-way can support it. There are some gstreamer based voip solution. http://fossvoip.blogspot.com/2005/12/new-gstreamer-010-released-and-n... And, we also have a project to port gstreamer to android. http://groups.google.com/group/prajnashi On Sun, Apr 12, 2009 at 12:27 PM, hanchao3c hancha...@gmail.com wrote: The best method is PacketVideo can support VoIP. Who know the detail information of such plan.? If PacketVideo don't support it. Is there a standard method to use the hardware codec for VoIp? A Non-technical problem is that the usage of Android is mobile phone. It seems carriers don't like the VoIP. -- -- Prajnashi S -- -- Prajnashi S --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
How to add more languages in the select locale of the emulator
Hi, How to add more languages in the settings/languages and Text/selction Locale of the emulator. Right now , there are only 3 languages (german, en-UK, en-US) are there. I want to add swedish and danish as well in the select locale. I tried using the following command in the ADB shell as well. setprop persist.sys.language [[language code]];setprop persist.sys.country [[country code]];stop;sleep 5;start But tell me how to add these language in the emulator. Br, Vikram --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
how does double buffering(front buffer back buffer) in Surface flinger works
HI There Does any one knows how the double buffering (front buffer back buffer) works in surface flinger and what is the use having 2 buffers. When playback of a video file ends how does these buffers reset and who sends the event to surface flinger saying these there is a End of file so that surface flinger will reset these buffers. Thanks Srini Gosangi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: dlopen failed
While not directly related to this scenario, there is at least 1 bug in the linker that I know about - http://code.google.com/p/android/issues/detail?id=2042. I wouldn't necessarily say that the situation described in this thread is a bug though. It sounds more like a problem with the library sizes and not being given enough room in memory from the prelink map. I'm not exactly sure of all the pros and cons of using the prelink map, but at the very least, it's supposed to load the libraries faster since the memory address is set at build time. I haven't looked, but there may be some other discussions about the prelink map file in the android groups somewhere. That might give you some better information for your decision on whether to keep your library in the prelink map or not. -Brock On Apr 20, 1:20 am, hsiung cdhsi...@gmail.com wrote: Hi Brock, I have tried the first approach. It works. Thanks. Does it mean that we have some bugs in the dynamic linking loader? To avoid this kind of problem, should we complete discard prelink? Hank On Apr 17, 10:15 pm, Brock A batchi...@pv.com wrote: You could try adding LOCAL_PRELINK_MODULE := false to the Android.mk and removing the library from the prelink map. That might avoid the problem if it's related to the location of the library in memory. Also, I've seen dlopen fail if you give the library -just- enough space in the prelink map file. I never debugged the issue further. Giving it just a little breathing room in memory seemed to resolve the issue. -Brock On Apr 17, 2:53 am, Hank hank.and.gr...@gmail.com wrote: Hi, I traced the problem a little bit deeper. In linker.c, load_library(), it will invoke get_lib_extents() to get from the ELF the mmap_addr, which should be given in compile time. The code later goes to alloc_mem_region() which then calls reserve_mem_region() to mmap the ELF to mmap_addr. If the hint mmap_addr is not used, it simply un- mapped and returns an error. Why does it return fail instead of using the address provided by mmap? Why would the mmapping to the given address failed? Low memory? Is it possible to prevent this problem by remove the library from the prelink map? Hank On Apr 16, 9:05 pm, Hank hank.and.gr...@gmail.com wrote: Hi group, I encountered a dlopen() failure and got a message of DL_ERR_CANNOT_FIND_LIBRARY. The target library is under /system/lib. It is also in the prelink-linux-arm.map. I think low memory might be a possibility. Thus, I tried to kill some process to release some memory, but the result is the same. I stopped my trace at find_library (), linker.c because I can't get log from here and there are several possible conditions. To sum up: 1. not because the library is not in the filesystem 2. not because of low memory 3. not because it is not in the prelink-linux-arm.map What else can make dlopen() failed? Thanks! Hank --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: how to edit the resource.arsc file in the android APK package
Hi, Then can you tell me is there any possibility to add the new language string sets/values to the existing APK ??? Br, Vikram --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
www.ghostfashion.com sell ugg boot,tshirt,handbag,nike shoe,jordan shoe,dunk shoe,puma shoe,and so on for free shipping from
Get Nike Shoes at Super Cheap Prices Discount Nike air jordans (www.ghostfashion.com) Discount Nike Air Max 90 Sneakers (www.ghostfashion.com) Discount Nike Air Max 91 Supplier (www.ghostfashion.com) Discount Nike Air Max 95 Shoes Supplier (www.ghostfashion.com) Discount Nike Air Max 97 Trainers (www.ghostfashion.com) Discount Nike Air Max 2003 Wholesale (www.ghostfashion.com) Discount Nike Air Max 2004 Shoes Wholesale (www.ghostfashion.com) Discount Nike Air Max 2005 Shop (www.ghostfashion.com) Discount Nike Air Max 2006 Shoes Shop (www.ghostfashion.com) Discount Nike Air Max 360 Catalogs (www.ghostfashion.com) Discount Nike Air Max Ltd Shoes Catalogs (www.ghostfashion.com) Discount Nike Air Max Tn Men's Shoes (www.ghostfashion.com) Discount Nike Air Max Tn 2 Women's Shoes (www.ghostfashion.com) Discount Nike Air Max Tn 3 Customize (www.ghostfashion.com) Discount Nike Air Max Tn 4 Shoes Customize ( www.ghostfashion.com) Discount Nike Air Max Tn 6 Supply (www.ghostfashion.com) Discount Nike Shox NZ Shoes Supply (www.ghostfashion.com) Discount Nike Shox OZ Sale (www.ghostfashion.com) Discount Nike Shox TL Store (www.ghostfashion.com) Discount Nike Shox TL 2 Shoes Store (www.ghostfashion.com) Discount Nike Shox TL 3 Distributor (www.ghostfashion.com) Discount Nike Shox Bmw Shoes Distributor (www.ghostfashion.com) Discount Nike Shox Elite Shoes Manufacturer (www.ghostfashion.com) Discount Nike Shox Monster Manufacturer (www.ghostfashion.com) Discount Nike Shox R4 Running Shoes (www.ghostfashion.com) Discount Nike Shox R5 Mens Shoes (www.ghostfashion.com) Discount Nike Shox Ride Womens Shoes (www.ghostfashion.com) Discount Nike Shox Rival Shoes Wholesaler (www.ghostfashion.com) Discount Nike Shox Energia Wholesaler (www.ghostfashion.com) Discount Nike Shox LV Sneaker (www.ghostfashion.com) Discount Nike Shox Turbo Suppliers (www.ghostfashion.com) Discount Nike Shox Classic Shoes Suppliers (www.ghostfashion.com) Discount Nike Shox Dendara Trainer (www.ghostfashion.com) Discount Nike Air Jordan 1 Seller (www.ghostfashion.com) Discount Nike Air Jordan 2 Shoes Seller (www.ghostfashion.com) Discount Nike Air Jordan 3 Collection (www.ghostfashion.com) Discount Nike Air Jordan 4 Shoes Collection (www.ghostfashion.com) Discount Nike Air Jordan 5 Chaussure Shoes (www.ghostfashion.com) Discount Nike Air Jordan 6 Catalog (www.ghostfashion.com) Discount Nike Air Jordan 7 Shoes Catalog (www.ghostfashion.com) Discount Nike Air Jordan 8 Customized (www.ghostfashion.com) Discount Nike Air Jordan 9 Shoes Customized (www.ghostfashion.com) Discount Nike Air Jordan 10 Wholesalers (www.ghostfashion.com) Discount Nike Jordan 11 Shoes Wholesalers (www.ghostfashion.com) Discount Nike Air Jordan 12 Factory (www.ghostfashion.com) Discount Nike Air Jordan 13 Shoes Factory (www.ghostfashion.com) Discount Nike Air Jordan 14 Shoes Sell (www.ghostfashion.com) Discount Nike Air Jordan 16 Exporter (www.ghostfashion.com) Discount Nike Air Jordan 17 Shoes Exporter (www.ghostfashion.com) Discount Nike Air Jordan 18 Offer (www.ghostfashion.com) Discount Nike Air Jordan 19 Shoes Offer (www.ghostfashion.com) Discount Nike Air Jordan 20 Manufacture (www.ghostfashion.com) Discount Nike Jordan 21 Shoes Manufacture (www.ghostfashion.com) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Using pthreads in Android
Is it advisable to use pthread APIs in Andriod library layer? I need to use pthread_join for my component written in C++. But unfortunately i dint find any APIs which support this is Threads.cpp. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
How does the application Knows EOF(End of file playback)
Hi There Does any one knows how does MediaPlayer Opencore knows the EOF (End of file while video file playback), It wd be great if any one point me where to look for the specific APIs/Code for EOF/EOS(End of stream) handling. Thanks Srini Gosangi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Using pthreads in Android
Bionic does have support for pthreads, including pthread_join(). See bionic/libc/include/pthread.h. -Jeff On Mon, Apr 20, 2009 at 9:02 AM, nightwish sunidwil...@gmail.com wrote: Is it advisable to use pthread APIs in Andriod library layer? I need to use pthread_join for my component written in C++. But unfortunately i dint find any APIs which support this is Threads.cpp. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: How does the application Knows EOF(End of file playback)
The application can register for a playback complete message on the MediaPlayer. The exact mechanism for propagating that message to the app will depend on the implementation of MediaPlayerInterface.h. On Apr 20, 9:34 am, DigitalVision samgo1...@gmail.com wrote: Hi There Does any one knows how does MediaPlayer Opencore knows the EOF (End of file while video file playback), It wd be great if any one point me where to look for the specific APIs/Code for EOF/EOS(End of stream) handling. Thanks Srini Gosangi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Opencore version in Donut
what is the Opencore version used in Donut release? How can we check it from the source? Regards, Umesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Accessing native service from an application
See inline.., what I tell u is only something works but may not be the good way On Apr 20, 2009, at 12:07 PM, Archer archerstark...@gmail.com wrote: Greetings, Dianne, Yi and others, I have a need to do something similar, that is to access a backend native service from the application. Going through the messages here, there are several things that are unclear to me. I'd really appreciate if you can provide more information on them. (1) On the native service side (C/C++), I can create a native binder service class. I can also implement a native executable to instantiate the binder service and add the service to the service manager. Then what is the right way to start the native service? (Run the native executable in some start up scripts?) [yi] I hook it up from init.rc (2) On the application side (Java), Dianne, you mentioned make a shared library that apps request with uses-library, exactly what is this shared library? Is it the native shared library containing the interface implementation of the service? [yi] take a look at developer/samples/platform you will get it Archer On Apr 1, 10:46 am, Dianne Hackborn hack...@android.com wrote: On Wed, Apr 1, 2009 at 5:39 AM, iblues iblues@gmail.com wrote: With respect to performance, which approach is more better? Because all the other modules in Android such as Camera or Media Recorder module all use native binding and JNI layer for java access. It just depends how you want to structure things. Eventually you are going to hit the IPC barrier; the most important thing is probably to keep that as efficient as possible (in particular reducing the number of IPCs that occur as much as possible). -- 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. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Opencore version in Donut
The open-source donut tree is currently identical to the latest cupcake code drop. JBQ On Mon, Apr 20, 2009 at 12:05 PM, umesh umes...@gmail.com wrote: what is the Opencore version used in Donut release? How can we check it from the source? Regards, Umesh -- Jean-Baptiste M. JBQ Queru Android Engineer, Google. Questions sent directly to me that have no reason for being private will likely get ignored or forwarded to a public forum with no further warning. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Accessing native service from an application
Sorry, the path mentioned in the last e-mail is wrong. The correct path is development/samples/PlatformLibrary/ On Mon, Apr 20, 2009 at 12:22 PM, Yi Sun beyo...@gmail.com wrote: See inline.., what I tell u is only something works but may not be the good way On Apr 20, 2009, at 12:07 PM, Archer archerstark...@gmail.com wrote: Greetings, Dianne, Yi and others, I have a need to do something similar, that is to access a backend native service from the application. Going through the messages here, there are several things that are unclear to me. I'd really appreciate if you can provide more information on them. (1) On the native service side (C/C++), I can create a native binder service class. I can also implement a native executable to instantiate the binder service and add the service to the service manager. Then what is the right way to start the native service? (Run the native executable in some start up scripts?) [yi] I hook it up from init.rc (2) On the application side (Java), Dianne, you mentioned make a shared library that apps request with uses-library, exactly what is this shared library? Is it the native shared library containing the interface implementation of the service? [yi] take a look at developer/samples/platform you will get it Archer On Apr 1, 10:46 am, Dianne Hackborn hack...@android.com wrote: On Wed, Apr 1, 2009 at 5:39 AM, iblues iblues@gmail.com wrote: With respect to performance, which approach is more better? Because all the other modules in Android such as Camera or Media Recorder module all use native binding and JNI layer for java access. It just depends how you want to structure things. Eventually you are going to hit the IPC barrier; the most important thing is probably to keep that as efficient as possible (in particular reducing the number of IPCs that occur as much as possible). -- 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. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Think Different,Earn $17500/PM.No Investment 4 any thing.
Thing Different to all, Earn more then, $17500/PM..4 more details on website. www.earningzones.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Emulator v1.5
Just open a windows command prompt, and type set :) thanks, Xav On Mon, Apr 20, 2009 at 2:12 PM, Noah noahcol...@gmail.com wrote: Sure. I'm new to Android development and have only gone through getting the emulator and Eclipse set up. If you can be more specific about what commands you would like me to run, I will post the results for you. Thanks On Apr 20, 2:04 pm, Xavier Ducrohet x...@android.com wrote: Hi Noah, can you send me the result of the set command in a command prompt. I'd like to see how the new path to your user directory is setup to figure out what is going wrong with emulator. thanks Xav On Sun, Apr 19, 2009 at 7:39 PM, Noah noahcol...@gmail.com wrote: Yes, I am running Vista x64. I have also manually moved directories like Documents, Music, etc from the C drive to D, in case it was picking up something there. Also, strangely enough, the emulator worked after copying the files to C but saved emulator-user.ini and other *.img files to the location on D. The locations are: C:\Users\Noah\.android\avd D:\Profile\.android\avd (Profile being where I chose to move my documents) If you need more information, please let me know. Thanks On Apr 19, 5:57 pm, Xavier Ducrohet x...@android.com wrote: Hi Noah, It looks like the Java API used by the Android tool to return the home user folder properly found it in D:\... However, the C API used by the emulator seems to return the wrong one (using the default C:\User\XXX) We'll have to see if/how we can fix this. From the path you mention, I'm guessing you are running Vista? Were the AVD files properly located under home/.android/.avd/ at least? thanks Xav On Sun, Apr 19, 2009 at 11:14 AM, Noah noahcol...@gmail.com wrote: I am having the same issue. Running that command gave me the following: emulator: could not open .ini file: C:\Users\\.android/avd/ TestAVD.ini: No such file or directory emulator: ERROR: unknown virtual device name: 'TestAVD' emulator: could not find virtual device named 'TestAVD' The android batch file created the AVD on D:. I copied the files to C: where it's expecting them and I guess I'll have to remember that when running commands. Should also probably be a bug to look into. The SDK in on D as is my Users directory. Thanks. On Apr 15, 2:44 am, Raphael r...@android.com wrote: Can you start the emulator with the following debug option? $ emulator -debug avd_config -avd android11 That will show us the exact error. R. On Tue, Apr 14, 2009 at 3:30 PM, im.thatoneguy im.thatone...@gmail.com wrote: I created an AVD Android11 If I run Android list avd it lists android11 as the first available AndroidVirtualDevices. If I run Emulator -avd android11 it gives me an error: emulator: ERRORunknowndevicename: 'android11' emulator: could not find vritualdevicenamed 'android11' do I need to move the .android/avd/ folder somewhere specific for the emulator to see them? Android sees it just not emulator. -- Xavier Ducrohet Android Developer Tools Engineer Google Inc. -- Xavier Ducrohet Android Developer Tools Engineer Google Inc. -- Xavier Ducrohet Android Developer Tools Engineer Google Inc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Emulator v1.5
Ah, now I feel stupid, I figured it was a command with the emulator :) Anyway, here are all the environment variables: C:\Users\Noahset ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\Noah\AppData\Roaming CLASSPATH=.;C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files COMPUTERNAME=THOR ComSpec=C:\Windows\system32\cmd.exe FP_NO_HOST_CHECK=NO HOMEDRIVE=C: HOMEPATH=\Users\Noah LOCALAPPDATA=C:\Users\Noah\AppData\Local LOGONSERVER=\\THOR NUMBER_OF_PROCESSORS=4 OS=Windows_NT Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C: \Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Windows\System32\WindowsPowerShell \v1.0\ PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 7, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=1707 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) PROMPT=$P$G PUBLIC=C:\Users\Public QTJAVA=C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\Windows TEMP=C:\Users\Noah\AppData\Local\Temp TMP=C:\Users\Noah\AppData\Local\Temp USERDOMAIN=Thor USERNAME=Noah USERPROFILE=C:\Users\Noah VS90COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\ windir=C:\Windows On Apr 20, 5:16 pm, Xavier Ducrohet x...@android.com wrote: Just open a windows command prompt, and type set :) thanks, Xav On Mon, Apr 20, 2009 at 2:12 PM, Noah noahcol...@gmail.com wrote: Sure. I'm new to Android development and have only gone through getting the emulator and Eclipse set up. If you can be more specific about what commands you would like me to run, I will post the results for you. Thanks On Apr 20, 2:04 pm, Xavier Ducrohet x...@android.com wrote: Hi Noah, can you send me the result of the set command in a command prompt. I'd like to see how the new path to your user directory is setup to figure out what is going wrong with emulator. thanks Xav On Sun, Apr 19, 2009 at 7:39 PM, Noah noahcol...@gmail.com wrote: Yes, I am running Vista x64. I have also manually moved directories like Documents, Music, etc from the C drive to D, in case it was picking up something there. Also, strangely enough, the emulator worked after copying the files to C but saved emulator-user.ini and other *.img files to the location on D. The locations are: C:\Users\Noah\.android\avd D:\Profile\.android\avd (Profile being where I chose to move my documents) If you need more information, please let me know. Thanks On Apr 19, 5:57 pm, Xavier Ducrohet x...@android.com wrote: Hi Noah, It looks like the Java API used by the Android tool to return the home user folder properly found it in D:\... However, the C API used by the emulator seems to return the wrong one (using the default C:\User\XXX) We'll have to see if/how we can fix this. From the path you mention, I'm guessing you are running Vista? Were the AVD files properly located under home/.android/.avd/ at least? thanks Xav On Sun, Apr 19, 2009 at 11:14 AM, Noah noahcol...@gmail.com wrote: I am having the same issue. Running that command gave me the following: emulator: could not open .ini file: C:\Users\\.android/avd/ TestAVD.ini: No such file or directory emulator: ERROR: unknown virtual device name: 'TestAVD' emulator: could not find virtual device named 'TestAVD' The android batch file created the AVD on D:. I copied the files to C: where it's expecting them and I guess I'll have to remember that when running commands. Should also probably be a bug to look into. The SDK in on D as is my Users directory. Thanks. On Apr 15, 2:44 am, Raphael r...@android.com wrote: Can you start the emulator with the following debug option? $ emulator -debug avd_config -avd android11 That will show us the exact error. R. On Tue, Apr 14, 2009 at 3:30 PM, im.thatoneguy im.thatone...@gmail.com wrote: I created an AVD Android11 If I run Android list avd it lists android11 as the first available AndroidVirtualDevices. If I run Emulator -avd android11 it gives me an error: emulator: ERRORunknowndevicename: 'android11' emulator: could not find vritualdevicenamed 'android11' do I need to move the .android/avd/ folder somewhere specific for the emulator to see them? Android sees it just not emulator. -- Xavier Ducrohet Android Developer Tools Engineer Google Inc. -- Xavier Ducrohet Android Developer Tools Engineer Google Inc. -- Xavier Ducrohet Android Developer Tools Engineer Google Inc.
need for ACTION_LOCALE_CHANGED intent?
I'm implementing a service that needs to be aware of locale changes. This can currently be done by having the service listen to the ACTION_CONFIGURATION_CHANGED intent. However, this intent occurs way too often - orientation and keyboard changes etc. Can we add a separate ACTION_LOCALE_CHANGED intent? I'd suggest that in ActivityManagerSerivce.updateConfigurationLocked (), after we broadcast a ACTION_CONFIGURATION_CHANGED, we also post a ACTION_LOCALE_CHANGED (with the locale info), if the configuration update is related to a locale change. (This intent can perhaps be sticky too). This way, the service gets notified only of locale changes, and it does not have to repeatedly process configuration changes and ignore a majority of them as they are not related to locale. Thoughts? Thanks, V --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
making a service persistent
The android manifest entry android:persistent and the setPersistent() api allows Activities be marked as persistent, so that they do not get killed by the low memory killer. Does the framework provide any mechanism to mark a Service as persistent, so that LMK does not affect it? Thanks, V --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: making a service persistent
Not really. If you are building your own device, you can make new persistent processes like the existing phone process (look at its manifest to see how it is set up), but unless you have a lot of memory this is strongly discouraged because of the resources it uses. In a stock platform build, that is the only application process that has any kind of persistence. On Mon, Apr 20, 2009 at 2:42 PM, va vandra.w...@gmail.com wrote: The android manifest entry android:persistent and the setPersistent() api allows Activities be marked as persistent, so that they do not get killed by the low memory killer. Does the framework provide any mechanism to mark a Service as persistent, so that LMK does not affect it? Thanks, V -- 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. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: need for ACTION_LOCALE_CHANGED intent?
Every Service gets onConfigurationChanged() called on it when the configuration changes; just implement that, and do your work if the locale in the new configuration is different than the current one you are using. On Mon, Apr 20, 2009 at 2:34 PM, va vandra.w...@gmail.com wrote: I'm implementing a service that needs to be aware of locale changes. This can currently be done by having the service listen to the ACTION_CONFIGURATION_CHANGED intent. However, this intent occurs way too often - orientation and keyboard changes etc. Can we add a separate ACTION_LOCALE_CHANGED intent? I'd suggest that in ActivityManagerSerivce.updateConfigurationLocked (), after we broadcast a ACTION_CONFIGURATION_CHANGED, we also post a ACTION_LOCALE_CHANGED (with the locale info), if the configuration update is related to a locale change. (This intent can perhaps be sticky too). This way, the service gets notified only of locale changes, and it does not have to repeatedly process configuration changes and ignore a majority of them as they are not related to locale. Thoughts? Thanks, V -- 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. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Emulator v1.5
Where do you set this variable? An ini file? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Accessing native service from an application
Got it. That's very helpful. Thank you so much, Yi. Archer On Apr 20, 12:56 pm, Yi Sun beyo...@gmail.com wrote: Sorry, the path mentioned in the last e-mail is wrong. The correct path is development/samples/PlatformLibrary/ On Mon, Apr 20, 2009 at 12:22 PM, Yi Sun beyo...@gmail.com wrote: See inline.., what I tell u is only something works but may not be the good way On Apr 20, 2009, at 12:07 PM, Archer archerstark...@gmail.com wrote: Greetings, Dianne, Yi and others, I have a need to do something similar, that is to access a backend native service from the application. Going through the messages here, there are several things that are unclear to me. I'd really appreciate if you can provide more information on them. (1) On the native service side (C/C++), I can create a native binder service class. I can also implement a native executable to instantiate the binder service and add the service to the service manager. Then what is the right way to start the native service? (Run the native executable in some start up scripts?) [yi] I hook it up from init.rc (2) On the application side (Java), Dianne, you mentioned make a shared library that apps request with uses-library, exactly what is this shared library? Is it the native shared library containing the interface implementation of the service? [yi] take a look at developer/samples/platform you will get it Archer On Apr 1, 10:46 am, Dianne Hackborn hack...@android.com wrote: On Wed, Apr 1, 2009 at 5:39 AM, iblues iblues@gmail.com wrote: With respect to performance, which approach is more better? Because all the other modules in Android such as Camera or Media Recorder module all use native binding and JNI layer for java access. It just depends how you want to structure things. Eventually you are going to hit the IPC barrier; the most important thing is probably to keep that as efficient as possible (in particular reducing the number of IPCs that occur as much as possible). -- 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. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Emulator v1.5
Thanks Xav, I'll give this a try a bit later when I get a chance. im.thatoneguy - In Windows Vista, go to System (from Control Panel), click Advanced System Settings, Advanced tab, Environment Variables. Then add a new System Variable. XP is similar. On Apr 20, 6:39 pm, im.thatoneguy im.thatone...@gmail.com wrote: Where do you set this variable? An ini file? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Accessing native service from an application
Not me, it is Dianne :-) On Mon, 2009-04-20 at 15:39 -0700, Archer wrote: Got it. That's very helpful. Thank you so much, Yi. Archer On Apr 20, 12:56 pm, Yi Sun beyo...@gmail.com wrote: Sorry, the path mentioned in the last e-mail is wrong. The correct path is development/samples/PlatformLibrary/ On Mon, Apr 20, 2009 at 12:22 PM, Yi Sun beyo...@gmail.com wrote: See inline.., what I tell u is only something works but may not be the good way On Apr 20, 2009, at 12:07 PM, Archer archerstark...@gmail.com wrote: Greetings, Dianne, Yi and others, I have a need to do something similar, that is to access a backend native service from the application. Going through the messages here, there are several things that are unclear to me. I'd really appreciate if you can provide more information on them. (1) On the native service side (C/C++), I can create a native binder service class. I can also implement a native executable to instantiate the binder service and add the service to the service manager. Then what is the right way to start the native service? (Run the native executable in some start up scripts?) [yi] I hook it up from init.rc (2) On the application side (Java), Dianne, you mentioned make a shared library that apps request with uses-library, exactly what is this shared library? Is it the native shared library containing the interface implementation of the service? [yi] take a look at developer/samples/platform you will get it Archer On Apr 1, 10:46 am, Dianne Hackborn hack...@android.com wrote: On Wed, Apr 1, 2009 at 5:39 AM, iblues iblues@gmail.com wrote: With respect to performance, which approach is more better? Because all the other modules in Android such as Camera or Media Recorder module all use native binding and JNI layer for java access. It just depends how you want to structure things. Eventually you are going to hit the IPC barrier; the most important thing is probably to keep that as efficient as possible (in particular reducing the number of IPCs that occur as much as possible). -- 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. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
BT icon on the device
With Blue tooth turned on, the device shows the headset icon for a computer that supports A2DP among other things. Is this by design or a bug in the display? The user would expect to see the computer icon .. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups android-framework group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---