I want to make an application for Android, the functionality of which will be directly related to the telegram api (not a bot, but a full-fledged api), but I do not understand how I can at least just log into my account, not to mention what to make requests. Documentation on working with the api through android applications I could not find. Please help me deal with this (just an example of how to send a message to the user will be enough)
I used Google translator
Kindly have a look at this link.
Link: https://www.androidmads.info/2017/11/telegram-bot-for-android.html?m=1
Related
I am trying to implement Microsoft Azure Cognitive Service Face Api for face recognition. Followed by https://go.microsoft.com/fwlink/?linkid=2184104 i created .NET Core console application and everything works fine. Now i would like to use this code in android app, but i am pretty stuck. Should i create rest api from existing C# code? Or there is android library that allows me to use face api directly like in console app?
Since Cognitive Services are already APIs, you could talk to the API directly and process the response right inside your Android code.
Please keep in mind that this does leave a potential security issue if the application is meant to go into the store / public. Users could look at the traffic or decompile your app, find your access keys and use your Cognitive Service for their own applications. In that case it could be interesting to wrap it in your own API and have some security checks in place there like rate limiting or call quota. Of course you need to make sure to use your access key inside of your own API to hide it from being seen externally.
Still, this leaves room for abuse. You now implemented a public API that, again, anybody could talk to. There are quite a few interesting discussions found on this, like this question right here on Stack Overflow: Restrict API requests to only my own mobile app.
Hello I want to use Instagram api for the direct feature and don't have more knowledge about OAuth2.0. I know Instagram provides direct api this app is using direct api but i don't know how to implement it. I seen this question but i don't know how to work with this. I want to develop iOS application but i hope any android or windows developer can also help for api.
Instagram does not provide an API for direct messaging. 6tag is using Instagram's private API, which is supposed to be used only by Instagram, and not by 3rd party developers.
If you want to use the Instagram private API on your app, you may be able to use the Instagram node.js Private API library or the Instagram PHP Private API library.
I have to warn you though, that I did try to use the PHP library and Instagram didn't allow sending of direct messages, no matter how much hacking I tried to make it work. But maybe this was just me...
If you are able to use node.js, it seems that Thread.configureText can be used for sending direct messages on the node.js library.
Lastly, don't forget that you will be using something that you shouldn't be allowed to in the first place.
Does Google Drive RealTime API still not support Android? I did it using JavaScript but want to use it in Android. I don't think it does exist cause no official blogs say that and it doesn't even appear on the Developers site. Is there any alternative for these purpose? Or I need to just do it all myself till Google announces anything? And if so can you please suggest me should I put everything on my server and send it to devices using GCM; or should I use Google App Engine?
A very similar question here: StackOverflow Question. But I even found these links saying it does Link 1, Link 2. So any updates?Please help thanks :)
Currently Realtime API does not support Android, sorry.
BUT! Google are working on this, and it should be available quite soon. Google are excited about the possibility of users collaborating simultaneously between web and mobile apps in real time. That is going to rock!
I am trying to integrate payment gateway in my android app.
Purpose of app is to buy online e books.
Site is already Developed and it is using EBS service for payment.
To be specific App is designed for Asian countries only.
Can anyone help me regarding this?
Do i need to simply call my site URL for this or it is not a practical approach.
Any help would make work my simpler as i am not familiar with this stuff.
Please help me if you have experience with it but please do not just copy paste links as i have gone through many sites for that.
Here, EBS support you can find the API that EBS provides. There is no specific API currently available for android. I think you should have to implement it at your server side and make a call with web services.
I've been planning to build an Android application built on Foursquare APIs. I went to the foursquare developer site and tried out the android oauth example. Also I noticed in the showcase several fancy apps such as Instgram, LocalMind. I wonder where (websites like github) I can find their source codes so that I can have a taste of how to develop a real foursquare app.
I am not sure there is a direct answer to your question.. With the exception of code snippets found by google code search or regular google search, do not expect to find full source code for integration with APIs..
As far as oauth goes, there are many examples with a simple google search on how to make it work (note that you have the Venues API that does not requires the oauth process)
As far as source code goes, you should check out this page it should have links to many examples. (got here after two clicks from that page..)
From my experience, we are developing a foursquare-enabled app with a custom server software - in short, our Android app will access our server, which will access foursquare (if required) and get data and pass it to our client (Android/iPhone/whatever).
Bottom line - eventually, you really should learn the API yourself, know the different endpoints and the returned data structures, experiment with different search results and then, if you wonder on what is the right way to get specific data or if you think you are doing something right and getting the wrong data, this is probably the place to ask about it.
The API Explorer should help a lot in doing that.