[android-developers] Re: Physics engines for Android

2009-10-09 Thread André
I've heard that somebody ported C++ Box2d physics engine to NDK which sounds quite good in terms of performance. Maybe check the NDK group, too? http://groups.google.com/group/android-ndk/browse_thread/thread/10f2e02c5d6857cb/23b7a4ef343a54ed -- André http://android.rabold.org On 9 Okt., 19

[android-developers] Re: Advice on Beta Release

2009-10-16 Thread André
it to the Google Android Market finally. -- André http://android.rabold.org On 15 Okt., 21:57, Smelly Eddie ollit...@gmail.com wrote: SO i have an application that is doing pretty well on my dev. device, and it is almost ready for prime time. Trouble is I am only one man, so I would like

[android-developers] Re: How to start a service without using any activity??

2009-10-16 Thread André
starts it will simply connect to the already running service again. That's exactly what I'm doing in my current project. I suggest you check out the Remote Service Tutorial over at anddev.org - It should give you a quite good start: http://www.anddev.org/remote_service_tutorial-t8127.html -- André

[android-developers] Re: Android Market Anti-Piracy

2009-11-17 Thread André
to your company and your products, make them use your app as often as possible and cross-market your other stuff. Try to retain your customers. My former boss once told me that he prefers people pirating his own product to people installing a competitive one. There's a lot of truth in this :) -- André

[android-developers] Re: ADC 2 and Android Market Place Application Error

2009-11-26 Thread André
Google stated in the ADC2 guidelines that you will you will not be able to use the same package name for both your ADC2 submission and your android market submission. So I doubt you will be able to submit your unchanged app anytime soon. Maybe after ADC2 is completely over?! -- André http

[android-developers] custom soft keyboard

2010-01-29 Thread André
Hello, is it possible to have a custom soft keyboard included in your apk? And also, is it possible to have a custom candidateView included in your apk? If so, can anyone point me in the right direction for it? regards André -- You received this message because you are subscribed

[android-developers] Dialog problem

2010-02-09 Thread André
everything seems to go as it should but when it gets to return dialog; eclipse debug windows says source not found. Anyone have any suggestions? regards André package com.test.popup; import android.app.Activity; import android.app.Dialog; import android.content.Context; import android.os.Bundle

[android-developers] Re: Dialog problem

2010-02-09 Thread André
Oooh, I tried to follow this explanation: http://developer.android.com/intl/de/guide/topics/ui/dialogs.html#CustomDialog if anyone wants to have a look at it! On Feb 9, 10:24 pm, André pha...@hotmail.com wrote: Hello, I'm trying to make a dialog box to open when I start a program. Eclipse

[android-developers] Re: Dialog problem

2010-02-09 Thread André
Really? Yeah, now I saw your other replies. You are the man! Thanks! On Feb 9, 10:32 pm, TreKing treking...@gmail.com wrote: On Tue, Feb 9, 2010 at 3:24 PM, André pha...@hotmail.com wrote:  Context mContext = getApplicationContext(); You're probably seeing something about a BadToken

[android-developers] multiple buttons + dialog box

2010-02-10 Thread André
use the same line but place it in the Dialog method. But I was wrong. I this it's the (this) that is wrong. Bellow is my code and I have marked the line where eclipse debug reacts. Or maybe you pro's see some thing else that I did totally wrong? regards André ... public class ButtonTest1 extends

[android-developers] Re: multiple buttons + dialog box

2010-02-10 Thread André
Thanks for you reply Chrigi! I tried what you suggested but the problem still looks exactly the same. Would you happen to have any other suggestions? Cheers André On Feb 10, 2:01 pm, Christoph Renner chrigi.ren...@gmail.com wrote: Hi Andre I assume that buton 3-6 are in R.layout.poput_new

[android-developers] Re: multiple buttons + dialog box

2010-02-10 Thread André
error or is an exception thrown when executing? In both cases, an error message might be useful. Cheers, Chrigi On Wed, Feb 10, 2010 at 2:39 PM, André pha...@hotmail.com wrote: Thanks for you reply Chrigi! I tried what you suggested but the problem still looks exactly the same

[android-developers] Re: multiple buttons + dialog box

2010-02-10 Thread André
I've never used logcat before but I think I got it right. Here is a link to it: http://www.andreborud.com/android/trace2.txt Thanks André On Feb 10, 3:01 pm, Christoph Renner chrigi.ren...@gmail.com wrote: This is not really useful, could you use logcat (either in eclipse or by running adb

[android-developers] Re: multiple buttons + dialog box

2010-02-10 Thread André
your application crashes. On Wed, Feb 10, 2010 at 3:24 PM, André pha...@hotmail.com wrote: I've never used logcat before but I think I got it right. Here is a link to it: http://www.andreborud.com/android/trace2.txt Thanks André On Feb 10, 3:01 pm, Christoph Renner chrigi.ren

[android-developers] Re: multiple buttons + dialog box

2010-02-10 Thread André
to make a new xml file like popup_new but with a different name, but still the same problem. I also tried to change the name of the id in the xml file and myButtonTest1.java. Do you think it could be R.layout.popup_new that is faulty or the findviewbyid? André On Feb 10, 8:47 pm, Christoph Renner

[android-developers] Re: multiple buttons + dialog box

2010-02-10 Thread André
:45 PM, André pha...@hotmail.com wrote: Hi Chrigi, except for for the id name and the string name the button is an exact copy of button1 + 2. Eclipse accepts both popup_new and R.id.button3, it turns the text blue. Doesn't that mean it has found them? That simply means that some view has

[android-developers] Re: multiple buttons + dialog box

2010-02-10 Thread André
, Feb 10, 2010 at 10:43 PM, André pha...@hotmail.com wrote: No problem, here it is: LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android    android:orientation=vertical    android:layout_width=fill_parent    android:layout_height=fill_parent    android:padding=10dp

[android-developers] Re: multiple buttons + dialog box

2010-02-10 Thread André
That did it! Thanks a lot for your help Chrigi! Cheers André On Feb 10, 11:32 pm, Christoph Renner chrigi.ren...@gmail.com wrote: you need to use:         Button3 = (Button) dialog.findViewById(R.id.button3);         Button4 = (Button) dialog.findViewById(R.id.button4);         Button5

[android-developers] onListItemClick problem

2010-02-17 Thread André
Hello, I have a listview that shows files in a specified folder which works. But what I can't figure out is in the onListItemClick method. How can I get the name of the selected file in the ListView from the ArrayAdapter instead of the position or id? Any suggestion? public void

[android-developers] Re: onListItemClick problem

2010-02-17 Thread André
PM, André pha...@hotmail.com wrote: Hello, I have a listview that shows files in a specified folder which works. But what I can't figure out is in the onListItemClick method. How can I get the name of the selected file in the ListView from the ArrayAdapter instead of the position or id

[android-developers] how to read a String into an EditText window?

2010-02-17 Thread André
? regards André -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more

[android-developers] Re: how to read a String into an EditText window?

2010-02-17 Thread André
. Any suggestions? regards André On Feb 17, 8:48 pm, TreKing treking...@gmail.com wrote: On Wed, Feb 17, 2010 at 1:35 PM, André pha...@hotmail.com wrote: but set text doesn't seem to like strings. Does anyone have any suggestions of what I can use to get the string in to my EditText window

[android-developers] Re: how to read a String into an EditText window?

2010-02-17 Thread André
string3 is a string have have read from a file on the sdcard. On Feb 17, 9:11 pm, Mark Murphy mmur...@commonsware.com wrote: Andr wrote: I get a little wavy read line under getString, and inte the yellow popupwindow in eclipse i get this text: The method getString(int) in the type

[android-developers] Re: how to read a String into an EditText window?

2010-02-17 Thread André
Right, that was way simpler than I thought! Thanks! On Feb 17, 9:22 pm, TreKing treking...@gmail.com wrote: On Wed, Feb 17, 2010 at 2:18 PM, André pha...@hotmail.com wrote: string3 is a string have have read from a file on the sdcard. Then just do editTextW.setText(string3); getString(int

[android-developers] read text from file

2010-02-17 Thread André
What do I do to be able to read all lines from a file? With this code I have below I can only get the first line of the txt file when I use mReadString later on. Am I doing something wrong? Or is there another way? Regards André File f = new File(Environment.getExternalStorageDirectory

[android-developers] Re: read text from file

2010-02-17 Thread André
Hi Barna, how do I call readLine more times in a nice way? André On Feb 17, 11:21 pm, Csenteri Barna br...@mini-box.com wrote: Did You tried to call readLine more times till You get end of file exception? As far as I remember from my Java experience readLine is intended to read only 1 line

[android-developers] Re: read text from file

2010-02-17 Thread André
Thanks both of you! Sorry but I am still quite new to android. When I try this eclipse doesn't like process in the while loop, I have never used this before so I'm not sure how that works. Nice red line under it. Any suggestions? André On Feb 17, 11:26 pm, Csenteri Barna br...@mini-box.com

[android-developers] Downloadable apks

2010-02-21 Thread André
device to device? regards André -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr

[android-developers] Re: Downloadable apks

2010-02-21 Thread André
Thats a good solution! Thanks! On Feb 21, 2:13 pm, Mark Murphy mmur...@commonsware.com wrote: Andr wrote: I have noticed that some apk's that cost money on android market are available to download from some torrent sites for free. I don't think many of the developers here enjoys that very

[android-developers] Insert symbol in edittext window

2010-02-23 Thread André
Hello, I have an EditText window that I want to insert a symbol in by pressing a button. I have tried edittext.appen(thesymbol); this works. But it only inserts the symbol in the end. I want it to insert the symbol where the marker is. How can I do this in a simple way? André -- You received

[android-developers] Insert symbol in edittext window

2010-02-24 Thread André
(); mEditText.append(¤, mCursorS, mCursorE+1); This only works the first click but forces the application to shut down on the second click. I have also tried: char[] ch = new char[1]; ch[0] = '¤'; mEditText.setText(ch, mCursorS, 1); Almost the same problem. Anyone who knows how to do this? André -- You

[android-developers] Regarding Marketing and Distribution for Games

2008-04-26 Thread André
As someone very interested in using the Android Mobile Platform for Online Gaming, I was wondering where one should look for Marketing and Distribution resources. Thanks in advance. André --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Regarding Marketing and Distribution for Games

2008-04-26 Thread André
As someone very interested in using the Android Mobile Platform for Online Gaming, I was wondering where one should look for Marketing and Distribution resources. Thanks in advance. André --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Problem with the Emulator

2009-12-22 Thread André
the same problem. Does anyone know what I do wrong? André -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers

[android-developers] Re: Anyone noticing more uninstalls of their app than usual over last weekend/today?

2009-12-26 Thread André
Had the same issue with a paid app. It dropped from 59% to 36% active installs overnight. However everything seems back to normal value now. -- André http://android.rabold.org On 27 Dez., 06:33, Jeffrey jeffisagen...@gmail.com wrote: I noticed that too on my paid app, I was at 23 of 24 active

[android-developers] Re: Google Marketplace Chargeback Fee

2009-12-26 Thread André
the 24h have passed there's a fine if you're refunding a customer's purchase. This is called the chargeback fee you're speaking about. Best, -- André http://android.rabold.org On 27 Dez., 00:47, Craigo craig...@gmail.com wrote: Hi, I'm trying to understand the Google Marketplace Chargeback Fee

[android-developers] Update progressbar in custom dialog

2010-08-20 Thread André
, onProgressUpdate(): + String.valueOf(values[0])); } Happy for any answers. Thanks André -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group

[android-developers] EditText resize problem

2010-04-24 Thread André
in the Edittext view is on one line. Is there some settings I can do to fix this or is it just a bug for me? André -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe

[android-developers] Re: EditText resize problem

2010-04-25 Thread André
Ok, thanks. Do you know how to disable it only in landscape mode? André On Apr 24, 9:17 pm, Kumar Bibek coomar@gmail.com wrote: This is the default behaviour if you have an on screen keyboard while in landscape mode. Try disabling the on-screen keyboard in landscape mode. Thanks

[android-developers] Problem with Saving and opening file on moto-droid

2010-05-03 Thread André
Hello, I have an app that can read and write txt files to the phones sdcard. By using this code for reading files: @Override protected void onListItemClick(ListView l, View v, int position, long id) { super.onListItemClick(l, v, position, id);

[android-developers] Re: Problem with Saving and opening file on moto-droid

2010-05-03 Thread André
Sorry, it force closes on reading in a file. And can't write to sdcard on write. On May 3, 10:48 pm, TreKing treking...@gmail.com wrote: On Mon, May 3, 2010 at 3:40 PM, André pha...@hotmail.com wrote: Any suggestions? Define it does not seem to be working on moto droid

[android-developers] Re: Problem with Saving and opening file on moto-droid

2010-05-04 Thread André
No one knows why this could be? This is all the information I have since I don't own a moto droid myself. I only got this from 5 different comments in the android market. Has any one experienced this before? On May 3, 11:50 pm, André pha...@hotmail.com wrote: Sorry, it force closes on reading

[android-developers] Re: Problem with Saving and opening file on moto-droid

2010-05-06 Thread André
. So far I have got reports of this problem on moto droid, htc hero sprint and g1. -André On May 5, 11:04 pm, niko20 nikolatesl...@yahoo.com wrote: As mentioned, on Android 1.6 and up your app needs to declare the WRITE_EXTERNAL_STORAGE permission in it's manifest file or all sdcard write calls

[android-developers] Re: Problem with Saving and opening file on moto-droid

2010-05-06 Thread André
=android.permission.WRITE_EXTERNAL_STORAGE / /manifest On May 6, 8:02 pm, TreKing treking...@gmail.com wrote: On Thu, May 6, 2010 at 11:49 AM, André pha...@hotmail.com wrote: Does it matter where I declare it in the file? Well, yeah - you can't just put it anywhere. Maybe post that part of your manifest to double

[android-developers] Re: Problem with Saving and opening file on moto-droid

2010-05-07 Thread André
That was the problem! I had the permissions line in the wrong place. And then it apparently works on 1.6 phones but not phones with a newer version of android! -André On May 6, 9:54 pm, TreKing treking...@gmail.com wrote: On Thu, May 6, 2010 at 2:26 PM, André pha...@hotmail.com wrote

[android-developers] Hide context menu

2010-07-26 Thread André
the calculations() method. The problem is that I can only see the context menu while the calculations are being made and the phone is more or less frozen. Does anyone have an idea how to solve this problem? /André -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] AppBrain: Programmatic download install of Market apps

2010-07-28 Thread André
of installing applications on the phone without requiring any user input (e.g. manually selecting download etc. like when using the market:// details?... type of intent). I wonder how this might work in detail and would greatly appreciate any hint on this topic. -- André http://android.rabold.org

[android-developers] Re: Hide context menu

2010-07-31 Thread André
Thanks for a quick answer! Sorry for slow reply! Nice word, I'll try it! On Jul 26, 3:25 pm, TreKing treking...@gmail.com wrote: On Mon, Jul 26, 2010 at 8:21 AM, André pha...@hotmail.com wrote: Does anyone have an idea how to solve this problem? One word: AsyncTask

[android-developers] problem with AsyncTask

2010-09-10 Thread André
onCancelled. Can anyone wee what I'm doing wrong? /André protected class DownloadTask extends AsyncTaskContext, Integer, Void{ private Dialog dialogD; private ProgressBar downloadBar; private ImageButton cancel; OnClickListener listen = new

[android-developers] Issue with orientation change: Dialog above activity with fixed orientation

2009-05-15 Thread André
Hi all, I have created an activity for my game which handles all orientation changes by itself and has a fixed portrait layout. Actually it uses the accelerometer and is rendered using 2D canvas methods. If the level has been completed I show up a highscore dialog in which the user can enter his

[android-developers] Re: Issue with orientation change: Dialog above activity with fixed orientation

2009-05-16 Thread André
of the activity to the one providing the behavior you want. On Thu, May 14, 2009 at 9:11 AM, André andre.rab...@googlemail.com wrote: Hi all, I have created an activity for my game which handles all orientation changes by itself and has a fixed portrait layout. Actually it uses

[android-developers] Re: Loading bitmap: java.lang.OutOfMemoryError: bitmap size

2009-05-18 Thread André
= mContext.getContentResolver ().openInputStream(bitmapUri); BitmapFactory.Options opts = new BitmapFactory.Options(); opts.inSampleSize = 4; // specify whatever matches your needs Bitmap bitmap = BitmapFactory.decodeStream(bitmapInputStream, null, opts); -- Have fun, André On 18 Mai, 19:03, Tjerk

[android-developers] Re: Rendering of Android User Interface on different devices.

2009-06-06 Thread André
Puzzle Blox scales itself automatically depending upon the resolution: the larger the screen, the larger the graphics are being scaled. It's a different mechanism than in Robo Defense as mentioned by Mark. -- André http://android.rabold.org On 6 Jun., 17:07, Mark Murphy mmur...@commonsware.com

[android-developers] Scrollview

2010-12-16 Thread André
scroll by it self so that the line numbers doesn't match. Is there a way to disable scrolling in a edittext? Or does anyone have any other suggestions how to solve this? André -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Edittext singleline in landscape

2010-12-16 Thread André
Hi, How can I disable the singleline thing in Edittext when editing in landscape mode? I have tried android:singleLine=false in the xml file and it doesn't work. Any suggestions? André -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] onDestroy() and finish()

2010-12-21 Thread André
. André -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options

[android-developers] Re: onDestroy() and finish()

2010-12-21 Thread André
Thanks guys. This was good to know! On Dec 21, 4:26 pm, Kostya Vasilyev kmans...@gmail.com wrote: 21.12.2010 18:12, Leon Moreyn-Android Development пишет: If you want to verify in theory that you app has shut down put a log into the onDestroy() and have it log that the processes are all

[android-developers] app2sd - not working

2011-01-05 Thread André
I've just updated my app so the user can choose to install it on the sd card or not. But I keep getting some comments that it's not possible for them to install it on the sd card. Can anyone see if I've made anything wrong or if you have any other suggestions? André ?xml version=1.0 encoding=utf

[android-developers] Re: app2sd - not working

2011-01-05 Thread André
: Just a guess: the problem might be here: uses-sdk android:minSdkVersion=4 / you should probably also specify the targetSdkVersion to be = 8. Again, it's just a guess ;) On Wed, Jan 5, 2011 at 11:51 AM, André pha...@hotmail.com wrote: I've just updated my app so the user can choose

[android-developers] Re: app2sd - not working

2011-01-05 Thread André
So what could be the problem if I have minsdkversion 4 and put targetversion 8 On Jan 5, 12:59 pm, Marcin Orlowski webnet.andr...@gmail.com wrote: Yes it would filter your app out. android:installLocation does not need target sdk to be 8 or higher. It's safe to have it in Manifest and still

[android-developers] APKTool - decoding our apps

2010-05-11 Thread André
this being able to decode and open them? -André -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr

[android-developers] Re: APKTool - decoding our apps

2010-05-11 Thread André
. It could be used for localizing, adding some features or support for custom platforms and other GOOD purposes. Baloney. Reengineering itself is an illegal use. There is no GOOD purpose it should be used for. It is a piracy tool pure and simple. Nathan On May 11, 8:28 am, André pha

[android-developers] Re: APKTool - decoding our apps

2010-05-11 Thread André
That looks good. But I have no idea how to use it? I've been trying to find a tutorial for it. Have you found that? -André On May 11, 6:09 pm, pacoder sove...@gmail.com wrote: Has anyone tried using an obfuscator on their app before apk'ing it? Something likehttp://proguard.sourceforge.net

[android-developers] Keyboard and EditText in landscape

2010-05-26 Thread André
Hello, 1. How do I keep multiple lines in an edittext in landscape view? 2. How can I turn off the softkeyboard only in landscape view? -André -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] two listviews

2010-06-11 Thread André
. Thanks André -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more

[android-developers] Re: two listviews

2010-06-11 Thread André
Thanks Mark, I will give it a go! On Jun 11, 12:42 pm, Mark Murphy mmur...@commonsware.com wrote: Andr wrote: What I don't know if it's possible is if I can have two different context menus for the two lists? Yes. And second, is there a way to check in which of the two lists the user

[android-developers] Edittext max characters - not set max

2011-01-26 Thread André
Is there a limit on how many characters and or lines you can have in an edittext? Or is it unlimited? //André -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

[android-developers] Re: Edittext max characters - not set max

2011-01-26 Thread André
or chunks. On Jan 26, 1:05 pm, Marcin Orlowski webnet.andr...@gmail.com wrote: On 26 January 2011 18:27, André pha...@hotmail.com wrote: Is there a limit on how many characters and or lines you can have in an edittext? Or is it unlimited? http://developer.android.com/reference/android

[android-developers] SQL query

2011-01-29 Thread André
the entry I already have there when I search for it. Any suggestions? //André -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

[android-developers] Re: SQL query

2011-01-29 Thread André
if (recentC.getCount() != 0) { On Jan 29, 8:41 am, André pha...@hotmail.com wrote: This is doing my head in. I have a database where there is currently one entry. What I want to do is to check if this entry exists. If it does I want to update it, if not create a new one. recentC

[android-developers] Re: SQL query

2011-01-29 Thread André
call recentC.getLong(recentC.getColumnIndexOrThrow, make sure you've moved the cursor to the first row. -- Kostya 29.01.2011 18:02, André пишет: Thanks for quick answers guys! It works very well with getCount(). Do you have any suggestions about the query thou? Because it still

[android-developers] database values to string[]

2011-01-29 Thread André
Is there a simple way to get all my values from a column in my database to a String[] without having to use simpleCursorAdapter? When I try: String[] from = new String[]{dbManager.NAME}; I only get the name of the column. I'd appreciate any suggestions! //André -- You received this message

[android-developers] Disable autosuggest/correct

2011-02-09 Thread André
of how to do that? //André -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com

[android-developers] Read files to edittext

2011-02-09 Thread André
exactly to 9000 bytes and 237 lines Does any one have a better suggestion of how to do this so I can read larger files? //André -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers

[android-developers] Re: Disable autosuggest/correct

2011-02-09 Thread André
, but still gives suggestions with the Mobidiv Keyboard. So it looks to be up to the IME to respect that flag, and if it ignores it, then well, it ignores it. -- Kostya 09.02.2011 20:54, André пишет: I have an edittext where i want the user to have the choice to turn off the autosuggest when

[android-developers] Re: Disable autosuggest/correct

2011-02-09 Thread André
That doesn't work when I try it on my Desire. Could that be because HTC has change their version of android a little? // André On Feb 9, 7:38 pm, Kostya Vasilyev kmans...@gmail.com wrote: Umm, you call setInputType with flags according to this: http://developer.android.com/reference/android

[android-developers] Re: Disable autosuggest/correct

2011-02-09 Thread André
? :) -- Kostya 09.02.2011 21:50, André пишет: That doesn't work when I try it on my Desire. Could that be because HTC has change their version of android a little? // André On Feb 9, 7:38 pm, Kostya Vasilyevkmans...@gmail.com  wrote: Umm, you call setInputType with flags

[android-developers] Re: Read files to edittext

2011-02-09 Thread André
Didn't think about stringbuilder when I did it. But I'll try it! Does anyone else have any suggestions about size limitations? //André On Feb 9, 8:16 pm, Kostya Vasilyev kmans...@gmail.com wrote: Can't speak for size limitations, but why are putting the data into a vector, and appending

[android-developers] Probelm with getting posts from database

2011-02-10 Thread André
();cursor.isAfterLast()) { String name = cursor.getString(cursor.getColumnIndex(db._TEXT)); strings1.add(name); } String[] mPath = (String[]) strings1.toArray(new String[strings1.size()]); // André -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Probelm with getting posts from database

2011-02-10 Thread André
as in it. And then it works fine. I guess it skips the first post in cursor when I call moveToNext in while. And it probably did the same in my old code. //André On Feb 10, 12:18 pm, Kostya Vasilyev kmans...@gmail.com wrote: This for loop looks really strange: for(cursor.moveToFirst(); cursor.moveToNext

[android-developers] Re: Probelm with getting posts from database

2011-02-10 Thread André
My misstake! I didn't remove cursor.moveToFirst(); So that must have been the problem all the time. It does return -1. After move to first its 0. Works fine now! //André On Feb 10, 1:22 pm, Kostya Vasilyev kmans...@gmail.com wrote: Interesting. The docs specifically say that query() returns

[android-developers] Re: Packaging SQLite DB for deployment

2009-07-10 Thread André
Or, if you are working with the SQLiteOpenHelper base class, then you could export your DB to a text file (including CREATE TABLE, INSERT, etc.), place this in your assets folder and import the file in the overridden onCreate method of SQLiteOpenHelper. -- André http://android.rabold.org On 10

[android-developers] program crash on moto droid and g1

2010-03-16 Thread André
be? André -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options

[android-developers] Sound output

2010-03-26 Thread André
Hi, I'm wondering if there is a way of choosing your sound/audio output source for a audio file or the text to speech function to ear speaker instead of the louder back speaker? Been looking around for it but can't find an answer for it. André -- You received this message because you

[android-developers] indexOf(ENTER)

2011-02-21 Thread André
it to ignore that a go for the value 10 instead. (which is the value for new line if I remember correctly) Is this possible or should I use something else of string when I look for a new line? Appreciate any answers! //André -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: indexOf(ENTER)

2011-02-22 Thread André
that is a part of the text. Searching for char '\n' worked very well for that. Thanks both! On Feb 21, 10:18 pm, Kostya Vasilyev kmans...@gmail.com wrote: 21.02.2011 22:50, André пишет: But this string might include \n so I want it to ignore that a go for the value 10 instead. (which is the value

[android-developers] Portrait and Landscape layouts

2011-02-22 Thread André
setContentView(R.layout.main); from onCreate. Is there something vital I'm missing for this to work? //André -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

[android-developers] Re: Portrait and Landscape layouts

2011-02-22 Thread André
}} This is the part from the logcat where I think it crashes. Do you know what it means? //André On Feb 22, 2:29 pm, Kostya Vasilyev kmans...@gmail.com wrote: Something vital we're all missing is the logcat output from the crash :) It's also not necessary to have three versions of the same

[android-developers] Re: Portrait and Landscape layouts

2011-02-22 Thread André
}} This is what I got from the logcat. I think it is here it crashes. Can you read it? Because I don't understand much of it! //André On Feb 22, 2:26 pm, André pha...@hotmail.com wrote: I have a problem with the two layouts. When I rotate the phone from portrait to landscape (and vice versa) in my main

[android-developers] Re: Portrait and Landscape layouts

2011-02-22 Thread André
/dalvikvm(1213): GC_EXPLICIT freed 57 objects / 2544 bytes in 67ms Or does anyone know of a logcat translation page or just a place where I can read about how to read it? Because I don't understand a lot of it. //André On Feb 22, 3:03 pm, André pha...@hotmail.com wrote: 02-22 14:38:15.941

[android-developers] Re: Portrait and Landscape layouts

2011-02-22 Thread André
. On Tue, Feb 22, 2011 at 9:03 AM, André pha...@hotmail.com wrote: 02-22 14:38:15.941: VERBOSE/upgrading(1430): onConfigurationChanged to call verify locale 02-22 14:38:15.951: INFO/upgrading(1430): verifyLocale status: 0 02-22 14:38:15.951: INFO/upgrading(1430): verifyLocale providerLocale

[android-developers] Re: Portrait and Landscape layouts

2011-02-22 Thread André
Stupid miss of me. I had put finish() inside ondestroy. Not a good combination. But the verify locale en_ES is weird. I do have Spanish phone but the locale is set on English. Maybe thats what HTC does on their localized phones? //André On Feb 22, 3:45 pm, Kostya Vasilyev kmans...@gmail.com

[android-developers] Edittext landscape - not full screen

2011-03-02 Thread André
In my app my edittext changes to full screen when it's focused and in landscape. I have seen apps that has worked around some how so that the soft keyboard just ends up being on top of the edittext. Any suggestions of how I can achieve this? // André -- You received this message because you

[android-developers] Re: Edittext landscape - not full screen

2011-03-02 Thread André
The answer is this: mEditText.setImeOptions(EditorInfo.IME_FLAG_NO_EXTRACT_UI); if anyone else looks for it! On Mar 2, 10:40 am, André pha...@hotmail.com wrote: In my app my edittext changes to full screen when it's focused and in landscape. I have seen apps that has worked around some how

[android-developers] Reading files, cut off at 10kb on samsungs

2011-03-22 Thread André
Does anyone know why some samsung phones stops reading files at around 10kb? And what a solution could be? I am using this to open files right now which works on every other phone: FileInputStream fileIS = new FileInputStream(file); BufferedReader in = new BufferedReader(new

[android-developers] ActionBar Tabs

2011-05-10 Thread André
ideas of how I could achieve this? Regards André -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers

[android-developers] Where can I find the samsung android api docs?

2011-03-25 Thread André
but no one seems to know the answer. So instead, does anyone know a good place where I might find some answers to this problem? Cheers André -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] ActionBar Tabs Fragment EditText instance

2011-04-18 Thread André
I'm working on an app that has multiple tabs in the ActionBar in Honeycomb, every tab extends a fragment and every fragment is an instance of the same class. So in every fragment I have a edittext with the same name. What I want to do is to be able to do is to reach this edittext in the selected

[android-developers] Get the address from sms thread

2012-08-08 Thread ## André ##
content://sms/ Anyone can help me? Please tell me if i am not so clear Best Regards, André -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

[android-developers] Android: failed to setLocale() when constructing, closing the database

2011-10-04 Thread André
(DB_PATH + DATABASE_NAME, null, SQLiteDatabase.OPEN_READONLY); checkDB.close(); } catch (SQLiteException e) { } return checkDB != null ? true : false; } } //André -- You received this message because you are subscribed to the Google Groups Android Developers

  1   2   3   >