[android-beginners] I can't figure out how to link one projects files to another with eclipse. Please Help!

2009-06-07 Thread madcoder
I transferred my development from Windows to Mac. I have the latest version of Eclipse, and the 1.5 r2 SDK. I have successfully ran a sample Hello world app to make sure it all fits together properly. I then imported my library projects (called MyLib) that holds many reusable classes of mine.

[android-beginners] Re: Very Basic question regarding Activities

2009-02-15 Thread madcoder
Could you give a more detailed example - I too would like to see how an array (of ints, for example) can be accessed in activity 2 from activity one. As it is now, I'm loading that data every time I start a new activity - and it's quite slow! Thanks On Feb 14, 7:32 pm, Ganesan V wrote: > U can

[android-beginners] Re: Beer Radar Tutorial

2009-02-10 Thread madcoder
) under each image identifies each place as well, e.g., 'pub', 'discotheque' or 'pool hall'. These might just be user-selectable options in the menu. :) On Feb 9, 7:10 pm, madcoder wrote: > I want it...NOW > > On Feb 9, 2:00 am, Strawp wrote: > >

[android-beginners] Re: doing something useful in splash

2009-02-10 Thread madcoder
ok, thanks. i'll work on it tonight --~--~-~--~~~---~--~~ 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 from this group, se

[android-beginners] Re: doing something useful in splash

2009-02-10 Thread madcoder
I think the splash screen can be shown (or not shown) using a boolean flag in the method: onNewIntent(Context context) Although I won't be able to test until I get home. :) The problem for me is passing data between the intents. I can pass primitives via bundles, and load data from files for n

[android-beginners] doing something useful in splash

2009-02-09 Thread madcoder
I want to initialize and load some data from a single user defined data class while the splash screen is being shown. Then I want to launch the main Activity, which will have access to this data. What's the best way to go about this? Do I create an activity that doesn't show itself, have it dis

[android-beginners] Re: Beer Radar Tutorial

2009-02-09 Thread madcoder
I want it...NOW On Feb 9, 2:00 am, Strawp wrote: > On Feb 8, 5:10 pm, android-noob wrote:> Hi, > > > I created a tutorial that maps the user's GPS location with BEER > > locations :) > > >http://www.androidph.com > > >http://www.androidph.com/2009/02/app-10-beer-radar.html > > > -ice > > Excel

[android-beginners] Re: R.java file is not getting updated

2009-02-04 Thread madcoder
t; > > On Feb 2, 7:40 am, Ashwani Rao wrote: > > > Hi, > > > > There is no problem with the backgorund. > > > I am also not getting red line in my xml files. > > > > Should i run the aapt tool from command line ? > > > > Regards, &g

[android-beginners] Re: Why I cannot see my email send to the group?

2009-02-03 Thread madcoder
I don't know, I can't see it either. On Feb 2, 4:06 pm, Jerry wrote: > Why? --~--~-~--~~~---~--~~ 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@googlegrou

[android-beginners] Re: R.java file is not getting updated

2009-02-02 Thread madcoder
Try to add android: To the First two button id's. Are you getting any red squiggly lines anywhere in the xml file? Are you sure that 'background' has been imported properly into your project? On Feb 2, 2:17 pm, Ashwani Rao wrote: > Hi, > > Please find the attached xml file. > I am u

[android-beginners] Re: Total noob

2009-01-30 Thread madcoder
Before you try to start coding I recommend learning the basics of the IDE with the incredible and FREE tutorials here: http://eclipsetutorial.sourceforge.net/index.html There are four tutorials: Using the Eclipse Workbench Eclipse and Java for Total Beginners Introducing Persistence Using the D

[android-beginners] Re: String[]

2009-01-26 Thread madcoder
>His syntax is good, Eclipse is just saying that the variable is not used. Indeed. Use 'array' somewhere in your app, and the error will go away. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" g

[android-beginners] Re: R.java file dont update

2009-01-25 Thread madcoder
Right-click the raw folder, then select 'import'. From there, expand the 'general' file, select 'file system'. Then click the 'next' button. Click the 'browse' button, then locate the folder containing the files you want to import. Select that folder, and your files should appear on the right

[android-beginners] Re: Common functionality between activities

2009-01-22 Thread madcoder
Sweet, I'm modding a program tonight because of this concept! --~--~-~--~~~---~--~~ 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 unsubs

[android-beginners] spinner blues

2009-01-08 Thread madcoder
I have tried putting a spinner in an app, both from books and several online tutorials, and it keeps locking up. It seems like my emulator doesn't like when I set the adapter the the array list. I even made a test project just to try the spinner itself, but to no avail. I'm doing the same code

[android-beginners] Re: ImageView with large picture crashes on orientation change

2009-01-04 Thread madcoder
Even though you are de-referencing the image view, there still may be a reference in the Activity itself. Try using this instead: iv = new ImageView(Context.getApplicationContext() ); I think you're creating a new image, while maintaining the reference to the old image(s) every time you change

[android-beginners] relative layout woes

2008-12-31 Thread madcoder
I have created a relative layout that seems like it should work fine, but it does not. I've Googled, checked docs, flipped through books and experimented with different properties trying to get it right. I even tried playing with it on DroidDraw, but still to no avail. I want the layout to show

[android-beginners] Re: why doesn't this work? Simple question - I hope...

2008-12-31 Thread madcoder
Yes, Mike, that makes a lot of sense. As a hobby programmer, I've only had to maintain my own code. :) Other calendar libraries, such as the ones from IBM, can be used - but they're not part of the standard Java SDK. --~--~-~--~~~---~--~~ You received this mess

[android-beginners] Re: some android stuff i made

2008-12-30 Thread madcoder
Is making products based on the Android design legal? It would be nice if it is, but is the logo & design copyrighted/trademarked? Would be a shame for you to make a bunch of nice T-shirts, polo shirts, buttons, etc., and wind up not being allowed to sell them. --~--~-~--~~-

[android-beginners] Re: sluggishness of G1 android

2008-12-30 Thread madcoder
You can actually just hold down the power button, there's no need to hold both home and power buttons at the same time. This also gives you the option for silent mode so you don't have to go to settings to select it. Mike, good advice on identifying the leaking application. --~--~-~--~

[android-beginners] Re: why doesn't this work? Simple question - I hope...

2008-12-27 Thread madcoder
Ah, I see. Now it makes sense. So why even bother with Calendar, then? I should just use the Gregorian Calendar. I read about the different Calendars available (from non-Sun companies, like IBM), but I didn't realize it was implemented in this way. I love OOP programming, but coming from an o

[android-beginners] why doesn't this work? Simple question - I hope...

2008-12-26 Thread madcoder
What's the difference between: Calendar c = new Calendar(); // doesn't work and Calendar c = Calendar.getInstance(); // does work Calendar is an abstract class, yet I can get an instance of it. I've used Java for a while now, but as an on/off hobby. Android has restarted my desire to code!

[android-beginners] Re: I can set the button colors, but I can't change them!

2008-11-24 Thread madcoder
I will try to start an new thread that pauses, then changes the buttons back. I think that should work! Thanks!!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send

[android-beginners] Re: How to sign out of Gmail on G1 phone?

2008-11-23 Thread madcoder
I agree, a user should be able to log out of gmail from the phone. An alternative way to read and reply to emails from other google accounts is to go to gmail settings, then accounts. From there you can add other email accounts, and be able to reply as if you were using that account. --~--~---

[android-beginners] Re: How to sign out of Gmail on G1 phone?

2008-11-23 Thread madcoder
I agree, a user should be able to log out of gmail from the phone. An alternative way to read and reply to emails from other google accounts is to go to gmail settings, then accounts. From there you can add other email accounts, and be able to reply as if you were using that account. --~--~---

[android-beginners] I can set the button colors, but I can't change them!

2008-11-23 Thread madcoder
I'm not looking for the easy solution (although that would be nice), but I will be more than happy with someone pointing me in the right direction so I can figure it out. I can set the button colors, but I can't change them. Well, I can, but not the way I would like to: using this line of code

[android-beginners] Re: new raw folder cannot be found by aapt tool

2008-11-20 Thread madcoder
Sorry guys, I figured it out... I didn't realize the it was under import->general Thanks anyways! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to andro

[android-beginners] new raw folder cannot be found by aapt tool

2008-11-20 Thread madcoder
I am trying to use a wav file for my test application in the Eclipse IDE. I created a raw folder under res, then imported the sound file into it. My code: MediaPlayer mp = MediaPlayer.create(Test_Class.this, R.raw.largeSound); The 'R.raw' is reported as an error, "R.raw cannot be resolved" So