[android-developers] android.os.BinderNative Not found in new sdk

2008-07-01 Thread Raj
Hi I am not able to find "BinderNative" class into "android.os.*" package. Where it will found or Is there any extenal jar file is required for this class. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Deve

[android-developers] Re: How does ListActivity create multiple list items

2008-07-01 Thread Disco Stu 010
Hi Mark, I think I got it now :) Thanks a bunch for all your help. Regards. On Jul 1, 2008, at 4:19 PM, Mark Murphy wrote: > >> Can you please also clarify what do you mean by "use the same >> instance >> as the convertView" parameter? Dont I need a new View instance for >> every cell being

[android-developers] Re: How does ListActivity create multiple list items

2008-07-01 Thread Mark Murphy
> Can you please also clarify what do you mean by "use the same instance > as the convertView" parameter? Dont I need a new View instance for > every cell being displayed? i.e., if displaying 5 TextView rows at the > same time, then do we need need 5 different instances of TextView? OR > is it the

[android-developers] Re: How does ListActivity create multiple list items

2008-07-01 Thread Disco Stu 010
Hi Mark, Thanks for the detailed explanation. This helps tremendously. Can you please also clarify what do you mean by "use the same instance as the convertView" parameter? Dont I need a new View instance for every cell being displayed? i.e., if displaying 5 TextView rows at the same time,

[android-developers] Re: How does ListActivity create multiple list items

2008-07-01 Thread Mark Murphy
> Thanks for the explanation. Most helpful. I now understand that one > can have any view to render a row by overriding the getView() method. Or by supplying your own layout XML identifier (R.layout.somethingoranother), if the rows are reasonably simple. I'm a bit of a control freak, so I prefer

[android-developers] Re: How does ListActivity create multiple list items

2008-07-01 Thread Disco Stu 010
Hey Mark, Thanks for the explanation. Most helpful. I now understand that one can have any view to render a row by overriding the getView() method. My original question though still stays. If given a "resource id" for a view, how can one create multiple instances of that view? Can I simply

[android-developers] Re: How the android based application run

2008-07-01 Thread Charlie Collins
http://code.google.com/android/kb/general.html#runonphone On Jun 29, 9:51 pm, Barco <[EMAIL PROTECTED]> wrote: > Can the application developed on the Android platform run on any kind > mobile? or just on the mobile with JVM installed, or must on the > mobile with Linux os, or must on the mobile l

[android-developers] Re: SDK Update?

2008-07-01 Thread [EMAIL PROTECTED]
Digit, Thank you for not using the title "Developer Advocate" On Jun 30, 4:34 pm, Digit <[EMAIL PROTECTED]> wrote: > I'm certainly going to be slapped for talking publicy about all this in this > forum, but, as an > Android team member, I really think it's time to correct some > misunderstanding

[android-developers] Re: Mobile Intelligent Traffic Systems

2008-07-01 Thread wescorp
I've created an open source repository for trafficman at http://code.google.com/p/trafficman/ A lot of this is new to me, so any help/pointers along the way would be great. Cheers, Wes On Jun 30, 11:59 am, wescorp <[EMAIL PROTECTED]> wrote: > Hello, > > We are developing a mobile software app

[android-developers] Re: How does ListActivity create multiple list items

2008-07-01 Thread Mark Murphy
> My understanding of the documentation is that to give a custom look to > ListActivity, one needs to provide a template View (through > setContentView) that contains a ListView object with the ID "list". > ListActivity then proceeds to use this template for all the rows it > displays. Close. The

[android-developers] How does ListActivity create multiple list items

2008-07-01 Thread Disco Stu 010
Hello, A question for the experts on how ListActivity does its job. My understanding of the documentation is that to give a custom look to ListActivity, one needs to provide a template View (through setContentView) that contains a ListView object with the ID "list". ListActivity then proce

[android-developers] Intent object for text input

2008-07-01 Thread Phantom16
I'm thinking about developing a virtual keyboard on the Nokia N800 (running the m3 userspace). Does Android use any Intent objects for handling text input? Or should I try developing a Linux device driver to handle input? --~--~-~--~~~---~--~~ You received this mes

[android-developers] onBufferingUpdate What is the progress argument

2008-07-01 Thread Fräntz Miccoli
Hello, I'm using a MediaPlayer whose events can be handle by fews listener, one of them is a onBufferingUpdateListerner. This listener as a method called onBufferingUpdate who takes as argument the concernet mediaplayer and also, a progress... The docs here consider this progress as a percentage

[android-developers] Re: Wrong UDP checksum

2008-07-01 Thread Andrea Bernardi
Hi, In detail I have a sip user agent inside the Android emulator that exchange signalling data over an UDP socket to an Internet server. >From Wireshark executed on the PC where run the emulator I see UDP packets sent by my application from Android emulator marked with a wrong checksum. The udp c

[android-developers] Re: how to add progress bar with media Player??????

2008-07-01 Thread David Given
Josh Guilfoyle wrote: > Simply using the activities message loop to schedule an update message > every second. The resolution of this timer will be sufficient to > report seconds of play to the user, however if you feel that it is > necessary to calibrate further you can invoke > MediaPlayer#getC

[android-developers] Re: Wrong UDP checksum

2008-07-01 Thread Digit
Hello Andrea, can you clarify exactly what direction these datagrams flow ? and where exactly you see these bad checksums. it could be a bug in the internal router/firewall of the emulator, but I need more detail to determine why. On Tue, Jul 1, 2008 at 5:11 PM, Andrea Bernardi <[EMAIL PROTECTE

[android-developers] Re: how to add progress bar with media Player??????

2008-07-01 Thread Josh Guilfoyle
Simply using the activities message loop to schedule an update message every second. The resolution of this timer will be sufficient to report seconds of play to the user, however if you feel that it is necessary to calibrate further you can invoke MediaPlayer#getCurrentPosition inside your messa

[android-developers] Re: Application error. Error Inflating class

2008-07-01 Thread Mark Murphy
> "Application error:" > "An error has occured in .Binary xml file line #xxx: > Error inflating class accelerateInterpolator." You didn't provide us with the XML for your ListActivity layout. Since the error message refers to "inflating", the problem likely is in the layout XML file. One possibi

[android-developers] Re: Create menu

2008-07-01 Thread Mark Murphy
> hello. I've got a question/ Is there any way to add a sub-menu to a > sub-menu ? Apparently not at this time. According to: http://code.google.com/android/kb/commontasks.html#addmenuitems "Menus can only be one level deep", meaning you can have a menu with a submenu, but not with a sub-submen

[android-developers] Wrong UDP checksum

2008-07-01 Thread Andrea Bernardi
Hi at all, I've noticed that udp packets sent from a my application inside Android emulator have the udp checksum wrong viewing from Wireshark. Seems that udp checksum is computed but the value is erroneous. Anyone have a similar problem? Best Regards, Andrea Bernardi --~--~-~--~~---

[android-developers] Error Inflating class

2008-07-01 Thread Deepanjan
Hi Frndz, I am encountering an Application error when I am trying to open a ListActivity from another activity using startActivity(). The error is "Application error:" "An error has occured in .Binary xml file line #xxx: Error inflating class accelerateInterpolator." The source code of the cla

[android-developers] Application error. Error Inflating class

2008-07-01 Thread Deepanjan
Hi Frndz, I am encountering an Application error when I am trying to open a ListActivity from another activity using startActivity(). The error is "Application error:" "An error has occured in .Binary xml file line #xxx: Error inflating class accelerateInterpolator." The source code of the cla

[android-developers] Porting android to IMX31 Lite kit

2008-07-01 Thread prashanth
Hello, Has any one ported android to IMX31 Lite kit, please let me know the steps to port or where can i get the information of porting android to IMX31 litekit. I got the linux kernel source from http://code.google.com/p/android/downloads/list it supports IMX31ADS but not IMX31lite kit. Thank

[android-developers] Setting a breakpoint in a service

2008-07-01 Thread www.netthreads.co.uk
Hi all, I have created a service based on AlarmService_Service.java from the SDK samples. In my service I want to do some work which will update a ContentProvider. The problem I am having is that I cannot seem to get a breakpoint inside the service to fire. I know it is executing the service as

[android-developers] yaffs2 and streams

2008-07-01 Thread dont_spam_me
My understanding is that the Android will be using the yaffs2 file system. Is that correct? If so, I have a question about how it handles failed stream operations. I'm writing a small app that can potentially do a lot of I/O using file streams. On some environments, I've noticed that under hig

[android-developers] Re: Create menu

2008-07-01 Thread Stefan
hello. I've got a question/ Is there any way to add a sub-menu to a sub-menu ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@google

[android-developers] Re: How to play a VideoFile from Resourse Folder??

2008-07-01 Thread Huibin QIAN
yup but you should put music.3gp "/assets/music.3gp" in project On 7月1日, 下午7时27分, bins <[EMAIL PROTECTED]> wrote: > hi.. > did you mean this like this "path = "file:///android_asset/music. > 3gp";" > i tried with this but not getting sound or video.. --~--~-~--~~~--

[android-developers] Re: Show a (progress) dialog in the onClick event of an alert dialog

2008-07-01 Thread 6real
Dear Zach, I have adapted a few your example and it works perfectly. Thanks you very much for your help !!! On Jul 1, 4:26 am, Zach Hobbs <[EMAIL PROTECTED]> wrote: > If you are going to be doing something that takes a long time you need to use > separate threads.  If you try to do long pr

[android-developers] how to add progress bar with media Player??????

2008-07-01 Thread bins
hi using the "onBufferingUpdate(MediaPlayer arg0, int percent)" i am able to show the buffering like the youtube player but how can a show the playing updater in my own style --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

[android-developers] Re: How to play a VideoFile from Resourse Folder??

2008-07-01 Thread bins
hi.. did you mean this like this "path = "file:///android_asset/music. 3gp";" i tried with this but not getting sound or video.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

[android-developers] Re: How to play a VideoFile from Resourse Folder??

2008-07-01 Thread Huibin QIAN
you can store your media file in assets folder. for e.g: /assets/test.mp3 your can access it using the file path "file:///android_asset/ test.mp3" On Jul 1, 5:42 pm, bins <[EMAIL PROTECTED]> wrote: > hi.. > I was trying to play a Video file from recourse folder but not able > to get the video..

[android-developers] How to play a VideoFile from Resourse Folder??

2008-07-01 Thread bins
hi.. I was trying to play a Video file from recourse folder but not able to get the video. what i have to do to play a file form R.Row.folder --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Develope

[android-developers] Webkit(Webview) & IME

2008-07-01 Thread Huibin QIAN
I got a problem. when I implement my new Browser using the webkit and want to input 'words' of mine into the webview's edittext. 'Cause my MOBILE Phone have no keybord, so I use softkeyborad to input. my problem is I can input my words into the webview edittext, but in fact, the edittext can't get

[android-developers] Re: JavaMail

2008-07-01 Thread mikas
I had a number of issues importing the javamail jars from Sun's website (using Mac OS X 10.5). I eventually found that the jars at maven repository didn't produce the dex conversion error. Try giving those a shot: http://download.java.net/maven/1/javax.mail/jars/ Good luck, -Will PS: You ma

[android-developers] Re: Javamail "no such label 0104"

2008-07-01 Thread mikas
Hi, You saved me a lot of trouble, now when I add maven libraries .apk file doesn't get lost i.e. there is no dex conversion error, so I can for sure start from there :) Thanks a lot! Best regards, m. On Jun 27, 3:33 pm, William Enck <[EMAIL PROTECTED]> wrote: > I had a number of issues import