Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,153,022 members, 7,818,024 topics. Date: Sunday, 05 May 2024 at 05:04 AM |
Nairaland Forum / Science/Technology / Programming / Help On Android Internal Storage (1428 Views)
Programming On Android Device / Can Programimg Be Done On Android? / How To Change IP Address On Android Device (2) (3) (4)
(1) (Reply)
Help On Android Internal Storage by Jinf: 12:00pm On May 12, 2015 |
How do i check if android internal storage path already exists before creating one. |
Re: Help On Android Internal Storage by lordZOUGA(m): 12:50pm On May 12, 2015 |
Jinf:in android, you don't really have to worry if a path exists in order to create it. The code below creates all the directories but doesn't overwrite an existing one. File myDirectory = new File(Environment.getExternalStorageDirectory(), "/parent/child" to check if a file exists on internal storage. (that's from stackoverflow. I haven't tested it)
1 Like |
Re: Help On Android Internal Storage by Jinf: 2:37pm On May 14, 2015 |
lordZOUGA: Hey Bro! Thanks. |
(1) (Reply)
13 & 15 Years From Nigeria Built Mobile Web Browsing Alternative To Google Chrom / GURUS Pls help!!! 30marks at stake! / In Need Of 3 Web Developer To Work With On A New Project
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 7 |