1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

Create a Wrapper from Android Library

Discussion in 'Job Offers' started by Marcos Alves, Sep 12, 2019 at 4:00 PM.

  1. Marcos Alves

    Marcos Alves Active Member Licensed User

    Hello,

    I need to create a B4A library from and Android Lib

    This is the library code: https://github.com/DoubangoTelecom/imsdroid

    The library is ready and working on android/VS - this only requires to be converted.

    The job budget is US$ 150 and the expected delivery time is 4-5 days after the start - wait for proposals.

    Thanks
     
    Last edited: Sep 12, 2019 at 4:08 PM
  2. DonManfred

    DonManfred Expert Licensed User

    I can start a new project and give you a starting code.
    It seems like this is an HUGE library. And maybe a complicated one.
    Based on what i saw on the direct link you posted it should not be complicated. But who knows...

    You probably need to keep in mind that the library need to work async as you are not allowed to run networktraffic on the mainthread.
    And for sip i´m pretty sure you need to have networktraffic.
     
    Peter Simpson likes this.
  3. Marcos Alves

    Marcos Alves Active Member Licensed User

    Hello @DonManfred ,

    I'm checking other SIP Stack library which could be more easy to integrate as the source code is open and available... I found this other one:
    https://github.com/DoubangoTelecom/imsdroid

    What do you think? Easier? Could you do it for me ? (paid of course ;))

    Thanks!
     
  4. DonManfred

    DonManfred Expert Licensed User

    sure but i only can offer to give you a start as mentioned above.

    I do not have the time this month (and probably next month too).....
     
    Peter Simpson likes this.
  5. DonManfred

    DonManfred Expert Licensed User

  6. Marcos Alves

    Marcos Alves Active Member Licensed User

    :) correct ! I noticed that I was using a paid library before and so I updated the first link also. The library that I was using was MizuDroid but it's almost the same of Doubango (instead of the fact that Duobango is opensource and free as required to do the wrapper).


    If you give me the startpoint I can do the job (again, paid suppport of course ;)) - tell me when you can.
     
  7. Marcos Alves

    Marcos Alves Active Member Licensed User

    Ok, I'm waiting for your availability (the next month). Call me here when ready (or, if you prefer, send me an email at mmmlves@gmail.com)
     
  8. DonManfred

    DonManfred Expert Licensed User

    Last edited: Sep 13, 2019 at 6:15 AM
  9. DonManfred

    DonManfred Expert Licensed User

    I had a small deeper look at the libraries.
    The commercial one seems to be a good thing. The documentation is clear, the implementation is nearly easy. I´ll start a wrap on this one.
    You need to have a sip server for sure ;-)
    Do you have a server to test?

    The free one is more complicated in inplementation it seems.
     
    Peter Simpson likes this.
  10. DonManfred

    DonManfred Expert Licensed User

    I can not do a complete wrapper for you. Not for $150. Honestly the 150 are gone after reading all the documentation evaluating what is to do.

    Writing a complete wrapper needs a lot of time writing (at least a complex one like this).
    And i guess it needs much more time to test the functionality.
     
    OliverA likes this.
  11. DonManfred

    DonManfred Expert Licensed User

    AND can provide credentials to me to test?

    Code:
    Sub Service_Start (StartingIntent As Intent)
        sipc.Initialize(
    "AJSip","voip.mizu-voip.com","ajvoiptest","ajvoip1234")
        sipc.ListenForEvents
        
        
    Log($"Start Sip: ${sipc.Start}"$)
        
    Log($"Register Sip: ${sipc.Register}"$)
        
    Service.StopAutomaticForeground 'Starter service can start in the foreground state in some edge cases.
    End Sub
    Sub AJSip_Notification(text As String)
        
    Log($"AJSip_Notification(${""})"$)
        
    Dim lines() As String
        lines = 
    Regex.Split(CRLF, text)
        
    If lines.Length>0 Then
            
    For i=0 To lines.Length-1
                
    Dim notification As String = lines(i)
                
    If notification.Trim <> "" Then
                    
    Dim values() As String
                    values = 
    Regex.Split("\,"notification)
                    
    If values.Length>0 Then
                        
    For o=0 To values.Length-1
                            
    Dim val As String = values(o)
                            
    Log($"Value #${o}: ${val}"$)
                        
    Next
                    
    End If
                
    End If           
            
    Next
        
    End If
    End Sub
     
    Peter Simpson likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice