Re: [android-developers] How to add button to a listview

2011-01-03 Thread shareem sharif
WHAT On Wed, Dec 22, 2010 at 1:52 AM, sujit panda sujit.andr...@gmail.comwrote: Hi, you have to create a custom ArrayAdapter class which will override the getView() method and using this you can pass a XML file to the list and you can put whatever you want in side list. follow this blog

Re: [android-developers] Re: How to add labels above this table layout

2011-01-03 Thread Sarwar Erfan
Excellent patience! -- 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

[android-developers] Re: How to add labels above this table layout

2011-01-03 Thread pramod.deore
Ohh After a very long time it works. As per you I had remove first table layout (which is for labels) from R.layout.showscheduler and add them to above listview. And it is what I want. I thought first that If your activity is exwnds from ListActivity then you don't have to add

[android-developers] Re: How to add labels above this table layout

2011-01-03 Thread pramod.deore
Excellent patience! Yes Sarwar, He really has excellent patience. On Jan 4, 9:52 am, Sarwar Erfan erfanonl...@gmail.com wrote: Excellent patience! -- 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] Does camera of emulator support digital zoom?

2011-01-03 Thread kong
I use isSmoothZoomSupported() method, but return false. But I found adk2.1 already supports digital zoom. Again more improvements were introduced on 26 October, 2009 and they were optimized hardware speed, Microsoft Exchange support, improved Google Maps 3.1.2, new contact lists, revamped UI,

Re: [android-developers] Re: Repeating image on a canvas

2011-01-03 Thread brian purgert
Thank you, this looks like it will help alot. On Jan 3, 2011 8:52 PM, Nathan critter...@crittermap.com wrote: Since I have done a lot of bitmaps and canvases, I can tell you definitely that it is . . . hard to say. But I will tell you this. Method profiling is great for something like this,

[android-developers] Re: Problem while loading phone contacts in ascending order

2011-01-03 Thread Sarwar Erfan
Cursor cursor = getContentResolver().query(ContactsContract.Contacts.CONTENT_URI, null, ContactsContract.Contacts.HAS_PHONE_NUMBER + = 1, null, UPPER( + ContactsContract.Contacts.DISPLAY_NAME + ) ASC); -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Problem while loading phone contacts in ascending order

2011-01-03 Thread jennifer
Thanks. Its working for me -- 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@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Getting a test version of an .apk to a end user

2011-01-03 Thread Per
I usually 1: put the apk on my own website (not the market) 2: make a QR-code image containing the URL to the apk (see e.g. http://code.google.com/intl/da-DK/apis/chart/docs/gallery/qr_codes.html) 3: Instruct the user to install Barcode Scanner from market 4: Use Barcode Scanner to scan the QR

[android-developers] How to play youtube videos within custom android activity

2011-01-03 Thread sanjay
Hi, I am able to play youtube videos by startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(http:// www.youtube.com/watch?v=cxLG2wtE7TM))); But this leave my application and starts the player activity where I have no control, How can I play youtube videos within my activity, as I have to

[android-developers] Need help for Bluetooth Opp transfer broadcast messages

2011-01-03 Thread Suresh Pal
Hi All, I am working on an application using bluetooth. I want to listen some events related to OPP receiving and sending. My main motive is to launch some application, when any file is received using bluetooth and want information of received file. I know for this OPP profile is used. So, I want

[android-developers] Prevent user from removing accounts

2011-01-03 Thread Brill Pappin
Does anyone know if there is any way to prevent the user from removing an account? I'm building out an admin app, but wanted to use the AccountManager for authentication. Obviously... it's not going to be all that secure if the user can simply disable or remove the admin user. -- You

[android-developers] Re: How to play youtube videos within custom android activity

2011-01-03 Thread Kumar Bibek
You need to understand first that youtube videos are generally in flv format, and the SDK doesn't provide default decoders or apis to handle such media. If you have to create your own player, then you have the tough task of converting the flv files to other supported media and then continue. On

[android-developers] Re: Need Android Service suggestions

2011-01-03 Thread Kumar Bibek
Alarm manager is the best option. On Jan 4, 9:33 am, Jacob jacobroutolo...@gmail.com wrote: Hi all My requirement: Need some piece of code executing every 5 minutes (no UI). This code needs to access server thru internet and get some data and use them on the device. This code is not heavy

[android-developers] can not find draw9patch.jar after updating to 2.3

2011-01-03 Thread 陈彧堃
Exception in thread AWT-EventQueue-0 java.lang.NoClassDefFoundError: org/jdesktop/swingworker/SwingWorker at com.android.draw9patch.Application$1.run(Application.java:48) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226) at

Re: [android-developers] can not find draw9patch.jar after updating to 2.3

2011-01-03 Thread Kumar Bibek
You need to download the dependent jar file and add to your classpath. Search and download swingworker jar. This should have been documented, since this is a new thing that came up with the new ADT tools. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Tue, Jan 4, 2011 at

[android-developers] Re: Fast way to write and read buffered data from AudioRecord

2011-01-03 Thread Keith Wiley
In my audio app I just use System.arraycopy() to transfer samples from the recording buffer to a secondary buffer for real-time processing. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

<    1   2