[android-developers] Re: Lookup phone number

2009-07-06 Thread Andrew Burgess
Can you use the LIKE operator, so do something for the selection args such
as: phonenumbers +  LIKE %555-%?

On Mon, Jul 6, 2009 at 5:07 AM, Till till.ess...@googlemail.com wrote:


 Hi

 What I'm trying to do, is to get the corresponding contact to a phone
 number. It works perfect if the number is stored in the contacts in
 the following format:
 +countrycodeareacodenumber
 But not all numbers are stored this way. Most are without the
 countrycode or with 00 instead of +.

 Do I have to parse the number by myself and set up a corresponding
 WHERE clause for the query, or is there anything I can't find in the
 internet to get this one done by the framework?

 Thanks
 Till

 



-- 
Andrew Burgess

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: ScrollView with ListView being cut off

2009-07-02 Thread Andrew Burgess
Perhaps try Expandable List
Viewhttp://developer.android.com/reference/android/widget/ExpandableListView.html?
I'm not sure if that would continue to shrink to fit the view though

On Thu, Jul 2, 2009 at 10:45 AM, Michael J txaggiemich...@gmail.com wrote:


 hmmm... Point taken...  Thanks, guys!

 On Jul 2, 9:40 am, Mark Murphy mmur...@commonsware.com wrote:
   So, as per my follow-on post that you so gracefully deleted ;-), what
   would you, or anyone else reading this, recommend for my situation?
 
  Use tabs.
 
  Or, use ViewFlipper or one of its kin and create your own setup for
  flipping between the list and the rest of the contents of the ScrollView.
 
  Or, use separate activities.
 
  Or, use a Spinner instead of a ListView.
 
  Or, dynamically create a bunch of RadioButtons in a RadioGroup instead of
  a ListView.
 
  Or, use a dialog.
 
  I'm sure there are other options besides those six.
 
  --
  Mark Murphy (a Commons Guy)http://commonsware.com
  Android App Developer Books:http://commonsware.com/books.html
 



-- 
Andrew Burgess

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Problem with Convert Project in Eclipse Plugin

2009-07-02 Thread Andrew Burgess
It looks like they didn't commit their Eclipse project files. Just create a
new Android project and copy the files from the checked out source into the
new project directory

On Thu, Jul 2, 2009 at 10:53 AM, bkbonner brian.bon...@paraware.com wrote:


 I've tried checking out some projects to get them to run in eclipse --
 for example twitta from:

 http://twitta.googlecode.com/svn/trunk/

 using subclipse plugin for eclipse.

 It happens on other projects as well.  When I checkout the project,
 it's not recognized as an android project (the src folder is not
 identified as a java source folder, etc.)

 Anyway, when I try to run convert to android project from the
 context menu, I see

 Problem Occurred

 'Convert Project' has encountered a problem.
 twitta does not exist

 The details text area is blank.

 Any ideas on what the problem is?
 



-- 
Andrew Burgess

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: web browser json request for data

2009-07-01 Thread Andrew Burgess
You probably don't need the browser itself for the application. Instead
write a activity that mimics the form, and then sends the data to your
server, and retrieves the results. Hooking into the browser would probably
be far too difficult.

Check out
http://developer.android.com/reference/java/net/HttpURLConnection.html

That class should be basically what you need

On Wed, Jul 1, 2009 at 10:24 AM, Thomas tbirchm...@usa.net wrote:


 I have a browser application that uses Json to retrieve some latitude/
 longitude data from my netbook and I would like to port it to
 Android.  Can you point me to some code samples that retrieve data
 from Android and return it to the browser.  The browser fills in some
 form data fields and returns the form to the server for processing
 The application can be seen at http:gpsmancer.com/ourtown-B

 



-- 
Andrew Burgess

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How to hide user dictionary? or suggested words on keyboard

2009-07-01 Thread Andrew Burgess
I haven't really looked into this, but I think that since this is a user
preference, it should be up to the user whether suggested words pop up or
not.

On Wed, Jul 1, 2009 at 1:54 PM, cvance383 cvance...@yahoo.com wrote:


 ?? i know this is a simple thing i just cant find it anywhere. I have
 searched for hours

 On Jun 29, 12:29 pm, cvance383 cvance...@yahoo.com wrote:
  bump. anyone?
 
  On Jun 26, 2:26 pm, cvance383 cvance...@yahoo.com wrote:
 
   How can I hide the suggested words or turn off auto complete for the
   virtual keyboard? Thanks ;)
 



-- 
Andrew Burgess

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How to hide user dictionary? or suggested words on keyboard

2009-07-01 Thread Andrew Burgess
This shouldn't happen if your text field is set as a password field, then
that shouldn't be happening. Make sure to set your EditText.setInputType to
TYPE_TEXT_VARIATION_PASSWORD

On Wed, Jul 1, 2009 at 2:17 PM, cvance383 cvance...@yahoo.com wrote:


 Normally I agree, but this is really inconvenient when the text field
 is for a password. 1) most passwords arent words, so it wont help 2)
 it shows the password in visible text 3) it makes the password hard to
 enter, since it autocorrects

 On Jul 1, 2:12 pm, Andrew Burgess abom...@gmail.com wrote:
  I haven't really looked into this, but I think that since this is a user
  preference, it should be up to the user whether suggested words pop up or
  not.
 
  On Wed, Jul 1, 2009 at 1:54 PM, cvance383 cvance...@yahoo.com wrote:
 
   ?? i know this is a simple thing i just cant find it anywhere. I have
   searched for hours
 
   On Jun 29, 12:29 pm, cvance383 cvance...@yahoo.com wrote:
bump. anyone?
 
On Jun 26, 2:26 pm, cvance383 cvance...@yahoo.com wrote:
 
 How can I hide the suggested words or turn off auto complete for
 the
 virtual keyboard? Thanks ;)
 
  --
  Andrew Burgess
 



-- 
Andrew Burgess

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Scrolling with Multiple ListViews

2008-11-20 Thread Andrew Burgess
Hello all,

I'm completely stumped on this one.  I have three different lists that need
to be displayed on the screen.  It's completely possible that the lists will
extend past the bottom edge of the screen, so I would need scrolling.

I've tried using a ScrollView with a LinearLayout child, and putting my
ListViews in the LinearView, but all of the ListViews lock to a fixed height
with scroll bars.  Using other kinds of Layouts means no scrolling.

Does anyone have any suggestions, or will I need to programmatically add the
list items to some layout and hope for the best?

-- 
Andrew Burgess

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Scrolling with Multiple ListViews

2008-11-20 Thread Andrew Burgess
So essentially multiple ListViews on a single screen are a pretty big
no-no.  Fair enough, I'll try something else.  Thanks for the response.

On Thu, Nov 20, 2008 at 3:01 PM, Romain Guy [EMAIL PROTECTED] wrote:


 Hi,

 ListView is a virtualized component, it displays only as many items as
 it needs, which is why you cannot put it in inside a ScrollView. The
 only way to make it work is to give a fixed height to the ListView
 yourself. This is however a very bad idea to put a scrollable widget
 inside a scrollable widget. If you do this, touch scroll will become
 very weird: when the user tries to scroll the ListView inside the
 ScrollView, what should scroll? The ListView or the ScrollView? It
 also makes keyboard navigation incredibly difficult for the user: to
 scroll the ScrollView he would have to scroll through the entire
 ListView first.

 You should really NOT do this, this will not work correctly.

 On Thu, Nov 20, 2008 at 11:52 AM, Andrew Burgess [EMAIL PROTECTED]
 wrote:
  Hello all,
 
  I'm completely stumped on this one.  I have three different lists that
 need
  to be displayed on the screen.  It's completely possible that the lists
 will
  extend past the bottom edge of the screen, so I would need scrolling.
 
  I've tried using a ScrollView with a LinearLayout child, and putting my
  ListViews in the LinearView, but all of the ListViews lock to a fixed
 height
  with scroll bars.  Using other kinds of Layouts means no scrolling.
 
  Does anyone have any suggestions, or will I need to programmatically add
 the
  list items to some layout and hope for the best?
 
  --
  Andrew Burgess
 
  
 



 --
 Romain Guy
 www.curious-creature.org

 



-- 
Andrew Burgess

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Comment spam in android market :(

2008-11-11 Thread Andrew Burgess


I think the market comments are completely different from those on youtube.  
I've used the market comments to see what the general opinion was about a 
few apps that had similar purposes.  Apps with comments like fails 
miserably when you press the 'a' button tended to be pretty helpful.

--
Andrew Burgess

Sent from my T-Mobile G1

On Nov 11, 2008 12:20 AM, plusminus [EMAIL PROTECTED] wrote:


Comments with bad ratings get hidden and need to be expanded by the
user -- Almost no one will see them anymore

+1 for Comment-Rating-System

On 11 Nov., 00:10, zl25drexel [EMAIL PROTECTED] wrote:  well the 
ratings/comments now are jus...


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How to send email programmatically?

2008-11-11 Thread Andrew Burgess
If you don't want to direct the user to the typical send form, then you're
going to have to either try and adapt an existing java based mailer to
android or write an SMTP client from scratch.  The SMTP standard isn't too
hard to implement.

On Tue, Nov 11, 2008 at 8:05 PM, Sunit Katkar [EMAIL PROTECTED] wrote:

 Any ideas? Any pointers to some examples?


 On Tue, Nov 11, 2008 at 9:42 AM, Sunit Katkar [EMAIL PROTECTED]wrote:

 Suppose I have an Activity which has couple of text fields - one for the
 subject and one for body text.
 And there is a simple Button. When user clicks the button, I wish to send
 the text in the textfields via email to a predetermined email address.
 How can I achieve this?

 Sorry for being lazy and not looking up the SDK docs :)

 PS: I have configured the EMAIL app on G1 using the Email setup steps, so
 it can receive and send email from my email account.

 --
 - Sunit Katkar
 http://sunitkatkar.blogspot.com/ - Android OS Tutorials




 --
 - Sunit Katkar
 http://sunitkatkar.blogspot.com/ - Android OS Tutorials


 



-- 
Andrew Burgess

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Comment spam in android market :(

2008-11-10 Thread Andrew Burgess
On Mon, Nov 10, 2008 at 4:18 PM, Disconnect [EMAIL PROTECTED] wrote:

 ..or just punt out users for ToS violations.


 On Sat, Nov 8, 2008 at 3:24 PM, ryaninc [EMAIL PROTECTED] wrote:


 I wholeheartedly agree. The comments are invaluable for determining
 how well an application works, but it's almost to the point where the
 comments are worthless because there's so much spam and completely off-
 topic discussion.

 While I don't like comment moderation as a whole, there should be
 automatic filtering at the very least. Maybe Google could implement a
 filter that would delete comments with swear words, or even just turn
 them into asterisks.

 There really needs to be a solution to this, it's really getting
 bad. :-(




 

Perhaps an implementation similar to many online retailers where users can
say whether a review was helpful.  Comments that others found helpful in
making their decision could be floated to the top (or at least supply a
sorting option/preference) so that it's easier to find more useful
information.  Similarly, a comment with enough bad feedback could be put up
for some sort of review, and if deemed acceptable, the offending user could
have comment privileges banned for some period of time.

--
Andrew Burgess

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: whoever wrote the email app for the G1.....

2008-11-10 Thread Andrew Burgess


Agreed.  Open source exists so that people with their own view points can 
influence the tools they use frequently. Android is young, and needs all the 
help it can get. If a specific component bothers you so much, look into 
helping improve it. It's basically the best way to get the kind of 
functionality you want.

--
Andrew Burgess

Sent from my T-Mobile G1

On Nov 11, 2008 1:37 AM, Andrew Stadler [EMAIL PROTECTED] wrote:


If you're unhappy with the Email app (or other apps on the phone) I
strongly suggest a couple of things:

(1)  File bugs on the android bug tracker so your comments don't get lost
(2)  Contribute!  I'm aware of at least two non-Google efforts to
improve the Email client, and I'm sure they could use help.

--~--~-~--~~~---~--~~ You received this 
message because you are sub...


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---