domingo, 8 de setembro de 2013

AdBuddiz lib for Basic4Android

Back with another article. This time is a lib for Basic4Android to allow you to show adds from AdBuddiz, another android monetization network. According to their FAQS, their payout is pretty interesting.
What is the payout for an installation ?
It varies on the campaign and usually the country of the user.
Most of the time, it's between $0.60 and $1.50.


It's usage is pretty simple :

Instructions:

1) Sign up with AdBuddiz (if not already signed up)
2) Download their SDK and register a new app.
3) Note the assigned Publisher Key for the app.
4) Copy AdBuddizSDK_1.4.1.jar to your Extra Libraries folder.
5) Download the attached wrapper.
6) Copy BAadbuddiz.xml and BAadbuddiz.jar to your Extra Libraries folder.
7) Check BAadbuddiz in your libraries tab.
8) Add the following to your app:

Code:
Sub Process_GlobalsEnd Sub
Sub Globals
    Dim ad As BAadbuddiz
    Dim Button1 As Button
End Sub
Sub Activity_Create(FirstTime As Boolean)
    ad.Initialize("adbuddiz")
    Activity.LoadLayout("1")End Sub
Sub adbuddiz_failToLoadAd(ErrorCode As String)
    Log("adBuddiz Error :" & ErrorCode)
    Msgbox("AdBuddiz Error " & ErrorCode,"AdBuddiz" )End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub Button1_Click
    ad.showAd 
End Sub
Fire the manifest editor and add:

AddApplicationText( <activity android:name="com.purplebrain.adbuddiz.sdk.AdBuddizActivity"
      android:theme="@android:style/Theme.Translucent" />
      <meta-data android:name="ADBUDDIZ_PUBLISHER_KEY" android:value="YOUR_AD_KEY_CODE" />    )

Don't forget to replace YOUR_AD_KEY_CODE with the key that you get from adBuddiz.com
or with TEST_PUBLISHER_KEY, to get test ads.

A compiled sample of the lib usage is available here : BAadBuddizLib demo



This lib is donation ware




If you are interested, send me a mail to inforpires@gmail or write in the comments.

Nelson

quinta-feira, 5 de setembro de 2013

Host Ping

Host Ping

Well, another android app. This one allows you to ping several hosts at once, without needing a terminal console. 


Just select the host option and enter a ip address or host name to start. For convenient you can tap the check box to save it in the list for future use. 

You can ge it from here :
 

quinta-feira, 29 de agosto de 2013

Android bar code scanner for PC

Android bar code scanner for PC


Bored with the usual type of programming done during the day job, decided to turn my attention to something new. So, in that small amount of time between getting the kids in bed and getting myself in bed, started looking at android. It's a really cool new world. Some things are easy, some are harder, but the experience is great. 

This is my second full app : it read's bar codes with the phone camera, and, via wifi, sends them to a small program running in the pc, that stuffs them in the keyboard buffer. So it works like a real barcode scanner, with the benefits that, it doesn't need to be physically connected to the computer.




Usage :

For the first time, install the bar code software in your windows pc. To do that, start this app and go to Options and push the Pc setup button. Follow the instructions given. Save BarcodeServer.exe to a convenient place. Consider adding it to the startup items, if you plan on using it often in that computer.
After the pc setup is done, choose the options that most feat your needs : end char terminator ( CR or TAB ), pc beep after scan and single shot or continuous scan mode.


Bar code scanning :

Ensure that the correct destination pc address is selected as the host pc. If not in the list, add it, pushing the plus button.Press the start button to start scanning, and align the bar code with the central window. After successful scanning, the code will be transmitted to your computer. This app works the same way as a true bar code scanner, so please ensure that the focused window on the pc allows keyboard input. (ex. notepad)

Notes : the barcode scanning engine included is the one provided by the core functionality of zxing.org. Many thanks for providing such a great facility.

You can get this free app from google play :

https://play.google.com/store/apps/details?id=com.inforpires.barcodescan2pc&hl=pt_PT

In case of problems or doubts, leave a comment and i will do my best to help You