[android-developers] Re: Please help with an ideea

2010-12-10 Thread Alex Munteanu
It stills obsese me... :)) On Dec 8, 1:46 pm, Alex Munteanu alex.munte...@gmail.com wrote: This thing is starting to obsese me... :) I admit that I'm a beginer in Java and Android API but I can't imagine that nobody has a clear ideea how this damm filter is implemented ... : ( On Dec 7,

Re: [android-developers] Re: out of memory error

2010-12-10 Thread Brill Pappin
Of course. Don't load so much data into memory. i can't actually give you a solution to some code I have no idea what it does, except that is gets pushed into a buffer. Whatever your doing with that content, you obviously need to process it in smaller chunks. - brill -- You received this

[android-developers] Re: init.d

2010-12-10 Thread FrankG
Out of the scope of this group. Go to android-platform with this type of questions. On 8 Dez., 22:54, dlocated dloca...@gmail.com wrote: I have created an update.zip to install my cpu overclock script. I would also like to start this as a service using the init dir. How would I do this? From

[android-developers] Passing Arguments to service

2010-12-10 Thread Prabagaran Thangavel
Hi all, I have an activity from where I need to create a service. How to pass arguments to the Service which i am creating? With Regards, Prabagaran. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Market not updating?

2010-12-10 Thread LeX
But hey as Google always says, it's free, so be happy you can at least post your apps :D That is not true. It is not free: it costs 30% from your application sellings... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Again Back button issue

2010-12-10 Thread pramod.deore
Hi all, I am developing one application in that I am reading data from database and display it in list using SimpleCursorAdapter class. Last time when I had not used SimpleCursorAdapter class then that time list is not update instantly therefore this time I am using SimpleCursorAdapter.

Re: [android-developers] Again Back button issue

2010-12-10 Thread YuviDroid
Mmmm...it looks like you are still starting a new activity each time an item is deleted. Don't call startActivity(). On Fri, Dec 10, 2010 at 10:11 AM, pramod.deore deore.pramo...@gmail.comwrote: Hi all, I am developing one application in that I am reading data from database and display it in

[android-developers] Re: Again Back button issue

2010-12-10 Thread pramod.deore
Hi, Yuvidroid no I had not called startActivity. Here is my code public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); try { System.out.println (Inside try); //sampleDB =

Re: [android-developers] Re: Again Back button issue

2010-12-10 Thread YuviDroid
Ehmwhat's this: ? startActivity(getIntent()); //Restarts activity for menu refresh On Fri, Dec 10, 2010 at 10:24 AM, pramod.deore deore.pramo...@gmail.comwrote: Hi, Yuvidroid no I had not called startActivity. Here is my code public void onCreate(Bundle savedInstanceState) {

[android-developers] Re: Passing Arguments to service

2010-12-10 Thread MrChaz
Add it to the Intent that you're using to start the service. -- 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] Re: Again Back button issue

2010-12-10 Thread pramod.deore
Ohh!! I just coy and paste that previous code, and by mistake I forgot to remove that line. But now after removing startActivity(getIntent()); item is deleted but list is not updated instantly. I read somewhere I must have to use notifyDataSetChanged(); How to use this? On Dec 10, 2:29 pm,

[android-developers] Re: Adding buttons to a notification

2010-12-10 Thread MrChaz
From a poke around here: http://developer.android.com/guide/topics/ui/notifiers/notifications.html#CustomExpandedView it looks like you need to call setOnClickPendingIntent() on the RemoteViews passing the id of the button and a pending intent to handle the click. -- You received this message

[android-developers] Re: Market not updating?

2010-12-10 Thread Pent
There is something weird going on in the market.  Both of my apps' total counts went down today.  Active installs can drop but total count shouldn't! So I'm not going crazy. I thought the count had gone down by 1K, but wrote it of as me remembering the previous number wrongly. Pent -- You

[android-developers] Re: SDK 2.3: Get Multiple substitutions specified in non-positional format error

2010-12-10 Thread Ecthelion
On 9 Dez., 14:20, Mark Murphy mmur...@commonsware.com wrote: On Thu, Dec 9, 2010 at 3:50 AM, Ecthelion ep...@joergjahnke.de wrote: Brilliant. But that essentially means that I cannot be 100% sure that my changes would not cause undesired side effects. You can't be 100% sure of anything with

[android-developers] Re: Again Back button issue

2010-12-10 Thread pramod.deore
How to use notifyDataSetChanged(). On Dec 10, 2:46 pm, pramod.deore deore.pramo...@gmail.com wrote: Ohh!! I just coy and paste that previous code, and by mistake I forgot to remove that line. But now after removing startActivity(getIntent());  item is deleted but list is not updated

[android-developers] Can not find target after updating android 2.3 sdk

2010-12-10 Thread 陈彧堃
Under ubuntu 10.04 Eclipse, after updating to 2.3 sdk using Android SDK and AVD Manager, target can not display when setting sdk location, does anybody meet the same problem? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Problems changing the drawable on a Button

2010-12-10 Thread H
I think I tried using the same setCompundDrawables... method but it didn't work for me either. Here's how I've got two different buttons in my xml (which you should be able to convert into java easily). The first is a button with an icon to the left and text in the button as well, the other button

[android-developers] Re: Can not find target after updating android 2.3 sdk

2010-12-10 Thread pramod.deore
target location changes from android-sdk-windows\tools to android-sdk- windows\platform-tools. And you have to set path to this folder. But this is in Windows and I think in Ubuntu is also the same.(means only folder is changed and you have to set this path). On Dec 10, 3:48 pm, 陈彧堃

Re: [android-developers] Re: Market not updating?

2010-12-10 Thread David Erosa García
But hey as Google always says, it's free, so be happy you can at least post your apps :D Well, I had to pay $25 to be able to post and 30% of my sellings... ;) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] problem creating surface

2010-12-10 Thread Aswini Kumar Sahoo
Hello, I am trying to create surface object directly from native using following method: 1First i am creating a SurfaceComposerClient 2Then calling the createSurface() of the SurfaceComposerClient to get SurfaceControl. 3Then i am calling getSurface() of SurfaceControl to get the

[android-developers] how to use notifyDataSetChanged

2010-12-10 Thread pramod.deore
Hi I am reading data from database and displaying it in list. But this list is not update instantly so I had used SimpleCursorAdapter. But still it is not updated instantly. In documents I read that notifyDataSetChanged() is used for this pupose.But when I write this in my code still list is not

[android-developers] 3d flip between two views

2010-12-10 Thread ping
Hello, Is there an easy way to perform a 3d flip animation (on the x-axis) between two views? So i have a view ( actually a viewgroup) and an ImageView... By tapping on the Image the image should flip 180* and the other view should be desplayed. I looked through this code

[android-developers] Re: Problem with toggleSoftInput() doing nothing after a third-party startActivityForResult()

2010-12-10 Thread Peter Meijer
As an alternative to my posted code, I tried as a test example instead InputMethodManager imm = (InputMethodManager) getSystemService(INPUT_METHOD_SERVICE); CheckBox c = new CheckBox(this); addContentView(c,new

Re: [android-developers] 3d flip between two views

2010-12-10 Thread Kumar Bibek
http://www.inter-fuser.com/2009/08/android-animations-3d-flip.html Try this. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Fri, Dec 10, 2010 at 5:04 PM, ping bernd.warm...@gmail.com wrote: Hello, Is there an easy way to perform a 3d flip animation (on the x-axis)

[android-developers] CTS Error

2010-12-10 Thread KVR
Hi , How to kill a running CTS instance.Suppose one CTS instance is running on a terminal and if we abruptly close that terminal, that CTS instance will not be closed and when we try to start CTS again in a fresh terminal,we get this error[CTS_ERROR Error: CTS is being used at the moment. No more

[android-developers] WebView request monitoring

2010-12-10 Thread Neilz
Hi all. I open up an Activity with a WebView, and load up a URL which allows the user to fill in a form, going through a series of pages. I need to monitor the requests, to look at what stage of the process they're at, then act at a certain point. How can I get hold of the requests made by the

[android-developers] How to control the width and height of Alert dialog.

2010-12-10 Thread sat
AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.setTitle(Title); builder.setItems(items, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int item) {

[android-developers] Re: Android 2.3 SDK Emulator is very slow

2010-12-10 Thread George Moschovitis
Yeap, the emulator (and the whole plugin) run slower after the updated to the latest SDK. -g. -- 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

[android-developers] Re: Porting Javascript Application to Andriod

2010-12-10 Thread sat
Hi, You can check Binding JavaScript code to Android code in Android documentation. After Binding you can call Javascript function from Android code and vice versa. On Dec 9, 2:26 pm, cuil yahoo cuilya...@gmail.com wrote: Hey, We have an application written in Javascript. We want to port it to

[android-developers] Re: Bring the app to foreground

2010-12-10 Thread Colin W
I don't believe that android allows this. It is rather naughty of an app to force itself to the front. It should put a notification into the status bar and let the user decide - he/she may be dialling a number when it happens, very annoying! -- You received this message because you are

Re: [android-developers] Re: Maximum number of touch events Android can handle

2010-12-10 Thread TreKing
On Fri, Dec 10, 2010 at 1:05 AM, Paul pmmen...@gmail.com wrote: Any suggestions where to start digging through source? Haven't looked through it myself, but I would assume you can search through it. So I would start with multi touch and other variations.

[android-developers] how to play yuv file using surfaceflinger

2010-12-10 Thread venu
Hi all, I want to play yuv file in my android hardware using native code.How to develop the native code that directly talks to surfaceflinger to display yuv/rgb data. Actually it is the data comming from my camera which is stored in a file.I want to play the data using that file.My camera sensor

[android-developers] Re: how to play yuv file using surfaceflinger

2010-12-10 Thread venu
I forgot to put in my last post that i am using froyo 2.2. On Dec 10, 6:18 pm, venu venuthepo...@gmail.com wrote: Hi all, I want to play yuv file in my android hardware using native code.How to develop the native code that directly talks to surfaceflinger to display yuv/rgb data. Actually it

Re: [android-developers] WebView request monitoring

2010-12-10 Thread Mark Murphy
WebViewClient and shouldOverrideUrlLoading(). On Fri, Dec 10, 2010 at 7:31 AM, Neilz neilhorn...@gmail.com wrote: Hi all. I open up an Activity with a WebView, and load up a URL which allows the user to fill in a form, going through a series of pages. I need to monitor the requests, to look

Re: [android-developers] how to use notifyDataSetChanged

2010-12-10 Thread Mark Murphy
In your case, call requery() on the Cursor. The SimpleCursorAdapter and whatever it is attached to (e.g., ListView) will be updated automatically. On Fri, Dec 10, 2010 at 6:24 AM, pramod.deore deore.pramo...@gmail.com wrote: Hi I am reading data from database and displaying it in list. But this

Re: [android-developers] Re: Bring the app to foreground

2010-12-10 Thread Gergely Juhász
maybe try to send a startActivity intent for your acitivty On 10 December 2010 14:14, Colin W cpwern...@googlemail.com wrote: I don't believe that android allows this. It is rather naughty of an app to force itself to the front. It should put a notification into the status bar and let the

[android-developers] Re: Android 2.3 SDK Emulator is very slow

2010-12-10 Thread Alexei 'keyhell' Zhurba
My application is quite simple and small. Unlikely I will follow your way of doing things. Anyway, Thank you! Since emulator is very slow, I use my phone (Android 2.2) to debug my changes. It's enough for simple changes (those I don't expect differences between Android 2.1, 2.2 and 2.3). For

[android-developers] Re: Android 2.3 SDK Emulator is very slow

2010-12-10 Thread Alexei 'keyhell' Zhurba
Right. I also have my personal Android phone, which now saves me time. But I want to be able to use emulator. To debug without using my phone, to be sure my software runs everywhere (2.1, 2.2, 2.3). -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Can you trust the Android OS that comes from a Chinese Manufactures?

2010-12-10 Thread JP
On Dec 9, 3:29 pm, Dianne Hackborn hack...@android.com wrote: On Wed, Dec 8, 2010 at 11:51 AM, JP joachim.pfeif...@gmail.com wrote: 3. That also put the nail in the coffin of me using Android as a personal device. At long last, I went back to Symbian (I continue to develop on Android, of

[android-developers] Eclipse: Export signed application log

2010-12-10 Thread George Moschovitis
When trying to export a signed application using the latest SDK and Proguard I get an 'Export failed' message. Is there a way to see some kind of log file with a more detailed error message so that I can fix the problem? thanks, -g. -- You received this message because you are subscribed to

[android-developers] Authorizing Purchase problem

2010-12-10 Thread Pedro Duque
I just posted a application to Android Market: Live Gallery Gold. It's a paid live wallpaper that is using LVL to authenticate users. Now, when I try to buy my own application I get a server error at Authorizing Purchase. Is this normal? Can't I buy my own apps? Is it a problem related to LVL? I

[android-developers] Re: Dex not working with spaces in path on the new android platform tools (V8)

2010-12-10 Thread Omri
Hi, Anyone have any idea why this is happening and how to fix this? On Dec 8, 10:07 am, Omri omri.bau...@gmail.com wrote: On the new android platform tools (v8) released with the 2.3 SDK, I get an error while running dex from the ant script I typed the usual ant release, and got an error in

[android-developers] Re: What Tablet would you get

2010-12-10 Thread Phil Endecott
On Dec 9, 10:33 pm, Howard M. Harte hhar...@gmail.com wrote: Last, I bought the Vewsonic gTablet to debug some native code that was segfaulting on tegra2. The CPU is great, and I love that it has a USB host port, but now I'm convinced I'm not a fan of the 10 form factor. The biggest drawback

Re: [android-developers] Re: Dex not working with spaces in path on the new android platform tools (V8)

2010-12-10 Thread Mark Murphy
Move your project into a directory with no spaces in its path. I have run into this sort of problem a few times with Android, and with other tools, so I pretty much avoid any path with spaces in it for as much as possible. On Fri, Dec 10, 2010 at 8:57 AM, Omri omri.bau...@gmail.com wrote: Hi,

Re: [android-developers] Authorizing Purchase problem

2010-12-10 Thread TreKing
On Fri, Dec 10, 2010 at 7:55 AM, Pedro Duque pmdu...@gmail.com wrote: Is this normal? Yes. Can't I buy my own apps? Nope. Is it a problem related to LVL? Nope. - TreKing

Re: [android-developers] Authorizing Purchase problem

2010-12-10 Thread YuviDroid
AFAIK, you can't buy your own appsto do so use a different phone (and account..). On Fri, Dec 10, 2010 at 2:55 PM, Pedro Duque pmdu...@gmail.com wrote: I just posted a application to Android Market: Live Gallery Gold. It's a paid live wallpaper that is using LVL to authenticate users.

Re: [android-developers] Authorizing Purchase problem

2010-12-10 Thread TreKing
On Fri, Dec 10, 2010 at 7:55 AM, Pedro Duque pmdu...@gmail.com wrote: I just posted a application to Android Market: Live Gallery Gold. It's a paid live wallpaper that is using LVL to authenticate users. Also, if this is your first app or you haven't already, spend some time here:

[android-developers] Re: Can not find target after updating android 2.3 sdk

2010-12-10 Thread Gulfam
Hi, I have also faced the same issue, but after updating the ADT plugins, my issue has been resolved automatically:) Update your ADT plugins hope your prolem will be solved. Thanks, Gulfam On Dec 10, 3:55 pm, pramod.deore deore.pramo...@gmail.com wrote: target location changes from

[android-developers] Re: Repeating background does not repeat

2010-12-10 Thread Kwisatz
I have exactly the same problem as you. It happens in the emulator and on devices, from 1.6 to 2.2. I was searching the web for a solution, but found nothing so far. But it's nice to know that programmatically we can get an accurate effect. It will get ugly implementing this in the app, but thanks

[android-developers] Re: Eclipse: Export signed application log

2010-12-10 Thread H
Are you using windows..? If so, check to see if there is any space in the location of your workspace OR the temp folder. If either of these has a space in the full path then the call to proguard will fail. either move the workspace and your temp folder, or call the proguard manually or wait for

Re: [android-developers] Re: Dex not working with spaces in path on the new android platform tools (V8)

2010-12-10 Thread Omri Baumer
Yeah, thats +- what I'm doing as a work around. I used SysInternals junction to create a softlink to my building directory, but this seems a bit off, But this worked fine with the older SDK, just stoped now with V8, so I'm wondering if someone knows where its coming from, maybe theres an easy fix

[android-developers] Re: WebView request monitoring

2010-12-10 Thread Neilz
Thanks Mark. I notice this call works when I use loadData() but not when I use loadUrl(). In this case, it never gets called. I've searched a number of posts with people asking this, but haven't found a solution. Any ideas? On Dec 10, 1:24 pm, Mark Murphy mmur...@commonsware.com wrote:

Re: [android-developers] Re: WebView request monitoring

2010-12-10 Thread Mark Murphy
On Fri, Dec 10, 2010 at 9:28 AM, Neilz neilhorn...@gmail.com wrote: I notice this call works when I use loadData() but not when I use loadUrl(). In this case, it never gets called. It does not get called for the initial URL. I suppose they assume that if you are telling Android to load the URL,

[android-developers] Re: WebView request monitoring

2010-12-10 Thread Neilz
Hmm. You're right, of course, at least for some normal URL. But it doesn't work for mine. The URL I'm using is https... would that make a difference? On Dec 10, 2:42 pm, Mark Murphy mmur...@commonsware.com wrote: On Fri, Dec 10, 2010 at 9:28 AM, Neilz neilhorn...@gmail.com wrote: I notice

Re: [android-developers] Re: WebView request monitoring

2010-12-10 Thread Mark Murphy
On Fri, Dec 10, 2010 at 9:57 AM, Neilz neilhorn...@gmail.com wrote: Hmm. You're right, of course, at least for some normal URL. But it doesn't work for mine. The URL I'm using is https... would that make a difference? Conceivably. I haven't tried that combination. Also, I think

Re: [android-developers] Combining an image

2010-12-10 Thread TreKing
On Thu, Dec 9, 2010 at 10:34 PM, darrinps darri...@gmail.com wrote: Anyone know how to set them to where they butt up against one another in the middle to form one big photo? Try playing with padding and margins.

[android-developers] Re: WebView request monitoring

2010-12-10 Thread Neilz
Ah... that would be it then. This form is definitely posting data. Sooo... where do I go from here! On Dec 10, 3:08 pm, Mark Murphy mmur...@commonsware.com wrote: On Fri, Dec 10, 2010 at 9:57 AM, Neilz neilhorn...@gmail.com wrote: Hmm. You're right, of course, at least for some normal URL.

Re: [android-developers] Re: WebView request monitoring

2010-12-10 Thread Mark Murphy
On Fri, Dec 10, 2010 at 10:20 AM, Neilz neilhorn...@gmail.com wrote: Ah... that would be it then. This form is definitely posting data. Sooo... where do I go from here! If you have control over the Web content, you could use addJavascriptInterface() and arrange for communications that way.

[android-developers] Re: Authorizing Purchase problem

2010-12-10 Thread Brill Pappin
It's a policy limitation from Google Checkout (I just went through the same issue). If your like me, you want to be able to use your app so that you get a feel for what needs changing/fixing. What I ended up doing was to create a special flag that will disable the license check for private use.

Re: [android-developers] Highlighting an icon in a Gallery widget

2010-12-10 Thread TreKing
On Fri, Dec 10, 2010 at 1:07 AM, FractalBob ruom...@gmail.com wrote: How do I change the color? http://developer.android.com/reference/android/graphics/drawable/StateListDrawable.html - TreKing

Re: [android-developers] Re: Please help with an ideea

2010-12-10 Thread TreKing
On Fri, Dec 10, 2010 at 2:16 AM, Alex Munteanu alex.munte...@gmail.comwrote: It stills obsese me... :)) Well, sorry, but it doesn't obsese anyone else, apparently. Reread String's post. It still applies.

[android-developers] disable log messages dataCallback(16, 0x11af10) when using mCamera.setPreviewCallback(this);

2010-12-10 Thread andev
Im using Camera.setPreviewCallback method to retrieve all the camera frames on the onPreviewFrame on a 2.0.1 device. Im aware about the issue of GC interrupting on each frame on 2.2 platforms (http://code.google.com/p/android/issues/detail?id=2794) and I'm using the suggested work-around.

[android-developers] Re: Include .jar file in my project?

2010-12-10 Thread Hal
The following link may be useful http://developer.android.com/guide/appendix/faq/commontasks.html#addexternallibrary Hal - An intelligent Android - Jt framework application On Dec 9, 2:53 pm, Tobiah t...@tobiah.org wrote: If I have a .jar file that contains libraries that I want to use in my

[android-developers] Re: WebView request monitoring

2010-12-10 Thread Neilz
No, unfortunately I have no control over the web content. Hmm! On Dec 10, 3:25 pm, Mark Murphy mmur...@commonsware.com wrote: On Fri, Dec 10, 2010 at 10:20 AM, Neilz neilhorn...@gmail.com wrote: Ah... that would be it then. This form is definitely posting data. Sooo... where do I go from

[android-developers] Re: Not receiving webview's onClick and onLongClick events

2010-12-10 Thread John
I'm trying to do the same thing. I have a webview to display some text formatted with html markup including bold, italics, and line breaks.But I need to know when a user clicks on this text. I suppose I could add javascript to get the click and then have the javascript call back to the

[android-developers] Re: [android-porting] can't access SurfaceFlinger

2010-12-10 Thread Deva R
still the permission is failing on Permission.check() http://git.omapzoom.org/?p=platform/frameworks/base.git;a=blob;f=libs/surfaceflinger/SurfaceFlinger.cpp;h=6079a628f00762ed665205986aa6756617271422;hb=refs/heads/p-froyo#l1637 is this apk built separtely outside system build?? from past threads

Re: [android-developers] Highlighting an icon in a Gallery widget

2010-12-10 Thread FractalBob
Simple and elegant; thanks, TreKing. -- 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] Looking for intents to control a media player

2010-12-10 Thread neuromit
I'm trying to write a universal music widget, and struggline to figure out the best way to control the user specified music player without having to explicitly include coded dedicated to each media player in code. I'm hoping that there are generic intents that get passed on to the user specified

Re: [android-developers] Looking for intents to control a media player

2010-12-10 Thread TreKing
On Fri, Dec 10, 2010 at 10:15 AM, neuromit stuart.lay...@gmail.com wrote: I'm hoping that there are generic intents that get passed on to the user specified music player, however I haven't been able to figure out what they are. What you're describing doesn't really seem feasible. Anyone can

[android-developers] Re: Problems changing the drawable on a Button

2010-12-10 Thread neuromit
hmm... I'm not looking to create two seperate buttons, rather I would prefer to have a single button and change the drawable every time the button is clicked. On Dec 10, 5:50 am, H m...@howardb.com wrote: I think I tried using the same setCompundDrawables... method but it didn't work for me

Re: [android-developers] Re: Problems changing the drawable on a Button

2010-12-10 Thread TreKing
On Fri, Dec 10, 2010 at 10:19 AM, neuromit stuart.lay...@gmail.com wrote: I would prefer to have a single button and change the drawable every time the button is clicked. Deja Vu http://developer.android.com/reference/android/graphics/drawable/StateListDrawable.html

[android-developers] MediaPlayer is Hanging in reset call

2010-12-10 Thread John
VideoPlayerView = new VideoView(this); VideoPlayerView.setOnPreparedListener(VideoPrepared); VideoPlayerView.setOnCompletionListener(VideoFinished); VideoPlayerView.setOnErrorListener(VideoError); String VideoResourcePath =

[android-developers] HeaderView in ListView causing ClassCastException

2010-12-10 Thread bobetko
I have added a view to the header of my ListView by following way: ListView lv = (ListView)getListView(); View TopSearch = (View) View.inflate(this, R.layout.search, null); lv.addHeaderView(TopSearch, null, false); And everything is fine until I make changes to data

Re: [android-developers] Detecting the result of the enter key

2010-12-10 Thread Brill Pappin
Success! I was able to determine if I was in the SMS app and manually sent the shifted state, which allows the iuser to actually input a newline instead of sending the SMS message. - Brill Pappin -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Edditing cache xml file

2010-12-10 Thread Serdel
Hello, I am trying to write sth that is similar to a 'contact book' functionality. And I am wondering how to store the information data on the phone's hdd. The first thing that came to my mind is creating an xml file for this: I can add following elements like that: person number=01

Re: [android-developers] Detecting the result of the enter key

2010-12-10 Thread Brill Pappin
Ahh, except that other editors that use the IME option EditorInfo.TYPE_TEXT_VARIATION_SHORT_MESSAGE do not always work the same way, so for instance, it he GTalk client the message gets sent instead of adding a newline. So, I think the real problem here is that the apps themselves take liberties

Re: [android-developers] HeaderView in ListView causing ClassCastException

2010-12-10 Thread TreKing
On Fri, Dec 10, 2010 at 10:37 AM, bobetko bobe...@gmail.com wrote: Any suggestions? Post the full stack trace? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit

Re: [android-developers] Edditing cache xml file

2010-12-10 Thread TreKing
On Fri, Dec 10, 2010 at 10:38 AM, Serdel adam.lichwierow...@gmail.comwrote: Does any one have any other solutions? Use a database. - TreKing http://sites.google.com/site/rezmobileapps/treking -

[android-developers] ArrayList example

2010-12-10 Thread abhishek
please can any one please send asimple arraylist example ?? not from apis please send it fast ,it is urgent -- 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

[android-developers] Re: Detecting the result of the enter key

2010-12-10 Thread John
In my opinion the problem is the difficulty in programming for the soft keyboard. What developers would like, is to be able to program the soft keyboard as a nearly drop-in replacement for a hardware keyboard. Instead, the handling for the soft keyboard is quite different than a hardware keyboard.

[android-developers] Re: Highlighting an icon in a Gallery widget

2010-12-10 Thread viktor
I propose to you use an animation. On 10 Грд, 18:15, FractalBob ruom...@gmail.com wrote: Simple and elegant; thanks, TreKing. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] ArrayList example

2010-12-10 Thread Kumar Bibek
This is not the right place to ask this. Do a simple Google search, and you will find loads of them. Sorry. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Fri, Dec 10, 2010 at 10:55 PM, abhishek abhishek.patil.1...@gmail.comwrote: please can any one please send asimple

Re: [android-developers] problem in displaying the google maps

2010-12-10 Thread Rahul Garg
yeah Mark is right. Check whether there is connectivity available or not. Because I faced the same problem which sorted out after I put proper proxy setting as my PC was behind Proxy. -- Rahul -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: ArrayList example

2010-12-10 Thread abhishek
On Dec 10, 10:27 pm, Kumar Bibek coomar@gmail.com wrote: This is not the right place to ask this. Do a simple Google search, and you will find loads of them. Sorry. Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com On Fri, Dec 10, 2010 at 10:55 PM, abhishek

[android-developers] Re: Edditing cache xml file

2010-12-10 Thread viktor
TreKing is right, database is the fastest of your cases. Or, if you will use less objects you can use SharedPreferences. On 10 Грд, 19:19, TreKing treking...@gmail.com wrote: On Fri, Dec 10, 2010 at 10:38 AM, Serdel adam.lichwierow...@gmail.comwrote: Does any one have any other solutions?

Re: [android-developers] Eclipse: Export signed application log

2010-12-10 Thread George Moschovitis
No, I am using Ubuntu. Only a specific app fails, this isnt a general problem. But I need some kind of log to debug this. Anyone has an idea? On Friday, December 10, 2010, H m...@howardb.com wrote: Are you using windows..? If so, check to see if there is any space in the location of your

Re: [android-developers] Re: ArrayList example

2010-12-10 Thread Kumar Bibek
What exactly do you mean by that? Anything can be taken into an ArrayList. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Fri, Dec 10, 2010 at 11:02 PM, abhishek abhishek.patil.1...@gmail.comwrote: On Dec 10, 10:27 pm, Kumar Bibek coomar@gmail.com wrote: This is

[android-developers] Re: HeaderView in ListView causing ClassCastException

2010-12-10 Thread bobetko
Here it is: 12-10 11:35:28.111: ERROR/AndroidRuntime(25364): FATAL EXCEPTION: main 12-10 11:35:28.111: ERROR/AndroidRuntime(25364): java.lang.ClassCastException: android.widget.HeaderViewListAdapter 12-10 11:35:28.111: ERROR/AndroidRuntime(25364): at

Re: [android-developers] Re: ArrayList example

2010-12-10 Thread Abhishek Patil
On Fri, Dec 10, 2010 at 11:05 PM, Kumar Bibek coomar@gmail.com wrote: What exactly do you mean by that? Anything can be taken into an ArrayList. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Fri, Dec 10, 2010 at 11:02 PM, abhishek

Re: [android-developers] HeaderView in ListView causing ClassCastException

2010-12-10 Thread TreKing
On Fri, Dec 10, 2010 at 10:37 AM, bobetko bobe...@gmail.com wrote: Any suggestions? When do you set your adapter? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit

[android-developers] Re: How to control the width and height of Alert dialog.

2010-12-10 Thread viktor
Did you set layout after setting content view? It works for me, but I extend the Dialog. On 10 Грд, 14:39, sat sathvikm...@gmail.com wrote: AlertDialog.Builder builder = new AlertDialog.Builder(this);             builder.setTitle(Title);             builder.setItems(items, new

Re: [android-developers] Eclipse: Export signed application log

2010-12-10 Thread H
I couldn't find any log file either. I looked in the source for the adt BuildHelper (

[android-developers] invoking of native application by using intents

2010-12-10 Thread Arjun
Greetings, how to invoke application when user presses a link while he is browsing. For example: whenever user clicks on http://microsoft.com I want to launch my application. I have a intent filter with the following data scheme data scheme:http android:host:microsoft.com /, this is not

[android-developers] Re: HeaderView in ListView causing ClassCastException

2010-12-10 Thread bobetko
I set it in activity's OnCreate method with myAdapter = new myBaseAdapter(this); lv.setAdapter(myAdapter); and myAdapter is declared as private myBaseAdapter myAdapter; and visible in all activity methods. Then (maybe important) I have text watcher, which onTextChanged execute:

Re: [android-developers] Re: HeaderView in ListView causing ClassCastException

2010-12-10 Thread TreKing
On Fri, Dec 10, 2010 at 12:01 PM, bobetko bobe...@gmail.com wrote: I set it in activity's OnCreate method with myAdapter = new myBaseAdapter(this); lv.setAdapter(myAdapter); And where do you call setHeaderView in relation to this?

[android-developers] Re: HeaderView in ListView causing ClassCastException

2010-12-10 Thread John
This looks like the problem here. Is that your code? What is line 130? On Dec 10, 10:37 am, bobetko bobe...@gmail.com wrote: com.sanantonio.cvb.PropertyList$1.onTextChanged(PropertyList.java:130) -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Detecting the result of the enter key

2010-12-10 Thread Brill Pappin
I only partially agree with that. In this case I think the person who wrote the SMS app wanted it to work in a certain way, and did the most expedient thing, but still allowed a hard keyboard to enter the newline using the shift method. That's fine I guess and I can't really fault the developer

Re: [android-developers] Re: Authorizing Purchase problem

2010-12-10 Thread Pedro Duque
YuviDroid, Brill Pappin and TreKing thank you for your answers. It was really really helpful. I was worrying to have wasted all that develoment and testing time. Meanwhile the app is not showing in some devices, but I'll send another post. Thank you! Pedro Duque On 10 December 2010 15:37,

[android-developers] Re: HeaderView in ListView causing ClassCastException

2010-12-10 Thread bobetko
line 130 is this: ((Filterable) adapter).getFilter().filter(s); -- 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] Application unavailable in Android Market

2010-12-10 Thread Pedro Duque
Hi, I've two applications in Android Market, Live Gallery (com.portugalemgrande.LiveGallery) which is a free application and Live Gallery Gold (com.portugalemgrande.LiveGalleryGold) which is the paid version. Although I can see both of them in my phone (in Portugal) if I use a similar friend's

  1   2   3   >