Android Example Share My Experience With B4A-Full Source "Youtube Download"

p/s: i have uploaded patch file audio.xml

you must replace this file to your core library folder
(Exam: C:\Program Files (x86)\Anywhere Software\Basic4android\Libraries)

Thank @Erel and many people here

Sorry for my bad English first ^^

I am a civil engineer but like programing from VB6.0
When i use smartphone (since Iphone 2G -2008) i think i will code for my phone

I have bought account apple developer (99$) but Object-C is very difficult with me who only can code in VB 6.0. I have coded only one app ipa (written by NSBasic)

After that, i use SamSung Galaxy Note 2 with S-pen(I like it very much)

I searched a programe language (ex: Phonegap, NSbasic,...) but when i use B4A, i like it very much

Because i wrote in VB6 so, with many library and special @Erel - best admin i have seen <3 love you very much lolll loll :)))

I have write many many apps with B4A, so i have some Experience want to share and happy new year to B4A forum who begin and are using B4A

Sorry for long speech ^^ but i want to share some ^^

With example, you can learn about:

- How to use library and understand why we must use them:


Specical, i have include my library for Startapp Ads to make money with Android (StartApp Banner, Searchbox, and PostCallManager)

You can learn how to skin your app (make same windows app with class Windows and Tabhost)
view image to see more




Search Result:


Action Menu (Learn About Menu when click to webview)-good:


Youtube Application:


Use HTTP Util to convert to mp3


Use HTTP Util to convert to Video , learn very much about many thing:


Code and library on the right

Full Library i use i include here

Beacause 512KB limit upload, i must upload library Ads StartApp Postcallmanager (1.5MB) my driver google accout:

Thank you very much and happy new year 2014


    239.2 KB · Views: 1,198
    503.5 KB · Views: 1,494
    4.8 KB · Views: 706
Last edited:


New Member
Licensed User
Thanks for your answer.
Now, i got this error:
B4A line: 192
javac 1.8.0_71
src\com\htsoft\youtubedownload\ error: cannot access Banner
mostCurrent._activity.AddView((android.view.View)(mostCurrent._tu.getObject()),(int) (0),(int) (anywheresoftware.b4a.keywords.Common.PerYToCurrent((float) (100),mostCurrent.activityBA)-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (50))),anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (50)));
class file for not found

Any help, please?

In any way i have lot of errors about missing graphic resources, variable names not used, and so on.

can anyone send me the complete project, please?