[android-developers] How to dump a Sqlite statements txt file into db.

2010-11-05 Thread jlopeznava...@gmail.com
Hi, I am preparing a new update of my appliction, in this version I need to insert lot of new rows (200) in my db. Because I don't want to programatically add 200 insert code line for each row, I would like to know what is the best method to accomplish it just with a call to the file and dumping

[android-developers] How to import the License Verification Library into workspace?

2010-10-19 Thread jlopeznava...@gmail.com
I can't import the License Verification Library to the workspace. In the Eclipse wizard I click File import but no Android option available, if I choose normal Java project then it doesn't work because it has no Android api reference. How to do? Thanks in advance. -- You received this message

[android-developers] Re: How to import the License Verification Library into workspace?

2010-10-19 Thread jlopeznava...@gmail.com
There is no such option in Import. Just Existing Projects into Workspace. On Oct 19, 1:04 pm, damodhar meshran dmesh...@gmail.com wrote: see there other option available chose other and the select android project On Tue, Oct 19, 2010 at 2:09 PM, jlopeznava...@gmail.com jlopeznava

[android-developers] Re: How to import the License Verification Library into workspace?

2010-10-19 Thread jlopeznava...@gmail.com
If I use the Existing project into Workspace option then the project gets this error: The import android.os can not to be resolved I suposse it's because it's not an Android project. On Oct 19, 1:52 pm, jlopeznava...@gmail.com jlopeznava...@gmail.com wrote: There is no such option in Import

[android-developers] How to emulate onUpgrade call in SQLiteOpenHelper?

2010-10-17 Thread jlopeznava...@gmail.com
Hi, how can I emulate an onUpgrade call for my SQLiteOpenHelper class? I have tried changing the version number in my SQLiteOpenHelper class and versionCode in manifest but onUpgrade is not called. Any idea? I need to check my onUpgrade code before upload it to the market, I don't want my app's

[android-developers] Re: How to emulate onUpgrade call in SQLiteOpenHelper?

2010-10-17 Thread jlopeznava...@gmail.com
...@gmail.com jlopeznava...@gmail.com wrote: Hi, how can I emulate an onUpgrade call for my SQLiteOpenHelper class? I have tried changing the version number in my SQLiteOpenHelper class and versionCode in manifest but onUpgrade is not called. Any idea? I need to check my onUpgrade code before

[android-developers] Re: How to emulate onUpgrade call in SQLiteOpenHelper?

2010-10-17 Thread jlopeznava...@gmail.com
...@gmail.com jlopeznava...@gmail.com wrote: Hi, how can I emulate an onUpgrade call for my SQLiteOpenHelper class? I have tried changing the version number in my SQLiteOpenHelper class and versionCode in manifest but onUpgrade is not called. Any idea? I need to check my onUpgrade code before

[android-developers] Re: How to emulate onUpgrade call in SQLiteOpenHelper?

2010-10-17 Thread jlopeznava...@gmail.com
, 6:53 pm, Kumar Bibek coomar@gmail.com wrote: You can do it thru adb install command On Sun, Oct 17, 2010 at 10:15 PM, jlopeznava...@gmail.com jlopeznava...@gmail.com wrote: How to install the new apk over the older version? On Oct 17, 6:34 pm, Kumar Bibek coomar@gmail.com

[android-developers] Re: How to emulate onUpgrade call in SQLiteOpenHelper?

2010-10-17 Thread jlopeznava...@gmail.com
not with the emulator? On Oct 17, 8:20 pm, Kumar Bibek coomar@gmail.com wrote: This method will be executed whenever your try to initiate a DB connection. Try executing a code which does some DB related task. On Sun, Oct 17, 2010 at 11:47 PM, jlopeznava...@gmail.com jlopeznava...@gmail.com

[android-developers] Re: How to emulate onUpgrade call in SQLiteOpenHelper?

2010-10-17 Thread jlopeznava...@gmail.com
...@gmail.com mailto:jlopeznava...@gmail.com jlopeznava...@gmail.com mailto:jlopeznava...@gmail.com wrote:     Not working for me :( I am stuck.     Thanks anyway.     If I use the mobile device I can't use adb install because it says its     installed. If I use the -r parameter with adb

[android-developers] Strabge behaviour in ListView with single choice mode

2010-10-02 Thread jlopeznava...@gmail.com
Hi, I have a ListView with 4 rows and I want to color the text inside each row when a row is clicked, the code below works fine but if I change the selection mode of the ListView to single mode the View object received is not the correct one. In this case : if I click row number 1 it colors the

[android-developers] scrollbarAlwaysDrawVerticalTrack doesn't work with ListView

2010-09-30 Thread jlopeznava...@gmail.com
Hi, I have a ListView and I want it show the vertical scrollbar always so the user can know there are more options below. I ha tried the scrollbarAlwaysDrawVerticalTrack=true but it doesn't work, any idea/suggestion? Thanks in advance. -- You received this message because you are subscribed to

[android-developers] Re: scrollbarAlwaysDrawVerticalTrack doesn't work with ListView

2010-09-30 Thread jlopeznava...@gmail.com
be used to show the track even when you can't scroll. In your case I believe you want to disable scrollbars fading instead. Or you should provide your own scrollbar track drawable. On Thu, Sep 30, 2010 at 8:10 AM, jlopeznava...@gmail.com jlopeznava...@gmail.com wrote: Hi, I have a ListView

[android-developers] Re: About getting wrong sizes with drawables objects.

2010-09-18 Thread jlopeznava...@gmail.com
You are right, what a noob error :( Thank you man. On Sep 17, 11:10 pm, Romain Guy romain...@android.com wrote: You are probably using drawable/ or drawable-mdpi/ assets on an hdpi device and your assets get scaled automatically. On Fri, Sep 17, 2010 at 10:00 AM, jlopeznava...@gmail.com

[android-developers] What is exactly the X and Y coordinates in method canvas.rotate

2010-09-18 Thread jlopeznava...@gmail.com
Can anybody explain me what is exactly that coordinates? I have search for information but can't find properly info. I have some drawables objects wich I need to rotate, I have realized I need to add a constant value to that coordinates, if not they rotate wrong. I use this way:

[android-developers] Best method to save a array in Bundle?

2010-09-18 Thread jlopeznava...@gmail.com
I have 2 dimensions array like this: public myArrayType[][] mObjArray; I want to save it in the onSaveInstanceState method, since my array contains lot of elements I dont want to save element by element but the whole array object, what is the best way? I tried this but exception is thrown:

[android-developers] Re: What is exactly the X and Y coordinates in method canvas.rotate

2010-09-18 Thread jlopeznava...@gmail.com
result. But other rotations are possible as shown in the link above. -- Kostya 18.09.2010 13:37, jlopeznava...@gmail.com пишет: Can anybody explain me what is exactly that coordinates? I have search for information but can't find properly info. I have some drawables objects wich I

[android-developers] About getting wrong sizes with drawables objects.

2010-09-17 Thread jlopeznava...@gmail.com
Hi, I am using some drawable objects, when I instance them and paint in my canvas they doesn't get the original PNG image file size, instead they get a bigger size, so they does't paint in my canvas as I expected since I wanted them in their original sizes, why this happens??? (original file is