Discussion Forums  >  Uncategorized

Replies: 4    Views: 180

Foxelina
I hate code!
Profile
Posts: 38
Reg: Jan 01, 2011
Sweden
3,830
01/04/12 02:42 AM (14 years ago)

Close but no header image! Android 1.5

Hello! This is Android 1.5 on Mac. I have been working hard getting everything to work with my first Android App. I have gotten far, I have got all the keys and the Google maps working :) Yeiiiiii! Its just one thing. The header image. I cannot get it to show, have been at it for days now. Have changed image size and name several times, now I have made it transparent. I have the image size written in Bt. Dragged the image in eclipse to the res/drawable folder. I have made a new simulator to hopefully clear cache. Restarted eclipse. Downloaded and recompiled but still nothing. I can se the space above the menu change everytime i try a new image size, but no image. The emulator sometimes get stuck but now there is no problem. I am no good at logcat, it just shows 300 lines in different colors and i dont know what to look for. I have got 100 warnings but no error in my project but i guess that is ok. It seems warnings most are about stuff not being used. How can i check where the image is downloaded from? Is there a cache to clean? Is there somwhere in the code i change or look? It is irritating to be this close and ask for help for what should be the easy part but I'm stuck. Any tip... : ) ?
 
Mackimack
Apple Fan
Profile
Posts: 481
Reg: Dec 30, 2010
Sweden
14,310
like
01/04/12 03:26 AM (14 years ago)
Hej Foxelina. Header Image funkar inte för Android 1.5 ännu. Du måste fixa 2.0 på din egna server. Då kan du använda en plugin som heter SimpleMenuAdvanced då funkar header bilder på Android.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
01/04/12 06:24 AM (14 years ago)
'I am no good at logcat, it just shows 300 lines in different colors and i dont know what to look for. ' Tip: All the buzztouch info (the helpful stuff) begins with ZZ. You can filter on this in the LogCat window so you only see those ;-) The behavior you describe is strange for sure. But, there isn't anyway to know what's happening with the image. But, the 100 errors. You should NOT have any erros in Eclipse. If you do something's crazy. It's even more difficult to diagnose any issue at all when errors are showing. I would start by trying to figure out what the heck is showing all the errors. Get them cleared up then attack the image. If you have lots and lots of errors it's almost always an issue with the Android / Google Version, package name, or Eclipse SDK install?
 
Foxelina
I hate code!
Profile
Posts: 38
Reg: Jan 01, 2011
Sweden
3,830
like
01/04/12 06:49 AM (14 years ago)
There are no errors, only warnings! I tought it was ok with warning since the apk works fine to install on device but i will dig in to it! Thank you for tip on logcat and 2.0 Let me know if it is ok to have som warnings! :)
 
Foxelina
I hate code!
Profile
Posts: 38
Reg: Jan 01, 2011
Sweden
3,830
like
01/04/12 08:26 AM (14 years ago)
Ok, got the headerimage working! But is it ok to have warnings in project?
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.