Aha, this works.. not got anything to actually *show* yet :)
public android.view.View getView()
{
return nativeAdMedia;
}
On Tuesday, November 8, 2016 at 11:45:17 PM UTC+8, Gareth Murfin wrote:
>
> So Im now trying to return the PeerComponent, my "view" on the android
>
I stuck recyclerview-v7-21.0.3.aar in native/android and definied the build
hint for supportV4, seems to get past the MediaView now :-D
On Tuesday, November 8, 2016 at 9:59:16 PM UTC+8, Gareth Murfin wrote:
>
> Thanks Shai. Im almost at the point of using PeerComponents, but I have
> one weird
So Im now trying to return the PeerComponent, my "view" on the android side
is a linearlayout, returning this as a PeerComponent fails to compile, I
also tried returning adView.getRootView(); but again this failed, and also
casting my linear to a view before returning also fails to compile
Thanks, that fixes the problem.
The build works and I am able to connect. According to the docs this does
not require an app store review, so hopefully it will be a smooth upgrade.
On Friday, November 4, 2016 at 10:16:50 PM UTC-7, Shai Almog wrote:
>
> I think this should work:
>
>
>
If you used addToQueue without wait then the request is happening on the
network thread and not on the Codename One thread so the UI isn't waiting
for that thread. It is waiting for something else you did in the app.
--
You received this message because you are subscribed to the Google Groups
It should work fine not sure why you are seeing the black screen. If you
try to interact with the black screen are the components physically there?
Do you see anything suspicious in DDMS?
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions"
Thanks Shai. Im almost at the point of using PeerComponents, but I have one
weird error that appears to happen when I run MediaView nativeAdMedia =
new MediaView(context);
It says the class is not found, it seems to find the others such as
com.facebook.ads.NativeAd; but not