Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 10    Views: 72

AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
05/13/13 11:40 AM (12 years ago)

CircleView on Android

I tried the CircleView menu out today on Android, by using an existing (IOS) app. I don't seeany menu, all I get is a my background image. The icons are are referened as URL's, there are 5 menu items. I know the plugin says the implementation for Android is limited, but I wondered if anyone else has tried this with any success?
 
Crown Solutions
Aspiring developer
Profile
Posts: 463
Reg: Nov 11, 2011
MN
13,480
like
05/13/13 01:01 PM (12 years ago)
Did you download the new source code? If you try using it from the old plugin code, there is nothing but a blank screen in Android.
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
05/13/13 01:26 PM (12 years ago)
Thanks for picking up on this. I refreshed all my plugins a week or two ago I did notice something with circleview in the project, so I thought it was the latest, but I will double check in the morning.
 
Crown Solutions
Aspiring developer
Profile
Posts: 463
Reg: Nov 11, 2011
MN
13,480
like
05/13/13 01:33 PM (12 years ago)
Sounds good, you can also quickly check by opening up your Eclipse project and open the java files for this plugin. If they are only a few lines of code you know it is the old version with the blank screen. Jim
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
05/13/13 01:42 PM (12 years ago)
Cheers Jim, I'll let you know. Thanks, Alan
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
05/14/13 06:53 AM (12 years ago)
Hi Jim I did a 'check for update' and I am running v1.2 on my self hosted CP. The description for the plugin in there says "... This plugin is for iOS only." My Circleview_list.menu.java file is 227 lines. I also have an extract of some logcat output that I captured - it doesn't mean much to me! Thanks, Alan 05-14 14:48:54.309: W/ZZ(1192): Circleview_list_menu:handleReportToCloudResults appLastModifiedOnServer (value on server): Mon, 13 May 2013 16:01:59 -0700 05-14 14:48:54.309: W/ZZ(1192): BT_fileManager: readTextFileFromCache: "appModified.txt" 05-14 14:48:54.319: W/ZZ(1192): Circleview_list_menu:handleReportToCloudResults previousModified (value on device): Mon, 13 May 2013 16:01:59 -0700 05-14 14:48:54.319: W/ZZ(1192): BT_fileManager: saveTextFileToCache: appModified.txt 05-14 14:48:54.339: W/ZZ(1192): Circleview_list_menu:handleReportToCloudResults server data not changed, no refresh needed 05-14 14:48:54.349: I/ActivityThread(1192): enter process activity msg = 125 05-14 14:48:54.349: I/ActivityThread(1192): exit process activity msg = 125 05-14 14:48:54.349: I/ActivityThread(1192): enter process activity msg = 109 05-14 14:48:54.359: I/ActivityThread(1192): exit process activity msg = 109 05-14 14:48:54.359: I/ActivityThread(1192): enter process activity msg = 119 05-14 14:48:54.359: I/ActivityThread(1192): exit process activity msg = 119 05-14 14:48:54.369: W/ZZ(1192): BT_fileManager: saveImageToCache: g_logoback_320x480.png 05-14 14:48:54.649: W/ZZ(1192): Circleview_list_menu:setBackgroundImage: returned to UI Thread... 05-14 14:48:54.649: W/ZZ(1192): Circleview_list_menu:setBackgroundImage: setting background image 05-14 14:48:59.069: E/ViewRoot enter(1192): Dispatching touchevent to com.android.internal.policy.impl.PhoneWindow$DecorView@30e0c268 touchevent action is 0 X= 164.96893 Y=676.93054 05-14 14:48:59.069: E/ViewRoot exit(1192): Dispatching touchevent to com.android.internal.policy.impl.PhoneWindow$DecorView@30e0c268 05-14 14:48:59.099: E/ViewRoot enter(1192): Dispatching touchevent to com.android.internal.policy.impl.PhoneWindow$DecorView@30e0c268 touchevent action is 2 X= 164.71237 Y=673.8336
 
Crown Solutions
Aspiring developer
Profile
Posts: 463
Reg: Nov 11, 2011
MN
13,480
like
05/14/13 08:05 AM (12 years ago)
Hey Alan, You will need to update the plugin code. I just checked and the last closing brace is at line 789. Not sure why it shows it is up to date. Might be best to update it via FTP rather then the built in plugin updater. Jim
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
05/14/13 09:44 AM (12 years ago)
Hi Jim I checked and although the plugin said it was the latest, it wasn't. After I updated my app wouldn't compile. I had to manually replace instances of the appdelegate name in the java (Template_3 or similar) to my app name. I wouldn't mind knowing if that means I still have a problem or if that is the way it is. Thanks, Alan
 
Crown Solutions
Aspiring developer
Profile
Posts: 463
Reg: Nov 11, 2011
MN
13,480
like
05/14/13 09:49 AM (12 years ago)
You shouldn't have to replace that, but I had one other person say the same thing. I will dig into it tonight and see what the issue is. I am guessing the plugin code has the wrong appDelegate name. The BT code does basicly a find and replace of the delegate name if it is named correctly. I must have missed it. I will work with Susan and David to get it updated. Sorry for the confusion. Jim
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
05/14/13 10:36 AM (12 years ago)
I appreciate your help Jim. I really like this plugin for IOS (I have a couple of suggestions for this that I have been meaning to send you a separate message about) and while I am developing a dual app, it really helps to have this available. Do you think you will be able to do a droid circle layout in the future? Cheers, Alan
 
Crown Solutions
Aspiring developer
Profile
Posts: 463
Reg: Nov 11, 2011
MN
13,480
like
05/14/13 12:51 PM (12 years ago)
I am hoping to be able to make it work. I have spent a lot of time looking at it. I think the only way to do it is to not actually do it as a list, but as separate buttons and place them in a relative layout, based on the number of list items. Of course this is easier said than done. Jim
 

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.