how to edit the resource.arsc file in the android APK package

2009-04-20 Thread Google_Android_discussion
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

Re: how to edit the resource.arsc file in the android APK package

2009-04-20 Thread Dianne Hackborn
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,

error: The import com.android.internal.telephony.Phone can not be resolved.

2009-04-20 Thread Nio
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)

Re: ☆ About VoIP in Android

2009-04-20 Thread Prajnashi S
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

How to add more languages in the select locale of the emulator

2009-04-20 Thread Google_Android_discussion
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

how does double buffering(front buffer back buffer) in Surface flinger works

2009-04-20 Thread DigitalVision
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

Re: dlopen failed

2009-04-20 Thread Brock A
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

Re: how to edit the resource.arsc file in the android APK package

2009-04-20 Thread Vikram Android
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

www.ghostfashion.com sell ugg boot,tshirt,handbag,nike shoe,jordan shoe,dunk shoe,puma shoe,and so on for free shipping from

2009-04-20 Thread waiguoren1...@gmail.com
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

Using pthreads in Android

2009-04-20 Thread nightwish
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

How does the application Knows EOF(End of file playback)

2009-04-20 Thread DigitalVision
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

Re: Using pthreads in Android

2009-04-20 Thread Jeff Hamilton
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

Re: How does the application Knows EOF(End of file playback)

2009-04-20 Thread Dave Sparks
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

Opencore version in Donut

2009-04-20 Thread umesh
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

Re: Accessing native service from an application

2009-04-20 Thread Yi Sun
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.

Re: Opencore version in Donut

2009-04-20 Thread Jean-Baptiste Queru
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

Re: Accessing native service from an application

2009-04-20 Thread Yi Sun
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,

Think Different,Earn $17500/PM.No Investment 4 any thing.

2009-04-20 Thread i love you sapna,but she not love me?
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

Re: Emulator v1.5

2009-04-20 Thread Xavier Ducrohet
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

Re: Emulator v1.5

2009-04-20 Thread Noah
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

need for ACTION_LOCALE_CHANGED intent?

2009-04-20 Thread va
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

making a service persistent

2009-04-20 Thread va
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

Re: making a service persistent

2009-04-20 Thread Dianne Hackborn
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,

Re: need for ACTION_LOCALE_CHANGED intent?

2009-04-20 Thread Dianne Hackborn
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

Re: Emulator v1.5

2009-04-20 Thread im.thatoneguy
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

Re: Accessing native service from an application

2009-04-20 Thread Archer
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:

Re: Emulator v1.5

2009-04-20 Thread Noah
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

Re: Accessing native service from an application

2009-04-20 Thread Yi Sun
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

BT icon on the device

2009-04-20 Thread Dan Raaka
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