Re: [android-developers] Handlers and Timers never works for 24 hours task

2012-03-31 Thread Amanda Croxton
I dont want to unsubscribe from you, that was wrong I clicked on the wrong link and I thought that would fix my facebook...sorry...but it keeps saying (null) thread cannot be recieved on everything facebook...thank you...but I need to know what to do?? OldJim junderw...@ipass.com wrote:

Re: [android-developers] Re: Memory management issue - outOfMemory exception

2012-03-31 Thread Zsolt Vasvari
A ScrollView can only contain ONE child view. So no, it's not possible with View based objects. You could implement some kind of caching , but when you go through all that trouble, you will realize that it's easier to just use a ListView. On Saturday, March 31, 2012 7:06:51 AM UTC+8,

[android-developers] Re: Flash freedom

2012-03-31 Thread Zsolt Vasvari
Sure. Flash is a document format, you are free to create you own lightweight flash player. On Saturday, March 31, 2012 2:23:11 AM UTC+8, bob wrote: Does anyone know of a reasonable way to play Flash files in an Android app that does not require the installation of the Adobe Flash Player

[android-developers] Re: Galaxy Nexus multitouch trouble

2012-03-31 Thread Jean-François Geyelin
PR protip: ignoring people isn't the way to go. Just a little hey sorry about that, it will be fixed in the next Android update would have sufficed. Because of the way you handled it, developers wasted time trying to fix the problem themselves thinking it was their fault. On Wednesday,

[android-developers] Re: Galaxy Nexus multitouch trouble

2012-03-31 Thread Zsolt Vasvari
The article says it's a software problem -- and it would appear so from the symptoms. Since the GNex just had Android 4.0.4 released 2 days ago, you may want to see if it's fixed. By the way, why are you posting this? It just sounds like a rant, to be honest. You have any particular SDK

[android-developers] Re: folder customize application or badge application ?

2012-03-31 Thread Zsolt Vasvari
You want to create a Home Screen replacement app. Great, please get coding. On Saturday, March 31, 2012 3:50:27 PM UTC+8, Live Happy wrote: i want to create folder customize application or badge application i dont know what is the specific name of this view so maybe someone can help me

[android-developers] Re: Galaxy Nexus multitouch trouble

2012-03-31 Thread Jean-François Geyelin
It's totally a rant, but a rant whose goal is to make Google better by realizing that leaving us (and the consumers) in the dark is not the best decision (lots of wasted time). And I am aware of the 4.0.4 update, I found out when doing my weekly research about the Galaxy Nexus multi touch

[android-developers] Re: folder customize application or badge application ?

2012-03-31 Thread Zsolt Vasvari
There is QuickContactBadge widget. What you are looking at looks like cloned copy of that. On Saturday, March 31, 2012 3:50:27 PM UTC+8, Live Happy wrote: i want to create folder customize application or badge application i dont know what is the specific name of this view so maybe someone

[android-developers] Re: Galaxy Nexus multitouch trouble

2012-03-31 Thread Zsolt Vasvari
So does 4.0.4 fixes the issue? If yes, I think you cannot say that Google hadn't acted in a reasonable amount of time. I've had my Galaxy Nexus for a month or so, and you are the first time I've even heard of the issue, not alone experienced it. Then again, I don't really do heavy gaming on

Re: [android-developers] Re: Memory management issue - outOfMemory exception

2012-03-31 Thread Farhan Tariq
I have one LinearLayout as child of the scrollView, and that linearLayout has 3 linear layouts that I am adding images to. Now, I can't figure out how to handle memory issues. On Sat, Mar 31, 2012 at 12:12 PM, Zsolt Vasvari zvasv...@gmail.com wrote: A ScrollView can only contain ONE child view.

Re: [android-developers] Re: Memory management issue - outOfMemory exception

2012-03-31 Thread Mark Murphy
On Sat, Mar 31, 2012 at 6:54 AM, Farhan Tariq farhan@gmail.com wrote: I have one LinearLayout as child of the scrollView, and that linearLayout has 3 linear layouts that I am adding images to. Now, I can't figure out how to handle memory issues. *Why* are you using a ScrollView instead of

Re: [android-developers] Re: Memory management issue - outOfMemory exception

2012-03-31 Thread Farhan Tariq
I have made a UI that has images with varying heights, but constant width, added to each inner linearLayout (having vertical orientation). This way, I am able to add images without spaces occuring due to different heights. Using a listView that has 3 images of different heights added horizontally

[android-developers] Re: NoClassDefFoundError for gson after updating the ADT and SDK Tools

2012-03-31 Thread seran...@gmail.com
Just mark all your JARs and Eclipse User Libraries as exported in the Build Path / Order and Export configuration. It didn't work for me until I also put Android Dependencies before my libraries in the forementioned tab. Still don't know what the order is supposed to do. :D On Mar 22, 1:06 pm,

[android-developers] 3D Charts

2012-03-31 Thread sourabh sahu
How to draw 3D interactive charts in android.Please suggest something on it. Sourabh -- 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,

[android-developers] Re: It is possible to lock the screen orientation of the phone only when you want? (dinamically)

2012-03-31 Thread Ali Chousein
Maybe my blog on this subject might be useful for you. There is a section Locking the screen layout in it: http://android-screen-layout.blogspot.com - Ali Chousein http://socialnav.blogspot.com | http://twitter.com/socialnav1

Re: [android-developers] Re: Memory management issue - outOfMemory exception

2012-03-31 Thread Mark Murphy
On Sat, Mar 31, 2012 at 7:14 AM, Farhan Tariq farhan@gmail.com wrote: I have made a UI that has images with varying heights, but constant width, added to each inner linearLayout (having vertical orientation). This way, I am able to add images without spaces occuring due to different

[android-developers] Re: Hello everyone, i couldn't figure out what this error in the logcat means!!!

2012-03-31 Thread Soyer
:):) --Soyer. On Mar 28, 9:55 pm, Kostya Vasilyev kmans...@gmail.com wrote: I second that motion. Taking Vicodin Ex with a glass of red wine after my own deviated septum surgery some twenty years ago was great :) -- K On 03/28/2012 09:36 PM, Mark Phillips wrote: Penalty for

[android-developers] Hello Everyone, i have a small Question.about Text_to_Speech activity.

2012-03-31 Thread Soyer
Hello everyone, I am using a Text_To_Speech in my application, which is detecting bluetooth signal and give it as a vocal feedback, the application is perfectly working, is just the given list of devices are given in brackets hence the text_to_speech is saying: Left Bracket,..., Right

Re: [android-developers] Hello Everyone, i have a small Question.about Text_to_Speech activity.

2012-03-31 Thread Anirudh Loya
Use If else.. !! When there is braces it shouldnt speak out ! On Sat, Mar 31, 2012 at 5:23 PM, Soyer mblack...@gmail.com wrote: Hello everyone, I am using a Text_To_Speech in my application, which is detecting bluetooth signal and give it as a vocal feedback, the application is perfectly

[android-developers] Adb shell from app

2012-03-31 Thread Giuseppe
We need to execute some adb shell command from our app. Can someone help me to do it? Giuseppe -- 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

Re: [android-developers] Adb shell from app

2012-03-31 Thread s.rawat
What are those commands?usual copy move or something else? ..pain is temporary.quitting lasts forever.. On Sat, Mar 31, 2012 at 6:39 PM, Giuseppe porcelli.giuse...@gmail.comwrote: We need to execute some adb shell command from our app. Can someone help me to do it? Giuseppe --

Re: [android-developers] Adb shell from app

2012-03-31 Thread Giuseppe
Hi Softy, I need to change the stock audio.primary.exynos4.so from /system/lib/hw folder with a modified version, obviously on rooted device and after the user authorize it. I don't know really how to get the root permission and proceed with the copy (probably using adb shell). Thank you in

Re: [android-developers] Sleep mode

2012-03-31 Thread Put_tiMe
On some devices, like the Sony Erricson Experia, if I long press the power button, I get a UI menu, with a sleep mode option. What would be the difference between that sleep mode and the screen-off sleep mode? On screen-off, i.e. when it hits the sleep mode, are the wifi radios and CPU

Re: [android-developers] Sleep mode

2012-03-31 Thread Mark Murphy
On Sat, Mar 31, 2012 at 10:18 AM, Put_tiMe putt...@gmail.com wrote: On some devices, like the Sony Erricson Experia, if I long press the power button, I get a UI menu, with a sleep mode option. What would be the difference between that sleep mode and the screen-off sleep mode? Nothing. That

Re: [android-developers] Adb shell from app

2012-03-31 Thread YuviDroid
Ciao Giuseppe, I recently found this library with various root utilities: http://code.google.com/p/roottools/ I've never tried it but it looks promising. In their wiki you can find examples on how to run shell commands ( http://code.google.com/p/roottools/wiki/Usage#Running_root_commands).

[android-developers] Re: app sales dropped dramatically in the past few days

2012-03-31 Thread gc
Same On Thursday, March 29, 2012 3:40:45 AM UTC-5, Mat Jones wrote: Has anyone seen a fallen in their app sales through on app billing in the past few days? The past two days in app billing sales are down 90% We have around 800 New users a day and the same amount viewing the extra

[android-developers] how can i find that my client is disconnected from Network???

2012-03-31 Thread Muhammad Sahil
Hi, My app is consist of client, server application, Please tell me when i m sending data from the client to server and the network or server stop unexpectedly, so how can i find my network is disconnected and how can i show message to client. Thanks and Regards, Sahil -- You received

Re: [android-developers] Adb shell from app

2012-03-31 Thread Giuseppe
Hi Yuvi, thank you very much for your help. Thank's to your suggestion I solved my problem. Giuseppe -- 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

[android-developers] Re: Hello Everyone, i have a small Question.about Text_to_Speech activity.

2012-03-31 Thread Soyer
Hello Anirudh, the thing is that i am using two activities, so the string is getting dispatched from the first activity...the string is an array list but since for some reason, the list is not getting carried to the second activity and used in the TTS method i converted the array list to a

[android-developers] Re: strange blue boxes with ? instead of images in my Android app...

2012-03-31 Thread Stuart B
Not sure how to fix though - the images are there, and it runs fine on some devices, any ideas please? On Saturday, 31 March 2012 03:13:11 UTC+1, lbendlin wrote: You are using a web view and the img tags are broken. On Thursday, March 29, 2012 4:21:10 AM UTC-4, Stuart B wrote:

Re: [android-developers] open application through hold-pressing home key will unregister the user then again register the user

2012-03-31 Thread hoomi2010
If you click on home button from your application your in the activity which is in foreground onStop() method is called. When from long press on home button or recent button you go back to the activity onRestart() and then onStart() is called. If you close the app (using the back button) and

[android-developers] Unbranded Android tablet

2012-03-31 Thread bob
Can someone recommend for me an unbranded Android tablet for Android dev? I want something that doesn't say Vizio, Samsung, or Coby on it. Essentially, I want a black box with nothing written on it. -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Textview gravity resets

2012-03-31 Thread Narendra Singh Rathore
On Sat, Mar 31, 2012 at 4:24 AM, adev enric...@gmail.com wrote: How can I avoid this in xml Why don't you try to do this in your activity/java file (dynamically)? I think that will solve your problem. -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Unbranded Android tablet

2012-03-31 Thread s.rawat
There are plenty - have you tried googling about irobot tablet, UBI Slate .They are coming with no brands on them, except some tiny sticker which you can remove at ease anytime.But only problem is that they don't support the usual way of debugging.You can adb them but via wireless not with the USB

[android-developers] Your Most Common Errors

2012-03-31 Thread Raghav Sood
Hi all, I'm working on compiling a list of the commonly faced Android errors, and how to solve them. I sincerely doubt I've encountered all of them personally, hence this post. Which are the errors that you have faced most commonly, and how did you solve them? Please reply to this thread, it'll

Re: [android-developers] Your Most Common Errors

2012-03-31 Thread Mark Murphy
On Sat, Mar 31, 2012 at 3:09 PM, Raghav Sood raghavs...@androidactivist.org wrote: Which are the errors that you have faced most commonly, and how did you solve them? I would bet that the #1 most common problem is my R is screwed up. Symptoms include findViewById() returning something

Re: [android-developers] Your Most Common Errors

2012-03-31 Thread Raghav Sood
Thanks for the reply Mark. And I am combing through StackOverflow as well. Just checking both sources to make sure I don't miss any out. Thanks On Sun, Apr 1, 2012 at 12:50 AM, Mark Murphy mmur...@commonsware.comwrote: On Sat, Mar 31, 2012 at 3:09 PM, Raghav Sood

[android-developers] Prevent a click from being consumed, to pass to containers onTouchEvent

2012-03-31 Thread momo
I've got a container that allows 2-d scrolling, fling, pinch etc. This has several layers within it - a viewgroup for image tiles, another for path drawing, another for markers, etc. This all works fine. However, in one particular implementation I have several invisible buttons to indicate

Re: [android-developers] Prevent a click from being consumed, to pass to containers onTouchEvent

2012-03-31 Thread Kostya Vasilyev
Take a look at ScrollView or AbsListView: https://github.com/android/platform_frameworks_base/blob/master/core/java/android/widget/ScrollView.java#L438 The basic idea is to override onInterceptTouchEvent, consume the initial ACTION_DOWN and then figure out if the user is trying to

Re: [android-developers] Prevent a click from being consumed, to pass to containers onTouchEvent

2012-03-31 Thread momo
Thanks for the reply. Imagine that over 75% of the scrollable area was covered by these hotspots - I need the ACTION_DOWN to return true so that the click event does fire when the finger goes up (on that same child view), but *also* pass the event to the scrolling container's onTouchEvent -

[android-developers] Will we ever be allowed to make custom widget pickers?

2012-03-31 Thread Tim
...or at least have something slightly nicer than the simple list in gingerbread. Currently there is no way to avoid using the built in widget selection UI (the list of widgets you get in gingerbread when you add a widget). This kind of sucks because it means you can't have anything like the ICS

Re: [android-developers] retrieving dialogue box value

2012-03-31 Thread TreKing
On Thu, Mar 29, 2012 at 6:51 AM, shihab shiha shihabkp.andr...@gmail.comwrote: I want to pass the edittext value in a dialogue box to listview when i click the save button of the dialogue box. Alright, thanks for letting us know. Good luck. http://www.catb.org/~esr/faqs/smart-questions.html

Re: [android-developers] layout height relative to screen height

2012-03-31 Thread TreKing
On Mon, Mar 26, 2012 at 9:18 PM, adev enric...@gmail.com wrote: I would like to set the height of my layout items based on the height of the screen to allow it to scale to screens of different resolution and in landscape. http://developer.android.com/guide/practices/screens_support.html

[android-developers] Re: app sales dropped dramatically in the past few days

2012-03-31 Thread Zsolt Vasvari
I know I had a couple of people e-mail me that they are getting a 403 error when trying to purchase. Eventually it works. But I bet a lot of people just simply give up trying and abandon the purchase. On Saturday, March 31, 2012 11:46:11 PM UTC+8, gc wrote: Same On Thursday, March 29,

[android-developers] Re: strange blue boxes with ? instead of images in my Android app...

2012-03-31 Thread lbendlin
have a look at the HTML produced by your app. Most likely it's making an assumption about the path of the external storage rather than using the proper API. On Saturday, March 31, 2012 1:17:26 PM UTC-4, Stuart B wrote: Not sure how to fix though - the images are there, and it runs fine on

[android-developers] Re: Media player no video

2012-03-31 Thread Doug
Does your app have internet permissions to do streaming (required in ICS)? Is the video codec supported by your device? Doug On Tuesday, March 27, 2012 6:25:56 AM UTC-7, aglasofmilk wrote: Hi! I have a problem with playing videos through mediaplayer. I have a sound but no video. I was

[android-developers] Re: use of audio streams

2012-03-31 Thread Doug
You can use STREAM_MUSIC and also request audio focus to try to gain priority. Doug On Tuesday, March 27, 2012 8:09:26 AM UTC-7, RedBullet wrote: I am building an app that will do TTS to read turn by turn directions for navigation. When I am using a bluetooth headset I turn on SCO and use

[android-developers] Remove '@override' annotion

2012-03-31 Thread Kirupa
After sdk updatting I got more no of errors. that Remove '@override' annotion -- 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

[android-developers] ListView and Database

2012-03-31 Thread Ricardo Santos
Hello everyone! I have in my application, I hace a list view that needs to be populated with data from a database, I have tested my database and my app is handling the data correctly, but I cant populate the list view, I have read about the SimpleCursorAdapter but I cant understand how to use

Re: [android-developers] 3D Charts

2012-03-31 Thread James Black
This is a fairly broad area, it would be helpful if you could narrow it down. Basically, you need to connect to a server to get the data, or get it from sensors. Then, use OpenGL to draw the graph. On 31 Mar 2012, at 07:29, sourabh sahu wrote: How to draw 3D interactive charts in

[android-developers] Has ListView been modified in the latest SDK?

2012-03-31 Thread Jim Graham
I'm looking at two of my apps, both with a ListView, and for both, the ListView is defined/described (whatever you want to call it) the same in both XML and in Java (variable names and resource IDs excepted, of course). Here's the catch: in the first, and older app, touching anywhere on the bar

[android-developers] Re: Textview gravity resets

2012-03-31 Thread adev
Sure I can reset the gravity on all of them in code, but that defeats the purpose of using the XML. I'd like to know the cause of the issue I'm seeing now and solve it. On Mar 31, 2:17 pm, Narendra Singh Rathore nsr.curi...@gmail.com wrote: On Sat, Mar 31, 2012 at 4:24 AM, adev

Re: [android-developers] ListView and Database

2012-03-31 Thread Ted Scott
Hi Ricardo, First, I'm sure others will chime in if this is bad advice, but my understanding is that it is better to use the compatibility package and cursor loaders and a load manager. See http://developer.android.com/reference/android/widget/SimpleCursorAdapter.html and the base

Re: [android-developers] Re: Textview gravity resets

2012-03-31 Thread Narendra Singh Rathore
On Sun, Apr 1, 2012 at 8:01 AM, adev enric...@gmail.com wrote: Sure I can reset the gravity on all of them in code, but that defeats the purpose of using the XML. No, not at all. Just reset the gravity of only the TextView in code. You need not to reset the gravity of all of them, as you are