Skip to content

Tag: android

Read data from SQLite where column name contains spaces

I am having a coulmn name called “condition name” (.sql file has been generated from server) But in android I am getting following exception while reading data from that table. 12-24 14:34:00.870: W/System.err(269): android.database.sqlite.SQLiteException: no such column: condition: , while compil…

Posting image to wcf rest service from Android

I’m having a problem to post a image to my wcf rest service. I’m posting some parameters of which one of them is a base64 utf-8 encoded string (the image). My problem is that every time I post I get “bad request”. Here is the code It is something with the encoded string, but what? Answ…

Android currency symbol ordering

I’m getting on devices with not-english locale, the english currencies formated like this: 1 $ If I have english locale I get euro currency like: € 1 Using Found in the documentation: http://developer.android.com/reference/java/util/Currency.html#getSymbol() Returns the localized currency symbol for thi…

FTP connection java

I’m trying to upload the file to a server. What is the way for uploading a file to a server through FTP? i wrote this class: serverconnect.java: and this is the mainActivity ( only the relevant code): and when i install the app on my phone i get an error: “unfortanly your app must stopp…&#82…

Where is jarsigner?

I have the Android SDK installed on both a Linux machine using open SuSE 12.1. I’ve used both machines to successfully build Android apps many times and sign them both with a debug key for testing and a release key from my own keystore, so it should be somewhere on each machine. Using the command Return…