[android-developers] k

2013-08-13 Thread linzhao3
Sent from my iPhone -- 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

Re: [android-developers] Need help setting table column width

2013-08-13 Thread Salil
TreKing Thanks for responding I think I didn't understand your question correctly. the project file is attached. The following is what I am doing. int result_str_size = 5; for ( int i=0 ; i result_str_size; i++) { TableRow tr = new

[android-developers] Re: Camera + GLSurfaceView frame rate

2013-08-13 Thread gjs
Hi, What camera preview frame rate are you using ? I think you might be able to adjust this between at least 2 values, 15fps maybe 30fps options. Are you converting YUV to JPG camera preview frames ? If yes you will need to try to make this conversion as efficient as possible for good fps.

[android-developers] Re: java.io.FileNotFoundException: (Device or resource busy)

2013-08-13 Thread gjs
Hi, Make sure you are closing the file properly. See - http://android-developers.blogspot.com.au/2010/12/saving-data-safely.html http://stackoverflow.com/questions/4707664/ext4-fsync-situation-unclear-in-android-java Regards On Monday, August 12, 2013 4:50:50 PM UTC+10, rahul kaushik wrote:

[android-developers] Re: Camera + GLSurfaceView frame rate

2013-08-13 Thread Miles Egan
Thanks for your response. On the Nexus 4 when I query for frame rate ranges I get 30 as a max but trying to set the frame rate doesn't have any effect. I'm not doing any format conversion in my code for the video frames but maybe there's some way to specify a different format? I'd

[android-developers] Designed for tablets with both minSdkVersion and targetSdkVersion tags?

2013-08-13 Thread MobileVisuals
I am implementing the new Designed for tablets specification on GP. It is easy to implement and get it to work for live wallpapers. I replace uses-sdk android:minSdkVersion=7 / with uses-sdk android:targetSdkVersion=11 / in the manifest. I wonder if there is any way of having both of the

[android-developers] Re: Designed for tablets with both minSdkVersion and targetSdkVersion tags?

2013-08-13 Thread Kostya Vasilyev
Is this the spec you're using? http://developer.android.com/distribute/googleplay/quality/tablet.html#android-versions It says: --- At a minimum, check the uses-sdkhttp://developer.android.com/guide/topics/manifest/uses-sdk-element.html element to make sure that: 1. targetSdkVersion is

Re: [android-developers] Webscokets

2013-08-13 Thread Gink Labrev
Thanks. Could you suggest a third party alternative ? I have searched for it without success. I am developing a chat. I have a Node.js Socket.io server implementation. Regards, 2013/8/12 Kristopher Micinski krismicin...@gmail.com Not in the SDK to my knowledge. But what are you trying to do?

Re: [android-developers] Webscokets

2013-08-13 Thread Kristopher Micinski
I can point you at: http://stackoverflow.com/questions/16675450/support-for-websockets-on-android http://autobahn.ws/ https://github.com/koush/android-websockets But don't have any personal experience with either. Kris On Tue, Aug 13, 2013 at 9:37 AM, Gink Labrev gink.lab...@gmail.com wrote:

Re: [android-developers] Webscokets

2013-08-13 Thread Παύλος-Πέτρος Τουρνάρης
OMG i came to post the same links Kristopher :P !! Υou got me :P On Tue, Aug 13, 2013 at 4:47 PM, Kristopher Micinski krismicin...@gmail.com wrote: I can point you at: http://stackoverflow.com/questions/16675450/support-for-websockets-on-android http://autobahn.ws/

[android-developers] close on minimise application

2013-08-13 Thread passer
Hello. I have application which should be ask password on start. I done it so. onCreate MainActivity calls(startActivityForResult) EnterPasswordActivity. If user enters right password EnterPasswordActivity returns information about it. Everything works good. But there is a problem. If

Re: [android-developers] close on minimise application

2013-08-13 Thread Kristopher Micinski
You don't close the application, you can finish() the activity, however. Kris On Tue, Aug 13, 2013 at 10:00 AM, passer passer...@gmail.com wrote: Hello. I have application which should be ask password on start. I done it so. onCreate MainActivity calls(startActivityForResult)

Re: [android-developers] close on minimise application

2013-08-13 Thread passer
But on which event should i do finish()? How can i know that the application minimized? All events happen on calling going to activity too(( вторник, 13 августа 2013 г., 19:21:29 UTC+5 пользователь Kristopher Micinski написал: You don't close the application, you can finish() the activity,

Re: [android-developers] close on minimise application

2013-08-13 Thread Michael Banzon
You could add an application service and have each activity query the service for entered password upon creation/resume. On Tue, Aug 13, 2013 at 4:41 PM, passer passer...@gmail.com wrote: But on which event should i do finish()? How can i know that the application minimized? All events happen

[android-developers] Creating active html links in a dialog

2013-08-13 Thread dashman
I've got a Dialog sub-class with a textview - the view contains html with weburls. the links are not working - here's my code My class is derived from android.app.Dialog - in the constructor i have: TextView textView1 = (TextView)findViewById( R.id.about_about_textview );

Re: [android-developers] Creating active html links in a dialog

2013-08-13 Thread Παύλος-Πέτρος Τουρνάρης
((TextView) aDialog.findViewById(android.R.id.message)).setMovementMethod(LinkMovementMethod.getInstance()); replace aDialog with your dialogs name! On Tue, Aug 13, 2013 at 7:46 PM, dashman erjdri...@gmail.com wrote: I've got a Dialog sub-class with a textview - the view contains html with

Re: [android-developers] Need help setting table column width

2013-08-13 Thread TreKing
On Tue, Aug 13, 2013 at 1:38 AM, Salil sali...@gmail.com wrote: I think I didn't understand your question correctly. the project file is attached. Few people are going to download an attachment off a posting in a public forum on the internet. Even fewer are going to weed through it to debug

Re: [android-developers] Creating active html links in a dialog

2013-08-13 Thread TreKing
On Tue, Aug 13, 2013 at 11:46 AM, dashman erjdri...@gmail.com wrote: I've got a Dialog sub-class with a textview - the view contains html with weburls. What kind of URLs are they? Anchored (like a href=foo.comtext/a) or not (like http://www.foo.com;) ? For some strange reason, these are

Re: [android-developers] Creating active html links in a dialog

2013-08-13 Thread dashman
I believe I was calling that method in the code snippet. On Tuesday, August 13, 2013 1:02:39 PM UTC-4, Paul-Peter Tournaris wrote: ((TextView) aDialog.findViewById(android.R.id.message)).setMovementMethod(LinkMovementMethod.getInstance()); replace aDialog with your dialogs name! On

Re: [android-developers] Creating active html links in a dialog

2013-08-13 Thread dashman
The link is anchored type - a href=http://www.google.com;xxx/a As i wrote earlier - the text is in blue and underlined. i'm actually calling the following - after the dialog.show() Linkify.addLinks(textView1, Linkify.ALL);

[android-developers] ExpandableListView Can't convert to dimension: type=0x1

2013-08-13 Thread Nathan
I am getting this exception, maybe from just one guy who has a ZTE500 with Android 2.3.4. The layout at line #24 is pretty simple. ExpandableListView android:id=@android:id/list android:layout_width=match_ parent android:layout_height=match_parent android:layout_weight=1

Re: [android-developers] Re: how to get a list of locales supported by device we're running on

2013-08-13 Thread Latimerius
Admittedly it took a bit ;-) but I finally got around to taking a closer look. My HTC Desire show the following languages in its LanguagesInput menu: English (United Kingdom) English (Ireland) French Italian Spanish Not a lot. However, when I call

[android-developers] Developer Support Tools Survey

2013-08-13 Thread Brill Pappin
We are trying to decide on the direction of some internal support tools that we think we might release to the community at large. If you have a moment, we would very much appreciate some feedback on our tools survey. We have made the results public as eel, so everyone can benefit from taking

Re: [android-developers] Re: how to get a list of locales supported by device we're running on

2013-08-13 Thread Kostya Vasilyev
So you have an HTC... I've got two on my desk, and the language / locale list on both of them is region-specific: Russian (Russia, Ukraine, Georgia, other former Soviet republics) English (same list of countries) Other deivices I have (a couple of Samsungs purchased in Russia, another Samsung

Re: [android-developers] Re: how to get a list of locales supported by device we're running on

2013-08-13 Thread Latimerius
Apologies for replying to myself, just wanted add to my previous message that I checked with my Optimus One. On that device, the LI menu seems to match getLocales() output (some filtering similar to what LocalePicker does notwithstanding), however as it turns out, when I switched our app to zh

Re: [android-developers] Need help setting table column width

2013-08-13 Thread Salil
Thanks TreKing for the reply. I referred the online documents for setting layout parameters. But couldn't do it correctly. I am not getting a logical explanation on why only the first column is not setting the parameter. If I add a blank column before the first column ( id column ) then the

[android-developers] regarding gtalk to whatsapp

2013-08-13 Thread sourabh sahu
Hello All, Is there any API through which I can connect Whatsapp to gtalk, so that I can get Whatsapp messages to Gtalk or gmail. Thanks, Sourabh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to