Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 35    Views: 71

Mak
Aspiring developer
Profile
Posts: 37
Reg: Nov 25, 2013
London
5,270
11/26/13 02:33 PM (11 years ago)

Background image (android)

Hi guys I am having trouble setting a background image as my android background. I have the image (named background.png) in my drawable folder and everything set to clear but it wont come up. in Catlog the only thing I can find is the fact that it is loading a background colour not an image. Is this a common issue? Thanks in advance.
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/26/13 02:53 PM (11 years ago)
Hi Mak, What you mean, everything set to clear? There another image in your folder with same name? LA
 
Mak
Aspiring developer
Profile
Posts: 37
Reg: Nov 25, 2013
London
5,270
like
11/26/13 02:57 PM (11 years ago)
Hi LA, I mean that the rows in my screen is set to clear. No that's the only file with at name in the folder.
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/26/13 02:59 PM (11 years ago)
Try a product clean and a refresh. Also try a uninstall and reinstall on your device or emulator. LA
 
Mak
Aspiring developer
Profile
Posts: 37
Reg: Nov 25, 2013
London
5,270
like
11/26/13 03:01 PM (11 years ago)
Ok, I shall try that now On a slightly side note, what would happen if I replaced the bt_blank.png with my background page? Thank you for the help
 
Mak
Aspiring developer
Profile
Posts: 37
Reg: Nov 25, 2013
London
5,270
like
11/26/13 03:01 PM (11 years ago)
Well this is the time when my phone decides it wants to upgrade to kit kat...
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/26/13 03:03 PM (11 years ago)
Don't replace the blank one. LA
 
Mak
Aspiring developer
Profile
Posts: 37
Reg: Nov 25, 2013
London
5,270
like
11/26/13 03:06 PM (11 years ago)
OK I shan't
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/26/13 03:08 PM (11 years ago)
Type of Android device you have? LA
 
Mak
Aspiring developer
Profile
Posts: 37
Reg: Nov 25, 2013
London
5,270
like
11/26/13 03:14 PM (11 years ago)
Nexus 4.
 
Mak
Aspiring developer
Profile
Posts: 37
Reg: Nov 25, 2013
London
5,270
like
11/26/13 03:16 PM (11 years ago)
Hmm my app has now just started crashing on me all of a sudden. Says FATAL EXCEPTION: Main.
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/26/13 03:18 PM (11 years ago)
What does logcat say? Also turn on your messaging here. I tried to email you on here. LA
 
Mak
Aspiring developer
Profile
Posts: 37
Reg: Nov 25, 2013
London
5,270
like
11/26/13 03:19 PM (11 years ago)
Hmm my app has now just started crashing on me all of a sudden. Says FATAL EXCEPTION: Main.
 
Mak
Aspiring developer
Profile
Posts: 37
Reg: Nov 25, 2013
London
5,270
like
11/26/13 03:20 PM (11 years ago)
11-26 22:16:55.314: W/ZZ(7385): BT_application:getScreenDataByItemId could not find screen with itemId: "874EC4F28FF22442BC09B7A"
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/26/13 03:22 PM (11 years ago)
Can you post a little more of it? Also make sure that screen is connected. LA
 
Mak
Aspiring developer
Profile
Posts: 37
Reg: Nov 25, 2013
London
5,270
like
11/26/13 03:23 PM (11 years ago)
yeah how much do you need?
 
Mak
Aspiring developer
Profile
Posts: 37
Reg: Nov 25, 2013
London
5,270
like
11/26/13 03:24 PM (11 years ago)
11-26 22:16:55.264: W/ZZ(7385): BT_application: validateApplicationData 11-26 22:16:55.294: W/ZZ(7385): BT_activity_root: application data appears to be valid JSON... 11-26 22:16:55.294: W/ZZ(7385): BT_application: parseJSONData 11-26 22:16:55.304: W/ZZ(7385): BT_application: parsing core settings... 11-26 22:16:55.304: W/ZZ(7385): BT_application: parsing themes... 11-26 22:16:55.304: W/ZZ(7385): BT_application: parsing tabs... 11-26 22:16:55.304: W/ZZ(7385): BT_application: parsing screens... 11-26 22:16:55.304: W/ZZ(7385): BT_application:parseJSONData done parsing application data 11-26 22:16:55.314: W/ZZ(7385): BT_activity_root:transitionToAppHomeScreen 11-26 22:16:55.314: W/ZZ(7385): BT_activity_root:transitionToAppHomeScreen splash screen with itemId: 874EC4F28FF22442BC09B7A 11-26 22:16:55.314: W/ZZ(7385): BT_application:getScreenDataByItemId with itemId: = "874EC4F28FF22442BC09B7A" 11-26 22:16:55.314: W/ZZ(7385): BT_application:getScreenDataByItemId could not find screen with itemId: "874EC4F28FF22442BC09B7A"
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
11/26/13 03:31 PM (11 years ago)
It appears that it's trying to load a splash screen, but can't find it. Do you have one configured? You have to do that in the Theme section of your Control Panel.
 
Mak
Aspiring developer
Profile
Posts: 37
Reg: Nov 25, 2013
London
5,270
like
11/26/13 03:32 PM (11 years ago)
I did have one but i removed it. Hmm, let me try to remove it again.
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/26/13 03:33 PM (11 years ago)
Thank you @GoNorthWest! Great catch! LA
 
Mak
Aspiring developer
Profile
Posts: 37
Reg: Nov 25, 2013
London
5,270
like
11/26/13 03:36 PM (11 years ago)
I did have one but i removed it. Hmm, let me try to remove it again.
 
Mak
Aspiring developer
Profile
Posts: 37
Reg: Nov 25, 2013
London
5,270
like
11/26/13 03:36 PM (11 years ago)
Ok, so I don't have a splash screen in place. Yet it still is trying to load one. What I am going to do is delete the project, recompile and see if that works.
 
Mak
Aspiring developer
Profile
Posts: 37
Reg: Nov 25, 2013
London
5,270
like
11/26/13 03:40 PM (11 years ago)
Right, that solves the crash problem. Yet the image problem still exits....
 
Mak
Aspiring developer
Profile
Posts: 37
Reg: Nov 25, 2013
London
5,270
like
11/26/13 03:42 PM (11 years ago)
And Thank you both for solving that issue... I'm not going ot touch splash screens for a while....
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/26/13 03:43 PM (11 years ago)
I have yet to figure out the splash screen all the way..lol LA
 
Mak
Aspiring developer
Profile
Posts: 37
Reg: Nov 25, 2013
London
5,270
like
11/26/13 03:44 PM (11 years ago)
:) This image thing is annoying though, don't want a single coloured background...
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/26/13 03:45 PM (11 years ago)
Did you name it in the control panel too? LA
 
Mak
Aspiring developer
Profile
Posts: 37
Reg: Nov 25, 2013
London
5,270
like
11/26/13 03:47 PM (11 years ago)
Yes it is there under images, in the same name. (you mean the BT control panel, yes?)
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/26/13 03:50 PM (11 years ago)
Yes. I'm not sure then without looking at it. You put the image in the drawable? LA
 
Mak
Aspiring developer
Profile
Posts: 37
Reg: Nov 25, 2013
London
5,270
like
11/26/13 03:52 PM (11 years ago)
Indeed I have, I can see it when I click on res/drawable.
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/26/13 03:54 PM (11 years ago)
You did a clean and refresh? You can try to copy the config on your bt control panel and replace it in your config file in your project. LA
 
Mak
Aspiring developer
Profile
Posts: 37
Reg: Nov 25, 2013
London
5,270
like
11/26/13 03:56 PM (11 years ago)
I have indeed. So I tried a different Image and that worked.... hmm maybe the image is working but i cant see it?
 
Mak
Aspiring developer
Profile
Posts: 37
Reg: Nov 25, 2013
London
5,270
like
11/26/13 03:59 PM (11 years ago)
I tried putting the icon.png image there, so what could be the difference between that and one I placed in?
 
Mak
Aspiring developer
Profile
Posts: 37
Reg: Nov 25, 2013
London
5,270
like
11/26/13 04:03 PM (11 years ago)
LA, Its finally working! The old copy and paste trick worked!! Thanks so much for your help :) Really appreciate it!
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/26/13 04:03 PM (11 years ago)
Not sure! The image transparent? LA
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/26/13 04:04 PM (11 years ago)
Awesome! LA
 

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.