Request here for libraries.

XverhelstX

Well-Known Member
Licensed User
Longtime User
Hey everyone,


First of all, I don't know where I should have posted this, and if this is inappropiate, please remove it.

Some people might now be, some people don't.
I have made a few libraries around the Basic4Android community that I hope, have pleased the users.

Now, Basic4Android still lack some functions that we, users, can implement with the form of a library.

Hereby, I open this topic where you can request for libraries that I will make.
Make sure the library that you want, doesn't already exists for Basic4Android.
It is also suggested that you add a reference to a site where you saw the source code, information. (Note that I'm also not in the capacity of making complex library as my Java skills aren't the best. I just want to help out the B4A community.)

Here you can gather most of the information:
Package Index | Android Developers

I won't wrap libraries. (Basically because I don't know on how to do it, or it is to hard :p)

Sincerely,
Tomas
 
Last edited:

bluejay

Active Member
Licensed User
Longtime User
Hi Tomas,

I would be very interested in a PhoneStateListener library mainly for the onCellLocationChanged and onDataActivity although it would be good for getting Signal strength as well.

ie. Set some call backs to B4A for the following events...

PhoneStateListener phoneStateListener = new PhoneStateListener() {
public void onCallForwardingIndicatorChanged(boolean cfi) {}
public void onCallStateChanged(int state, String incomingNumber) {}
public void onCellLocationChanged(CellLocation location) {}
public void onDataActivity(int direction) {}
public void onDataConnectionStateChanged(int state) {}
public void onMessageWaitingIndicatorChanged(boolean mwi) {}
public void onServiceStateChanged(ServiceState serviceState) {}
public void onSignalStrengthChanged(int asu) {}
};

Once we have created a Phone State Listener object it would be easy to register it with the Telephony Manager using a bitmask to indicate the events to listen for:

telephonyManager.listen(phoneStateListener,
PhoneStateListener.LISTEN_CALL_FORWARDING_INDICATOR |
PhoneStateListener.LISTEN_CALL_STATE |
PhoneStateListener.LISTEN_CELL_LOCATION |
PhoneStateListener.LISTEN_DATA_ACTIVITY |
PhoneStateListener.LISTEN_DATA_CONNECTION_STATE |
PhoneStateListener.LISTEN_MESSAGE_WAITING_INDICATOR |
PhoneStateListener.LISTEN_SERVICE_STATE |
PhoneStateListener.LISTEN_SIGNAL_STRENGTH);

I don't know much about Java or library creation - would this be difficult?

bluejay
 

bluejay

Active Member
Licensed User
Longtime User
Thanks Tomas.

I was not very keen on setting up the whole Eclipse environment and learning Java since I am using B4A for the mobile app development.

bluejay
 

XverhelstX

Well-Known Member
Licensed User
Longtime User

alibaba

Member
Licensed User
Longtime User
Customtoast library

Customtoast library is great.

Is it possible do add the feature do change the Font Style, Size, Color ?

Many thank's for the Togglelibrary ...

regards
 
Last edited:

NeoTechni

Well-Known Member
Licensed User
Longtime User
Oooh, can we get one to access the media (images, music, videos) library?
 

XverhelstX

Well-Known Member
Licensed User
Longtime User
Oooh, can we get one to access the media (images, music, videos) library?

Could you give an example of what you needexactly?
Link to android developers, code snippets perhaps.


I already tried a lot of Augmented Reality libs like AndAR, ARToolkit, etc.
I think I also took a look at the one of Qualcomm some time ago.
I will look at it again, however I won't promis anything.

Tomas
 
Last edited:

NeoTechni

Well-Known Member
Licensed User
Longtime User
Have you checked ContentChooser? It lets you select items from the media store.

No, last time I read about the mediastore I was told B4A didnt support it yet.

Basic4android - Phone

How would I use this to make a music player where I can access content by category (artist/album/song/etc)?
 

magarcan

Active Member
Licensed User
Longtime User
I already tried a lot of Augmented Reality libs like AndAR, ARToolkit, etc.
I think I also took a look at the one of Qualcomm some time ago.
I will look at it again, however I won't promis anything.

Tomas
Thank you so much!!!
:sign0087:
 

NeoTechni

Well-Known Member
Licensed User
Longtime User
No, last time I read about the mediastore I was told B4A didnt support it yet.

Basic4android - Phone

How would I use this to make a music player where I can access content by category (artist/album/song/etc)?

Upon further research the content chooser doesn't do this.

It makes the user select a file. I want access to every media file and its properties
 

peacemaker

Expert
Licensed User
Longtime User
Last edited:

XverhelstX

Well-Known Member
Licensed User
Longtime User
There you go.
Hope it works ;)

And welcome to the Basic4Android community.

Attachments are:
-ReadMe
-Library files
-Example

let me know if it worked as I have no working site to test it on.
Tomas
 

Attachments

  • XMLRPC1.0.zip
    310 KB · Views: 393
Top