Posts by Ludger • 315 points
12 posts
-
2
votes0
answers105
viewsQ: Web Server TLS/SSL Handshake
I am developing an objetive-c webserver for Iphone and implemented TLS/SSL for encrypted communication with a Certificate self Sign, presented in the attached links below. I’ve been testing the…
-
1
votes1
answer274
viewsQ: Android Api for PDF file creation
What are the free file creation api available pdf in Android?
-
1
votes1
answer604
viewsA: How to create a Background Service with Genexus Smart Devices on Android?
In your main activity for example you start the service: public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) {…
-
0
votes2
answers947
viewsA: Hide keyboard with Fragment
onCreateView puts the following code to hide the keyboard. getActivity().getWindow().setSoftInputMode( WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN); That is to say: @Override public…
-
1
votes0
answers152
viewsQ: Insert with Inner Join and various conditions in Where clause
What is the best way to make one SELECT with INNER JOIN and with various conditions using Sqlite Android? I thought I’d do it this way: SQLiteQueryBuilder _QB = new SQLiteQueryBuilder();…
-
5
votes1
answer1111
viewsQ: Android Sqlite data insertion
What is the best way to insert more than 10000 rows of data into a 13-column table using Sqlite Android? I thought of using the ContentValue then: Db.insert(DATABASE_TABLE, null, ContentValue);…
-
0
votes3
answers581
viewsA: Error: Sorry the Aplication.... has unexpectedly stopped Please Try Again Java Eclipse
Since you’re calling the layout (setContentView(R.layout.activity_main)) instead of calling the layout (setContentView(R.layout.fragment_main)), where it contains buttons and all objects and should…
-
0
votes2
answers1597
viewsA: How to convert an image to hexadecimal?
First you should read the file (image) and convert it to an array of bytes: public byte[] ler_ficheiro(String path) { File file = new File(path); if (file.exists()) { FileInputStream fis = new…
-
1
votes2
answers9169
viewsA: Error in such table. Sqlite
Checks the data.DATABASE and data method.VERSION is not empty or null. public PropostaDAO(Context ctx) { super(ctx, dados.DATABASE, null, dados.VERSAO); } Then check how these initialize the…
-
9
votes1
answer304
viewsQ: Read message from USSD Android code
Using the API on Android is possible to communicate via USSD? It is possible otherwise? If yes how can I get, in Java, the reply message when entering a USSD code?
-
0
votes1
answer179
viewsQ: Sending of Android SMS
I’m developing an android app for sending automatic Smss. When I send many Smss around 200 at the same time the phone turns off and presents the following error in the log: display Event receiver…
-
1
votes1
answer157
viewsQ: Sax parser xml string Java Android
I’d like some help on a problem I’m having at Java Android. First I read a String XML to get the values of each tag. When getting the values reads well the tags, only 9 in 9 Strings received reads…