[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 andro

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 fir

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 L&I 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] 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 fro

[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 t

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 Languages&Input menu: English (United Kingdom) English (Ireland) French Italian Spanish Not a lot. However, when I call Resources.getSystem().getAssets().getLocales(

[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. As a suggestion from the compiler, I changed the layout:height="match_parent" to "0dip". However I don't know what dimension it is complaining abou

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

2013-08-13 Thread dashman
The link is anchored type - http://www.google.com";>xxx 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); textView1.setMovementMethod(LinkMovementMethod.getInstance());

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!

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 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 "text") or not (like "http://www.foo.com";) ? For some strange reason, these are handled differently (at least they

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

2013-08-13 Thread TreKing
On Tue, Aug 13, 2013 at 1:38 AM, Salil 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 your problem for

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 wrote: > I've got a Dialog sub-class with a textview - the view contains html with > weburls. > > the

[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 ); textV

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 wrote: > But on which event should i do finish()? > > How can i know that the application minimized? All events happen on calling > goin

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 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 wrote: > Hello. > > I have application which should be ask password on start. > > I done it so. onCreate MainActivity calls(startActivityForResult) > EnterPasswordActivity. I

[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 applica

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 wrote: > I can point you at: > > > http://stackoverflow.com/questions/16675450/support-for-websockets-on-android > http://autobahn.ws/ > https://github.com/koush/android-websoc

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 wrote: > Thanks. Could you s

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 > Not in the SDK to my knowledge. But what are you trying to do? There are > a lot of

[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 element to make sure that: 1. targetSdkVersion is declare

[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 with in the manifest. I wonder if there is any way of having both of the minSdkVersion and targetSdkVersion tags in the manifest? I get a message tha

[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 particularly

[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 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. R