Skip to content

Tag: android

Error code -7 when trying to install release APK

I’ve taken all appropriate steps to create the release APK. (Demonstration of steps required) My device (Nexus 7 2012) is set to allow installs from unknown sources. I emailed the APK (app-release.apk) to myself and attempted to open it from GMail, as this should work. EDIT: I apologize, I also should h…

Android – Send Telegram message to a specific number

I’m trying to send a Telegram message to a specific number from within my Android app. Right now my code launches Telegram app, and then the user has to select the destinatary. What I want to do is to send the message to the specified number, without having the user select the contact. My code is as fol…

HTTP GET with request body RETROFIT

I am using Retrofit to make api calls in my android application. I have to submit a @Body of JSON I get error message Have you any idea? Answer To send data along with your Get Request you can do the following: as said in this SO answer, Server semantics for GET, however, are restricted such that a body, if