Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 23    Views: 141

CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
07/30/15 06:06 AM (8 years ago)

New android slide out menu plugin

https://www.buzztouch.com/plugins/plugin.php?pid=08F9CA52C2A3CAF33D231E1 You can slide out the navigation drawer by swiping your finger or an actionbar button.
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
07/30/15 09:17 AM (8 years ago)
Did you mean to post this now? Because Christmas is still many months away... :-)
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
07/30/15 08:51 PM (8 years ago)
Saint nick is getting a head start ha
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
07/31/15 02:27 PM (8 years ago)
is the burger icon visible on the left bar as well? are icons + text possible in the menu? Regards Leon
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
08/01/15 07:55 PM (8 years ago)
Yes the icons are on their but the background is the same color ha.o have a better screenshot.I'm adding animation to it right now too. https://www.dropbox.com/s/xqwu3rjlvvu8k7t/Screenshot_2015-08-01-21-54-31.png?dl=0 Any suggestions to add, let me know
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
08/01/15 09:22 PM (8 years ago)
Nice addition, @cmcoffee!
 
CheechNChong
Aspiring developer
Profile
Posts: 4
Reg: Nov 01, 2011
location unknow...
40
like
08/02/15 08:46 PM (8 years ago)
awesome work! Perhaps an addition of titling the sections. As a reference: http://www.androidtapp.com/wp-content/uploads/2013/08/Rex-Slide-out-menu.png "Explore, Manage and Others" seen in the screenshot is what I'm referring to as section headers. Would that be possible with this plugin?
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
08/02/15 11:11 PM (8 years ago)
Cool yea that would be easy to add.I seen a cool new look that will make it look better too.I'll naked easy to change between different appearances
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
09/29/15 05:24 AM (8 years ago)
Hey Coffee, just wanted to insert your plugin in my new project, but unfortunately I get 21 errors from the CM_sideMenu.java: Description Resource Path Location Type DrawerLayout cannot be resolved to a type CM_sideMenu.java /cccandroid/src/com/cccandroid line 108 Java Problem DrawerLayout cannot be resolved to a type CM_sideMenu.java /cccandroid/src/com/cccandroid line 48 Java Problem The import android.support cannot be resolved CM_sideMenu.java /cccandroid/src/com/cccandroid line 9 Java Problem MeasureSpec cannot be resolved to a variable CM_sideMenu.java /cccandroid/src/com/cccandroid line 125 Java Problem MeasureSpec cannot be resolved CM_sideMenu.java /cccandroid/src/com/cccandroid line 125 Java Problem MeasureSpec cannot be resolved CM_sideMenu.java /cccandroid/src/com/cccandroid line 124 Java Problem The method onMeasure(int, int) of type CM_sideMenu.CustomDrawerLayout must override or implement a supertype method CM_sideMenu.java /cccandroid/src/com/cccandroid line 123 Java Problem DrawerLayout cannot be resolved to a type CM_sideMenu.java /cccandroid/src/com/cccandroid line 128 Java Problem MeasureSpec cannot be resolved to a variable CM_sideMenu.java /cccandroid/src/com/cccandroid line 127 Java Problem MeasureSpec cannot be resolved CM_sideMenu.java /cccandroid/src/com/cccandroid line 127 Java Problem MeasureSpec cannot be resolved CM_sideMenu.java /cccandroid/src/com/cccandroid line 126 Java Problem The method closeDrawer(int) is undefined for the type CM_sideMenu.CustomDrawerLayout CM_sideMenu.java /cccandroid/src/com/cccandroid line 160 Java Problem The method openDrawer(int) is undefined for the type CM_sideMenu.CustomDrawerLayout CM_sideMenu.java /cccandroid/src/com/cccandroid line 151 Java Problem The method openDrawer(int) is undefined for the type CM_sideMenu.CustomDrawerLayout CM_sideMenu.java /cccandroid/src/com/cccandroid line 142 Java Problem The method closeDrawer(int) is undefined for the type CM_sideMenu.CustomDrawerLayout CM_sideMenu.java /cccandroid/src/com/cccandroid line 137 Java Problem DrawerLayout cannot be resolved to a type CM_sideMenu.java /cccandroid/src/com/cccandroid line 177 Java Problem The method addView(FrameLayout, FrameLayout.LayoutParams) is undefined for the type CM_sideMenu.CustomDrawerLayout CM_sideMenu.java /cccandroid/src/com/cccandroid line 189 Java Problem worlddebtclocks_appDelegate cannot be resolved CM_sideMenu.java /cccandroid/src/com/cccandroid line 172 Java Problem DrawerLayout cannot be resolved to a type CM_sideMenu.java /cccandroid/src/com/cccandroid line 177 Java Problem The method addView(ListView) is undefined for the type CM_sideMenu.CustomDrawerLayout CM_sideMenu.java /cccandroid/src/com/cccandroid line 190 Java Problem Type mismatch: cannot convert from CM_sideMenu.CustomDrawerLayout to View CM_sideMenu.java /cccandroid/src/com/cccandroid line 273 Java Problem Hope you can fix it as I still really need this plugin. Regards Leon
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
09/29/15 06:25 AM (8 years ago)
You dragged it in a studio?
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
09/29/15 10:12 AM (8 years ago)
Also are you using the eclipse or studio package? Also have you seen the instructions. They kind of seem hidden on the cp. You only really need the two lines of code. The other code is if you want to add a button to open/close it on the action bar. https://www.dropbox.com/s/enimyl059eo7li2/cmNavDrawerInstructions.txt?dl=0 its missing something on the instructions on the two lines of code CM_sideMenu cm_sideMenu = new CM_sideMenu("B01F3FED8046E1B14574AE8",getActivity(),thisScreensView,this); thisScreensView = cm_sideMenu.init();
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
09/29/15 10:34 AM (8 years ago)
Found a bug in CM_sideMenu.java, line 264 theScreenData = worldDebtClocks_appDelegate.rootApp.getScreenDataByItemId(itemId); worldDebtClocks should be your app name. Ive updated it
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
09/29/15 03:39 PM (8 years ago)
Hey Coffee, I actually did not see that, but added everything now, still getting 20 errors. CM_sideMenu.java seems to be the problem... I added the lines of code in the WB_menuImageButtons plugin as that is my home screen. So many errors, don't even know where to start.... help I am selfhosted and still (thank god) in Eclipse.
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
09/29/15 03:43 PM (8 years ago)
Description Resource Path Location Type Type mismatch: cannot convert from CM_sideMenu.CustomDrawerLayout to View CM_sideMenu.java /cccandroid/src/com/cccandroid line 273 Java Problem MeasureSpec cannot be resolved CM_sideMenu.java /cccandroid/src/com/cccandroid line 126 Java Problem MeasureSpec cannot be resolved CM_sideMenu.java /cccandroid/src/com/cccandroid line 127 Java Problem MeasureSpec cannot be resolved to a variable CM_sideMenu.java /cccandroid/src/com/cccandroid line 127 Java Problem DrawerLayout cannot be resolved to a type CM_sideMenu.java /cccandroid/src/com/cccandroid line 128 Java Problem The method closeDrawer(int) is undefined for the type CM_sideMenu.CustomDrawerLayout CM_sideMenu.java /cccandroid/src/com/cccandroid line 137 Java Problem DrawerLayout cannot be resolved to a type CM_sideMenu.java /cccandroid/src/com/cccandroid line 177 Java Problem The method openDrawer(int) is undefined for the type CM_sideMenu.CustomDrawerLayout CM_sideMenu.java /cccandroid/src/com/cccandroid line 142 Java Problem DrawerLayout cannot be resolved to a type CM_sideMenu.java /cccandroid/src/com/cccandroid line 177 Java Problem The method openDrawer(int) is undefined for the type CM_sideMenu.CustomDrawerLayout CM_sideMenu.java /cccandroid/src/com/cccandroid line 151 Java Problem The method addView(FrameLayout, FrameLayout.LayoutParams) is undefined for the type CM_sideMenu.CustomDrawerLayout CM_sideMenu.java /cccandroid/src/com/cccandroid line 189 Java Problem The method closeDrawer(int) is undefined for the type CM_sideMenu.CustomDrawerLayout CM_sideMenu.java /cccandroid/src/com/cccandroid line 160 Java Problem The method addView(ListView) is undefined for the type CM_sideMenu.CustomDrawerLayout CM_sideMenu.java /cccandroid/src/com/cccandroid line 190 Java Problem The import android.support cannot be resolved CM_sideMenu.java /cccandroid/src/com/cccandroid line 9 Java Problem DrawerLayout cannot be resolved to a type CM_sideMenu.java /cccandroid/src/com/cccandroid line 48 Java Problem DrawerLayout cannot be resolved to a type CM_sideMenu.java /cccandroid/src/com/cccandroid line 108 Java Problem The method onMeasure(int, int) of type CM_sideMenu.CustomDrawerLayout must override or implement a supertype method CM_sideMenu.java /cccandroid/src/com/cccandroid line 123 Java Problem MeasureSpec cannot be resolved CM_sideMenu.java /cccandroid/src/com/cccandroid line 124 Java Problem MeasureSpec cannot be resolved CM_sideMenu.java /cccandroid/src/com/cccandroid line 125 Java Problem MeasureSpec cannot be resolved to a variable CM_sideMenu.java /cccandroid/src/com/cccandroid line 125 Java Problem
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
09/29/15 04:20 PM (8 years ago)
Cool I didn't test on eclipse or eclipse package, but you have might have to add the android-supportv4.jar in your adt folder. Also make sure the package names are com.your app Name in those files if you dragged and dropped them. I'll test again today on eclipse package using studio and eclipse.
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
09/29/15 04:38 PM (8 years ago)
package names are all good. Thx for testing on Eclipse, as I really do not want to move to Studio yet. Maybe after this project is finished. Not sure if I don't already have the android-supportv4.jar? How can I check that? Sorry, not very good in Eclipse/Android...
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
09/29/15 04:46 PM (8 years ago)
It's cool. I'll send one to you even if it doesn't end up needing it. I honestly don't remember where it is either.I know it's in the zip adt eclipse plugin you download from google when you first set up android. I'll go ahead and post the path to that too.
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
09/29/15 04:58 PM (8 years ago)
should have that then, always update all things in the SDK Manager.
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
10/01/15 04:27 PM (8 years ago)
any luck yet?
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
10/03/15 03:16 AM (8 years ago)
Hey Coffee, could you please give me an update on this? Need to upload the android version of my app on Monday, would be really sad to not have the slide in menu :-(
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
10/03/15 10:20 PM (8 years ago)
Sorry was dealing with car problems, will try to finish by tomorrow morning.12 hours
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
10/04/15 01:25 AM (8 years ago)
Cool thx ! Appreciate it, hope your car runs again :-)
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
10/06/15 03:10 PM (8 years ago)
damn car ;-) Any updates?
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
10/08/15 05:11 PM (8 years ago)
Hey Coffee, if you can't get it to work on Eclipse it is a pity, but just drop me a line so that I don't feel like an idiot waiting for you. My iOS version is in review now, so this would be the last call to put the menu up on my android version as they should go online together. Just a quick answer please! Leon
 

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.