Hi,
I posted this to Picasso Tutorial and now I am posting it as a new thread as per Erel's request.
As I still want a twitter solution I am trying to use Twitter4J but do not know if I am going the right way or not (which is more likely)
Here is the function I am trying to access
http://twitter4j.org/javadoc/twitte...zation.html#setOAuthConsumer(java.lang.String, java.lang.String)
For the last SUB I do not know how to pass the two parameters .
Appreciate your help .
I want to use almost all Twitter4J functions but I am just starting to implement it through the new great features of B4A
I posted this to Picasso Tutorial and now I am posting it as a new thread as per Erel's request.
As I still want a twitter solution I am trying to use Twitter4J but do not know if I am going the right way or not (which is more likely)
Here is the function I am trying to access
http://twitter4j.org/javadoc/twitte...zation.html#setOAuthConsumer(java.lang.String, java.lang.String)
B4X:
Sub GetContext As JavaObject
Return GetBA.GetField("context")
End Sub
Sub GetBA As JavaObject
Dim jo As JavaObject
Dim cls As String = Me
cls = cls.SubString("class ".Length)
jo.InitializeStatic(cls)
Return jo.GetFieldJO("processBA")
End Sub
Sub Twitter As JavaObject
Dim jo As JavaObject
Return jo.InitializeStatic("twitter4j.auth")
End Sub
Sub setOAuthConsumer(conskey As String,conscret As String)
Twitter.RunMethodJO("setOAuthConsumer",Array())
End Sub
For the last SUB I do not know how to pass the two parameters .
Appreciate your help .
I want to use almost all Twitter4J functions but I am just starting to implement it through the new great features of B4A