Posts by Clebao • 655 points
21 posts
-
2
votes2
answers372
viewsQ: Docker remote management
I am developing a solution (application) that basically creates a Webservice for communication between an Android app and a database. My question now is how I will manage and distribute this…
-
4
votes2
answers682
viewsQ: Filter String Array records by space-separated words in Java
How do I filter the records of a Array using the search terms separated by space ? Example: I have a Array String with the following records. bottle opener box with blue padlock Brass padlock 30mm…
-
1
votes1
answer91
viewsA: Avoid overlapping of Listview
In my view they are superimposed because by default when you do not put the visibility in the layout becomes as VISIBLE. From what I’ve analyzed of your logic you will only alter the visibility when…
-
2
votes3
answers188
viewsA: How to share an android photo
You can use Share Action Provider, basically it’s a sharing mechanism helps you share content. For more information android documentation that he will help.…
-
1
votes1
answer213
viewsA: What is the name of this screen on android?
This screen can be built through a "Custom Layout" of a Dialog, or in a "Dialog Fragment" More information on this page…
-
1
votes2
answers265
viewsA: How to automatically initialize has_many attributes in Rails
Only to leave to those who will be in the same trouble as mine. First I did the mapping wrong. The correct is; class Regiaofrete < ActiveRecord::Base has_many :valorfretes has_many :tipofretes,…
-
0
votes2
answers265
viewsQ: How to automatically initialize has_many attributes in Rails
Currently I have 3 model class Regiao < ActiveRecord::Base has_many :tipofretes has_many :valorfretes, through: :tipofretes end class Tipofrete < ActiveRecord::Base has_many :regiao has_many…
-
0
votes1
answer193
viewsQ: Create a service together with the Ruby on Rails app
I’m developing a new project using the Ruby on Rails to communicate with a legacy system made in COBOL. This communication will be done through TXT files, that is, when I have to pick up information…
-
3
votes1
answer89
viewsQ: Ruby-on-Rails Insert/uptade external program
I’m studying a little Rails for a new project and a question has arisen that is: When I give a db:migrate, Rails creates/alters the entire database structure - when necessary - based on the model.…
ruby-on-railsasked Clebao 655 -
0
votes2
answers473
viewsA: How to call the Horizontal Keyboard when clicking on Edittext?
I have the same problem of yours, but the need is reversed, because in my case I always wanted to open the keyboard of the orientation Portrait (vertical). For the research I did not how to change…
-
1
votes3
answers4187
views -
17
votes7
answers20768
viewsA: How to protect source code?
There is a native tool on Android called proguard. Very simple to use, does the same java code obfuscation process as the other tools. Basically you enable by adding to project properties. the line:…
-
1
votes1
answer347
viewsA: Problem with Google Maps V2 on android SDK
There are two things in your logcat that may indicate your problem. 02-24 11:18:11.727: E/Google maps Android API(24852): Failed to load map. Error contacting Google Servers. This is probably an…
-
2
votes1
answer156
viewsA: How to create a view with Crosstab in SQLITE via Android?
Look, from what I’ve seen so far SQLite there is no way to work with the crosstab, or something similar, because a striking feature of the database manager is its simplicity, which made it a…
-
2
votes1
answer2919
views -
1
votes2
answers470
viewsA: Simulate receiving device connection on usb (adb shell Android)
When I needed to test a call on a physical device I just made a call to it. Example: The application is installed and "debugging" on the device A. On device B I made a connection to device A. But…
-
1
votes2
answers758
viewsA: Eclipse Debugger does not advance on Android application
In my view you must be with the eclipse shortcut key mapping problem. My suggestion is that you reset to the original settings. in: Window > Preference > General > Keys Select the Default…
-
1
votes2
answers2748
viewsA: Reading text file stored in raw folder through a user class
When there is a need to use the res raw folder in any of my projects I use it as follows. InputStream ins = getResources().openRawResource(R.raw.teste); Every time you put a file in the raw folder…
-
3
votes3
answers5715
viewsA: How to customize the Delphi editor?
Another alternative to Cnpack is the Gexpert, Looks like it’s got the same tools as Cnpack, except for the color scheme and the beading. Particularly prefer so, I think it leaves the screen very…
-
1
votes2
answers12503
viewsA: How to save data to the internal memory of an Android device?
In fact Environment.getExternalStorageDirectory() does not mean the directly to the micro SD memory card, the one you can exchange for another, basically this command returns a large capacity…
-
3
votes1
answer894
viewsA: Hello World on Android consuming a lot of RAM
There is a Thread in the Android group Brazil Dev (Google Groups) that talks about memory management and memory reserve, worth a read. https://groups.google.com/forum/#!…