Android OS Forum banner

1 - 5 of 5 Posts

·
Premium Member
Joined
·
1,768 Posts
Discussion Starter · #1 ·
I've been over and over their docs but I can't find one example of how to call a twitter profile (in the twitter app). Anyone know how or know of an example how to have an app call a twitter profile?

If more info is needed let me know my apps are open source (open platform deserves open apps) just looking to learn a new concept if anyone feels like helping :)
 

·
Developer
Joined
·
718 Posts
If you still have problems with this, let me know. since the public documentation hasn't helped you, my course of action would be to disassemble the twitter app, find the smali that calls a profile, and translate the smali to Java for you. Let me know if you'd like me to do that
 

·
Premium Member
Joined
·
1,768 Posts
Discussion Starter · #3 ·
I think that's a great idea...

If you can give me the method signature or an idea to test I would love to test it out

...if we can make it work I would be happy to write an open source proof of concept other devs can use in their work

I don't know Smali but if you help me make it work I would be happy help others :)

Let me know what you need or how I can help I'm jbirdvegas at gmail
 

·
Developer
Joined
·
718 Posts
sorry it took so long, been real busy

class: com/twitter/android/ProfileActivity
method: public void onGetUserInfoByUserIdComplete(parameters)
parameters in order:
"session"
"reqId"
"errorCode"
"reasonPhrase"
"userId"
"user"
respective parameter types:
com/twitter/android/client/AppSession
java/lang/String
integer
java/lang/String;
float or wide return value
com/twitter/android/api/TwitterUser

you'll have to let me know which of those parameters you'll need help getting
 
1 - 5 of 5 Posts
Top