Newbie help needed...

malakie

Member
Licensed User
Longtime User
Hi all,

I am new to the Android programming platform. I have some knowledge of VB6 and have been playing around with my purchased copy of B4a.

I have been reading quite a bit on the forums as well as looking over many of the tutorials.

But I cannot seem to get things to work. I have a Samsung Galaxy S-III phone (SCH-R530U).

I have got the phone display working as I can place buttons and text fields and see that all on the phone in real time as I move them around.

So far I just created a screen with three buttons on it and a webview control. For my first newbie app I figured I would do something simple like add a different URL address to each button and have it simply display that webpage for each button.

When I 'run' the application though, the phone goes through its gyrations saying it installed and then has me click to run the app on the phone.. but the screen is always BLACK. It does not even show me the buttons I placed on the screen in dev mode..

Can anyone tell me what it is I am missing here? How do I get my little app to run on the phone when I select 'run'??

:sign0085:
 

malakie

Member
Licensed User
Longtime User
Are you calling Activitiy.LoadLayout(your layout file) ?

I really am a newbie at this... what is that and how do I call it? Just started using this today, I am that new.

Is there a step by step tutorial somewhere that helps show newbies how to create a runnable phone app step by step?


EDIT: AHa! I got that part figured out.. But I still cannot get the URL's to load into the webview control... any help on that would be appreciated... For example I just want to click a button and have www.cnn.com appear... nothing elaborate...

EDIT 2: Ok nevermind.. I searched for an hour before trying to answer my questions... then came here for help... and then figured it out! LOL

Got it working... I had to actual use the bridge to install and then actually run the app for things to work right..
 
Last edited:
Upvote 0
Top