[android-beginners] Re: ListView with addHeaderView Example?

2009-08-24 Thread nurandr...@gmail.com
Thanks, It Helps me a lotI tried to populate a listView by extending Activity, not ListActivity..The list also contains two icon,one Text,and one checkBox in each row...It was quite tough to implement this application, but finally I overcome it, and then the task was to detect which item or r

[android-beginners] Re: How to start android emulator in a different port

2009-08-24 Thread guptha
hi Jose, I tired Run ->Run Configuration(after entering project name) ->target under 'Device Target Selection Mode', I selected it be Manual under 'Additional Emulator Command Line Option' ,I entered -port 5556 and now everything work fine Thanks for your reply,Jose On Aug 24, 8:51 pm, Jose

[android-beginners] Re: DTD Handler aren't supported

2009-08-24 Thread Jose Ayerdis
welll answering myelf First i have no idea why it gives this Warning Second i try it with XMLReader but did not got the result aperantly my Handler only overided the startElement and did not override the endElement startDocument endDocument Methods so it didn't parse anything (Dont know why

[android-beginners] Re: How do I split up or separate large XML layout files

2009-08-24 Thread Litho23
All the simple stuff always seems to slip by me! Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe

[android-beginners] Drawing w/ Finger, Button, External

2009-08-24 Thread dylanz
Hello! Is it possible to draw dynamic shapes on the canvas with your finger, a control on a given phone, or an external device (anything that would allow free drawing). I've seen the classes for drawing vector shapes programatically, but this would be on-the-fly and user defined free drawing. I

[android-beginners] Cheapest way to acquire a development phone?

2009-08-24 Thread Ron
I need an actual Google phone with GPS to get some idea of what applications are out there. I already have a plan with a non-Google provider, so I only need a plan to try out the apps themselves. Any ideas on how to most efficiently achieve this? --~--~-~--~~~---~--~

[android-beginners] Using two spinners with same data

2009-08-24 Thread Technicaltony
I'm currently learning Android Java. I am trying to understand the use of spinners. I would like to create two spinners that use the same data - select one responses for each spinner. In the book I purchased, it shows example code how to create a spinner. How could I add another spinner using e

[android-beginners] Re: Problem with Ecplise android plugin install

2009-08-24 Thread Tony Su
Congrats for at least covering the likely SuSE specific issues and finally arriving at what might be a more generic problem with the Eclipse Plugin which ironically might be much easier to find the solution... If you're looking at what I think is your problem, the common solution is to downlo

[android-beginners] Re: MMS intent

2009-08-24 Thread Kingcrowley
This may help http://jtribe.blogspot.com/2008/12/sending-mms-with-android.html not sure what you mean On Aug 24, 7:17 am, stalee wrote: > Hi, > > I want to send an MMS using intent, > conditions are below > > intent should carry sender number, subject, MMS msg, & attachment, and > activiating

[android-beginners] Re: Connect Google via WiFi

2009-08-24 Thread martin-g
Just to close the thread with the solution for anyone with this problem: http://www.google.com/support/forum/p/Google+Mobile/thread?tid=1a743e9b86168207&hl=en --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Be

[android-beginners] Re: installing the android sdk

2009-08-24 Thread Jack Ha
The WST plugin should already be included in most Eclipse IDE packages. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of

[android-beginners] Re: confusion about bluetooth

2009-08-24 Thread Mark Murphy
> The current Android release offers: > "Stereo Bluetooth support (A2DP and AVCRP profiles) " > (http://developer.android.com/sdk/android-1.5-highlights.html) > > However, it has also been stated in the developers forum: > "There is no Bluetooth API in the SDK at this time". > http://groups.google

[android-beginners] Re: confusion about bluetooth

2009-08-24 Thread gymshoe
Ah. Thank you. On Aug 24, 12:58 pm, "Mark Murphy" wrote: > > The current Android release offers: > > "Stereo Bluetooth support (A2DP and AVCRP profiles) " > > (http://developer.android.com/sdk/android-1.5-highlights.html) > > > However, it has also been stated in the developers forum: > > "There

[android-beginners] confusion about bluetooth

2009-08-24 Thread gymshoe
The current Android release offers: "Stereo Bluetooth support (A2DP and AVCRP profiles) " (http://developer.android.com/sdk/android-1.5-highlights.html) However, it has also been stated in the developers forum: "There is no Bluetooth API in the SDK at this time". http://groups.google.com/group/a

[android-beginners] Re: SQLite without Context?

2009-08-24 Thread Mark Murphy
> > I must access a SQLite Database from within a Service, but > SQLiteOpenHelper requires an Activity Context object which won't be > there when the Activity which spawned the Service is closed! Use your Service. Service is a subclass of Context. -- Mark Murphy (a Commons Guy) http://commonsw

[android-beginners] Re: [android-beginners]

2009-08-24 Thread Jose Ayerdis
2009/8/22 pankaj sharma aka Cipher > and if i have 1 i wont give u okay why??? > > > On 8/22/09, pankaj sharma aka Cipher wrote: > >> sorry mate, i dont have. >> >> >> On 8/22/09, saurabh sinha wrote: >> >>> >>> Hello >>> I am android beginner looking for restaurant finder ,driving directio

[android-beginners] MMS intent

2009-08-24 Thread stalee
Hi, I want to send an MMS using intent, conditions are below intent should carry sender number, subject, MMS msg, & attachment, and activiating the intent should not populate the MMS application's UI is it possible in android... ? Thanks Stalee --~--~-~--~~~---

[android-beginners] Re: How can I download a file from the internet?

2009-08-24 Thread moovida
String urlStr = "http://www.mysite.com/updates/data.txt";; URL fetchUrl = new URL(urlStr); InputStream tileInputStream = (InputStream) fetchUrl.getContent(); And then you use the stream. In the application add the permission: Andrea On Aug 21, 5:07 pm, bennyb wrote: > I want my application

[android-beginners] Streaming Example?

2009-08-24 Thread Jeffrey
Hi All, I'm looking for an example of how to play an MP3 stream as the ambient sound in my Android app. MediaPlayer doesn't seem to support playing MP3 streams (like a radio station) and from what I've found it's a two step process where you need to write the stream to a temporary location and th

[android-beginners] Re: Please help in creating simple text file

2009-08-24 Thread Donn Felker
Are you setting the SDCard permission properly in the manifest? On Mon, Aug 24, 2009 at 7:22 AM, nitin wrote: > > though I was using 'this' as context in onCreate event. I ran the same > code after removing 'Context' as parameter, still same result. At last > I uninstalled the application from

[android-beginners] Change color to another color in Drawable

2009-08-24 Thread Matt McMinn
Sorry if this shows up twice, I sent it via email to the list a few days ago and it never showed up, so I'm trying from the web page. I'm working on an android application, and I have a drawable that I'm loading up from a source image. On this image, I'd like to convert all of the white pixels to

[android-beginners] Re: Android P2P Options

2009-08-24 Thread Yusuf Saib (T-Mobile USA)
It partially depends on how much and what kind of data you pass. SMS may be the easiest way, in which case you need to programatically send and intercept SMS. One example is here: http://www.androidcompetencycenter.com/2008/12/android-api-sms-handling/ Yusuf Saib Android ·T· · ·Mobile· stick to

[android-beginners] Problem with Ecplise android plugin install

2009-08-24 Thread yodaa
Hello, I'm running Eclipse Ganymede Version: 3.4.0 Build id: I20080617-2000, under Linux OpenSuse 11.1 (KDE). I've installed Eclipse with from OpenSuse Open source repository. To achieve Android SDK installation, I tried to follow the official tutorial: http://developer.android.com/sdk/1.5_r3/in

[android-beginners] can't get progressbar and drawing to work together

2009-08-24 Thread moovida
Hi develeopers, I tried really hard to get over this, but I found no solution. I want to fetch images from web and display them on the canvas of a view. While doing so I need to display a progressbar, so that the user has some idea what is going on. In the activity that owns the view I set requ

[android-beginners] Email File using content provider

2009-08-24 Thread Mike
I'm trying to email out a file using intents and content providers. I've hit a road block with the below code. It crashes gmail. I think it may have something to do the attachment having a size of 0 according to the gmail app. Yea I now I can save it to the sd card, but I'd like to do it withou

[android-beginners] Re: Need to implement Android for my website powered in PHP

2009-08-24 Thread Donn Felker
Well before anyone can tell you what/how to do it, you need to find out what you need. Once you find that out, let us know. On Thu, Aug 20, 2009 at 6:16 AM, andyandroi...@gmail.com < andyandroi...@gmail.com> wrote: > > I'm guessing the op wants to make their site mobile friendly. Just a > hunch.

[android-beginners] Contacts.ContactMethods.POSTAL_LOCATION_LATITUDE returns email address instead of physical address

2009-08-24 Thread Pankaj Godbole
Hello, I am learning about Content Providers and tried the following example from a tutorial. This example performs a Google Maps search based on the home address of a contact. First, the various contacts are presented in a ListView, and then when the user taps the entry of a particular contact,

[android-beginners] Re: [android-beginners]

2009-08-24 Thread pankaj sharma aka Cipher
and if i have 1 i wont give u okay On 8/22/09, pankaj sharma aka Cipher wrote: > > sorry mate, i dont have. > > On 8/22/09, saurabh sinha wrote: >> >> >> Hello >> I am android beginner looking for restaurant finder ,driving direction >> in mapview >> >> if u have the source code plz mail me >>

[android-beginners] App just for Android beginners

2009-08-24 Thread Andrei
Guys, I wrote app for Android phone that can help you to learn Android / plan your next App. It is FREE and searchable app for all Android API documentation. It works off-line, no need for connection. Give it a try. Search for DroiDoc on Market on your phone Thanks --~--~-~--~~--

[android-beginners] Re: How can I download a file from the internet?

2009-08-24 Thread Donn Felker
Check out the Shelves app by Romain Guy here: http://www.curious-creature.org/2009/01/19/shelves-an-open-source-android-application/ He downloads information from the internet. This should get you going in the right direction. On Fri, Aug 21, 2009 at 10:07 AM, bennyb wrote: > > I want my applic

[android-beginners] Re: [android-beginners]

2009-08-24 Thread pankaj sharma aka Cipher
sorry mate, i dont have. On 8/22/09, saurabh sinha wrote: > > > Hello > I am android beginner looking for restaurant finder ,driving direction > in mapview > > if u have the source code plz mail me > > > > -- Pankaj Sharma Project Engineer Mobile-09911221752 --~--~-~--~~-

[android-beginners] Re: How do I split up or separate large XML layout files

2009-08-24 Thread Romain Guy
Hi, Simply use: On Sun, Aug 23, 2009 at 7:53 PM, Litho23 wrote: > > My example is using the Tab layout (just consider the HelloTab one) > the main.xml contains the views for all the tabs.  Is their a way to > separate or reference another xml file so my main.xml doesn't look > like spaghetti a

[android-beginners] Development Phone

2009-08-24 Thread Ran
Hi everyone, I'm new to Android and I want to start developing and deploying my apps to a real phone. My question is what is the big difference between the official ADP1 and other Android phones ? What is the benefit of working with ADP1 over the other Android phones ? I want to buy some Andriod

[android-beginners] How do I split up or separate large XML layout files

2009-08-24 Thread Litho23
My example is using the Tab layout (just consider the HelloTab one) the main.xml contains the views for all the tabs. Is their a way to separate or reference another xml file so my main.xml doesn't look like spaghetti at the end? Below is the main.xml from the Hello TabWdiget... http://schemas

[android-beginners] Re: Development Phone

2009-08-24 Thread Yusuf Saib (T-Mobile USA)
If you just want to write applications and run them on your phone, any Android phone will do. If you want to modify the OS on the phone, then you need either an official development phone or hack a non-dev phone to be a dev phone. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opi

[android-beginners] Change color to another color in Drawable

2009-08-24 Thread Matt McMinn
I'm working on an android application, and I have a drawable that I'm loading up from a source image. On this image, I'd like to convert all of the white pixels to a different color, say blue, and then cache the resultant Drawable object so I can use it later. So for example say I have a 20x20

[android-beginners] Icons showing up in the gallery folder

2009-08-24 Thread Mister Justin
Greetings all, I've googled this topic and found some people with the exact same issue. It seems that Android is a bit too aggressive with amalgamation of pictures, media, etc and dumps everything it finds into the "gallery" folder. Which I guess is kinda reasonable from a process point of view

[android-beginners] App just for Android beginners

2009-08-24 Thread Andrei
Guys I wrote app for Android phones that is complete Android API searchable reference It's FREE Search for DroiDoc in Market on your phone --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To

[android-beginners] HelloMapView Tutorial Question.

2009-08-24 Thread John Pszeniczny
Hi Everyone, I've been going down through the tutorials and am stuck here on the Maps Tutorial, Actually in this final step. 4.All that's left is for us to add this OverlayItem to our collection in the HelloItemizedOverlay, and add this to the List of Overlay objects retrieved from the MapView:

[android-beginners] Re: How do I implement onClick for a DialogPreference?

2009-08-24 Thread Donn Felker
I dont have an IDE in front of me, but I think this exact example is available in the API Demos. Add it to your Eclipse workspace and poke around in the preference area. I advise you to install the ApiDemos on your emulator or test phone (or G1 if you have one). It makes life alot easier when you s

[android-beginners] installing the android sdk

2009-08-24 Thread nmharleyrider
In the instructions for installing Eclipse 3.4 ganymede and the android sdk , it is stated in step 6 that you need the WST plugin mentioned earlier in this page. Yet I have searched for an hour including all the links in this section and cannot find any reference regarding how to install the WST

[android-beginners] Overlay Item collection?

2009-08-24 Thread John Pszeniczny
Hi, I'm running into a snag on the last step (Step 4) of the Hello Map Views Tutorial. Where does this code go in HelloItemizedOverlay.java 4. All that's left is for us to add this OverlayItem to our collection in the HelloItemizedOverlay, and add this to the List of Overlay objects retrieved fr

[android-beginners] Strange behavior in Webview

2009-08-24 Thread Alvaro
I am developing an application based on Webview, and i get some strange behavior when touching links. If i touch with my finger a link as described above, the override method shouldOverrideUrlLoading gets a "about:blank" in the url parameter, instead, if i use the trackball for click the link, the

[android-beginners] T-Mobile USA Operator Billing?

2009-08-24 Thread punter
I have seen a number of reports in the past week or two heralding the arrival of T-Mobile operator billing for Android Market, enabling users to pay for apps by means of their phone subscription rather than Google Checkout. Yet I can't see anything official from either Google or T-Mobile in this r

[android-beginners] Re: toggle background of an ImageView

2009-08-24 Thread Donn Felker
From: http://developer.android.com/reference/android/widget/ImageView.html getDrawable() Return the view's drawable, or null if no drawable has been assigned. Once you have that, compare it to whatever drawble

[android-beginners] some questions about uninstalling the android software

2009-08-24 Thread Rock
Hey,everyone!! >I want to add a function to my software,which allows the user to uninstall the >software, yet they need to enter >the password seted before!!Since I am a new student to android, so I'm not >very sure if this kind of function can >be created. And if the function can be >added, t

[android-beginners] SQLite without Context?

2009-08-24 Thread Shanjaq
I must access a SQLite Database from within a Service, but SQLiteOpenHelper requires an Activity Context object which won't be there when the Activity which spawned the Service is closed! Is there any way to open an Activity Context-Agnostic SQLite connection? --~--~-~--~~---

[android-beginners] App for Android beginners

2009-08-24 Thread Andrei
Guys I wrote App for searchable reference of full Android API docs. It's free. Search for DroiDoc in Market on your phone --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this grou

[android-beginners] Re: How to start android emulator in a different port

2009-08-24 Thread Jose Ayerdis
This works on my computer: ./emulator -port 4747 -avd MyPhone Can u tell if you get a error message or something, i supose on eclipse you must change it on preference 2009/8/24 guptha > > hi, > I am beginner in Android ,how to start the emulator in a different > port using eclipse Run Confi

[android-beginners] Android P2P Options

2009-08-24 Thread Persona
Hello, I need to pass data between P2P mobile applications. I know that it is possible to use SMS, WAP, GTalk, etc, but it appears that there are very scanty materials about these topics. Can someone show me the steps that I need to take to get this done or direct me to the online source that ca

[android-beginners] DTD Handler aren't supported

2009-08-24 Thread Jose Ayerdis
What does this mean i'm trying to parse a XML with this: SAXParserFactory factory = SAXParserFactory.newInstance(); factory.setValidating(false); // Create the builder and parse the file SAXParser saxParser=factory.newSAXParser(); MyParser handler=new MyParser(this); saxParser.parse(fileXML, hand

[android-beginners] How to start android emulator in a different port

2009-08-24 Thread guptha
hi, I am beginner in Android ,how to start the emulator in a different port using eclipse Run Configuration Under 'Additional Emulator Command Line Options ' I tried with different options and failed emulator -port 5556 port 5556 emulator -5556 and so on ,but nothing worked out for me .I could a

[android-beginners] create a costum key

2009-08-24 Thread Liviu Ungureanu
Hi! Is possible to create a costum key on virtual keyboard?i want to change text of enter key.. thank you! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email t

[android-beginners] Google Map API on pan or zoom

2009-08-24 Thread Leo Lou
Hi, Which function should I override if I want to show a toast when the map is panned or zoomed? Thanks in advance! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, se

[android-beginners] Re: Please help in creating simple text file

2009-08-24 Thread nitin
though I was using 'this' as context in onCreate event. I ran the same code after removing 'Context' as parameter, still same result. At last I uninstalled the application from Emulator and restarted everythingit worked with the same code :) Thanks for your valuable timebut I am still

[android-beginners]

2009-08-24 Thread saurabh sinha
hello I am android developer had struck in route direction in mapview in android once it is not supported in latest sdk import com.google.googlenav.DrivingDirection; import com.google.googlenav.map.MapPoint; these 2 package are not found --~--~-~--~~~---~--~~ You r

[android-beginners]

2009-08-24 Thread saurabh sinha
I need education project in android. does anyone tell me from where I should access education project --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to and

[android-beginners] Re: Invalid apk file

2009-08-24 Thread Sean Hodges
Which version of Eclipse are you both running? I've not come across this problem before, but its possible that your emulator needs resetting. Try running: emulator -wipe-data from the command line to reset the data image. Sean On Sun, Aug 23, 2009 at 2:57 PM, Ivan wrote: > Does anybody has a

[android-beginners] Re: Edit text change input type in code

2009-08-24 Thread Lutz Schönemann
Try to use these methods: http://developer.android.com/reference/android/widget/TextView.html#setRawInputType(int) http://developer.android.com/reference/android/widget/TextView.html#setInputType(int) Constants to use for these methods you find in the description column in this table: http://d