Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 69    Views: 72

Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
05/09/12 03:51 AM (13 years ago)

A little question

Working on my android app, im trying to figure out how to make the app run in fullscreen, (The statusbar not available while running the app)
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 04:10 AM (13 years ago)
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 04:12 AM (13 years ago)
Thanks! I'll check that out and get back to you!
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 04:23 AM (13 years ago)
Did not quite figure out how to implement the code into the manifest. Any idea?
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 04:30 AM (13 years ago)
i dont think it goes into manifest.xml, i think it goes in the activity it says. im not 100 percent sure and i dont want you to make any mistakes, someone else might know more than i do
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 04:31 AM (13 years ago)
How do i find the activity? haha! xD Dont be afraid, at worst, i just remove the stuff i put in! :P
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 04:32 AM (13 years ago)
ok let me check gimme a sec
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 04:39 AM (13 years ago)
ok, try this...if this dont work delete it go to the "src" folder then go to bt_activity_base.java folder scroll down til u see this //onStart @Override protected void onStart() { super.onStart(); //BT_debugger.showIt(activityName + ":onStart"); try putting this code below //onStart @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Window.FEATURE_NO_TITLE); this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN); let me know if it works, if not delete it and we can try other ways
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 04:41 AM (13 years ago)
i hope it works for u, because i really have no idea, sometimes i add stuff like that and it winds up working, sometimes it doesnt codes are like legos u look for the pieces that fit
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 05:37 AM (13 years ago)
Hehe, I see codes like...a puzzle, but not as a child puzzle, more like those which takes like 500 years to complete, and still you dont understand how you did it! :P But ill try that ASAP as I come home from school, should be like a couple of min!
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 05:39 AM (13 years ago)
i might be taking a nap, im exhausted, but i will come back to check on how your doing later. Goodluck!
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 08:16 AM (13 years ago)
When I add it to the BT_activity_base.java, nothing happens when I update the application... I'm running ICS right now on the Android used to test it btw.
 
Omoba
Lost but trying
Profile
Posts: 54
Reg: Apr 16, 2012
London, UK
1,890
like
05/09/12 08:45 AM (13 years ago)
Hiya @ceerup and @Sande I am wondering if it isnt BT_activity_root.java the code should be? I have checked it out myself because i am still busy trying to work out where to change things round, and in the case you guys are discussing, i think it may be as i suggested. Do correct me if am wrong please Cheers Omoba
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 09:46 AM (13 years ago)
//onCreate @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); BT_debugger.showIt(activityName + ":onCreate"); //no title, full screen requestWindowFeature(Window.FEATURE_NO_TITLE); //uncomment the next line to force full screen (no status bar) on launch... //getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); /* Thats what I found in BT_activity_root.java, but when I took away the comments, nothing happened at all!
 
Omoba
Lost but trying
Profile
Posts: 54
Reg: Apr 16, 2012
London, UK
1,890
like
05/09/12 11:34 AM (13 years ago)
I am not saying i am right, mind you. But, what i have suggested, is a follow on from what @ceerup said above, which was to direct you to make it look like; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Window.FEATURE_NO_TITLE); this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN); But, i then added the bit about trying this on activity_root.java So, what am saying is, try cut-n-past the code as @ceerup said it. If @ceerup is right, it should work - he has already uncommented it as you can see... Goodluck with it, please let me know if... :)
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 12:31 PM (13 years ago)
I did as you all said, and i get 2 errors "Duplicate method onCreate(Bundle) in type BT_activity_base" Should it be in base or root? xD
 
Omoba
Lost but trying
Profile
Posts: 54
Reg: Apr 16, 2012
London, UK
1,890
like
05/09/12 02:00 PM (13 years ago)
Erm.. I think nows the best time to call in the cavalry in the form of @GNW or @Fred or @Stobe... Lol
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 02:04 PM (13 years ago)
sande, send me the zipped up project, ill work on it and send it back also do you have an instant messanger of some sort we can talk quicker on? and when we get to the sort of the problem
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 02:06 PM (13 years ago)
Oh, yeah! Sandee.93 @ Hotmail. com
 
Omoba
Lost but trying
Profile
Posts: 54
Reg: Apr 16, 2012
London, UK
1,890
like
05/09/12 02:10 PM (13 years ago)
i dont really mean to be nosey here, but, @ceerup and @sande, hope u guys dont mind keeping me in the loop on this please :)
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 02:11 PM (13 years ago)
Ofcourse not! We could make a conference IM on like, msn?
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 02:12 PM (13 years ago)
of course omoba, when i figure out the problems, im gonna post it in here so people know how to get it done in the future also my email is [email protected] send me the zipped project and ill get to work
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 02:15 PM (13 years ago)
im not sure if i have msn, can we do it on yahoo? is there a conference thing on that?
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 02:16 PM (13 years ago)
Hehe i dont really know :P I have msn... haha xD
 
Omoba
Lost but trying
Profile
Posts: 54
Reg: Apr 16, 2012
London, UK
1,890
like
05/09/12 02:22 PM (13 years ago)
googles got a facility forconferencing and collabos methinks! mine is omo.oba101 at gmail dot com Cheers
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 02:24 PM (13 years ago)
ok let me look at this, and grab a cup of coffee to get my brain at max capacity lol
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 02:25 PM (13 years ago)
Hehe yeah, I'm zippin' on my own coffee right now, but for whole different reasons than you :D God I would love to live in NY!
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 02:35 PM (13 years ago)
yea the citys beautiful here, its telling me the manifest is missing, i probly imported it wrong let me try something brb
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 02:39 PM (13 years ago)
how do i do this, i need to import it? or just create new project...i forget
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 02:42 PM (13 years ago)
Hmm, just create a new project, and choose the whole unzipped map :D
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 02:46 PM (13 years ago)
Hmm, just create a new project, and choose the whole unzipped map :D
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 02:46 PM (13 years ago)
okay let me try that
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 02:47 PM (13 years ago)
it says android manifest is missing, when i know its not missing, how do i get it in there
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 02:48 PM (13 years ago)
just drag and drop i think
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 02:49 PM (13 years ago)
nevermind got it
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 02:53 PM (13 years ago)
ok, now tell me what you want done, you want the top that says "Start" To disappear?
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 02:57 PM (13 years ago)
because you have 3 button menus on the screen, what do you want to accomplish by having it fullscreen?
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 02:57 PM (13 years ago)
Yeah to start with I would like that "bar" do disapear xD And then i want the android statusbar gone to, like in games (a)
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 02:57 PM (13 years ago)
It will look smoother, and so when i add more
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 02:58 PM (13 years ago)
i wish i can understand this app, it looks pretty good and u speak good so far and you speak good english ok let me try to make the bars disappear brb
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 03:01 PM (13 years ago)
Hehe, i have high dreams of this app, but not that very good skills in developing xD But I'm thinking of translating the whole app to English when I'm done with it :)
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 03:06 PM (13 years ago)
whats the app supposed to do since i dont understand swedish
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 03:12 PM (13 years ago)
It's a supporter app. Its for the swedish supporter branch for Liverpool FC As they did not have a android application for that, I decided to make it myself :) Its supposed to give the people a news feed, the league table, guestbook and live matches... But i dont know really how to make them xD
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 03:20 PM (13 years ago)
ive tried everything, and i wasnt getting errors, its just not working for some reason, i did everything that website said to do, and it wont go fullscreen, im not sure if its because of the layout you have. i wish i could help, i tried it all, im sure someone here can definitely help you with this.
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 03:23 PM (13 years ago)
Oh but thanks anyways! Maybe I could just ask you whenever I have some other problem? Cuz sometimes it takes ages to get som real answer here :/
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 03:25 PM (13 years ago)
im as new to this as you are, but sure you can ask me anything and if i can help ill be glad to i have a question though, are those all websites on ur app, or is that a chatbox thingy that people can type into it and everyone can see it, because im looking to do something like that
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 03:48 PM (13 years ago)
No, for the guestbook, You will need a server, or atleast a homepage to feed the info to. I just created my own free website at 000webhost.com So i created www.sandeapps.comli.com where the guestbook is :) Hope that made sence xD
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 03:49 PM (13 years ago)
how do i get a server, or feed it through my website
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 03:50 PM (13 years ago)
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 03:51 PM (13 years ago)
thank you
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 03:52 PM (13 years ago)
Hand for a hand mate! :) You working on a project?
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 03:53 PM (13 years ago)
not yet, i finished one of my apps, you can download and check it out, i might make a pro version and charge 99 cents i need ideas though
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 04:21 PM (13 years ago)
I'll check that right away!
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 04:24 PM (13 years ago)
Is it for a certain game? If so, you could add maps?
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 04:34 PM (13 years ago)
its not for a certain game thats why i didnt use maps or guides
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 04:36 PM (13 years ago)
so one thing i would like to add is a chat box so people can set up play dates, and i want an RSS feed so i can frequently update the new games that are coming out with having to keep changing the app...you have an idea how to do this?
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 04:46 PM (13 years ago)
I might, but I cant quite do it now, but I'll check it out in a couple of hours and check back to you. Does that sound good?
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 04:56 PM (13 years ago)
sounds great thank you
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/09/12 04:57 PM (13 years ago)
Ofcourse! As I said, hand for a hand! ;) We could make it good together!
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/09/12 04:58 PM (13 years ago)
great idea
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/10/12 12:36 AM (13 years ago)
Ok Cee :) If you just could send me the .zip file and I could have a look at it!
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/10/12 07:47 PM (13 years ago)
i have a free website, so how do i feed any info to it
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/10/12 07:48 PM (13 years ago)
is that what people mean when they say your own "server"?
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/11/12 04:41 AM (13 years ago)
I Think what they mean is a server like SQL or something like that
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/14/12 03:26 PM (13 years ago)
i still cant figure out how to put a chat sande
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/14/12 03:26 PM (13 years ago)
i still cant figure out how to put a chat sande
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/14/12 04:00 PM (13 years ago)
I have on my app a guestbook, if thats what you're seeking?
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/14/12 04:05 PM (13 years ago)
what exactly does the guestbook do
 
Sande
Android Fan
Profile
Posts: 103
Reg: May 06, 2012
Umeå, Sweden
2,780
like
05/14/12 04:09 PM (13 years ago)
http://www.sandeapps.comli.com/1_5_G-stbok.html Something like that, but not as buggy and ugly
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
05/14/12 04:13 PM (13 years ago)
so its basically ur website and u added a guestbook to ur website and people do it like that?
 

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.