[android-developers] Websockets

2014-05-20 Thread android developer
Hello All I am new to Android , I am searching for websockets working sample please help me on this Thanks -- 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 unsubscr

[android-developers] Re: "WrongThread" exception - how to analyze/debug?

2014-05-20 Thread Jonathan S
Can you copy and paste code in the *MyRemoteActivity class?* On Tuesday, May 20, 2014 4:17:16 PM UTC-4, plnelson wrote: > > I have a multi-threaded Android app. One thread wakes up periodically on a > timer and exchanges information over WiFi with a remote device and the > other one is the main

[android-developers] Re: "WrongThread" exception - how to analyze/debug?

2014-05-20 Thread Jonathan S
Any class that touch View MUST BE in the Main Thread only. On Tuesday, May 20, 2014 4:17:16 PM UTC-4, plnelson wrote: > > I have a multi-threaded Android app. One thread wakes up periodically on a > timer and exchanges information over WiFi with a remote device and the > other one is the main th

Re: [android-developers] Adding button according to screen width and height

2014-05-20 Thread TreKing
Your question is not really clear, but you should not care about x or y or screen width or height. If you have a ScrollView wrapping a container that you're filling with views, it should just work. Show some coe and or the layout you're working with. On Tue, May 20, 2014 at 6:35 AM, ANKUR GOEL

[android-developers] Re: Is android notepad sample not reachable from documentation?

2014-05-20 Thread wondering
in onDestroy(), called dbHelper.close() [credit: StackOverflow]. I wish the tutorial were updated. On Tuesday, May 20, 2014 12:10:13 PM UTC-5, wondering wrote: > > Also, running the Notepadv3 sample see this in Logcat > > 05-20 12:05:29.476: E/SQLiteDatabase(10636): close() was never explicitly

[android-developers] "WrongThread" exception - how to analyze/debug?

2014-05-20 Thread plnelson
I have a multi-threaded Android app. One thread wakes up periodically on a timer and exchanges information over WiFi with a remote device and the other one is the main thread that handles all the usual View stuff. Lately I've been getting a "Called from Wrong Thread Exception" in a catch block

[android-developers] Help with native exception: ScriptIntrinsicBlur.create() throws RSRuntimeException: Internal error: Object id 0

2014-05-20 Thread littledot
I am implementing Gaussian blurring using the ScriptIntrinsicBlur class. However, I have faced an intermittent issue where sometimes ScriptIntrinsicBlur.create() throws RSRuntimeException: Internal error: Object id 0. Here is the most stacktrace that I can post: android.renderscript.RSRunti

[android-developers] Re: Is android notepad sample not reachable from documentation?

2014-05-20 Thread wondering
Also, running the Notepadv3 sample see this in Logcat 05-20 12:05:29.476: E/SQLiteDatabase(10636): close() was never explicitly called on database '/data/data/com.android.demo.notepad3/databases/data' 05-20 12:05:29.476: E/SQLiteDatabase(10636): android.database.sqlite.DatabaseObjectNotClosedEx

[android-developers] what to do when incoming call coming, voice auto pause and continue - in case reading text with voice - from point left?

2014-05-20 Thread lselwd
when I develop an android native sdk game or an App that use voice read - both using voice in other world... what to do when incoming call coming, voice auto pause and continue - in case reading text with voice - from point left? *sample code from text voice auto Read App:* public void s

Re: [android-developers] off center alignment when saving PNG

2014-05-20 Thread Barry Fawthrop
Images did not show BEFORE https://www.dropbox.com/s/kghrovmm1bcw61g/Screenshot_2014-05-20-08-26-07.jpg SAVED https://www.dropbox.com/s/h8nudprv85b0sy3/SKELETON-Jacqui%20Fedor-DJ-2014-05-20%2008%3A26%3A15.png?m= On May 20, 2014, at 8:29 AM, Barry Fawthrop wrote: > I'm confused as to

[android-developers] Re: Get E-164 format of contacts in Android API less than 16

2014-05-20 Thread Piren
I've used this before: http://code.google.com/p/libphonenumber/ This is how ICS does it. On Friday, May 16, 2014 1:08:21 AM UTC+3, Vijay wrote: > > Hi, > Did you find a solution to this issue ? > > I am stuck in the same situation. > > > > On Wednesday, December 4, 2013 9:48:13 AM UTC-8, Rahul Sh

[android-developers] Adding button according to screen width and height

2014-05-20 Thread ANKUR GOEL
Hi all , getting x numbers of labels from server . and dividing the total (x) by 4 and creating that number of fragments so i have 4 buttons in each fragment . But if the text label is big , its going out of screen .though i have put scroll view . But i need to fit dynamic numbers of button acco