[android-beginners] How to (properly) get device orientation data?

2010-06-16 Thread repDetect()
Hi, While trying to retrieve orientation data I found some pretty straight forward code making use of SensorEventListener for Sensor.TYPE_ORIENTATION and it works fine, but the Sensor.TYPE_ORIENTATION constant has been deprecated recently - I believe it was on 8 (API level) - which I understand to

[android-beginners] Amusing comic comparison of web browsers

2010-06-16 Thread Rocky
Here's an amusing comic breaking down web browsers. See it here : http://www.onechap.com/news/comp-browsers.html -- 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

Re: [android-beginners] Amusing comic comparison of web browsers

2010-06-16 Thread Mikey
Do you think you could stop spamming this list with your web site? We have google to search if we want to find crap like this... On 16 Jun 2010, at 08:04, Rocky wrote: Here's an amusing comic breaking down web browsers. See it here : http://www.onechap.com/news/comp-browsers.html --

[android-beginners] Problem in getting scroll position in web-view

2010-06-16 Thread brijesh masrani
Hello Everyone, I have a web-view with Html content.I want to calculate height of web-view when it is scrolled. The method *getScrollY()* can return the Y scroll but the problem is that when I scroll web-view 2-3 time continuously it takes some time in scrolling. I just want to know if there is

[android-beginners] Problem in getting scroll position in web-view

2010-06-16 Thread brijesh
Hello Everyone, I have a web-view with Html content.I want to calculate height of web- view when it is scrolled. The method getScrollY() can return the Y scroll but the problem is that when I scroll web-view 2-3 time continuously it takes some time in scrolling. I just want to know if there is

[android-beginners] how to change colours in a .xml defined layout in run time

2010-06-16 Thread ckloch
Dear friends, I am developing a small app that should inform the drivers whether his current speed matches the preferred one in order to avoid stopping for the red light. I have no probelms to calculate the relative speed of the vehicle and compare it with the preferred speed in order to

[android-beginners] OnOrientationChanged leaks in ListView

2010-06-16 Thread Alok Kulkarni
Hi, I am having a ListView with custom ArrayAdapter.For defining a list item i have my own class ListItem which stores all info including list item images, and other textual info in it. I have handled orientation change in onRetainNonConfigurationInstance() in which i save the array of ListItems

[android-beginners] Emulator and cellular network

2010-06-16 Thread Demetris
Hi all, I think the Android emulator has the capability to emulate incoming phone calls but I am wondering if there is a capability to place outgoing calls to existing cellular networks through the appropriate hardware interface. Is there any documentation of such a functionality I look

[android-beginners] Emulator and cellular access

2010-06-16 Thread kypriakos
Hi all, I think the Android emulator has the capability to emulate incoming phone calls but I am wondering if there is a capability to place outgoing calls to existing cellular networks through the appropriate hardware interface. Is there any documentation of such a functionality I look into?

[android-beginners] Top 10 iPhone apps

2010-06-16 Thread Rocky
There are literally hundreds of thousands of iPhone apps, many of which are free to download. So what are the best ones? It depends on what you like to do with your iPhone, but these are 10 of the most popular (and useful!). Read more :

Re: [android-beginners] Top 10 iPhone apps

2010-06-16 Thread Mikey
OK, so you just made it to the spam folder - are you really this desperate for attention? On 16 Jun 2010, at 18:23, Rocky wrote: There are literally hundreds of thousands of iPhone apps, many of which are free to download. So what are the best ones? It depends on what you like to do with

Re: [android-beginners] Top 10 iPhone apps

2010-06-16 Thread Justin Anderson
Seriously... does the retard not even realize that this group is for ANDROID? -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] Top 10 iPhone apps

2010-06-16 Thread Mikey
Anyone here know how you report a spammer on this list? On 16 Jun 2010, at 18:38, Justin Anderson wrote: Seriously... does the retard not even realize that this group is for ANDROID? -- There are only 10

[android-beginners] Problem with cursors

2010-06-16 Thread Mikey
Hi, I am using a a Sqlite database in my application, but I am having a problem with it crashing (seemingly) randomly with the exception in Cursor. (I have been unable to recreate the error to give you the exact exception but it is something like the cursor being in an invalid state. I am

[android-beginners] Issue?

2010-06-16 Thread kypriakos
is this a forum issue? Why are we getting these messages each time we post? Hi. This is the qmail-send program at innophilia.com. I'm afraid I wasn't able to deliver your message to the following addresses. This is a temporary error; I've given up. Sorry it didn't work out. r...@innophilia.com:

Re: [android-beginners] Issue?

2010-06-16 Thread Mikey
It is someone with a full mailbox, not much you can do about it I am afraid On 16 Jun 2010, at 19:43, kypriakos wrote: is this a forum issue? Why are we getting these messages each time we post? Hi. This is the qmail-send program at innophilia.com. I'm afraid I wasn't able to deliver

Re: [android-beginners] Problem with cursors

2010-06-16 Thread Justin Anderson
I'm not entirely sure, but I noticed my code is a little different than yours... Before I loop over the rows in the cursor I call moveToFirst(). So, with your code that would be c.moveToFirst() right before the while loop. I seem to remember having some weird issues with the Cursor class but

Re: [android-beginners] Problem with cursors

2010-06-16 Thread Mikey
Mostly desperation - I will give your idea a try though - thanks! Mikey On 16 Jun 2010, at 21:04, Justin Anderson wrote: I'm not entirely sure, but I noticed my code is a little different than yours... Before I loop over the rows in the cursor I call moveToFirst(). So, with your

[android-beginners] How to set onClickListener for elements in a Vector

2010-06-16 Thread KC
I have this vector: VectorMyVenue v = new VectorMyVenue(); MyVenue extends another Class that Extends View. I am adding elements to the Vector with v.add(curVenue); All of these new elements in the Vector get added to the screen and I need to be able to register clicks on the elements but I

Re: [android-beginners] How to set onClickListener for elements in a Vector

2010-06-16 Thread Justin Anderson
Well, what is the parent layout? There are different ways/methods to do this for ListView, ExpandableListView, LinearLayout, RelativeLayout, etc... -- There are only 10 types of people in the world... Those who know binary and

Re: [android-beginners] Problem with cursors

2010-06-16 Thread Justin Anderson
Also, I use different methods in my while loop: Cursor dbCursor; ... dbCursor.moveToFirst(); while (!dbCursor.isAfterLast()) { //do stuff dbCursor.moveToNext(); } -- There are only 10 types of people in the world... Those

[android-beginners] SOAP complex request

2010-06-16 Thread Milo
I'm trying to consume the following service ?xml version=1.0 encoding=utf-8? soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap=http:// schemas.xmlsoap.org/soap/envelope/ soap:Body DoIt xmlns=http://tempuri.org/;

[android-beginners] Re: How to set onClickListener for elements in a Vector

2010-06-16 Thread KC
Sorry, good point. The parent is a FrameLayout. Please let me know if I can provide you with more info and thanks so much for trying to help with this, I really appreciate it. KC On Jun 16, 4:32 pm, Justin Anderson janderson@gmail.com wrote: Well, what is the parent layout?  There are

Re: [android-beginners] Top 10 iPhone apps

2010-06-16 Thread Daniel Drummond
I emailed the group-owner, and the user has been banned, and all posts deleted. On 16 June 2010 19:04, Mikey frak@gmail.com wrote: Anyone here know how you report a spammer on this list? On 16 Jun 2010, at 18:38, Justin Anderson wrote: Seriously...  does the retard not even realize that

Re: [android-beginners] Top 10 iPhone apps

2010-06-16 Thread Mikey
Thanks for that :o) On 16 Jun 2010, at 22:28, Daniel Drummond wrote: I emailed the group-owner, and the user has been banned, and all posts deleted. On 16 June 2010 19:04, Mikey frak@gmail.com wrote: Anyone here know how you report a spammer on this list? On 16 Jun 2010, at 18:38,

[android-beginners] Android security features -how to protect our applications for client-they wanted to protect it

2010-06-16 Thread SaiSriOrl
We are looking basically for a security code so that noone can download or cannot copy to different handsets. We wanted to have a copyright protection for Android market and integrated in the same mobile applications program. Lot of things might be there to hack it, but is there a way to do good

[android-beginners] brand new to Android

2010-06-16 Thread Jason
Just brand new to android, have strong knowledge of Java,XML,MySQL. Where do I need to start from, any books or materials to read first? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack

Re: [android-beginners] brand new to Android

2010-06-16 Thread Daniel Drummond
http://developer.android.com/index.html has a lot of good material on it. On 16 June 2010 12:11, Jason jasonfungs...@gmail.com wrote: Just brand new to android, have strong knowledge of Java,XML,MySQL. Where do I need to start from, any books or materials to read first? -- You received this

Re: [android-beginners] brand new to Android

2010-06-16 Thread Mark Murphy
On Wed, Jun 16, 2010 at 7:11 AM, Jason jasonfungs...@gmail.com wrote: Just brand new to android, have strong knowledge of Java,XML,MySQL. Where do I need to start from, any books or materials to read first? After developer.android.com, if you need additional help, beyond this list, you can

[android-beginners] Porting from PalmOS to Android

2010-06-16 Thread Doug Gordon
I'm not too familiar with how smartphones work in general, but I am considering porting an application that I sold supported on PalmOS PDAs for many years. My main question is how it might work on an Android phone or other device as far as getting data onto it is concerned. My PalmOS application

Re: [android-beginners] brand new to Android

2010-06-16 Thread mark.nich...@gmail.com
I would recommend the Hello,Android book from Pragmatic Programmers. I only just started Android development a couple weeks ago and am finding this book to be a wonderful accompaniment to the other resources listed on this thread. Mark Sent from my Android. On Jun 16, 2010 6:42 PM, Mark Murphy

[android-beginners] Re: How to set onClickListener for elements in a Vector

2010-06-16 Thread KC
You brought up a very good point and it got me thinking. I don't think its looping through the Vector. I have another class that takes the values, creates a Canvas and draws text and a simple image on it. I need to figure out how to draw a button onto a Canvas. Right now, all I can do is

Re: [android-beginners] Issue?

2010-06-16 Thread Chi Kit Leung
Add a rule to your client for move all email from android-beginners@googlegroups.com with the content This mailbox is overquote to spam. I think that is only things you can do. On Thu, Jun 17, 2010 at 4:45 AM, Mikey frak@gmail.com wrote: It is someone with a full mailbox, not much you can