Posts by Jean Carlos • 282 points
14 posts
-
0
votes1
answer93
viewsA: MYSQL access by an application
From what I understand of your question, you want your Web Service to access the database, but do not want to leave this access available outside the server. If so, your Web Service must be hosted…
-
3
votes2
answers4976
viewsA: Remove the time part of a date in c#
Use: _data.Value.ToShortDateString();
-
1
votes1
answer209
viewsA: How to send a string to a web server?
Create this class in your project: import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URLEncoder; import…
-
0
votes2
answers174
viewsA: Problem with Sqlite Android Data Base
Increase the version of your database and implement the following method @Override public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { //codigo para atualizar suas tabelas,…
-
2
votes3
answers1869
viewsA: Why (1 == true) is "true" and (2 == true) is "false"?
If I’m not mistaken in Javascript the equality test with two equal (==) it converts the comparison values to the nearest level. Soon 1 == true, it converts true to 1 Soon 0 == false, it converts…
-
1
votes3
answers464
viewsA: Components are not in class R
Try the following, comment or remove all lines with errors, give a clean on your project and then build. The elements will likely reappear in the R class. The R class is automatically generated…
-
2
votes1
answer65
viewsA: How to take another dice instead of the String that was clicked in Listview?
Try the following, create the following class: Pais{ String nome; String regiao; //gets e sets aqui public String toString(){ return nome; } } on the Adapter do: //pega do banco um Pais[] paises;…
-
0
votes2
answers121
viewsA: Error when setting Background
Try using a smaller image for your layout or see if your application isn’t consuming too much device memory, thus leaving little room for image rendering.
androidanswered Jean Carlos 282 -
1
votes2
answers7835
viewsA: What is the difference between c and c++
Both are programming languages and usually used to create games as well as common systems, differences: C is a structural language C++ is an object-oriented language I would recommend starting with…
-
0
votes2
answers103
viewsA: Start service through user action
Remove this action from the tag <receiver android:name=".NOMEDORECEIVER"> <intent-filter> este ----> <action android:name="android.intent.action.BOOT_COMPLETED" />…
-
0
votes2
answers56
viewsA: Webview does not want to go downtown
Beyond the android:layout_gravity="center_horizontal" put down android:gravity="center_horizontal"
-
1
votes2
answers424
viewsA: Greater space between spinner items
Create your own Adapter, so you can customize it the way you prefer. Example: public class Listadapter extends Arrayadapter { public ListAdapter(Context context, int textViewResourceId) {…
-
0
votes3
answers366
viewsA: startActivityForResult inside an Adapter?
In the xml of your button put android:onClick="nameEvento" and in the Activity of this screen create the method public void nomeEvento(View botao){ //faça o que quiser aqui…
androidanswered Jean Carlos 282 -
1
votes1
answer661
viewsA: Best way to recover the sqlite date
You can capture the date in a Date and then with Formatstring convert it to String and display in a Textview. And to improve the process, I find it easier to save the date in the bank in…
androidanswered Jean Carlos 282