how to implement a retweet tracker on Android - android

I would like to know if there is a way to track these retweets... I know that there are several applications for full twitter already available, but i would like to follow just a few things and integrate them in my application...
The only thing I'm sure of, is that when someone retweet one of my tweets, there is a #my_account mentionned somewhere. But I have know idea of how to deal with it...
If you had any lead for me, that would be great.
Thank you

I would add the Twitter4J jar to your project and use that to query for retweets.

Related

how to create SDK in android

I want to create an SDK like Paypal. where after a specific point all work is done by SDK. like when we integrated Paypal SDK, then after a specific point all the rest of the process of payment is done by Paypal SDK. I also want to create something like this, that after calling my SDK code rest of the work I want to do by my SDK code. I searched for that, but unfortunately, I did not find proper guidance to achieve this. please guide someone on how can we do that. and sorry for my poor English.
thanks
It's looks like you mislead with terminology. From your question it's more likely that you wanna create some library that will do a part of work for some common goal.
Here is some example:
https://medium.com/#anujguptawork/how-to-create-your-own-android-library-and-publish-it-750e0f7481bf

Is there a good website to share and optimize code together?

Recently I am working on Android app development, and also I did iOS app before. I am not good at Android so far, so sometimes I found the app is kind lagging, thought stackoverflow.com is very nice place to share and found the bug, but I would like to ask if there are some websites that I can share all codes and details about the app, and there are also some programmers there they can read and point it out what's wrong with my app? I don't know if this question is legal here, just think it's good to have one and learn more..
You can post code and get it reviewed at https://codereview.stackexchange.com/
The best solution would probably be to push your projects to a site like Github where there's a great infrastructure in place to allow people to collaborate with you.
Asking people to do so is a different issue, but probably best achieved through posts on XDA-developers and equivalent forums.
There are plenty of places where you can post your entire source code. Here are two that I have used:
Google Code: allows you to post your code publicly with details about downloading. You can use this and google forumns to get reviewed and help. SVN access is easy to configure. Can add others to projects.
SourceForge: allows you to post code publicly and privately. SVN is easy once again. Allows you to add others users to the project with read/write/edit permissions.
Those two may not be the best places for getting reviewed and help easily, but they are wonderful for hosting and source control!
Also, these do have forumns where you can point others to your projects and ask questions!

Share text on Twitter without using Intent in app's background

I have list of product if I choose one product at that time that product share on Twitter with user name.
it is possible or not? if yes then how?
You might take a look at Twitter4J. Also, not sure if it requires using an intent, but you might check out the development section on the Twitter website. Looks like they have a REST API that you might be able to take advantage of.
i used this to solve above problem.
http://blog.doityourselfandroid.com/2011/08/08/improved-twitter-oauth-android/
http://blog.doityourselfandroid.com/2011/02/13/guide-to-integrating-twitter-android-application/
this is code which i used.
also i see some Twitter API to solve this question
hope it help to other.
all code i added here : http://dj-android.blogspot.in/2012/05/share-text-to-facebook-twitter-android.html

Android VideoCell jar, where and what is it?

Anyone heard of this:
VideoCell cell = new VideoCell(titleStr);
If so where can I get the .jar from? And information about it?
Sorry about that, I'm guessing you read this link: Android: Trying to get data from youtube api
I came across that article and thought it had something to do with the YouTube api, but on close examination, it looks like a user defined class.
Your best bet would be to contact the guy who wrote the code and see if he's willing to give you the code for it.

Where to find Android Development Homework Problems

Ok so I am starting off with android development and I have found a bunch of useful tutorials so I am set there. What I am looking for is a resource that provides homework style problems to do and has the answers downloadable so I can check my solution against the "official" solution.
So for example instead of the notepad tutorial it would be: "Build an application that you can create, edit, delete notes, ...etc.". Ideally the "official" solution would have some explanation as to why they built it the way they did. (so a tutorial at the tail end)
Anyone know of any resources that provide their tutorials in this format?
Thanks.
Okay, here's one: build me an app that allows the user to make, modify, and store notes. The 'official' answer is the Notepad app in the 9th level of the api. (Note that this is different from the notepad tutorial).
The point is that asking questions is easy, the harder part is actually making a program that does the job. And #Roflecoptr is right, at this level it can be implemented very differently. But if you want that mindset, you can write your own 'homework' easily. Just think up a few things you want that are simple, build it, does it do what you want well? Then you pass.
Despite for very trivial problems I dont think this is possible, because there are way to much possible implementation possibilites so that you can't compare your solution to the "official" solution.
But why do you need something like that? If you want to learn to program on Android, you can just follow some tutorials you've already found and then modify them, adapt them to your needs. When you get more used to the development of Android apps you can just get some ideas on tutorials/android development sites and then implement your own solution. There is plenty of help available here on SO and on other development sites, which will help you if you really get stuck.
You could always go to the Android Samples page, and without looking at their implementations, do your own and compare. The samples page is here:
http://developer.android.com/resources/samples/index.html

Categories

Resources