Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 13    Views: 90

Worker73
Android Fan
Profile
Posts: 419
Reg: Feb 06, 2012
Austria, Klagen...
4,490
03/09/14 12:37 AM (10 years ago)

Hardcoding JSON in PlugIn?

Hi Guys... I must Hardcode the Settings of the "CustomUrl - PlugIn". In witch Screen (Eclipse / Android) can i Enter the Background "clear" Parameter? Can anyone give me an Example please?
 
KennedyE
Android Fan
Profile
Posts: 373
Reg: Dec 07, 2013
PH, Nigeria
3,730
like
03/09/14 06:26 AM (10 years ago)
@Worker73, this plugin is developed by David. Have you email chris? I think he can help you for David who is always too busy now a days, I see some of David's plugins updated by him in BT market, I really wish I could help, you have been helpful to me many times...
 
Worker73
Android Fan
Profile
Posts: 419
Reg: Feb 06, 2012
Austria, Klagen...
4,490
like
03/09/14 06:58 AM (10 years ago)
I Know that the PlugIn is from David... but maybe the Forumusers are also interessted on an Solution for my Problem ;-)))
 
KennedyE
Android Fan
Profile
Posts: 373
Reg: Dec 07, 2013
PH, Nigeria
3,730
like
03/09/14 07:01 AM (10 years ago)
Getting in touch with Chris may hasten the Solution...
 
Worker73
Android Fan
Profile
Posts: 419
Reg: Feb 06, 2012
Austria, Klagen...
4,490
like
03/09/14 07:25 AM (10 years ago)
Already wrote him last week. .. i think he is to bussy at the Moment. I respect these because He already helpt me so many times ;-)
 
COOKUP
Aspiring developer
Profile
Posts: 259
Reg: Aug 02, 2011
Coral Sprigs, F...
7,140
like
03/09/14 07:49 AM (10 years ago)
You should be able to hardcode that in. I believe it uses a webview. Ill take a look and let you know.
 
KennedyE
Android Fan
Profile
Posts: 373
Reg: Dec 07, 2013
PH, Nigeria
3,730
like
03/09/14 08:07 AM (10 years ago)
Hey, long time no see on forum COOKUP! I love your Android plugin, always looking forward to more Android plugins from you...
 
Worker73
Android Fan
Profile
Posts: 419
Reg: Feb 06, 2012
Austria, Klagen...
4,490
like
03/09/14 08:50 AM (10 years ago)
@Cockup: Yes.. thats Right... But Where and What.. ? ;-))) Thank you very much...
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
03/09/14 04:07 PM (10 years ago)
I may have missed that email - I tend to get a lot these days... This should be pretty easy - what have you tried so far?
 
COOKUP
Aspiring developer
Profile
Posts: 259
Reg: Aug 02, 2011
Coral Sprigs, F...
7,140
like
03/09/14 08:48 PM (10 years ago)
So you want the backround to be clear?
 
COOKUP
Aspiring developer
Profile
Posts: 259
Reg: Aug 02, 2011
Coral Sprigs, F...
7,140
like
03/09/14 08:59 PM (10 years ago)
If you want a clear backround just type clear in the control panel in the backround option of the custom url screen. If you want to hardcode iT in eclipse. Goto RES-->LAYOUT-->bt_custom_url.xml and add android:background="@android:transparent"
 
Worker73
Android Fan
Profile
Posts: 419
Reg: Feb 06, 2012
Austria, Klagen...
4,490
like
03/10/14 01:19 AM (10 years ago)
Sorry... does not work ;-( I think the exact term for Transparent is "android:background="@android:color/transparent" I tryed to insert it in the bt_screen_customurl.xml... But it is always white ;-( <?xml version="1.0" encoding="UTF-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/containerView" android:background="@android:color/transparent" android:layout_width="fill_parent" android:layout_height="fill_parent"> <LinearLayout android:id="@+id/subContainer" android:layout_height="fill_parent" android:layout_width="fill_parent" android:gravity="center_horizontal" android:orientation="vertical" android:background="@android:color/transparent"> <WebView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/webView" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@android:color/transparent"> </WebView> </LinearLayout> </RelativeLayout>
 
COOKUP
Aspiring developer
Profile
Posts: 259
Reg: Aug 02, 2011
Coral Sprigs, F...
7,140
like
03/10/14 05:15 AM (10 years ago)
Try “@android:style/Theme.Translucent” . If it is needed to have a UI with semi-transparent background, and to define opacity then use this technique with Theme.Translucent. If you set the color of the UI layout as #29000000, the first hex 2-digit(#29) represents alpha channels of color and set opacity. If value is 00 that means 100% transparent. if value is set FF it will be opaque, it can be any value in 00 to FF.
 
Worker73
Android Fan
Profile
Posts: 419
Reg: Feb 06, 2012
Austria, Klagen...
4,490
like
03/11/14 07:38 AM (10 years ago)
@Cookup: Sorry.. does not work.. I also tryed to Include: <activity android:name=".BT_screen_customURL" android:theme="@android:style/Theme.Translucent"> </activity> In the AndroidManifest.xml... I cant find the problem... Iam Using Chris1 RSS Plugin, and this calls the CustomUrl Plugin from David to shows the RSS Content.... and the Background from that are always white.... ;-(
 

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.