[android-developers] Re: Diacritics/international characters in AutoCompleteTextView

2011-02-04 Thread svebee
/reference/android/widget/Filterable.html...() (various adapter classes implement Filterable) http://developer.android.com/reference/android/widget/Filter.html (this is what does the filtering) -- Kostya 02.02.2011 10:50, svebee пишет: I have a (array) list Car Something

[android-developers] Diacritics/international characters in AutoCompleteTextView

2011-02-01 Thread svebee
I have a (array) list Car Something Šibica Čavao Cavao Is there a way to force AutoCompleteTextView so if user type in letter c it would show Car Čavao Cavao so it would show standard letter and international letter (C and Č/Ć, S and Š, Z and Ž, D and Đ). -- You received this message because

[android-developers] Access database (in static method?) in non-Activity class

2010-12-30 Thread svebee
I have some class (SomeClass.class). I want to have some static methods in it like getAllDatabaseItems, getTableItems, insertNewRecord and so on. If I do it this way SQLiteDatabase db = openOrCreateDatabase(DATABASE_NAME, MODE_PRIVATE, null); I need to extend Activity (but still can't

[android-developers] Re: Access database (in static method?) in non-Activity class

2010-12-30 Thread svebee
So I have DatabaseOptions.java class public class DatabaseOptions extends Activity { private static Context gContext; private static SQLiteDatabase db; public DatabaseOptions(Context context) { gContext = context.getApplicationContext();

[android-developers] Re: Access database (in static method?) in non-Activity class

2010-12-30 Thread svebee
!= null), and if so, reuse it. -- Kostya 30.12.2010 15:11, svebee пишет: So I have DatabaseOptions.java class public class DatabaseOptions extends Activity {    private static Context gContext;    private static SQLiteDatabase db;    public DatabaseOptions(Context context

[android-developers] Re: SQLite Database (secure?)

2010-09-27 Thread svebee
, Mark Murphy mmur...@commonsware.com wrote: On Sun, Sep 26, 2010 at 7:10 PM, svebee sven.kapud...@gmail.com wrote: I just have one simple question, is it possible to extract (and read records) SQLite Database out of Android application/.apk file/...)? Because I have some important

[android-developers] Sound loop - with pause in between

2010-09-26 Thread svebee
Hi, I have String Array with some strings in it [UP,L,R,R...] and I have some sounds (audio_up.mp3, audio_l.mp3 and so on). I want go through all the strings in the array and play sounds accordingly with pause in between (let's say 1 second). for (int a = 0; a string_Array_String.length; a++) {

[android-developers] Re: Sound loop - with pause in between

2010-09-26 Thread svebee
can play the next (or wait 1 sec and then play..). Hope it helps! Yuvi On Sun, Sep 26, 2010 at 4:59 PM, svebee sven.kapud...@gmail.com wrote: Hi, I have String Array with some strings in it [UP,L,R,R...] and I have some sounds (audio_up.mp3, audio_l.mp3 and so on). I want go through

[android-developers] SQLite Database (secure?)

2010-09-26 Thread svebee
I just have one simple question, is it possible to extract (and read records) SQLite Database out of Android application/.apk file/...)? Because I have some important information in it, so I wanna be sure it's pretty secure (only application has access to it)? Thank you. -- You received this

[android-developers] Re: Call PHP through URL

2010-09-04 Thread svebee
/output-json-string-from-php/) ? On Sep 4, 1:43 am, Mark Murphy mmur...@commonsware.com wrote: Use HttpClient, which is included in the Android firmware: http://hc.apache.org/httpcomponents-client-4.0.1/index.html On Fri, Sep 3, 2010 at 7:40 PM, svebee sven.kapud...@gmail.com wrote: Hi, how

[android-developers] Re: Call PHP through URL

2010-09-04 Thread svebee
PHP script. Best regards, Filip Havlicek 2010/9/4 svebee sven.kapud...@gmail.com Tnx. Can you tell me what's the simplest way to do this... I send some data to my PHP script, it calculates some data and outputs String ABC123 on a screen (with PHP echo function). Then how can I grab

[android-developers] Call PHP through URL

2010-09-03 Thread svebee
Hi, how can I call (without any browser or so) some URL to activate PHP script on my server..for ex. URL = http://www.website.com/script.php?id=; + someVariable; call/execute URL; Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: OutOfMemoryError

2010-06-13 Thread svebee
Problem was 480x800 backgrond (~20KB) which after ~4 activity re- creates occupied ~16MB. After deleting, everything works just fine. On Jun 11, 12:07 pm, svebee sven.kapud...@gmail.com wrote: One is (background) 480x800, others are approx. 70x70px. (40x40,80x80,50x50...). I understood your

[android-developers] Re: OutOfMemoryError

2010-06-11 Thread svebee
will hold an internal reference to a context or other views which will keep your entire view hierarchy in memory. So holding a reference to just one of those could be the entire problem. -E On Jun 10, 11:00 am, svebee sven.kapud...@gmail.com wrote: if you had a png that was mostly white so

[android-developers] OutOfMemoryError

2010-06-10 Thread svebee
hello, as I'm beginner in Android I have problem with memory - after only 2-3 minutes I get Force Close and outOfMemory Error. I have only onCreate (I know, stupid, but I didn't knew for anything else as I started only few weeks ago) and inside I have... @Override public void onCreate(Bundle

[android-developers] Re: OutOfMemoryError

2010-06-10 Thread svebee
But without more information it's hard to be sure -E On Jun 10, 7:28 am, svebee sven.kapud...@gmail.com wrote: hello, as I'm beginner in Android I have problem with memory - after only 2-3 minutes I get Force Close and outOfMemory Error. I have only onCreate (I know, stupid, but I didn't

[android-developers] Re: Tabwidget graphical issues. Showing a thick white line??

2010-05-24 Thread svebee
Did you solve it? I have the same problem... On Apr 21, 8:24 pm, Stephen stephen.wil...@gmail.com wrote: Having just moved to an Android 2.1u1 HTC Desire from an Android 1.5 HTC Hero, I've noticed that there a weird behaviour from TabWidget in that it shows a thick white line under the tabs