Re: [android-developers] Have to clean build to get app to install on phone

2011-04-27 Thread Kostya Vasilyev
That's a pretty exotic setup... but whatever floats your boat... If I'm reading things right, you shouldn't have to *run* from Eclipse at all. Since you already build and install from the command line, you can simply attach Eclipse for debugging to an already running process. Look in the DDMS

Re: [android-developers] Re: How do I remove the background of a image button?

2011-04-27 Thread shyme wu
Dear Sourav : It works. Thanks. Best Regards, Shyme 2011/4/27 Sourav Howlader sourav.howla...@gmail.com in xml declare android:background=@null this will solve your problem -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: OutofmemoryError

2011-04-27 Thread Andreas Agvard
You can free memory allocated by bitmaps by calling their recycle() method. On Apr 27, 6:43 am, subhashini alaguchokku subhashini.andr...@gmail.com wrote: Hi! Im got BitmapSize exceeds VM budget outof memory error. any one have idea? how to clear the memory.here i loaded the too many

[android-developers] How to add wallpapers from my application code to the Wallpaper Gallery (Home Screen MENU Wallpaper Wallpaper gallery)

2011-04-27 Thread mack2978
Hi All, I want to add wallpapers from my application code to the Wallpaper Gallery (Home Screen MENU Wallpaper Wallpaper gallery). Can anybody please help me how to achive this? Thanks in advance. thanks, mack -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Built-in camera problem deleting files

2011-04-27 Thread Liang Wang
Sorry, I thought you saved one file to SD card by yourself but the file was media-scanned. Things seems to be that you can get the bitmap from Camera but camera always save a copy into MediaStore. So you can see it in Gallery. I think there are two options: 1. Leave it alone. Since user

[android-developers] Problem to fix image view to layout

2011-04-27 Thread Jayanthi
Hi, I have to set image which has its size Dimension: 390 width in px , 950 height in px, I couldn't able to fix this to full screen below is my code ?xml version=1.0 encoding=utf-8? LinearLayout android:id=@+id/LinearLayout01 android:layout_width=fill_parent android:layout_height=fill_parent

[android-developers] Re: How to add wallpapers from my application code to the Wallpaper Gallery (Home Screen MENU Wallpaper Wallpaper gallery)

2011-04-27 Thread mack2978
Pls help me On Apr 27, 12:08 pm, mack2978 smashmah...@gmail.com wrote: Hi All, I want to add wallpapers from my application code to the Wallpaper Gallery (Home Screen MENU Wallpaper Wallpaper gallery). Can anybody please help me how to achive this? Thanks in advance. thanks, mack

[android-developers] Re: Making SmartCard feature available in Google Nexus S

2011-04-27 Thread Alberto González
Thanks memik, I'll take a look at it =) On 26 abr, 17:22, nemik ne...@nemik.net wrote: Alberto, A while back I posted my diff's to the Android source code to get this working here:http://groups.google.com/group/android-developers/browse_thread/threa... I was able to get the SmartMX

[android-developers] Image gallery without memory error

2011-04-27 Thread Hassy
I made a image gallery but getting a memory error when I slide photos. Then I added bitmapfactory but I can run the program because It shows error in the bitmapdrawable. can anybody tell me how to solve this problem. ContentResolver cr=getContentResolver(); Cursor c=cr.query(

[android-developers] Re: Market sales suddenly cut in half

2011-04-27 Thread sparks
that would be amazing, i recently have grown fond of appmonger and appstats pro, and feel both are kind of lacking little features i would like to see implemented -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Is there a WebDav client for Android

2011-04-27 Thread ashimita
Well, I tried building the jackrabbit-webdav using their bundled pom.xml. The generated jar size is around 480 KB which is much better compared to the size of the standalone.jar. I still was unable to use it for my Android apps, as it was unable to find a logging related jar. But at least the

Re: [android-developers] Re: Market sales suddenly cut in half

2011-04-27 Thread Jon F Hancock
I haven't heard of either of those. I haven't been too happy with Mopapp because their numbers just don't seem right. I also want days to break at midnight for me, not midnight Eastern Time. I used to like Android Market Report (in the market), but it is really slow, and after Checkout started

[android-developers] Re: Is there a WebDav client for Android

2011-04-27 Thread ashimita
Well, I tried building the jackrabbit-webdav using their bundled pom.xml. The generated jar size is around 480 KB which is much better compared to the size of the standalone.jar. I still was unable to use it for my Android apps, as it was unable to find a logging related jar during runtime. But at

Re: [android-developers] Re: Problem installing android sdk in ubuntu 10.10

2011-04-27 Thread Saurav
Hi, I am sorry that I did not reply back. I kinda gave up, as no1 was replying. First of all, Thanks a lot. Secondly, 1. I am not behind a proxy, just that I have a wireless switch with a DHCP, puts me under 192.168.1.X series IP 2. I can access internet from the terminal. 3. Yes, I am able to

[android-developers] Help creating shape drawable

2011-04-27 Thread Neilz
Hi all. I want to create a shape drawable, in the style of a rounded rectangle. However I want the background (the section outside the rounded corners) to be white, and the main central section (within the rounded corners) to be transparent. Effectively, you can imagine this working like a

Re: [android-developers] Re: Problem installing android sdk in ubuntu 10.10

2011-04-27 Thread Kostya Vasilyev
Have you tried enabling Force https:// sources to be fetched using http://; in Android SDK Manager settings? 27.04.2011 13:13, Saurav ?: Hi, I am sorry that I did not reply back. I kinda gave up, as no1 was replying. First of all, Thanks a lot. Secondly, 1. I am not behind a proxy,

Re: [android-developers] Help creating shape drawable

2011-04-27 Thread Daniel Drozdzewski
On Wed, Apr 27, 2011 at 10:31 AM, Neilz neilhorn...@gmail.com wrote: Hi all. I want to create a shape drawable, in the style of a rounded rectangle. However I want the background (the section outside the rounded corners) to be white, and the main central section (within the rounded corners)

Re: [android-developers] Re: how to change id3v2 tag information?

2011-04-27 Thread Hitendrasinh Gohil
hi, i need to change header info like contentlength and bitrate. how can i do that? -- Regards, Hitendrasinh Gohil -- 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

[android-developers] captureDispatchPointer and captureDispatchKey - Monkey

2011-04-27 Thread Yash Jain
Hello All, I have a question ??? I want to know how captureDispatchPointer and captureDispatchKey works. basically i want to create an event(tap) on touchscreen at a desired co-ordinates. I searched and ended up in the below description but i do not understand what these arguments corresponds

Re: [android-developers] Phone for development

2011-04-27 Thread Raghav Sood
Thanks guys. Kostya, we are talking about the RAM. I turned the task killer of as you mentioned it might interfere but it has not helped. Any more ideas? Thanks On 4/27/11, Kostya Vasilyev kmans...@gmail.com wrote: If we are talking about RAM (as opposed to internal storage), well, Android

[android-developers] which is the fastest encryption scheme that i can use with android?

2011-04-27 Thread Hitendrasinh Gohil
hi, can anyone tell me which the fast encryption scheme in android that i can use? regards, hitendrasinh gohil -- 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] which is the fastest encryption scheme that i can use with android?

2011-04-27 Thread Marcin Orlowski
On 27 April 2011 12:23, Hitendrasinh Gohil hitendra.virtuei...@gmail.comwrote: hi, can anyone tell me which the fast encryption scheme in android that i can use? XOR :) PS: there nothing like this. It all depends on what you want to achieve and what data you gonna process. And hardware

Re: [android-developers] Phone for development

2011-04-27 Thread Kostya Vasilyev
One of my phones (HTC Hero) has just a little bit more RAM than your LG Optimus, and I never had any trouble developing with it. And to repeat - killing applications and freeing RAM is something Android always does. If there is a problem with that, that would be a major screw-up by the

Re: [android-developers] Android apps

2011-04-27 Thread lbendlin
thankfully, no. Users are already furious enough about all the junk the Telcos put on the phones, and that the average user is unable to remove. -- 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] Re: Update Contacts

2011-04-27 Thread Ali Chousein
Please check my blog at the address http://android-contact-id-vs-raw-contact-id.blogspot.com/ the section PROGRAMMATICALLY INSERT A CONTACT INTO A DESIRED GROUP. With the piece of code I give there, the contact is displayed in your contacts list. In the past I also had similar problems to yours

Re: [android-developers] How can we get the mobile position (e.g. by gps) all the time?

2011-04-27 Thread lbendlin
TreKing, this just gave me an idea. How about a hybrid between GPS and accelerometer? Keep the GPS listener running until there was no position update for, let's say, 20 periods. Then disable the GPS listener and enable the accelerometer listener. Once movement is observed, restart the GPS

[android-developers] How can i user SVN to check in my code to google server?

2011-04-27 Thread a a
I mean under code.google.com/p/my code project -- 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] Re: which is the fastest encryption scheme that i can use with android?

2011-04-27 Thread DanH
I did some timings on a different platform, and encryption (AES-256 in that case) was virtually immeasurable in most cases -- swamped by I/ O. I don't see why it would be much different on Android. On Apr 27, 5:23 am, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: hi, can anyone tell

[android-developers] Re: Update Contacts

2011-04-27 Thread Stefan S
Hi Ali Thank for your reply. I've read your blog. Very interesting. You wrote that you also had problems with ContentValues. Should I try to use the ContentProviderOperation? On 27 Apr., 13:15, Ali Chousein ali.chous...@gmail.com wrote: Please check my blog at the

Re: [android-developers] How can i user SVN to check in my code to google server?

2011-04-27 Thread J Handal
Hi aa, http://blog.search-computing.net/2010/04/using-a-svn-repository-with-eclipse/ -- 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: Market active installs not upgrading

2011-04-27 Thread Pikoh
I know, i know...i still believe in Santa :) But if the have a known issue,at least they could tell us they are working on it... On 26 abr, 22:32, TreKing treking...@gmail.com wrote: On Tue, Apr 26, 2011 at 3:20 PM, Pikoh pik...@gmail.com wrote: Well, hope someone at Google could give us some

[android-developers] Re: how to load intro while setting up huge database

2011-04-27 Thread Javacoffee
Thanks guys for your kind reply :) On 4월27일, 오전11시32분, Emanuel Moecklin 1gravity...@gmail.com wrote: I'm running the database initialization in an IntentService which always runs in a separate thread. The main activity starts the service and connects to the service to show a progress bar. If

[android-developers] Re: Filter out an application

2011-04-27 Thread Akshay Goel
Thanks Dianne! Would creating a content provider be of any help? -Akshay On Apr 26, 11:36 pm, Dianne Hackborn hack...@android.com wrote: Sorry there is not a way to do this.  You'd have to query the package manager yourself and show a selection UI that doesn't include your app. On Tue,

[android-developers] Re: Update Contacts

2011-04-27 Thread Ali Chousein
Hi Stefan, I would advice you to use ContentProviderOperation because this has the advantage of applying many operations in batch mode. It'll help you with speed improvements. But be careful how you should use the RAW_CONTACT_ID. If you have close look to the example, it should be obvious I

[android-developers] Error when launching a ringtone.

2011-04-27 Thread Alaeddine Ghribi
Hi, I have an AlertDialog that when it shows it launches a ringtone, however i have always an exception, here is what i did: ad.show(); try { MediaPlayer mt = MediaPlayer.create(context,R.raw.ringtone); mt.setVolume(5,5); mt.start();

[android-developers] Re: Update Contacts

2011-04-27 Thread Stefan S
Ok. So i^'ll try with the ContentProviderOperation to update my contacts and thanks for the explanation contact_id, raw_contact_id. I'll give you some feedback if it's worked or not. Thanks Stefan On Apr 27, 2:20 pm, Ali Chousein ali.chous...@gmail.com wrote: Hi Stefan, I would advice you to

[android-developers] Using setArguments() after inflation

2011-04-27 Thread Dave Johnston
What is the correct way to pass arguments to a Fragment after inflation (for example, after calling setContentView)? Attempting to call setArguments() after setContentView() results in java.lang.IllegalStateException: Fragment already active. Is it simply preferable to instantiate and add

[android-developers] Re: Help creating shape drawable

2011-04-27 Thread Streets Of Boston
I don't think you can draw an 'inverse' rectangle like that using shape drawables. For a good overview of what you can use for drawables go here: http://www.idunnolol.com/android/drawables.html I agree with Daniel: Use a 9patch drawable or do it programmatically, creating your own Drawable

[android-developers] Cropping Images with Droid X

2011-04-27 Thread James W
There have been a number of threads here and on other resources regarding this issue, with no resolution I could see: http://groups.google.com/group/android-developers/browse_frm/thread/beb2d62035e424d6/7e12c2a7a1605f52?hl=enlnk=gstq=droid+++x#7e12c2a7a1605f52

Re: [android-developers] Using setArguments() after inflation

2011-04-27 Thread Mark Murphy
On Wed, Apr 27, 2011 at 9:46 AM, Dave Johnston john...@gmail.com wrote: What is the correct way to pass arguments to a Fragment after inflation (for example, after calling setContentView)? Attempting to call setArguments() after setContentView() results in java.lang.IllegalStateException:

Re: [android-developers] Using setArguments() after inflation

2011-04-27 Thread Dianne Hackborn
You use arguments when you are creating it in code, and XML attributes when you are creating from XML. If you want to modify the fragment state after it is made... well just add methods to your fragment to set the state. On Wed, Apr 27, 2011 at 1:46 PM, Dave Johnston john...@gmail.com wrote:

[android-developers] Honeycomb Bitmap.createBitmap

2011-04-27 Thread Sergey Okhotny
Was it changed where Bitmap.createBitmap stores bitmap data (dalvik heap or Native heap)? Becuase I can successful create bitmap 2000x2000 on Android 2.2 and get OutOfMemoryException on 3.0? Thanks -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] DB Id's vs ListView

2011-04-27 Thread Dianne Hackborn
There is no need to pull the ID for each item. And there is definitely no need to put all of this data in an array...!!! Don't do that, you kill performance by causing you to have to load everything out of the cursor. Note that ListView and many other things rely on a cursor always having a

Re: [android-developers] Phone for development

2011-04-27 Thread Raghav Sood
Okay. I'll check that out. Still can someone suggest a reasonably priced android 2.2 or above phone? Thanks On Wed, Apr 27, 2011 at 4:18 PM, Kostya Vasilyev kmans...@gmail.com wrote: One of my phones (HTC Hero) has just a little bit more RAM than your LG Optimus, and I never had any trouble

[android-developers] Center checkbox at right of imageview in relativelayout

2011-04-27 Thread ABSOLUT
Hi, I'm trying to put a checkbox at right of a imageview in the center but allways put the checkbox at left of the imageview. Mi layout is: .. ... ImageView android:id=@+id/img android:layout_width=150px

Re: [android-developers] Re: Help creating shape drawable

2011-04-27 Thread Kostya Vasilyev
27.04.2011 17:50, Streets Of Boston ?: I don't think you can draw an 'inverse' rectangle like that using shape drawables. Why not? ?xml version=1.0 encoding=utf-8? shape xmlns:android=http://schemas.android.com/apk/res/android; android:shape=rectangle corners

Re: [android-developers] Honeycomb Bitmap.createBitmap

2011-04-27 Thread Dianne Hackborn
It was changed, but not in a way that would cause more OOM errors (actually OOM errors when creating bitmaps are much less of a problem in 3.0). This is a pretty large bitmap, though, especially if you are making it 32bpp -- I think that would be 14MB. You may have been very close to the memory

[android-developers] Re: Using setArguments() after inflation

2011-04-27 Thread Dave Johnston
Cheers Mark and Dianne. Sounds like setArguments is analogous to XML attributes, whereas I had been using them similarly to Intent data, which now seems so very wrong... -dave On Apr 27, 2:56 pm, Dianne Hackborn hack...@android.com wrote: You use arguments when you are creating it in code, and

Re: [android-developers] Re: Market active installs not upgrading

2011-04-27 Thread TreKing
On Wed, Apr 27, 2011 at 7:11 AM, Pikoh pik...@gmail.com wrote: But if the have a known issue,at least they could tell us they are working on it... Seems simple enough doesn't it? But that would require someone - anyone - on the Android Market Team giving a damn.

Re: [android-developers] Re: Filter out an application

2011-04-27 Thread Dianne Hackborn
I don't see how it would be. On Wed, Apr 27, 2011 at 12:18 PM, Akshay Goel xpectro...@gmail.com wrote: Thanks Dianne! Would creating a content provider be of any help? -Akshay On Apr 26, 11:36 pm, Dianne Hackborn hack...@android.com wrote: Sorry there is not a way to do this. You'd

Re: [android-developers] Honeycomb Bitmap.createBitmap

2011-04-27 Thread Daniel Drozdzewski
On Wed, Apr 27, 2011 at 3:04 PM, Sergey Okhotny okho...@gmail.com wrote: Was it changed where Bitmap.createBitmap stores bitmap data (dalvik heap or Native heap)? Becuase I can successful create bitmap 2000x2000 on Android 2.2 and get OutOfMemoryException on 3.0? Thanks How do you create

[android-developers] Re: Honeycomb custom expanded views

2011-04-27 Thread faah
The same code seems to work fine on the phone build using version 8. It seems something is up with honeycomb. Here is the log cat: 04-27 10:20:38.410: INFO/Farah(2579): UploadIntentParamObj [_absPath=/ mnt/sdcard/Music/Matthew_Sweet-Girlfriend.mp3, _authToken=567, _fileId=null,

Re: [android-developers] Honeycomb custom expanded views

2011-04-27 Thread Farah Hanif
On progressUpdate, I am updating the notification.. My progress code is below: protected void onProgressUpdate(Long... values) { if(_percentUploaded=0 _percentUploaded 100){ updateNotification(notification_id, 100, _percentUploaded, _total, _uploadedSize);

Re: [android-developers] Re: Help creating shape drawable

2011-04-27 Thread Streets Of Boston
This would draw a transparent rectangle (with a 4dp border). It doesn't draw the white area outside the rectangle. As far as I know, drawing something transparent does not clear a 'previous' color, i.e. drawing a transparent rectangle on a white background still would show white background

[android-developers] Help needed on porting Flixel Framework to Android. Current issue: switch from canvas draw to opengl es

2011-04-27 Thread Leonardo Zimbres
Hello Android Devs, WingEraser (its how I know him) has been porting Flixel to Android for a while. What is flixel? An actionscript 3.0 game framework. Its very well organized and have a lot of good stuff into it. Collisions, particles, nice use of bitmaps to tiles and sprite animations. If

Re: [android-developers] Re: Honeycomb custom expanded views

2011-04-27 Thread TreKing
On Wed, Apr 27, 2011 at 9:30 AM, faah farah.ha...@gmail.com wrote: The same code seems to work fine on the phone build using version 8. It seems something is up with honeycomb. Are you on the emulator? I've heard tell it's notoriously slow. If not, then try pausing the debugger when the

[android-developers] Re: Calling a system service in fixed intervals within another service

2011-04-27 Thread Diego Tori
Sorry to bump the thread, but after creating a HandlerThread, all of the locking stopped and the service stopped on a dime after unbinding even when it waited for the allotted time before the next scan. Anyways, I was wondering if I managed to implement it correctly: class MyHandlerThread

[android-developers] monkeyrunner with different android versions

2011-04-27 Thread Tiago Maluta
Hi. I tested the same monkeyrunner [1] script on two android versions 2.3.3 and 2.2.1 and the last run partially. Some commands like (i.e: takeSnapshot()) works with some error messages and other don't (i.e: device.drag()) with a _lot_ of error messages. On my test script [2] I got: 110427

Re: [android-developers] Phone for development

2011-04-27 Thread Pepijn Van Eeckhoudt
On 27/04/2011 16:12, Raghav Sood wrote: Okay. I'll check that out. Still can someone suggest a reasonably priced android 2.2 or above phone? Thanks Since no one's giving you any advice I'll give it a try ;) The dev phones I use myself are Motorola Milestone XT720, HTC Desire, Samsung Galaxy

Re: [android-developers] Re: Help creating shape drawable

2011-04-27 Thread Kostya Vasilyev
It draws the border, while leaving the interior untouched, available to draw something else, which I think is what the OP wanted? -- Kostya 27.04.2011 18:34, Streets Of Boston пишет: This would draw a transparent rectangle (with a 4dp border). It doesn't draw the white area outside the

Re: [android-developers] Phone for development

2011-04-27 Thread Raghav Sood
Thanks Pepijn. That helps a lot. I'll most probably do with a HTC now. Thanks everyone. On Wed, Apr 27, 2011 at 8:45 PM, Pepijn Van Eeckhoudt pep...@vaneeckhoudt.net wrote: On 27/04/2011 16:12, Raghav Sood wrote: Okay. I'll check that out. Still can someone suggest a reasonably priced

[android-developers] Re: Honeycomb / 3.0 / OpenGL ES / Broken / Again!?!

2011-04-27 Thread MichaelEGR
I did finally isolate the issue after 3 days since I had to start from a most fundamental level (thorough review from GL context creation on up)... There seems to be a change to NIO buffers that is not playing nice with the extended API I have built with them.. In particular it appears the

[android-developers] Re: Help creating shape drawable

2011-04-27 Thread Neilz
Hi Kostya, I tried the example you gave above. Firstly it's not quite what I was after, as the outer edges are rounded - I need the drawable as a whole to be square/rectangular. Also, strangely, even though I've overlayed this over my image using a FrameLayout, the image can be seen in full

Re: [android-developers] Re: Help creating shape drawable

2011-04-27 Thread Kostya Vasilyev
27.04.2011 19:53, Neilz пишет: Hi Kostya, I tried the example you gave above. Firstly it's not quite what I was after, as the outer edges are rounded - I need the drawable as a whole to be square/rectangular. Also, strangely, even though I've overlayed this over my image using a FrameLayout,

[android-developers] user interface

2011-04-27 Thread bob
What are some tools to help you design an android user interface? -- 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] user interface

2011-04-27 Thread bob
What are some tools to help you design an android user interface? -- 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

Re: [android-developers] Re: Honeycomb / 3.0 / OpenGL ES / Broken / Again!?!

2011-04-27 Thread Mark Murphy
On Wed, Apr 27, 2011 at 11:37 AM, MichaelEGR foun...@egrsoftware.com wrote: I did finally isolate the issue after 3 days since I had to start from a most fundamental level (thorough review from GL context creation on up)... There seems to be a change to NIO buffers that is not playing nice

[android-developers] Getting bitmap to fit an ImageView

2011-04-27 Thread Neilz
Hi. My app downloads some images over the net, and in this case they are 185 * 185, though that's probably irrelevant. I'm creating a layout where I specify the size of the frame, in this case 150dip square, and I want the image to fit the frame, regardless of whether the frame is bigger or

[android-developers] Re: How can we get the mobile position (e.g. by gps) all the time?

2011-04-27 Thread Hari Edo
Theoretically, a perfect accelerometer would give you your relative velocity change, and if you knew the initial velocity, you could get your relative position change. In practice, you don't have a perfect accelerometer-- they have sample rate limits that are pretty coarse for kinetic analysis,

Re: [android-developers] user interface

2011-04-27 Thread TreKing
On Wed, Apr 27, 2011 at 11:23 AM, bob b...@coolgroups.com wrote: What are some tools to help you design an android user interface? Here are a few: http://tinyurl.com/3sz722e - TreKing

Re: [android-developers] Re: Honeycomb / 3.0 / OpenGL ES / Broken / Again!?!

2011-04-27 Thread Pepijn Van Eeckhoudt
On 27/04/2011 17:37, MichaelEGR wrote: Should I file a bug? I've already spent too much time tracking down the problem to create a separate test case. I'm now not going to have a private beta for I/O as it is due to this delay. So many words and you still didn't actually say what

Re: [android-developers] Re: Help creating shape drawable

2011-04-27 Thread Kostya Vasilyev
Neil, Not to beat over a dead horse, and out of curiosity more than anything else... it is possible draw the outside rectangular border, in addition to the rounded inside border, with a layer list drawable. I am attaching a small (6K) screenshot. The green and brown could be changed to any

RE: [android-developers] user interface

2011-04-27 Thread Tommy
I have used on a while back called DroidDraw IT was alright It has been over 6 months since I last used it so maybe its been updated. Other than that I don't know. I used DroidDraw to get feel for how designs work then I just started doing it in the XML Mostly with the RelativeViewIts

RE: [android-developers] Phone for development

2011-04-27 Thread Tommy
I would HIGHLY recommend HTC.. THEY ARE BEAUTIFUL PHONES! One of my phones is the HTC Aria I use for development and my main personal phone.. Great phones. An example.. My wife threw a pair of paints at me as hard as she could (we were playing around she wasn't trying to kill me) but she didn't

[android-developers] Orphaning a Task

2011-04-27 Thread Eric
The doc says this: http://developer.android.com/guide/topics/fundamentals/tasks-and-back-stack.html This second ability is important: Users must be able to leave a task and then come back to it later using this activity launcher. For this reason, the two launch modes that mark activities as

Re: [android-developers] Regarding Parsing From Server.

2011-04-27 Thread TreKing
On Tue, Apr 26, 2011 at 3:43 AM, yogendra G yogi2...@gmail.com wrote: In my app have my own search bar,in tht if i enter anything like jobs- i shud get detail of tht jobs from my own server. So how can i do it 1 - Send a request to your own server. 2 - In your own server, send a response

Re: [android-developers] Use Google Talk from within my app

2011-04-27 Thread TreKing
On Tue, Apr 26, 2011 at 5:25 AM, Ingmar ingmar.heinr...@gmail.com wrote: can I send messages via XMPP/Google Talk from within my app without having the user provide his credentials? I certainly hope not ...

Re: [android-developers] Re: Honeycomb / 3.0 / OpenGL ES / Broken / Again!?!

2011-04-27 Thread Romain Guy
Please file a bug at b.android.com and include a concise and accurate description of what is going wrong with duplicate(). Please also include, if possible, a reproducible test case so we can make sure the bug, if bug there is, is fixed on our end. Thanks. On Wed, Apr 27, 2011 at 9:36 AM, Pepijn

Re: [android-developers] Re: Help creating shape drawable

2011-04-27 Thread Streets Of Boston
Good one!! :) ... drawing two rectangles; the smaller one with rounded corners slightly smaller above the larger one with rectangular corners. As long as your paddings can be fixed/constant, this will work indeed :) -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Move between EditTexts

2011-04-27 Thread TreKing
On Tue, Apr 26, 2011 at 3:53 AM, Yaniv ybenda...@gmail.com wrote: I want that after entering any character to a text edit the focus would move to the next one. http://developer.android.com/reference/android/text/TextWatcher.html

[android-developers] Re: Honeycomb / 3.0 / OpenGL ES / Broken / Again!?!

2011-04-27 Thread MichaelEGR
On Apr 27, 9:23 am, Mark Murphy mmur...@commonsware.com wrote: I suggest that you calm down, ease up on the childlike ALL CAPS AND EXCLAMATION POINTS!!!, get rid of the profanity, and simply state that you believe that there has been a regression. If I didn't just spend the majority of my

[android-developers] Re: Honeycomb / 3.0 / OpenGL ES / Broken / Again!?!

2011-04-27 Thread MichaelEGR
On Apr 27, 9:36 am, Pepijn Van Eeckhoudt pep...@vaneeckhoudt.net wrote: So many words and you still didn't actually say what ByteBuffer#duplicate is doing wrong in the first place. It's such a basic method that the test case is probably shorter than the rant ;) Would you care to share what

[android-developers] How to make an efficient rendering loop with cache-based scrolling/zooming

2011-04-27 Thread Justin Holmgren
Does anybody have any ideas on this? -- 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] Re: Honeycomb / 3.0 / OpenGL ES / Broken / Again!?!

2011-04-27 Thread MichaelEGR
I will try and get something in at some point, but as indicated I am under the gun so to speak with major time constraints and limitations. :( I wish this isn't the case and I can leisurely provide thorough test cases for free. I'd expect a concise and accurate description plus solid test case

Re: [android-developers] Phone for development

2011-04-27 Thread Raghav Sood
Thanks. Is the Desire a good choice? On Wed, Apr 27, 2011 at 10:31 PM, Tommy droi...@gmail.com wrote: I would HIGHLY recommend HTC…. THEY ARE BEAUTIFUL PHONES! One of my phones is the HTC Aria I use for development and my main personal phone…. Great phones. An example…. My wife threw a pair

Re: [android-developers] Re: Calling a system service in fixed intervals within another service

2011-04-27 Thread Dianne Hackborn
static int TICK_MSG = 1; static long TICK_TIME = 1000; / 1 second class MyHandler extends Handler { public void handleMessage(Message msg) { switch (msg.what) { case TICK_MSG: sendMessageDelayed(obtainMessage(TICK_MSG), TICK_TIME);

[android-developers] Debugging a separate thread.

2011-04-27 Thread Tobiah
I am getting familiar with debugging from eclipse. I have a thread that runs in the background, and set a breakpoint in that file. When I debug my program, I never see it stop there or display the file that the break is in. Do I need to do something special in order to select which thread I'm

Re: [android-developers] monkeyrunner with different android versions

2011-04-27 Thread Bill Napier
what phone? There haven't been any changes to the monkeyrunner stuff on the device in that timeframe, so I'm not sure what the problem is. On Wed, Apr 27, 2011 at 7:59 AM, Tiago Maluta tiago.mal...@gmail.comwrote: Hi. I tested the same monkeyrunner [1] script on two android versions 2.3.3

Re: [android-developers] Re: Calling a system service in fixed intervals within another service

2011-04-27 Thread Dianne Hackborn
You are re-implementing a lot of things that HandlerThread already does for you. For example, the run() method is already implemented to drive the message loop; you shouldn't replace that impl. If you want to do setup, you do that in HandlerThread.onLooperPrepared(). Likewise, the getHandler()

Re: [android-developers] How to make an efficient rendering loop with cache-based scrolling/zooming

2011-04-27 Thread Justin Holmgren
Thanks so much Dianne for your speedy reply. Justin -- 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] Re: How to make an efficient rendering loop with cache-based scrolling/zooming

2011-04-27 Thread Igor Prilepov
Did you measure the one frame drawing performance? How complicated is your frame in terms of objects to be shown? -- 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

[android-developers] Re: how to load intro while setting up huge database

2011-04-27 Thread Emanuel Moecklin
Here's a code snipped that shows how to copy the db from the asset folder to phone memory: private boolean copyDBfromAssets() throws Exception { String destPath = /data/data/ + context.getPackageName() + / databases; String destPathFull = DB_PATH_PHONE +

Re: [android-developers] monkeyrunner with different android versions

2011-04-27 Thread Tiago Maluta
On Wed, Apr 27, 2011 at 2:51 PM, Bill Napier nap...@android.com wrote: what phone? There haven't been any changes to the monkeyrunner stuff on the device in that timeframe, so I'm not sure what the problem is. Android 2.2.1 running on Freescale Board (i.MX51) http://bit.ly/lwVEHN Android 2.3.3

Re: [android-developers] Debugging a separate thread.

2011-04-27 Thread Kostya Vasilyev
27.04.2011 21:48, Tobiah пишет: I am getting familiar with debugging from eclipse. I have a thread that runs in the background, and set a breakpoint in that file. When I debug my program, I never see it stop there or display the file that the break is in. Do I need to do something special in

[android-developers] List view problem

2011-04-27 Thread Kumar Bibek
I have a list view which display multiple kinds of items (Basically 3). I have overridden all the methods, and it works almost fine. Basically, For those three types of views, I need to change the gravity to either left/right or center (Simple TextViews). This works. In addition to this, I

[android-developers] Re: Cropping Images with Droid X

2011-04-27 Thread Kumar Bibek
Cropping, as far as I know, is not a documented Intent to be used for reliable behaviour. So, first of all, you should probably not using it. On Android 2.3.3, it breaks(Nexus S). I think it also breaks on 2.2 (Nexus One). You might get it to work on majority of devices right now. But, if it's

Re: [android-developers] List view problem

2011-04-27 Thread Mark Murphy
On Wed, Apr 27, 2011 at 2:17 PM, Kumar Bibek coomar@gmail.com wrote: getItemViewType(int position) - Overridden getViewTypeCount() - Overridden (Always returns 3) I was going through the docs, and I found this. public int getViewTypeCount () Returns the number of types of Views that

[android-developers] Android OOM exception and SoftReferences

2011-04-27 Thread dnkoutso
Hey everyone, I got an OOM. I know it has been covered alot by previous questions but mine has to do with the internals of Android. As I am loading images at random points I get this dreaded OOM exception. I do have my images in an HashMap. From the SoftReferences definition I would expect

Re: [android-developers] List view problem

2011-04-27 Thread Kumar Bibek
Thanks Mark. I don't really understand what it means. I have a list view, and I attach the adapter through the setAdapter method of the ListView. Should I be doing something else? Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Apr 27, 2011 at 11:53 PM, Mark Murphy

Re: [android-developers] List view problem

2011-04-27 Thread Kostya Vasilyev
It probably means it won't be called by itself. Re: background. A ListView changes its item's backgrounds at runtime to show selection state, so you should not be changing the background of the root view of your items. As a workaround, inject another view group inside the item's top level

  1   2   3   >