[android-developers] Re: orientation change crashes when ids are not unique

2009-03-17 Thread skink
On 17 Mar, 21:01, Dianne Hackborn hack...@android.com wrote: Yes, the ID is used to propagate the saved state to the appropriate view in the next instance.  Use different IDs.  Why do you even want to use the same ID? i created come container view (extending ViewGroup) with fixed number of

[android-developers] Re: orientation change crashes when ids are not unique

2009-03-17 Thread skink
Dianne Hackborn napisał(a): Yes, the ID is used to propagate the saved state to the appropriate view in the next instance. Use different IDs. Why do you even want to use the same ID? also i had similar problem some time ago

[android-developers] Re: Emulator not starting

2009-03-17 Thread Ikon
Not sure if this will work, but try going to the command line and go to the android tools dir, run: adb kill-server adb start-server See if that fixes it. On Mar 17, 6:48 pm, amiz aarn...@gmail.com wrote: I am running Eclipse on XP.  The Emulator was running correctly but all of sudden today

[android-developers] Re: android.os.ServiceManager

2009-03-17 Thread Seer
Sorry just to be clear. You work on the framework but not the base/telephony part of the framework? Is there anything in the framework that allows an application to replace or override part of a framework classes functionality? I know it is unlikely but figured it is work asking. The following

[android-developers] Why does eclipse need internet access to work?

2009-03-17 Thread amiz
Inadvertently, I blocked eclipse from accessing the internet, which prevented the emulator from running (see my other post). Once I removed the block, eclipse and the emulator worked again. Anyone knows why is network access required for eclipse to work? Thanks

[android-developers] Re: ADT Layout Editor

2009-03-17 Thread Susan
I still don't know how long time I will wait. Could you please tell me just an approximate time it will be released? Thanks On 3月17日, 下午2时22分, Xavier Ducrohet x...@android.com wrote: Hi, This will probably come in the version following the plugin released with cupcake. Note that even

[android-developers] Re: ListView for XML data

2009-03-17 Thread Greg Krimer
Well, I have not seen an example of exactly what you're doing, but it's pretty easy. Since the data is not in an array or cursor, I would extend BaseAdapter to create my own adapter for this data to drive the list view. The data should probably be in some sort of collection that the adapter can

[android-developers] Re: Why does eclipse need internet access to work?

2009-03-17 Thread Faber Fedor
On Tue, Mar 17, 2009 at 9:47 PM, amiz aarn...@gmail.com wrote: Anyone knows why is network access required for eclipse to work? It doesn't. I just turned off Airport on my MB, fired up Eclipse, and successfully started up my app in emulator mode. Must be something special in your setup.

[android-developers] Re: GridView ImageView and performance

2009-03-17 Thread ifuller1
I think my shuffling and your memory errors are related. My understanding at this point is the data being displayed in a view and the view itself really need to be separated. Recycled views are simply other views of this type - so using the view to hold/load its own content might result in

[android-developers] How can I import any widgets under com.android.internal.widget into my app?

2009-03-17 Thread mongd
Hi, I'm trying to use some widgets under com.android.internal.widget from my app. I found some basic apps like Settings use those widgets, so I think there is a way to import those widget into my app, but I can't find. I'm using Eclipse under Windows XP, meaning that I have sdk only. To do the

[android-developers] Re: Re-register AlarmManager events on upgrades

2009-03-17 Thread Dianne Hackborn
Fwiw, cupcake will add a new field to PACKAGE_ADDED to tell you if this was due to an update, and allow this broadcast to be received by the app to restart itself. On Tue, Mar 17, 2009 at 3:44 PM, daniel.benedykt daniel.bened...@gmail.comwrote: Hi I have the same problem. As far as I know

[android-developers] How to simulate HW key events?

2009-03-17 Thread Gerald
Hi, I want to create a virtual key panel just like the status bar but at the screen bottom. And I want to put several keys on the panel (Home, Call, Menu, Back, End Call, etc). How can I send key events to android system? Any side effect to the system? (effect KeyGuard?) Thank you Gerald

[android-developers] Re: android.os.ServiceManager

2009-03-17 Thread Dianne Hackborn
On Tue, Mar 17, 2009 at 6:44 PM, Seer gilligan.ch...@gmail.com wrote: Sorry just to be clear. You work on the framework but not the base/telephony part of the framework? Yes. Is there anything in the framework that allows an application to replace or override part of a framework classes

[android-developers] Re: How to simulate HW key events?

2009-03-17 Thread Dianne Hackborn
Third party applications can't do this. If you are using the platform for a device, you can post to android-platform for help working at the platform level. On Tue, Mar 17, 2009 at 7:39 PM, Gerald myq...@gmail.com wrote: Hi, I want to create a virtual key panel just like the status bar but

[android-developers] Re: How can I import any widgets under com.android.internal.widget into my app?

2009-03-17 Thread Dianne Hackborn
You need to copy the code (and resources you want) out of the platform and in to your app, and make any changes necessary to get it to build against the SDK. Sorry there isn't an easier answer. On Tue, Mar 17, 2009 at 7:36 PM, mongd mongdl...@gmail.com wrote: Hi, I'm trying to use some

[android-developers] Re: orientation change crashes when ids are not unique

2009-03-17 Thread Dianne Hackborn
That discussion was about using the same ID in different layouts that are NOT mixed together in the same view hierarchy, in which case yes it is perfectly okay. The only restriction here is that the default implementation of the system for saving your state is to use the view IDs to remember

[android-developers] Re: Is there a flag I can enable to permanently display the virtual keyboard in my app?

2009-03-17 Thread me tun
One can set, android:windowSoftInputMode=stateVisible in the AndroidManifest... Cheers. On Mar 17, 2:14 pm, me tun a...@tpg.com.au wrote: Thanks Dianne, I've had a quick look through the code and have seen how the onTouchEvent in the TextView Class has been modified to display the soft

[android-developers] Re: ListView for XML data

2009-03-17 Thread dan raaka
try this .. http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/view/List4.java You should be able to replace the getView with your own xml reader !! -Dan On Tue, Mar 17, 2009 at 7:22 PM, Greg Krimer gkri...@gmail.com wrote: Well, I have not seen an example of

[android-developers] Putting Android on Par with the iPhone Software

2009-03-17 Thread Schiffres
This is a message to all other Android Developers, bloggers, or interest groups. Unfortunately, it is rather evident that, for a myriad of reasons, Android as an OS simply isn't on the same level as the iPhone in what it offers, what it can do, how it runs, etc. etc. As a full supporter of most

[android-developers] Putting Android on Par with the iPhone Software

2009-03-17 Thread Schiffres
This is a message to all other Android Developers, bloggers, or interest groups. Unfortunately, it is rather evident that, for a myriad of reasons, Android as an OS simply isn't on the same level as the iPhone in what it offers, what it can do, how it runs, etc. etc. As a full supporter of most

[android-developers] video playing

2009-03-17 Thread wangxianjian8311
hi all. when i play a video in my device. it return -4 in mediaplayer. but it playing well in simulation-SDK. who could tell me why? the audio and videodisplay in my device are ok. some other files could be played well. --~--~-~--~~~---~--~~ You received this

[android-developers] a way to make signal processing

2009-03-17 Thread Maisonobe.A (MaaKs)
Hello, I'm looking for a way to work on sound . I would need to get the mic input as raw data and to perform some test , is there a way to get raw sound data ? thanks alex --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] how to let my shared library, libhello.so, work

2009-03-17 Thread sunwrt
Hi, guys, I built a shared library libhello.so, which only contained a function print_hello(char*), and and a program, which used the only function to print hello android with android-toolchain. I mkdir a new dir- /data/test and push libhello.so and hello into emulator, then execute the hello

[android-developers] Re: Injecting HTTP header into all requests issued by the emulator

2009-03-17 Thread GEETHAKRISHNAN PURUSHOTHAMAN
HI, Are you using the HTTP layer in Andrioid??.. Or any third part HTTP module you are using? with regards, Geetha On Tue, Mar 17, 2009 at 11:48 PM, Greg Krimer gkri...@gmail.com wrote: Hi everyone, Is there an easy way to inject a header into all HTTP request sent from the emulator,

[android-developers] is there an andriod simulator?

2009-03-17 Thread ytbryan
hi all, may i know is there an andriod simulator ? like how the iphone simulator works? thank you regards bryan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: CheckBox test= (CheckBox) findViewById(R.id.test); returns null

2009-03-17 Thread Glen Humphrey
I believe your xml should look like this with android:id instead of just id. CheckBox android:id=@+id/checkbox android:layout_width=wrap_content android:layout_height=wrap_content / On Mar 17, 10:25 am, zeeshan genx...@gmail.com wrote: i changed the id but still same Null object. same result

[android-developers] Re: is there an andriod simulator?

2009-03-17 Thread Marco Nelissen
The emulator is included in the SDK. On Tue, Mar 17, 2009 at 3:09 PM, ytbryan ytbr...@gmail.com wrote: hi all, may i know is there an andriod simulator ? like how the iphone simulator works? thank you regards bryan --~--~-~--~~~---~--~~ You

[android-developers] Re: a way to make signal processing

2009-03-17 Thread Marco Nelissen
On Tue, Mar 17, 2009 at 4:09 PM, Maisonobe.A (MaaKs) alexma...@gmail.com wrote: Hello, I'm looking for a way to work on sound . I would need to get the mic input as raw data and to perform some test , is there a way to get raw sound data ? No, not currently.

[android-developers] Re: how to let my shared library, libhello.so, work

2009-03-17 Thread Iliyan Malchev
The dynamic linker does not honor the LD_LIBRARY_PATH, and looks for libraries in /system/lib and /lib only, in that order. On Tue, Mar 17, 2009 at 9:36 PM, sunwrt wrt.su...@gmail.com wrote: Hi, guys, I built a shared library libhello.so, which only contained a function print_hello(char*),

[android-developers] Mp3 file read problem in Real device (G1)

2009-03-17 Thread jayesh.thadani
Hello friends, I have demo music player which reads mp3 files from virtual memory card of emulator I pass path something like this /sdcard and its working fine, at a time of reading MP3 from virtual memory card of emulator. But when this .apk is installed on real device G1, application is not

<    1   2