[android-beginners] Re: Gradient Image

2010-02-01 Thread MobDev
One last addition : I did try to trasnfer the same Image to my device and show it onscreen (through gallery) and it looks exactly how it's meant to look like :P I did notice though the same crappy gradient on the thumbnail though of the Image in the Gallery... On 1 feb, 10:26, MobDev

[android-beginners] Re: Gradient Image

2010-02-01 Thread skink
On Feb 1, 10:23 am, MobDev developm...@mobilaria.com wrote: Setting the android:layout=bottom on the used RealtiveLayout (with the Image as background) still will result into a hideous version of the original Image... hmmm, maybe this will help a bit: http://android.amberfog.com/?p=247

[android-beginners] Re: Gradient Image

2010-02-01 Thread skink
On Feb 1, 11:32 am, skink psk...@gmail.com wrote: hmmm, maybe this will help a bit: http://android.amberfog.com/?p=247 pskink or if it doesn't help, what about 'proxy deawables' ? http://www.mail-archive.com/android-develop...@googlegroups.com/msg36450.html pskink -- You received this

[android-beginners] Re: Gradient Image

2010-02-01 Thread skink
On Feb 1, 10:23 am, MobDev developm...@mobilaria.com wrote: Actually I have added : Setting the android:layout=bottom on the used RealtiveLayout (with the Image as background) still will result into a hideous version of the original Image... i was wrong: use android:gravity=bottom in

[android-beginners] Re: Gradient Image

2010-02-01 Thread MobDev
Thanks, about that gradient tutorial from that blog that one I already knew off :P I have searched a lot on the net before even posting here :D About your solution : If I try that it will actually resize the background to a little version of itself and place it aligned with the bottom of the

[android-beginners] Re: Gradient Image

2010-02-01 Thread skink
MobDev wrote: About your solution : If I try that it will actually resize the background to a little version of itself and place it aligned with the bottom of the screen, anwyays it WILL get resized/scaled... i've test it five minutes ago to make sure that setting gravity in BitmapDrawable

[android-beginners] Re: Gradient Image

2010-02-01 Thread MobDev
hhmmm... Ok I just created a proxy.xml file within the res/drawable-dpi folder using this code : ?xml version=1.0 encoding=utf-8? bitmap xmlns:android=http://schemas.android.com/apk/res/android; android:src=@drawable/bgimage android:gravity=bottom /bitmap afterwards I created (in my

[android-beginners] Re: Gradient Image

2010-02-01 Thread MobDev
btw you ahve tested it with an Image which is actually exactly the same size as the screen ? In my case 320x480... On 1 feb, 13:23, skink psk...@gmail.com wrote: MobDev wrote: About your solution : If I try that it will actually resize the background to a little version of itself and place

[android-beginners] Re: Gradient Image

2010-02-01 Thread skink
On Feb 1, 1:33 pm, MobDev developm...@mobilaria.com wrote: hhmmm... Ok I just created a proxy.xml file within the res/drawable-dpi folder using this code : ?xml version=1.0 encoding=utf-8? bitmap xmlns:android=http://schemas.android.com/apk/res/android;     android:src=@drawable/bgimage

[android-beginners] Re: Gradient Image

2010-02-01 Thread skink
On Feb 1, 1:33 pm, MobDev developm...@mobilaria.com wrote: hhmmm... Ok I just created a proxy.xml file within the res/drawable-dpi folder using this code : ?xml version=1.0 encoding=utf-8? bitmap xmlns:android=http://schemas.android.com/apk/res/android;     android:src=@drawable/bgimage

[android-beginners] Re: Gradient Image

2010-02-01 Thread MobDev
Is that code that I pasted any good ? Because if I only use the bitmap./bitmap tags/code it won't recognize it... Also why those folders ? Because they actually are created when creating a 1.6 project... The multiple resolutions were introduced with 1.6, versions prior to that should only have

[android-beginners] Want to get senders name from contacts when receiving a sms message

2010-02-01 Thread ronnie173
I am developing a application that speaks out the contents of the users sms messages and I am having problems getting the senders name to show up. It only says the phone number when they receive a text message. So I need to make a content provider and pull the number from the contacts database

[android-beginners] Re: Can't create new class in Eclipse (Google Map View official tutorial)

2010-02-01 Thread Kitzy
You need to be sure that you have given it a package name and sometime you also have to select the project you're working in, even if you only have one open project. -Kitzy On Jan 30, 4:40 pm, yodaa yodaa...@gmail.com wrote: Hi, I'm running Eclipse IDE on Windows XP using Android SDK up-to-

[android-beginners] Re: I have note pad where are notepads files saved???

2010-02-01 Thread Kitzy
To view files on the emulator you open a new view and under the android folder select file explorer. The files get put, I think, into /data/data/my.project.path/ Files have the permissions of the program that created them, and no other programs can access them unless they are signed by the same

Re: [android-beginners] Re: No market on HTC hero

2010-02-01 Thread Kevin Duffey
I don't think 1.6 or 2.x will add market for you. Your service location will not permit you to have the Market store period..until Google and your country work out the details. It's not the version of Android, but the country you live in and Google not yet supporting the Market in your country.

Re: [android-beginners] Re: SDK Setup.exe not working

2010-02-01 Thread Liviu Ungureanu
Hi! You have to install Java JDK: http://java.sun.com/javase/downloads/index.jsp -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at

[android-beginners] Not able to start Call Log Activity

2010-02-01 Thread jaydip makadia
Hi, I am not able to start Call Log Activity from below code, so please help me how to start call Log activity. Intent i = new Intent(); i.setAction(Intent.ACTION_VIEW); i.setData(android.provider.CallLog.CONTENT_URI); startActivity(i); Thanks Jaydip -- You received this message because you

[android-beginners] 'drawable' vs. 'drawable-hdpi' in Online Tutorial

2010-02-01 Thread Indicator Veritatis
It seems the online tutorials have not been rewritten to reflect Android 2.1. For they still refer to 'drawable' and 'res/drawable', but when I create a new project for 2.1 using the wizard, I do not GET any such directory. Instead, I get 'res/drawable-hdpi', 'res/drawable- ldpi' and

[android-beginners] list view button error

2010-02-01 Thread Sam B
Hi guys im trying to put a button on each row of a list but i get null pointer exception, i'll show the java files below. The list view is in a seperate xml file to the button because button is inside a relative layout. Can anyone help?. This class gets data from a database and puts it in array

Re: [android-beginners] 'drawable' vs. 'drawable-hdpi' in Online Tutorial

2010-02-01 Thread Ben Jerry's South Bay
I just created a new folder within eclipse called 'drawable' and then created my new files there. It worked for me. On Feb 1, 2010 12:18 PM, Indicator Veritatis mej1...@yahoo.com wrote: It seems the online tutorials have not been rewritten to reflect Android 2.1. For they still refer to

[android-beginners] Re: 'drawable' vs. 'drawable-hdpi' in Online Tutorial

2010-02-01 Thread Indicator Veritatis
And switching back to 1.5 usually works for me. But both your approach and mind sound like kludges. There should be a better solution. I really do not want, for example, to have to create this extra directory for EVERY tutorial I complete using SDK 2.1. Do you? On Feb 1, 3:01 pm, Ben Jerry's

Re: [android-beginners] Re: Bug in SDK Manager: cannot update

2010-02-01 Thread Xavier Ducrohet
Yes. this is the solution. The problem is that older version of Java lack a XML schema validator. Unfortunately, the SDK tools revert to the wrong code path when this happens and it looks like the schema is more recent that the tools and it requires to update the tools first. Use the MacOS X

Re: [android-beginners] Re: Eclipse can't seem to locate R.java

2010-02-01 Thread Xavier Ducrohet
That's not a dependency issue. Creating the R.java file is part of the build process, and if you don't let Eclipse build automatically, you will need to force a project compilation every time you add/remove a resources so that the R class is updated. People who work with the Ant build script

Re: [android-beginners] Re: 'drawable' vs. 'drawable-hdpi' in Online Tutorial

2010-02-01 Thread Ben Jerry's South Bay
It was a bit kludgie...but for me as a newbie to eclipse...it was not to painful :-). On Mon, Feb 1, 2010 at 3:28 PM, Indicator Veritatis mej1...@yahoo.comwrote: And switching back to 1.5 usually works for me. But both your approach and mind sound like kludges. There should be a better

Re: [android-beginners] list view button error

2010-02-01 Thread Justin Anderson
Can you give us a little more info, like where the NullPointerException happens in the code? -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Re: 'drawable' vs. 'drawable-hdpi' in Online Tutorial

2010-02-01 Thread Indicator Veritatis
Oh, well, thanks for your response anyway. But I am going to wait in the hopes that some who unlike us, it not a newbie, can come up with a suggestion that is not one of our newbie kludges;) On Feb 1, 4:16 pm, Ben Jerry's South Bay mochama...@gmail.com wrote: It was a bit kludgie...but for me