Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,688 members, 7,816,799 topics. Date: Friday, 03 May 2024 at 05:30 PM

Android Developers Pls Help - Programming (2) - Nairaland

Nairaland Forum / Science/Technology / Programming / Android Developers Pls Help (1110 Views)

Android Developers, Pls I Need Help / Android Developers Drop Your Published Apps Here / Kotlin For Android Developers By Antonio Leiva" Ebook(pdf). (2) (3) (4)

(1) (2) (Reply) (Go Down)

Re: Android Developers Pls Help by Etinosa1234: 5:43pm On Dec 18, 2020
etoluw:



the error is an inflateException which means it has to do with the layout xml



I think this is where the error is

change it to "@style/ToolbarTheme"

then edit the styles.xml resource

<style name="ToolbarTheme" parent="ThemeOverlay.MaterialComonents.Dark.ActionBar"></>


Still the same error... But I've changed the code using
Menu menu = nav.getMenu()
SubMenu men = menu.add("String".)
men.add("Another String".);

But it's not responding to clicks
Re: Android Developers Pls Help by Millerules(m): 5:57pm On Dec 18, 2020
Try this way. Restore your code back to the last version that worked properly. Rebuild and run.

Now start with adding features gradually. From there you would be able to pin point the error.

Or cut the NavigationView part of the xml code and do a rebuild. Run your app let's see what happens.
Re: Android Developers Pls Help by Etinosa1234: 1:21am On Dec 19, 2020
Millerules:
Try this way. Restore your code back to the last version that worked properly. Rebuild and run.

Now start with adding features gradually. From there you would be able to pin point the error.

Or cut the NavigationView part of the xml code and do a rebuild. Run your app let's see what happens.

I used a new way to add options to the navigation view

Menu m = Nav.getMenu()
SubMenu sun = m.addSubMenu("Home"wink
Sun.add("String"wink

But it’s not responding to clicks

I’ve decided to leave it for now and work on other parts of the app

Maybe I might find a solution hopefully then

If not, I’ll use another medium to put this options
Re: Android Developers Pls Help by toke111: 6:01am On Dec 19, 2020
Create a new activity and Select Navigation Drawer Activity. Android Studio will create all codes for a Navigation activity for you. You can compare the code from Android studio with yours

1 Like

Re: Android Developers Pls Help by spoilerx: 11:04am On Dec 19, 2020
Etinosa1234:


Still the same error... But I've changed the code using
Menu menu = nav.getMenu()
SubMenu men = menu.add("String".)
men.add("Another String".);

But it's not responding to clicks

You have team viewer on your laptop ?
Re: Android Developers Pls Help by Etinosa1234: 12:22pm On Dec 19, 2020
spoilerx:


You have team viewer on your laptop ?

No boss...
Re: Android Developers Pls Help by Etinosa1234: 12:23pm On Dec 19, 2020
toke111:
Create a new activity and Select Navigation Drawer Activity. Android Studio will create all codes for a Navigation activity for you. You can compare the code from Android studio with yours

Will try it soon boss
Re: Android Developers Pls Help by spoilerx: 12:32pm On Dec 19, 2020
Etinosa1234:


No boss...

that's d only way I can help .

install it on your PC so I can remotely work on it .
Re: Android Developers Pls Help by Etinosa1234: 12:34pm On Dec 19, 2020
spoilerx:


that's d only way I can help .

install it on your PC so I can remotely work on it .

Ohk... I'll try it when I have sub for my laptop

Thanks very much for ur help
Re: Android Developers Pls Help by Etinosa1234: 3:26pm On Jan 14, 2021
Please boss spoilerx millerules, I've almost completed my app... But when I send the app from my phone to another, it doesn't install

Why?
Re: Android Developers Pls Help by Etinosa1234: 3:26pm On Jan 14, 2021
Etinosa1234:
Please boss spoilerx millerules, I've almost completed my app... But when I send the app from my phone to another, it doesn't install

Why?

Abt the other problem I had, I downgraded my gradle and it worked
Re: Android Developers Pls Help by Millerules(m): 8:28pm On Jan 14, 2021
Have you bundled your app? If not then it's the debug version you are sending to other phones so definitely not going to work.
Etinosa1234:
Please boss spoilerx millerules, I've almost completed my app... But when I send the app from my phone to another, it doesn't install

Why?
Re: Android Developers Pls Help by Etinosa1234: 8:43pm On Jan 14, 2021
Millerules:
Have you bundled your app? If not then it's the debug version you are sending to other phones so definitely not going to work.

I used build APK... I don't know whether I should add test only

Is there any others way to bundle it?
Re: Android Developers Pls Help by Plaouse(m): 3:22am On Jan 16, 2021
Hey,
I'm sorry I can't solve bring to the table now.
I'll just like to make some inquiries:

Do I need to know some basic Web development before I can move to App development?
Re: Android Developers Pls Help by CodeBlooded: 7:16am On Jan 16, 2021
Has this been solved ?

(1) (2) (Reply)

How About Nigerian Versions Of This Tech Cos? / Is Copy-paste Programming Good? / Pls Free School Management Software

(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. 19
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.