[android-developers] Re: All Renderscript samples fail to run on actual device (Samsung Galaxy Tab 10.1 'google io edition')

2011-05-28 Thread Scythe
Ah, at last I can try out the shiny new CarouselExample. Thanks! On May 28, 4:42 am, Zsolt Vasvari zvasv...@gmail.com wrote: Is the SDK 3.1 V2 just released related to this? On May 28, 7:25 am, Xavier Ducrohet x...@android.com wrote: oops wrong links. Here are the good ones:

[android-developers] LVL test account changes?

2011-05-28 Thread Zsolt Vasvari
Am I just imagining things but it now looks like Google is returning proper LVL extras even when using a test account? The license validity appears to be set for a minute or so. Before, it would not return any extras, so you could never properly test your LVL with a test account. -- You

[android-developers] Re: LVL test account changes?

2011-05-28 Thread Zsolt Vasvari
Duh, ignore just what I said -- it's the same as before... On May 28, 2:38 pm, Zsolt Vasvari zvasv...@gmail.com wrote: Am I just imagining things but it now looks like Google is returning proper LVL extras even when using a test account?  The license validity appears to be set for a minute or

[android-developers] Re: SurfaceView vs View (Canvas Size?)

2011-05-28 Thread Frank
Thank you very much, Dianne. So if I do use View and I have to redraw it in onDraw while scrolling, how can I make the drawing process as fast as possible? Basically, I have a whole bunch of tile buffers available and I just need to piece them together onto View's Canvas based on the scroll

[android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-28 Thread Ali Chousein
Chris if you read the more recent messages I wrote you'll see that I'm not evangelizing poor architectural design or poor implementation. My experience in the industry showed me that project management methodology and architectural design/implementation go hand in hand. I strongly believe in the

[android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-28 Thread Adam Ratana
I agree but with one caveat, the one thing that I think is good about the iOS approach is that it's instantaneous: there's no 4-5 second pause while the app freezes and the force close dialog pops up. Perhaps if it was like iOS (instant kill back to home screen) but with a toast explaining what

Re: [android-developers] Re: echo cancellation

2011-05-28 Thread neha jain
I tried but having same problem Is there any other way to implement live monitor playBack without using audioRecord and AudiTrack. On Sat, May 28, 2011 at 4:09 AM, Spiral123 cumis...@gmail.com wrote: wear headphones On May 27, 12:52 am, neha jain neha.05...@gmail.com wrote: thanx 4

Re: [android-developers] KEYCODE COLON?

2011-05-28 Thread Marcin Orlowski
On 27 May 2011 22:53, Dianne Hackborn hack...@android.com wrote: I don't know of any device that has a colon key (that is why there is no keycode for it). Generally this is generated by shifting with another key, such as shift-; on a PC keyboard. Shift + dot (.) on Milestone/Droid Here's

[android-developers] Re: Error when i open socket and enter data to be send

2011-05-28 Thread ingy abbas
try{ Thread listen = new Thread(new clientThread(clientSocket)); listen.start(); }catch(Exception e){} What else i must add Its Urgent can u help please On May 28, 1:32 am, Miguel Morales therevolti...@gmail.com wrote: Did you read the link I

[android-developers] Gallery with Adapter witch is return layouts

2011-05-28 Thread Károly Holczhauser
Hi all ! I would like to make my custrom gallery, but when I'm implementing the adapter it have to be return an View. I would like to use the gallery to display my own LinearLayout-s, so the adapter have to return these ! Any idea how can I use gallery to display my own , custrom linearlayouts

Re: [android-developers] Gallery with Adapter witch is return layouts

2011-05-28 Thread B Lyon
LinearLayout is a view, isn't it? View -- ViewGroup -- Linearlayout 2011/5/28 Károly Holczhauser holczhau...@gmail.com: Hi all !  I would like to make my custrom gallery, but when I'm implementing the adapter it have to be return an View. I would like to use the gallery to display my own

[android-developers] Trying to get a ProgressDialog to display.

2011-05-28 Thread EmilDiego
I have a function inside one of my activities that calculates some statistics and takes a little time to generate a report. I want to display a progressDialog while this is going on to give the user some feedback that something is happening while he is waiting. The problem I am having is that I

[android-developers] Admob requests jump when running just house ads

2011-05-28 Thread acr
Hi all, I am wondering if anyone can answer this. I am going to contact admob support but don't expect to hear from them anytime soon. I have a popular android app which has been making decent monthly revenue. I decided to run all house ads for a couple days instead of actual ads and to my

Re: [android-developers] Trying to get a ProgressDialog to display.

2011-05-28 Thread B Lyon
I've never used that one, but I'm wondering if the second .show() is necessary, and/or if it is somehow causing weirdness? This person (http://www.helloandroid.com/tutorials/using-threads-and-progressdialog) didn't do that. On Sat, May 28, 2011 at 9:43 AM, EmilDiego emildi...@gmail.com wrote: I

Re: [android-developers] Re: echo cancellation

2011-05-28 Thread Chris Stratton
On Friday, May 27, 2011 12:52:55 AM UTC-4, neha wrote: thanx 4 rply... but if i turn down volume control thn will not be able to hear playbackd voice. and how to seperate mic and speaker .. Echo cancellation in speaker phones / conference phones was one of the big-deal applications for

[android-developers] TextView, ProgressBar, TextView (unexpected exception)

2011-05-28 Thread Anuj Goyal
import android.app.ListActivity; import android.widget.TextView; import android.widget.ProgressBar; import android.os.Bundle; public class HelloLinearLayout extends ListActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

Re: [android-developers] Trying to get a ProgressDialog to display.

2011-05-28 Thread Satya Komatineni
UI, including dialogs, is fundamentally an asynchronous process served by the same thread. A show() on a dialog is a delayed instruction to tell the main thread to show the dialog when it comes back around the loop to process that message. However if you follow the show with a dismiss in the

[android-developers] thread UI android Problems

2011-05-28 Thread ingy abbas
here is an important question about thread UI , and please need help in it http://stackoverflow.com/questions/6162756/thread-ui-problem-w-android-and-python-while-sending-data -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] programatically detect resource qualifiers

2011-05-28 Thread Brill Pappin
We're putting together a small app to help us debug problems in various consumer problems with our software and contribute a database to the aosddl project on google code. Is there a way to programatically detect/get which resource qualifiers the device will use to resolve resources? - Brill

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

2011-05-28 Thread Menion
similar problem for me! I extract one zip file. This is done fine. When I delete extracted directory and want to extract another file, it throw same error! On 9 kvě, 19:00, faah farah.ha...@gmail.com wrote: Can someone tell me how to handle Device or resource busy error? Or how to fix it? On

Re: [android-developers] programatically detect resource qualifiers

2011-05-28 Thread Mark Murphy
On Sat, May 28, 2011 at 12:35 PM, Brill Pappin br...@pappin.ca wrote: Is there a way to programatically detect/get which resource qualifiers the device will use to resolve resources? Configuration and DisplayMetrics have most of the information about the current device setup, though not

Re: [android-developers] programatically detect resource qualifiers

2011-05-28 Thread Brill Pappin
Ahh, thanks, thats the trick! Looks like Configuration.screenLayouthttp://developer.android.com/reference/android/content/res/Configuration.html#screenLayout gives back a values that can be masked by available constants to sort out how the device will filter its resources. - Brill -- You

[android-developers] Re: Problem of Focusing Keeping (I think)

2011-05-28 Thread Andrea Richiardi
By the way, the issue has been added: Issue 16959:ViewAnimator resizing with a 9-patch background On 17 Mag, 23:21, Andrea Richiardi andrea.richia...@gmail.com wrote: Ok, don't know why, but using 9 patched andViewAnimatoris not good. I've ended up using a transition between two normal

[android-developers] StartAnimation on child and OnDraw

2011-05-28 Thread Andrea Richiardi
Hi guys! Here I am again to ask some newbie question :-) I'm trying to build a class that has-a ViewAnimator. For this reason, my onDraw has been overridden like this: protected void onDraw(Canvas canvas) { mAnimator.getCurrentView().draw(canvas); } Now, the ViewAnimator has cool

[android-developers] Re: thread UI android Problems

2011-05-28 Thread ingy abbas
NO HELP IN THIS ??? On May 28, 6:04 pm, ingy abbas ingy.abba...@gmail.com wrote: here is an important question about thread UI , and please need help in ithttp://stackoverflow.com/questions/6162756/thread-ui-problem-w-androi... -- You received this message because you are subscribed to the

[android-developers] System Bar height on tablet devices

2011-05-28 Thread Jason
OK.. I tried replying to this thread: http://groups.google.com/group/android-developers/browse_thread/thread/f9a3974f74e81c65 But Google Groups seems to have lost that email :/, so trying a new post. In the afore-mentioned thread, Dianne talks about not using getHeight()/getWidth() for UI

[android-developers] Lifetime of static [instance] variables

2011-05-28 Thread Anirvan
hello, for quite some time i was blissfully of the opinion that static [instance] variables exist as long as the app runs. however, to my dismay, and much alarm, i feel that it's not true. for mere testing, i created a static list of strings, and in my main activity class overrode the onDestroy

Re: [android-developers] Lifetime of static [instance] variables

2011-05-28 Thread Kostya Vasilyev
Statics do live as long as the process. onDestroy is not an indication that the process is exiting - your activity is getting destroyed, but the process may (and in your case, does) live on. When you come back to the application, Android uses the same process to create another instance of your

Re: [android-developers] Lifetime of static [instance] variables

2011-05-28 Thread Rajesh Kumar
For blackberry and iphone users http://stealthguards.com/idevaffiliate/idevaffiliate.php?id=1475 On Sunday, May 29, 2011, Anirvan anirvan.majum...@gmail.com wrote: hello, for quite some time i was blissfully of the opinion that static [instance] variables exist as long as the app runs.

Re: [android-developers] ListView item click can't work

2011-05-28 Thread Rajesh Kumar
Hi All, Do you own an iphone, iPad, iPod or any other other device like Samsung, HTC, blackberry etc? Have scared about scratches on your device? Want to protect your Device? Then You just buy your scratch proof guard here, Its highly recommended. http://goo.gl/gHixr On Wednesday, May 18,

Re: [android-developers] TextView, ProgressBar, TextView (unexpected exception)

2011-05-28 Thread Rajesh Kumar
Hi All, Do you own an iphone, iPad, iPod or any other other device like Samsung, HTC, blackberry etc? Have scared about scratches on your device? Want to protect your Device? Then You just buy your scratch proof guard here, Its highly recommended. http://goo.gl/gHixr -- Prabhu On Saturday,

[android-developers] sending string of data from android to python

2011-05-28 Thread ingy abbas
What if i want to send this data to my socket Python After i already open a connection and i want to send tis string enter code here String Text = My current location is: + Latitud = + loc.getLatitude()+ Longitud = +loc.getLongitude()

[android-developers] Re: getFilesDir() throws NullPointerException

2011-05-28 Thread Marco
How to get access to these methods correctly? Move the code from ProblematicClass into MainActivity. Or, if you are careful, you can pass your instance of MainActivity to ProblematicClass. Or, if you are careful, you can make ProblematicClass an inner class of MainActivity.

[android-developers] Re: Lifetime of static [instance] variables

2011-05-28 Thread Anirvan
thanks for the response Kostya. but i does one truly determine that the application 'process' has terminated? for testing, i've created a single Activity which serves as the Main. when i press the back button after launching this activity, the app ends. i've also verified that the app is no

[android-developers] SMS BroadcastReceiver

2011-05-28 Thread Amita Dev
Hi, Is SMS BroadcastReceiver normal or Ordered? I am setting priority as 100 in androidManifest [ intent-filter ] and calling abortBroadcast() in onReceive as well but even after that native SMS application is getting called. When I try this in emulator this works fine but when I run in my

Re: [android-developers] Re: Lifetime of static [instance] variables

2011-05-28 Thread Kostya Vasilyev
Your application logic should be coded in such a way that the process can be killed at any time (usually once it's in the background), or not be killed, and still work correctly. There is no callback when the process is killed. Pressing the back key always finishes the current activity - the back

[android-developers] MediaPlayer deadlock fix (or alternative players)

2011-05-28 Thread Andrey
Hello, I've seen this question asked a few times, but have not been able to find the answer. I am developing a very simple music player that streams MP3s from a list of URLs. It works fine most of the time, but after playing several songs (or switching to a new song several times), the

[android-developers] Re: System Bar height on tablet devices

2011-05-28 Thread Lance Nanek
I don't know how to get that. That said, I've never needed it. The dimensions that OpenGL games implemented using GLSurfaceView are supposed to draw themselves in are passed to the game's renderer in this method:

[android-developers] Re: thread UI android Problems

2011-05-28 Thread ingy abbas
Dear Androiders no help ?? On May 28, 9:20 pm, ingy abbas ingy.abba...@gmail.com wrote: NO HELP IN THIS ??? On May 28, 6:04 pm, ingy abbas ingy.abba...@gmail.com wrote: here is an important question about thread UI , and please need help in

[android-developers] Very puzzling crash report from user

2011-05-28 Thread Zsolt Vasvari
I've received the following crash report from a user. He's running HTC Wildfire 2.1. I've tried duplicating the issue on the emulator by setting up a Wildfire-like system (2.1, QVGA). but no luck. I suspected a corrupt installation, so I sent him my APK and the same thing happened. I am at a

Re: [android-developers] Very puzzling crash report from user

2011-05-28 Thread Mark Murphy
Based upon the exception, Android is failing to load R.drawable.btn_dropdown (android.content.res.Resources$NotFoundException: File res/drawable/btn_dropdown.xml), not android.R.drawable.btn_dropdown. On Sat, May 28, 2011 at 8:10 PM, Zsolt Vasvari zvasv...@gmail.com wrote: I've received the

[android-developers] Tutorials about using USB in my app

2011-05-28 Thread khaled anaqwa
Hello Guys , I wanna use USB in my app , when I input Flash Memory in my pc transfer data from Flash Memory to my app -- 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

Re: [android-developers] Tutorials about using USB in my app

2011-05-28 Thread Kristopher Micinski
This isn't currently supported, at least the way I think you you mean it. On May 28, 2011 8:38 PM, khaled anaqwa khaled.adnan.ana...@gmail.com wrote: Hello Guys , I wanna use USB in my app , when I input Flash Memory in my pc transfer data from Flash Memory to my app -- You received this

[android-developers] Re: NFC send Photo

2011-05-28 Thread Bob Kerns
Send? Just what do you think NFC is, exactly? It sounds like you think it's an alternative to WiFi or Bluetooth. That's not exactly true, or only approximately true, depending on how you want to look at it. While in theory you could use it to communicate between two devices, the short range

[android-developers] Re: NFC send Photo

2011-05-28 Thread Bob Kerns
Sorry, I was interrupted and sent this out prematurely. Anyway, that's the standard. Then you need to consider what the library you use is doing. If you're talking about the Android side, it looks like it does the chunking for you:

[android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-28 Thread Bob Kerns
I read Dan's message a bit differently than it seems everyone else has. I too have 40+ years of experience, and I think I see where you're coming from, and I'm not distracted by the legs remark. Yes, there's a lot of competition. What this argues, really, is that you should either be willing

[android-developers] Network operation every half sec.

2011-05-28 Thread Mahavir Jain
Hi, I want to make network operation in every half sec and depending on data, i want to update the ListView continuously. Following is my approach: Using thread and handler.postDelayed, it makes the network request every sec and update only those views of the row in ListViewwhich needs to be

[android-developers] Re: Very puzzling crash report from user

2011-05-28 Thread Zsolt Vasvari
Well, I do not have such a resource and I don't use android.R.drawble.btn_dropdown anywhere. I do have a TextView where I give it a style of android:Widget.Spinner which would eventually resolve to btn_dropdown. The reason I am at a loss is as there are thousands of users where the same

Re: [android-developers] ListView item click can't work

2011-05-28 Thread Nguyen Dat
Hi Harvey Could you please post code snippet about implement of get ListView then register handle click item list. I usually register handle click item list as bellow: + with ListActivity: ListView listview = (ListView) getListView(); + with Activity: ListView listview = (ListView)

Re: [android-developers] Cannot connect to VM

2011-05-28 Thread TreKing
On Fri, May 27, 2011 at 7:53 PM, bob b...@coolgroups.com wrote: I am getting this error of Cannot connect to VM. Anyone know what causes this or how to fix it? http://www.google.com/search?q=Cannot+connect+to+VM

Re: [android-developers] Re: Very puzzling crash report from user

2011-05-28 Thread tj
I had the same problem with list_selector_background. You can fix that by copying the resources into your own apk. tj Caused by: android.content.res.Resources$NotFoundException: File res/drawable/list_selector_background.xml from drawable resource ID #0x0 at

[android-developers] Portrait Width Delays

2011-05-28 Thread Yan
I have six programs in the Android Market that require android:screenOrientation=portrait only. I just tested the SDK Platform Android 3.1, API 12,revision2 and the first time I run my apps it gives me the landscape widths long before it give me the portrait widths. Should I now put a delay in

Re: [android-developers] Re: thread UI android Problems

2011-05-28 Thread TreKing
On Sat, May 28, 2011 at 2:20 PM, ingy abbas ingy.abba...@gmail.com wrote: NO HELP IN THIS ??? APPARENTLY NOT!!! ESPECIALLY SINCE YOUR LINK GOES NOWHERE!!! AND YELLING AT PEOPLE IS NOT GOING TO MAKE THEM WANT TO HELP YOU!!!

[android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-28 Thread DanH
Yeah, Bob, I think you mostly understand where I was coming from: 1) Don't focus your career on any single technology or product but rather seek to have a broad-based, multi-specialty background and the flexibility to move from project to project. And don't short-change learning the fundamentals.

[android-developers] Re: Lifetime of static [instance] variables

2011-05-28 Thread DanH
Static and instance variables are two different things. A static variable lives for the lifetime of the loaded class (which may be shorter than the lifetime of the JVM). An instance variable lives for the lifetime of the object (instance of the class) that contains it. I have no idea what you

[android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-28 Thread Bob Kerns
I meant something far more narrow. If you work create a phone app as a work-for-hire, whether as a contractor, vendor, or even as an employee, you will be expected to produce what they're asking for. Often, in this scenario, it will be on a tight budget, and quite narrowly defined. This is in

[android-developers] openvpn in android

2011-05-28 Thread Sundi
I am trying to enable openvpn http://openvpn.net/ in android xt5 , looking for some procedure and head start tutorials, If anyone has tried this before please point me to some working examples. -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: Very puzzling crash report from user

2011-05-28 Thread Brill Pappin
Are you in contact with the user? I've had some very strange error reports both from custom ROMs and from crackers attempting to modify my apps. I usually wait to see if there is a trend before I worry too much about a strange error report like that. -- You received this message because you

Re: [android-developers] Re: All Renderscript samples fail to run on actual device (Samsung Galaxy Tab 10.1 'google io edition')

2011-05-28 Thread Xavier Ducrohet
No, the 3.1 r2 SDK fixes an issue with the rendering library used in the UI builder in Eclipse. The renderscript compiler is not part of the platform component but of the platform tools component which is used by all platforms. I'm planning on pushing an updated platform-tools component on

Re: [android-developers] Tutorials about using USB in my app

2011-05-28 Thread Chris Stratton
On Saturday, May 28, 2011 9:03:46 PM UTC-4, Kristopher Micinski wrote: This isn't currently supported, at least the way I think you you mean it. I wanna use USB in my app , when I input Flash Memory in my pc transfer data from Flash Memory to my app With a PC in the loop, it might be