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.
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
) 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:
>
>
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
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
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
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
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
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
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
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
>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
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
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
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
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
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
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
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.
--~--~-~--~~-
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.
--~--~-~--~
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
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!
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
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.
--~--~---
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.
--~--~---
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
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
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
28 matches
Mail list logo