Re: [android-beginners] setting age

2010-07-13 Thread Sean Hodges
I have to make something like a scroll with numbers in it , but the user shouldnt enter from the keyboard , he should have something to select from , many thanks indeed You could extend the built-in SeekBar view (http://android-er.blogspot.com/2010/02/seekbar.html) to add numbering

Re: [android-beginners] Way To develope the android application ?

2010-06-03 Thread Sean Hodges
That is one valid way to develop an app, yes. Also, you could perform the web service retrieval/parsing in the background using a Handler or ASyncTask, and store the downloaded data in a database/file so that you don't need to re-download it every time the screen orientation changes.

Re: [android-beginners] Way To develope the android application ?

2010-06-03 Thread Sean Hodges
in android and i don't have any experience in mobile development On Thu, Jun 3, 2010 at 1:36 PM, Sean Hodges seanhodge...@googlemail.com wrote: That is one valid way to develop an app, yes. Also, you could perform the web service retrieval/parsing in the background using a Handler or ASyncTask

Re: [android-beginners] How to change the Phone app UI?

2010-04-28 Thread Sean Hodges
Hello Zero, You cannot modify the stock Phone app without rebuilding it; you will need to distribute your own extended version instead. Download the source code from here: http://source.android.com/download. You will need to get your users to download the customised Phone app as well as your

Re: [android-beginners] Why does my racing game not work???

2010-04-01 Thread Sean Hodges
On Thu, Apr 1, 2010 at 5:24 PM, Kevin Duffey andjar...@gmail.com wrote: you can't be posting a company's source out in a public forum. I sure hope you're wrong, by that time... -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try

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

2010-02-02 Thread Sean Hodges
On Tue, Feb 2, 2010 at 3:52 PM, Kitzy kitzyk...@gmail.com wrote: Also, it is best to program to the lowest sdk version possible. All sdks. Are backwards compatable (somethiing made for 1.5 will work on 2.1. However something made for 2.1 won't work on 1.5) although you can/should test in your

Re: [android-beginners] Notification helf

2010-01-29 Thread Sean Hodges
On Fri, Jan 29, 2010 at 10:38 AM, Chirayu Dalwadi chirayu.dalw...@gmail.com wrote:  Help on notification of android is required. Please help me out -- Warm Regards, Chirayu Dalwadi What is the problem you're having? -- You received this message because you are subscribed to the Google

Re: [android-beginners] Notification helf

2010-01-29 Thread Sean Hodges
On Fri, Jan 29, 2010 at 10:49 AM, Chirayu Dalwadi chirayu.dalw...@gmail.com wrote: I dont know how to use NotifyWithText. I need a code, that will help in implementing it What is NotifyWithText? I've never heard of it before, is it part of the Android SDK? -- You received this message

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

2010-01-28 Thread Sean Hodges
You can't install it, it comes pre-installed on the phone. If you can't see it on your home screen, then check your applications menu. If it's not there either, then you may be encountering the same problem as the people reporting here:

Re: [android-beginners] Re: save text from edittext to file

2010-01-28 Thread Sean Hodges
to install the apk when I want to test it! =( André On Jan 28, 11:19 am, Sean Hodges seanhodge...@googlemail.com wrote: Sorry, I really wasn't on the ball yesterday :) What you want is: String TESTSTRING = bodyText.getText().toString(); Just for a little background: Your bodyText object

Re: [android-beginners] Re: save text from edittext to file

2010-01-27 Thread Sean Hodges
The problem is that you are referencing a non-final variable (bodyText) that is outside the scope of your View.OnClickListener() inner class. You need to make bodyText final, so that it can be accessed from inside your anonymous inner class. You do not need to make TESTSTRING final, though doing

Re: [android-beginners] Re: save text from edittext to file

2010-01-27 Thread Sean Hodges
at 5:31 PM, Sean Hodges seanhodge...@googlemail.com wrote: The problem is that you are referencing a non-final variable (bodyText) that is outside the scope of your View.OnClickListener() inner class. You need to make bodyText final, so that it can be accessed from inside your anonymous inner

Re: [android-beginners] Re: Video recording

2010-01-25 Thread Sean Hodges
On Mon, Jan 25, 2010 at 2:38 PM, Dave Feltenberger dave.feltenber...@gmail.com wrote: Perhaps I'm doing something wrong?  What permissions do I need other than to record audio and video? I haven't done anything with video recording in Android, but looking at the built-in Camera app source

Re: [android-beginners] how can I launch my own activity from Home screen?

2010-01-21 Thread Sean Hodges
On Thu, Jan 21, 2010 at 1:19 PM, satish bhoyar getsatonl...@gmail.com wrote: hi all, I m trying to launch my own activity from Home Screen. I gave the button for the same to do it . I then build the code wen i click the button i get error saying the application is not installed on the phone..

Re: [android-beginners] How to open home screen?

2010-01-19 Thread Sean Hodges
On Tue, Jan 19, 2010 at 3:00 PM, Viral Brahmbhatt viralbrahmbh...@gmail.com wrote: Hello, Is there a way to directly move to home screen from application, without pressing the home button on the phone. The activities in your application stack on top of each other, so you need to return an

Re: [android-beginners] My app is missing in HTC tattoo market

2010-01-18 Thread Sean Hodges
Does it show on the market for other phones? What is the name of the app? I'll take a look with my G1. On Mon, Jan 18, 2010 at 10:11 AM, andersg anders.gjett...@gmail.com wrote: Hi, I have postet an app in market, which doesn't show up in HTC tattoo. In the manifest I have the following:  

Re: [android-beginners] Splash Activity and Animation only on launch

2010-01-15 Thread Sean Hodges
Or, alternatively to Justin's suggestion, you can add the following attribute to the SplashActivity definition in your AndroidManifest.xml: android:clearTaskOnLaunch=true This will ensure that SplashActivity is always the activity shown when your app is launched. There are lots of settings like

Re: [android-beginners] Re: Android 2.1 SDK

2010-01-14 Thread Sean Hodges
trying to install Android Development Tools. I will try NetBeans. On Jan 12, 5:18 pm, Sean Hodges seanhodge...@googlemail.com wrote: At the top of this page: http://developer.android.com/intl/fr/sdk/index.html There is a blue box at the top with a show more link. Click the link and you'll

Re: [android-beginners] Re: Diagonal Screen transition.

2010-01-14 Thread Sean Hodges
As far as I'm aware, there are no diagonal screen transitions in Android. You also can't define them per app, the activity transitions are defined by the system theme. On Thu, Jan 14, 2010 at 11:39 AM, satish bhoyar getsatonl...@gmail.com wrote: Hi Guys, I was hoping any kind of help regarding

Re: [android-beginners] Multiple Instances of Widget

2010-01-14 Thread Sean Hodges
On Thu, Jan 14, 2010 at 11:44 AM, Lyndon lyn...@infomediauk.net wrote: So, my question is 'How do you handle multiple instances of the same widget. I know about appWidgetId and the array of appWidgetIds that gets passed about but the problem seems to be that all my instances write to a

Re: Re: [android-beginners] How to get a reference of the parent Activity

2010-01-14 Thread Sean Hodges
, if no, continue? On Wed, Jan 13, 2010 at 12:06 PM, Sean Hodges seanhodge...@googlemail.com wrote: The parent ... -- 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 http

Re: [android-beginners] Re: Diagonal Screen transition.

2010-01-14 Thread Sean Hodges
the screen. Take a look at the Dev Guide where it talks about animations... On Jan 14, 2010 4:51 AM, Sean Hodges seanhodge...@googlemail.com wrote: As far as I'm aware, there are no diagonal screen transitions in Android. You also can't define them per app, the activity transitions are defined

Re: [android-beginners] Re: [android-kernel] Instructions to install Android on Netbook

2010-01-14 Thread Sean Hodges
http://www.androidx86.org/ On Thu, Jan 14, 2010 at 4:00 PM, Kevin Duffey andjar...@gmail.com wrote: I am going to go out on a limb here and say that the underlying linux OS that android runs on probably runs on intel, but as far as I know the Android JVM.. and hence the NDK native code is

Re: [android-beginners] Passing object references

2010-01-13 Thread Sean Hodges
Use Intent.putExtra(): http://developer.android.com/intl/fr/reference/android/content/Intent.html#putExtra(java.lang.String, android.os.Bundle) An example can be found here: http://www.agilemedicine.com/medBlog/?tag=putextra Something like this should work for you: Intent i = new

Re: [android-beginners] how to pass the objects from the activity to the app widget

2010-01-13 Thread Sean Hodges
How about using the SharedPreferences mechanism? It is described in the first section of this article: http://developer.android.com/intl/fr/guide/topics/data/data-storage.html I used it for the very same purpose. It has the added benefit that the value is shared between multiple instances of the

Re: [android-beginners] How to get a reference of the parent Activity

2010-01-13 Thread Sean Hodges
The parent activity may have been paused/destroyed by Android, once an activity is no longer in focus there is no guarantee that it will remain accessible until it is brought back to the foreground. You really need to pass all the information you need to NewActivity when launching it, or store

Re: [android-beginners] services and process started

2010-01-13 Thread Sean Hodges
An example of what you want to do would be useful. You can't simply hack into the operations of another running application, but you can interact with them in certain ways. You also haven't mentioned if both applications are yours. On 14 Jan 2010 00:40, vaibhav mital vaibhav2...@gmail.com wrote:

Re: [android-beginners] Re: Android 2.1 SDK

2010-01-12 Thread Sean Hodges
On Tue, Jan 12, 2010 at 2:01 AM, Casper Bang casper.b...@gmail.com wrote: It says here [http://developer.android.com/sdk/eclipse-adt.html] to add Android support to Eclipse by adding the following URL: https://dl-ssl.google.com/android/eclipse/ However not much is happening. Indeed,

Re: [android-beginners] Re: Android 2.1 SDK

2010-01-12 Thread Sean Hodges
-ssl.google.com... 209.85.129.190, 209.85.129.91, 209.85.129.93, ... Connecting to dl-ssl.google.com|209.85.129.190|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2010-01-12 13:48:24 ERROR 404: Not Found. /Casper On Jan 12, 1:43 pm, Sean Hodges seanhodge...@googlemail.com wrote

Re: [android-beginners] Re: Android 2.1 SDK

2010-01-12 Thread Sean Hodges
, 1:43 pm, Sean Hodges seanhodge...@googlemail.com wrote: On Tue, Jan 12, 2010 at 2:01 AM, Casper Bang casper.b...@gmail.com wrote: It says here [http://developer.android.com/sdk/eclipse-adt.html] to add Android support to Eclipse by adding the following URL: https://dl-ssl.google.com

Re: [android-beginners] Launching Browser in Preference Activity.

2010-01-11 Thread Sean Hodges
Please don't cross-post to multiple mailing lists. It means people get your question more than once, and can cause multiple conversations on different lists. Post to android-beginners if you're not sure, then send to android-developers if no-one has an answer for you. The question has been

Re: [android-beginners] webview on widget

2010-01-08 Thread Sean Hodges
On Fri, Jan 8, 2010 at 12:23 PM, dolly dolly.priyadarsh...@wipro.com wrote: Hi, I am trying to display a webpage as part of a widget, but I am not able to do so since Remote views do not support adding webview to it. Can this be done in any other way ? Regards, Dolly Appwidgets are quite

Re: [android-beginners] alertdialog, under what circumstances will invoking .show directly cause problems?

2010-01-08 Thread Sean Hodges
When you use Activity.showDialog() you are telling the parent activity to manage the dialog that you create. From the API docs ( http://developer.android.com/intl/fr/reference/android/app/Activity.html#showDialog(int) ): A call to onCreateDialog(int) will be made with the same id the first time

Re: [android-beginners] Re: How can I make a vew show up really, really fast?

2010-01-07 Thread Sean Hodges
The method really depends on your requirements: * If the amount of work isn't too great, and you just want the activity to be drawn before the processing starts, then postDelayed() is a sensible approach. * If you have a lot of processing to do, and the execution needs to be linear (e.g. (a)

Re: [android-beginners] Re: how to structure my app to run in background

2010-01-07 Thread Sean Hodges
You can create a ContentProvider for this: http://developer.android.com/intl/fr/guide/topics/providers/content-providers.html A tutorial can be found here: http://www.devx.com/wireless/Article/41133 It will provide a interface to your database, that can be shared between applications. On

Re: [android-beginners] how to turn gps on/off programatically

2010-01-07 Thread Sean Hodges
On Thu, Jan 7, 2010 at 3:42 PM, Yousuf Faheem yousuf.syed@gmail.com wrote: Hi, I am writting a code which has to turn gps on when its needed and turn gps off when its not needed. This is different from enabling or disabling the gps. Is there any api that is used for this purpose. How is

Re: [android-beginners] launch an activity right into the background

2010-01-07 Thread Sean Hodges
I assume this carries on from your earlier question about delaying tasks in an onCreate()? It is technically possible to move your intensive code into a Service and have it start when the phone boots up, but bear in mind that this is an unpopular method, as users will find their phones become

Re: [android-beginners] Re: MediaPlayer cannot play music file in res/raw folder

2010-01-05 Thread Sean Hodges
Have you tried what I suggested? On Tue, Jan 5, 2010 at 4:47 AM, csaunders c.saunders...@gmail.com wrote: I am doing my development against Android 1.5 in the emulator.  I don't think it's anything 'special'. Also, the mp3 files aren't very large, they are about 7K each. On Jan 4, 4:57 pm,

Re: [android-beginners] MediaPlayer cannot play music file in res/raw folder

2010-01-04 Thread Sean Hodges
I'm a bit busy to do a test myself, but on a quick glance this line in the stacktrace seems interesting: E/AndroidRuntime( 1425): Caused by: java.io.FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed Try converting your mp3 file to a raw .wav

Re: [android-beginners] Create an .apk progamatically

2010-01-04 Thread Sean Hodges
On Mon, Jan 4, 2010 at 6:33 PM, tsimmi gilga...@gmail.com wrote: Hi! The problem is this: I make an internet connection to some url and receive an HttpResponse with an app_example.apk. Then I want to create a file (an .apk) in the sdcard with this data so that this downloaded application

Re: [android-beginners] Very new - need some help.

2010-01-04 Thread Sean Hodges
On Mon, Jan 4, 2010 at 11:15 PM, Kevin Duffey andjar...@gmail.com wrote: Best option is to buy a book. There are a few good ones out there for not too much money. They'll walk you thru all the steps quite quickly. There is an online PDF book as well.. forget the name now. I got it.. it's the

Re: [android-beginners] Facing serious problem with static objects

2010-01-03 Thread Sean Hodges
I've never been a fan of using static fields for passing data between activities, partly because of the kind of problems you hit already. The lifecycle of an Activity is not directly associated with the lifetime of an object on the JVM heap. You might find passing your hashmaps/arrays to each

Re: [android-beginners] Application Development using C

2009-12-22 Thread Sean Hodges
The developer guide describes what you can and can't do with C on Android: http://developer.android.com/sdk/ndk/1.6_r1/index.html#overview On Fri, Dec 18, 2009 at 10:34 AM, rakesh kumar rakesh.cr...@gmail.com wrote: Hi, can i develop an application using C instead of Java? and also from

Re: [android-beginners] Re: Visual Studio Android Development

2009-12-22 Thread Sean Hodges
On Thu, Dec 17, 2009 at 4:44 PM, BermudaLamb thoml...@gmail.com wrote: As a developer I want to spend my writing code ... not twiddling with an IDE to get it to work in a manner that I'm comfortable with.  I certainly don't want to spend time downloading and installing things like IDEs that

Re: [android-beginners] Issue with HelloWorld.

2009-12-22 Thread Sean Hodges
On Mon, Dec 21, 2009 at 2:04 PM, Sanjeev iamsanj...@gmail.com wrote: Hi, I tried to execute a simple Hello World program, but the screen only shows ANDROID irrespective of what string I type. I am not sure how to fix this issue. Have you waited for the emulator to finish booting up? The

Re: [android-beginners]

2009-12-16 Thread Sean Hodges
I suspect he's not subscribed to the list, so people are responding on-list and he thinks the questions are going unanswered. Sure is annoying though, I sent an email directly to determine if this was the case, but it was evidently ignored. The only other explanation is that the questions are

Re: [android-beginners] Does ANYONE HAVE ANY IDEA WHY THIS CODE WILL NOT PLLAY VIDEO..Video From Youtube in Emulator Android 2.1 Eclipse Gallileo/ Unable to play video

2009-12-16 Thread Sean Hodges
THAT LINK IS POINTING AT AN HTML FILE. The MediaPlayer is very particular about the path you send in. A quick search on Google turned up these suggestions for YouTube streaming: http://osdir.com/ml/Android-Beginners/2009-09/msg00570.html

Re: [android-beginners] Re: Simple Call App

2009-12-15 Thread Sean Hodges
Nithin is right, you need to add the following permission to your AndroidManifest.xml, if it's not there already: uses-permission id=android.permission.CALL_PHONE/ You'll find that the KEYCODE_CALL button is being ignored, because by default special buttons like the back/call/home ones are

Re: [android-beginners] Streaming Video using VideoView Sorry Cant play this video

2009-12-15 Thread Sean Hodges
You are trying to play a WMV format. http://developer.android.com/guide/appendix/media-formats.html On Tue, Dec 15, 2009 at 11:42 AM, Valentino XM shourai...@gmail.com wrote: this is the code. appreciate if anyone can tell me whats wrong. package info.shouraig.com; import

Re: [android-beginners] C programming

2009-12-15 Thread Sean Hodges
On Tue, Dec 15, 2009 at 3:26 PM, Michael Dorin bsddo...@gmail.com wrote: Ok, I see all the examples on how to make a hello world program in c, but all of them have you do an adb shell to run it. Assume I want to have my c program do the useful things it already does and use java for the UI,

Re: [android-beginners] How to you keep your program running as a process?

2009-12-10 Thread Sean Hodges
Sounds like what you want is a Service: A service doesn't have a visual user interface, but rather runs in the background for an indefinite period of time. For example, a service might play background music as the user attends to other matters, or it might fetch data over the network or calculate

Re: [android-beginners] New to Java and Android

2009-12-10 Thread Sean Hodges
Is there anything more specific that you're having problems with? I think what you want is to use a WebView: http://developer.android.com/guide/tutorials/views/hello-webview.html If you haven't already, please run through the tutorials on the Android development site. It's well worth grasping

Re: [android-beginners] Re: Android keeps rebooting

2009-12-10 Thread Sean Hodges
On Thu, Dec 10, 2009 at 1:32 PM, Vinicius Carvalho viniciusccarva...@gmail.com wrote: I've also noticed that the phone is hanging a LOT! Sometimes apps do not respond. It sounds like your phone is faulty, try doing a factory reset to see if the issue is software related. Otherwise, I suggest

Re: [android-beginners] Just starting this, not working

2009-12-08 Thread Sean Hodges
On Mon, Dec 7, 2009 at 5:27 PM, Greg Donald gdon...@gmail.com wrote: I have a new 2.66GHz i7 (8 cores) over-clocked to 3.69GHz, and I have 12 GBs of ram, 9 GBs free, no swapping.  The emulator take about 80 seconds to load from scratch.  Eclipse takes well over two minutes to start up. Seems

Re: [android-beginners] Tasks Running in Android

2009-12-08 Thread Sean Hodges
On Tue, Dec 8, 2009 at 11:12 AM, Sasikumar.S sasikumar.it1...@gmail.com wrote: Hi, How to find, what are the tasks running in android emulator?... On the emulator itself: Dev Tools app - Running Processes From Eclipse (when attached), you can show the Devices view, which gives the running

Re: [android-beginners] Integrate GMAIL within an Android app....

2009-12-07 Thread Sean Hodges
A webview would work, as Marton suggested. It will place the entire UI into your app, including the threaded inbox and Gmail look-and-feel. The user would need to log into GMail the same way as when they navigate to GMail on their browser. Another alternative would be to interface with GMail

Re: [android-beginners] Re: Passing a Hashtable in Intent Extras..

2009-11-13 Thread Sean Hodges
Well the first thing that immediately springs to mind is the lack of package prefix in your key string. From the Intent API: The name must include a package prefix, for example the app com.android.contacts would use names like com.android.contacts.ShowAll So your putExtra key should be something

Re: [android-beginners] Re: Passing a Hashtable in Intent Extras..

2009-11-13 Thread Sean Hodges
Sorry, I missed this mail, glad to hear you got it working. On Fri, Nov 13, 2009 at 11:07 AM, Samuh samuh.va...@gmail.com wrote: The ClassCastException means that the Java Runtime does not like your request to convert a Serializable into a HashMap. I understand the meaning of

Re: [android-beginners] Re: Passing a Hashtable in Intent Extras..

2009-11-13 Thread Sean Hodges
to understand. On Nov 13, 4:19 pm, Sean Hodges seanhodge...@googlemail.com wrote: Sorry, I missed this mail, glad to hear you got it working. On Fri, Nov 13, 2009 at 11:07 AM, Samuh samuh.va...@gmail.com wrote: The ClassCastException means that the Java Runtime does not like your request

Re: [android-beginners] What is a toast?

2009-11-10 Thread Sean Hodges
From the dev guide (http://developer.android.com/reference/android/widget/Toast.html): A toast is a view containing a quick little message for the user. The toast class helps you create and show those. When the view is shown to the user, appears as a floating view over the application. It will

Re: [android-beginners] How to receive and read an Email

2009-11-09 Thread Sean Hodges
SMS_RECEIVED definitely should be in the SDK, it is a frequently used intent. An example of it's use can be found here: http://davanum.wordpress.com/2007/12/15/android-listen-for-incoming-sms-messages/. Double-check your spelling, I think you have an i and an e the wrong way round. As for emails,

Re: [android-beginners] Re: How to receive and read an Email

2009-11-09 Thread Sean Hodges
Nov 2009 17:27:53 jrichards1...@googlemail.com wrote: Thanks. Sorry but the sdk definetly doesnt have that intent anymore http://developer.android.com/search.html#q=SMS_RECEIVED%20t=0 On Nov 9, 5:12 pm, Sean Hodges seanhodge...@googlemail.com wrote: SMS_RECEIVED definitely should

Re: [android-beginners] detect if number can receive SMS/MMS

2009-11-06 Thread Sean Hodges
On Fri, Nov 6, 2009 at 9:11 AM, Marton Kodok pentiu...@gmail.com wrote: Hello, 1. How can I detect if a number is not landline, so it's a mobile phone? 2. How can I detect if a number can receive SMS? 3. How can I detect if a number can receive MMS? 1. You could perhaps check the prefix of

[android-beginners] Re: Edit Text === Problem..please help

2009-10-30 Thread Sean Hodges
On Fri, Oct 30, 2009 at 2:36 AM, Nat M natwa...@gmail.com wrote: Hi all, My AVD automatically takes = (equal) sign in edit texts. I have changed my AVD several times already. As soon as some edit text shows up on screen it starts filling = sign in it and keeps on doing it. Please Help.

[android-beginners] Re: listen for when my app is installed

2009-10-28 Thread Sean Hodges
On Wed, Oct 28, 2009 at 4:45 PM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: i would like to copy some files from assets to the SD card when my app is installed. i see the PACKAGE* intents, but i'm unclear which one (or set) i should be listening for. i am sure this is a common

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

2009-10-27 Thread Sean Hodges
You really are an incredibly annoying poster. One more email like this and I will be blocking your emails from my inbox. Please see all the other threads you started on this topic, if there is something specific you don't understand then ask for clarification on it.

[android-beginners] Re: Visual Studio Android Development

2009-10-27 Thread Sean Hodges
[...] This is akin to the same thought ... Sure I can restructure my thinking, and learn yet another way to develop my applications, but in this day and age why should I. Because you are a human being. You are inquisitive, and evolve intellectually and physically due to the experiences that

[android-beginners] Re: file chooser?

2009-10-27 Thread Sean Hodges
On Mon, Oct 26, 2009 at 5:34 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: this has to be an easy one. i want to bring up a file chooser to be able to read a file from say the SD card. i'd rather not roll my own. is there some standard way to do this? -- I've not used it, but

[android-beginners] Re: Poor Documentation

2009-10-25 Thread Sean Hodges
I know the Android is a free system but I stand by my point that the documentation could be a lot better. The better the developer documentation, the better the take up. No. The higher the demand for the Android platform (more phones, more consumers) the better the take up. This holds true

[android-beginners] Re: Emulator on Windows7 can't connect to internet

2009-10-24 Thread Sean Hodges
Similar issues are occasionally reported in Ubuntu and Vista. You might try running the emulator with a manually set DNS server: emulator -dns-server 111.222.333.444 On Sat, Oct 24, 2009 at 12:27 PM, Jeroen Beckers thedauntl...@gmail.com wrote: Hi, I recently updated to Windows 7 and I'm

[android-beginners] Re: Emulator on Windows7 can't connect to internet

2009-10-24 Thread Sean Hodges
within eclipse (on windows 7) and it connected to the net just fine Sean Hodges wrote: Similar issues are occasionally reported in Ubuntu and Vista. You might try running the emulator with a manually set DNS server: emulator -dns-server 111.222.333.444 On Sat, Oct 24, 2009 at 12:27 PM

[android-beginners] Re: Poor Documentation

2009-10-22 Thread Sean Hodges
On Thu, Oct 22, 2009 at 10:00 AM, gmseed gms...@gmail.com wrote: Take the Sensor page, which lists the public methods: float   getMaximumRange() String  getName() float   getPower() float   getResolution() int     getType() String  getVendor() int     getVersion() Not a single comment

[android-beginners] Re: Is your Android app on Archos Market ?

2009-10-22 Thread Sean Hodges
On Thu, Oct 22, 2009 at 9:35 AM, arnouf arnaud.far...@gmail.com wrote: Definitely a showstopper. Additionally there is the allegationhttp://groups.google.com/group/android-discuss/browse_frm/thread/4d5c... Hi, I'm not an Archos employee and I read this message two. I have no

[android-beginners] Re: Unsubscribe

2009-10-16 Thread Sean Hodges
On Fri, Oct 16, 2009 at 2:55 PM, Danny W. Pimienta iph...@the16thletter.com wrote: I have the same issue. Can the owner zap me off the list too? The same instructions that Mark gave David apply to you as well. Click on this link: http://groups.google.com/group/android-beginners?hl=en Click

[android-beginners] Re: How can I change the look of the front screen of the Android

2009-10-13 Thread Sean Hodges
-Applications will be launched in the space left in the middle What space? :) --~--~-~--~~~---~--~~ 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] Re: Imp ..

2009-10-11 Thread Sean Hodges
On Sun, Oct 11, 2009 at 7:52 PM, kruti shah kruti...@gmail.com wrote: Hey i m making a UI on a parking lot application in android .In my application it helps the user find a free place in the parking lot.So that it gets convenient for him so he doesnot have to waste time searching for

[android-beginners] Re: is it possible to receive incoming call automatically?

2009-10-05 Thread Sean Hodges
There is no correct way, at this point in time. Your approach may work (assuming the security model does not prohibit you), but it may also break when the next Android update is released. On Mon, Oct 5, 2009 at 10:57 AM, Nemat nemate...@gmail.com wrote: Can you please tell me how can we do

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

2009-10-03 Thread Sean Hodges
On Thu, Oct 1, 2009 at 10:53 AM, saurabh sinha saurso...@gmail.com wrote: somebody tell me what is use of onBind in service http://lmgtfy.com/?q=android+service+onBind --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-beginners] Re: Join

2009-09-30 Thread Sean Hodges
On Wed, Sep 30, 2009 at 12:58 PM, Sasikumar.S sasikumar.it1...@gmail.com wrote: pls join this group to share ideas http://groups.google.com/group/mobile-application-developers Sasikumar.S, Are we going to be seeing these emails every week now? If so, you might find a lot of people on this

[android-beginners] Re: problem installing a .apk file

2009-09-29 Thread Sean Hodges
It means that there is a content provider specified in the apps AndroidManifest.xml file that has not been given an android:name attribute. As described in the docs (http://developer.android.com/guide/topics/manifest/provider-element.html) the android:name attribute is mandatory. My guess is that

[android-beginners] Re: startActivityForResult problem...

2009-09-26 Thread Sean Hodges
That is definitely a puzzling behaviour, I suspect the fact you have no content view is probably the cause. Is there any reason why you need the second activity? Activities are supposed to be used to display a new screen, processing data in the background is usually performed in an ASyncTask or

[android-beginners] Re: intercepting email

2009-09-25 Thread Sean Hodges
Intercepting the actions in the mail client apps, no. But you could use SMTP to periodically query a remote mailbox from a service, and trigger an intent from there. I haven't checked yet, but if it is possible to observe when a particular app/activity starts (in this case the mail client), you

[android-beginners] Re: Please Help Urgent: Get active context dynamically of an application

2009-09-24 Thread Sean Hodges
On Thu, Sep 24, 2009 at 11:23 AM, Atif Gulzar atif.gul...@gmail.com wrote: Thanks Murphy , I really appreciate your help. I posted this questions about two weeks ago on developers list. But when I did not get any response. I posted it on both lists. Sorry if I lost my patient and posted it

[android-beginners] Re: Unable to stop Emulator from commandline in linux

2009-09-24 Thread Sean Hodges
On Thu, Sep 24, 2009 at 2:40 PM, Smruti smruti...@gmail.com wrote: [r...@localhost tools]# emulator -avd test_avd unknown option: -avd Android Emulator usage: emulator [options] [-qemu args]  options:    -system dir            read system image from dir    -datadir dir           write user

[android-beginners] Re: launch app from an app

2009-09-22 Thread Sean Hodges
I think he's trying to launch the Youtube app On Sep 22, 2009 7:29 AM, Justin Anderson janderson@gmail.com wrote: Are you trying to launch an activity that you created, or an arbitrary third party app? Thanks, Justin --

[android-beginners] Re: Installed Application Version

2009-09-01 Thread Sean Hodges
Programmatically? or when using the phone? On Tue, Sep 1, 2009 at 11:04 AM, Ne0liamjamesalf...@googlemail.com wrote: This isnt stricktly a developer question, but once an app is installed on the phone how can you tell what the version is that is in the manifest file? Liam

[android-beginners] Re: Installed Application Version

2009-09-01 Thread Sean Hodges
be a Manifest.xml parser available for the PC, but within Android I don't think you can interrogate another app's Manifest.xml / version data for security purposes. On Tue, Sep 1, 2009 at 11:30 AM, Ne0liamjamesalf...@googlemail.com wrote: Using the phone? On Sep 1, 11:28 am, Sean Hodges seanhodge

[android-beginners] Re: Progress bar for upload / doenload

2009-09-01 Thread Sean Hodges
You need to update your progress bar in a separate thread to the the main (UI) one, see the example here: http://developer.android.com/reference/android/widget/ProgressBar.html What you have is saying When creating the activity, loop 1000 times and change the progress bar position value each

[android-beginners] Re: Installed Application Version

2009-09-01 Thread Sean Hodges
Wow thats pretty cool Mark. I thought the PackageManager was limited to providing info about the app that you are calling it from. Thanks for the tip. On Tue, Sep 1, 2009 at 11:49 AM, Mark Murphymmur...@commonsware.com wrote: Sean Hodges wrote: As far as I'm aware of, there isn't a way

[android-beginners] Re: Android not found

2009-08-31 Thread Sean Hodges
Yusuf is right, you need to specify where the android program is. Try adding a ./ at the beginning: ./android create avd On Mon, Aug 31, 2009 at 5:53 PM, Yusuf Saib (T-Mobile USA)yusuf.s...@t-mobile.com wrote: Hmm. I'm no UNIX expert, but it sounds like your OS does not consider the current

[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, Ivanxhh...@gmail.com wrote:

[android-beginners] Re: 3 icons for one app

2009-08-18 Thread Sean Hodges
Can you post up your manifest file? On Tue, Aug 18, 2009 at 2:41 AM, tinyangtiny...@earthlink.net wrote: I am developing an app and so far it has 3 complete acticities.  For some reason, everytime I install it and run it in my emulator, it creates an icon for each activity instead of

[android-beginners] Re: Android SDK

2009-08-11 Thread Sean Hodges
You have not downloaded the Android SDK. You have downloaded some random Java applet called Anfy that has something to do with manipulating images. Please download the *Android* SDK from here: http://developer.android.com/sdk/1.5_r3/index.html Regards, Sean On Fri, Aug 7, 2009 at 9:07 PM,

[android-beginners] Re: Supposed to use javac?

2009-07-30 Thread Sean Hodges
I thought I had read that Android does not use Sun's Java because of copyright issues but rather uses Dalvik, which is not 100% compliant. Where did you read this? Dalvik is a JVM implementation optimised for the mobile platform. It isn't a Java SDK, hence no javac.

[android-beginners] Re: Learning? Windows or Linux?

2009-07-30 Thread Sean Hodges
Eclipse works just as well in Linux as it does in Windows. The error you are getting can have several manifestations, try pulling any third-party .jars out of your project and start Eclipse using the -clean switch. Building from command-line works as well, you can write a build script in ANT or

[android-beginners] Re: Folder under raw or drawable

2009-07-29 Thread Sean Hodges
On Wed, Jul 29, 2009 at 10:35 AM, BOROkonradborowie...@gmail.com wrote: Hi. I would like to create a folder (s) under raw or/and drawable folders. Is it even possible and why not? According to the documentation it seams that folder names are limited to a specific set of names which have to

[android-beginners] Re: multiple image attachment

2009-07-28 Thread Sean Hodges
On Tue, Jul 28, 2009 at 12:33 PM, SrilankanKKk2er...@gmail.com wrote: Hi i have put this question on several time on this forum. But i didn't get any answer. It's fine to bump a unanswered post after a few days, but please don't post to multiple lists at the same time. You just

[android-beginners] Re: XML and Java/Android

2009-07-26 Thread Sean Hodges
elegos, The official dev guide provides an example for XmlPullParser: http://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html Bear in mind XmlPullParser has some specific uses. If you are looking for an alternative to SimpleXML then you should probably look at basic SAX

Re: Automatic Updates - iphone vastly superior (Was Re: [android-beginners] Re: Availability of Developer Phone.)

2009-07-24 Thread Sean Hodges
Shawn, I fail to see how this is a problem with Android. As Mark has stated repeatedly, it is the carrier who pushes OTA updates for the devices, not Google or the android-beginners mailing list. The issue you describe sounds like the blame rests solely with NTT DoCoMo. They are the ones pushing

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

2009-07-23 Thread Sean Hodges
An intent is an instruction you send so the system will perform an operation. You pass in a command in the form of a context string, such as android.intent.action.DIAL, along with some data, like tel:01234567890. See here: http://developer.android.com/reference/android/content/Intent.html An

  1   2   >