[android-developers] What is the recommended resolution/aspect ratio for android graphics

2011-03-12 Thread Sheepz
Hi All, I'm trying to write an application that will work well on all screen sizes, for that I have my graphic designer produce images that are in the requested dpis for each directory (Low density (120), ldpi, Medium density (160), mdpi, High density (240), hdpi, Extra high density (320), xhdpi)

[android-developers] How to fix a “java.lang.OutOf MemoryError: bitmap size exceeds VM budget ” error on andr oid

2010-08-30 Thread Sheepz
Hi all, I've seen this question asked many times but none of the answers really made sense in what I'm doing... I have an android game (see source at Google source control:

[android-developers] Re: mp3 files =0.34 secs not playing on Droid X using MediaPlayer

2010-08-18 Thread Sheepz
I have the same thing happening here... On Jul 16, 1:41 pm, Mark Carter mjc1...@googlemail.com wrote: Comparing the logs of a file that plays and one that doesn't play. Well, they are the same except the one that does play has these additional entries: D/AudioHardwareMot( 7494):

[android-developers] Backward Compatibility of android:installLocation

2010-08-17 Thread Sheepz
Hi I followed the guide on http://developer.android.com/guide/appendix/install-location.html and because I still want to support old devices I set the minSdk property to 3 changed the build target to API Level 8. The problem is that now I'm getting the following warning in my application:

[android-developers] Re: Backward Compatibility of android:installLocation

2010-08-17 Thread Sheepz
, Sheepz eladk...@gmail.com wrote: I don't like warnings. Me neither. Is there anything that can be done for that? I think we'd need the Google engineers to change the build process to not generate the warning, which seems very unnecessary. I hope they're listening

[android-developers] Hebrew support out of the box

2010-01-26 Thread Sheepz
Hi All, There is an open issue with about 100 people watching it and 80 comments on it which nobody seems to care about it is http://code.google.com/p/android/issues/detail?id=1580 and it talks about Hebrew support for android phones. The current situation is that people need to root their phones

[android-developers] Can you record a video of the screen?

2009-05-17 Thread Sheepz
I know you can use the ddms view in eclipse to take a snapshot of the screen, but can you somehow make a video like that? thanks, E. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Another question about Animation - animate an imageview across several layouts

2009-05-15 Thread Sheepz
I can maybe add more information if needed - please answer if you think it's needed. On May 12, 5:23 pm, Sheepz eladk...@gmail.com wrote: Hi, I want to be able to make an imageview move from point a to b while going through several different views. For example, say I have a table layout

[android-developers] Re: Another question about Animation - animate an imageview across several layouts

2009-05-14 Thread Sheepz
anyone? any ideas? On May 12, 5:23 pm, Sheepz eladk...@gmail.com wrote: Hi, I want to be able to make an imageview move from point a to b while going through several different views. For example, say I have a table layout, is there any way an imageview can move from the topleft cell

[android-developers] Starting out with animations, need some help

2009-05-12 Thread Sheepz
Hi all, I'm starting to add animation to my game, but I'm having some problems I'm attaching an excerpt of the code: ... //get coordinates int[] handLocation = {0,0};

[android-developers] Another question about Animation - animate an imageview across several layouts

2009-05-12 Thread Sheepz
Hi, I want to be able to make an imageview move from point a to b while going through several different views. For example, say I have a table layout, is there any way an imageview can move from the topleft cell to the bottomright cell? Everything I tried seems to indicate that an imageview will

[android-developers] Re: Adding an SD Card to an existing AVD

2009-05-11 Thread Sheepz
:43 AM, Sheepz eladk...@gmail.com wrote: is that possible or should i just throw away my AVD and create a new one with an SD Card? Hmm that sounds like an option we should add to android update avd. However you can easily do that manually: 1- find the path where your avd is stored $ SDK

[android-developers] Adding an SD Card to an existing AVD

2009-05-09 Thread Sheepz
is that possible or should i just throw away my AVD and create a new one with an SD Card? Thanks, Sh --~--~-~--~~~---~--~~ 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: nullifying imageview src

2009-05-08 Thread Sheepz
can you elaborate on that? On Apr 7, 6:51 pm, Streets Of Boston flyingdutc...@gmail.com wrote: Try to do setImageBitmap(null) instead. On Apr 7, 6:10 pm, Sheepz eladk...@gmail.com wrote: anyone? any ideas? please?! On Apr 4, 12:34 pm, Sheepz eladk...@gmail.com wrote: Hi all, i'm

[android-developers] Re: Regarding AbsoluteView being deprecated in 1.5

2009-05-05 Thread Sheepz
I have encountered this issue, and wrote a blog post about it, have a look if you're still stuck: http://developreality.blogspot.com/ Enjoy! On Apr 29, 6:01 pm, Mark Murphy mmur...@commonsware.com wrote: karthikr wrote: I have just realised that AbsoluteLayout has been deprecated in the

[android-developers] Re: AbsoluteLayout deprecated ... a simple example to be complaint with 1.5 SDK ?

2009-05-05 Thread Sheepz
check out my simple example at http://developreality.blogspot.com/ it's my blog, and i have a post on doing just that... good luck On May 4, 5:34 am, 6real xirgon...@gmail.com wrote: Hello, could someone give a simple example to replace an AbsoluteLayout with Frame and Relative Layout ?

[android-developers] Re: SlidingDrawer issue #1?

2009-05-05 Thread Sheepz
/SlidingDrawer /LinearLayout [endquote] this gives out the exception in eclipse, but it does run well... does anybody know why this is happening? can anyone else confirm this is happening on their environment? Thanks, Sh On May 1, 11:29 pm, Sheepz eladk...@gmail.com wrote: anyone found

[android-developers] Re: Regarding AbsoluteView being deprecated in 1.5

2009-05-05 Thread Sheepz
call that causes all your views to be re-measured and re-laid out. It has nothing to do with the requesting a redraw, that's what invalidate() is for. On Tue, May 5, 2009 at 3:36 PM, Sheepz eladk...@gmail.com wrote: I have encountered this issue, and wrote a blog post about it, have a look

[android-developers] Re: SlidingDrawer issue #1?

2009-05-05 Thread Sheepz
if you mean 1.5, yes i am, i have also updated the editors for eclipse as described in the upgrade sdk page. On May 5, 7:06 pm, dan raaka danra...@gmail.com wrote: are you using the latest version of SDK ? On Tue, May 5, 2009 at 4:04 PM, Sheepz eladk...@gmail.com wrote: I took a look

[android-developers] Re: AbsoluteLayout deprecated ... a simple example to be complaint with 1.5 SDK ?

2009-05-05 Thread Sheepz
that causes all your views to be re-measured and re-laid out. It has nothing to do with the requesting a redraw, that's what invalidate() is for. On Tue, May 5, 2009 at 3:38 PM, Sheepz eladk...@gmail.com wrote: check out my simple example athttp://developreality.blogspot.com/ it's my blog

[android-developers] Re: Regarding AbsoluteLayout being deprecated in SDK 1.5

2009-05-04 Thread Sheepz
I'm playing around with this too, take a look here: http://developreality.blogspot.com/2009/05/overcoming-absolutelayout-deprecation.html On May 2, 9:50 pm, sami miguelp...@gmail.com wrote: if I have to usehttp://developer.android.com/reference/android/view/ViewGroup.MarginL... that margin

[android-developers] Re: AbsoluteLayout deprecated ... a simple example to be complaint with 1.5 SDK ?

2009-05-04 Thread Sheepz
I managed to overcome it - take a look at http://developreality.blogspot.com/2009/05/overcoming-absolutelayout-deprecation.html On May 4, 3:16 pm, Dianne Hackborn hack...@android.com wrote: On Mon, May 4, 2009 at 10:00 AM, Sundog sunns...@gmail.com wrote: I have a highly rated app that

[android-developers] Documentation Bug

2009-05-04 Thread Sheepz
Check out http://developer.android.com/guide/topics/ui/layout-objects.html The absoluteLayout part doesnt appear as deprecated It says: AbsoluteLayout AbsoluteLayout enables child views to specify their own exact x/y coordinates on the screen. Coordinates (0,0) is the upper left corner, and

[android-developers] how can i change the layout_gravity by code?

2009-05-04 Thread Sheepz
I need to change it for an imageview that resides in a linearLayout changing it from top to bottom any ideas? thanks, Sh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: how can i change the layout_gravity by code?

2009-05-04 Thread Sheepz
at a time for some reason - have you ever encountered that? do you know why that happens? Thanks, Sh. On May 4, 8:49 pm, Romain Guy romain...@google.com wrote: ((LinearLayout.LayoutParams) imageView.getLayoutParams()).gravity = Gravity.TOP; On Mon, May 4, 2009 at 5:47 PM, Sheepz eladk

[android-developers] Re: how can i change the layout_gravity by code?

2009-05-04 Thread Sheepz
requestLayout(). On Mon, May 4, 2009 at 6:41 PM, Sheepz eladk...@gmail.com wrote: First of all, thanks for the quick reply. I have tried it and it worked partially - I'll explain what I mean: I have a linear layout with 5 image views in it when I set it with the xml so that 2 of the image

[android-developers] Overlapping Imageviews without using the (now deprecated) AbsoluteLayout

2009-05-03 Thread Sheepz
Hi all, since I have updated my project (http://code.google.com/p/ bestcardgameever-android/) to the 1.5SDK, I need to switch the deprecated AbsoluteLayout with something else. The problem is the project is a card game that has cards showing and some of them need to be overlapping (take a look at

[android-developers] Re: Overlapping Imageviews without using the (now deprecated) AbsoluteLayout

2009-05-03 Thread Sheepz
android:layout_width=wrap_content android:layout_height=wrap_content android:src=@drawable/icon android:paddingLeft=60px/ImageView /FrameLayout /LinearLayout On May 4, 12:18 am, Sheepz eladk...@gmail.com wrote: Hi all, since I have updated my project (http://code.google.com/p/ bestcardgameever

[android-developers] Re: Overlapping Imageviews without using the (now deprecated) AbsoluteLayout

2009-05-03 Thread Sheepz
at 9:34 PM, Sheepz eladk...@gmail.com wrote: would you consider the following bad practice? ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android    android:orientation=vertical    android:layout_width=fill_parent    android:layout_height

[android-developers] Re: How to port AbsoluteLayout to FrameLayout?

2009-05-01 Thread Sheepz
i knew it was a bad idea to use it the second i used it... The reason i needed it was this: take a look at this image plz: http://2.bp.blogspot.com/_NiIT7LXuBv4/SfuFe7dFn9I/CKo/0neSn1Jyey8/s1600/device.png notice the cards on the middle that are overlapping? see the bottom cards that have

[android-developers] Re: SlidingDrawer issue #1?

2009-05-01 Thread Sheepz
. On May 1, 7:01 am, Sheepz eladk...@gmail.com wrote: anyone else found something here? On Apr 30, 5:43 pm, Sheepz eladk...@gmail.com wrote: okay, that didnt work :( SlidingDrawer android:id=@+id/SlidingDrawer01 android:layout_width=wrap_content android:layout_height=wrap_content

[android-developers] SlidingDoor issue #1?

2009-04-30 Thread Sheepz
when adding a slidingDrawer object to my application, i got this error when trying to display it on the main.xml layout view i used that view to create it as the bottommost component, and immediatly got this message in the console window and the layout stopped showing. here is the exception:

[android-developers] SlidingDrawer issue #1?

2009-04-30 Thread Sheepz
when adding a slidingDrawer object to my application, i got this error when trying to display it on the main.xml layout view i used that view to create it as the bottommost component, and immediatly got this message in the console window and the layout stopped showing. here is the exception:

[android-developers] Re: SlidingDrawer issue #1?

2009-04-30 Thread Sheepz
work. On Thu, Apr 30, 2009 at 2:16 PM, Sheepz eladk...@gmail.com wrote: so you mean i have to put some content in it and only then it will be visilble? even if this is true, it's still a bug - albeit with a much lower severity... i'll check it out and report back in a few. On Apr

[android-developers] camCorder not working well in emulator

2009-04-30 Thread Sheepz
hi all, just installed myself a new AVD and set the camera to true, however the camcorder is very unresponsive and seems like it's not working... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: SlidingDrawer issue #1?

2009-04-30 Thread Sheepz
:38 PM, Sheepz eladk...@gmail.com wrote: yeah, i figured that might be it, but even after this fix: SlidingDrawer android:id=@+id/SlidingDrawer01 android:layout_width=wrap_content android:layout_height=wrap_content android:handle=@+id/ImageView01 android:content=@+id/ImageView01

[android-developers] Re: SlidingDrawer issue #1?

2009-04-30 Thread Sheepz
anyone else found something here? On Apr 30, 5:43 pm, Sheepz eladk...@gmail.com wrote: okay, that didnt work :( SlidingDrawer android:id=@+id/SlidingDrawer01 android:layout_width=wrap_content android:layout_height=wrap_content android:handle=@+id/ImageView01 android:content=@+id/ImageView02

[android-developers] need some help with UI

2009-04-14 Thread Sheepz
Hey all, i hope this forum allowes this... i'm working on a very cool card game to be released soon for android for free! but since i want it to be a success i need some help - specifically with UI it's mostly done, but there are some small annyoances which i'm sure wont be too hard for a person

[android-developers] Re: nullifying imageview src

2009-04-07 Thread Sheepz
anyone? any ideas? please?! On Apr 4, 12:34 pm, Sheepz eladk...@gmail.com wrote: Hi all, i'm making a little card game in order to learn the more interesting stuff of the UI and I have a question: i want to show 5 cards on the table, for that i have made 5 imageviews in the xml

[android-developers] Re: using an android project with google code hosting

2009-04-07 Thread Sheepz
i forgot to add i'm using eclipse with subclipe for svn syncs thanks again E. On Apr 7, 5:56 pm, Sheepz eladk...@gmail.com wrote: Hi all, I've been working on my project for a while and have decided to share it's source so that i can get help from people and finish it and post

[android-developers] Re:

2009-04-07 Thread Sheepz
Hi Prasant, you can get that info on the google dev website here http://developer.android.com/sdk/1.1_r1/installing.html good luck On Apr 7, 12:44 pm, harne prashant harneprashant...@gmail.com wrote: i m student of BE CSE. i have an idea for developing software for android which keeps

[android-developers] Re: Layout file not recognized as such in eclipse

2009-04-03 Thread Sheepz
u r probably right, here it is: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/dialogLayout android:layout_width=wrap_content android:layout_height=wrap_content android:orientation=vertical TextView

[android-developers] Re: Layout file not recognized as such in eclipse

2009-04-03 Thread Sheepz
Guess i'm gonna be wearing the stupid helmet for a while... that fixed it! thanks streets! On Apr 3, 1:42 pm, Streets Of Boston flyingdutc...@gmail.com wrote: Being in danger of stating the obvious :-) Did you try to look at Eclipse's 'Open With' menu-item. Maybe you have it open as a

[android-developers] Layout file not recognized as such in eclipse

2009-04-02 Thread Sheepz
Hi all, pretty simple question: I've created a new xml file in my layouts directory using eclipse's new-xml file wizard and i want to be able to use the built in layout editor, however, this file is not recognized as an android layout file by the editor, but rather as an ordinary file. everything

[android-developers] TableLayout problem

2009-03-19 Thread Sheepz
Hi all, this is my first post so please excuse any noobiness. I'll cut directly to the problem to save everyone's time: I have made a tableLayout in order to display a grid (should simulate a card game table, but that's not important to this post) take a look at this code: ... TableRow

[android-developers] Hebrew support - even partial is good

2008-12-18 Thread Sheepz
Hi, While browsing some websites on my phone, I have found that the G1 does not support showing Hebrew fonts. In a world of Unicode Java it seems that at the very least you would include fonts for other languages - i know that this solution is not all encompassing and will give very limited