[android-developers] Sqllite database join query

2010-05-12 Thread yves...@gmail.com
Hi, I already use getContentResolver().query(uri, null, null, null, null) to do a query. What if I have two databases, and I want to do one query on two databases and get one data set back? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] GLSurfaceView transparent bg within a ViewGroup

2010-05-12 Thread George
I am able to get a GLSurfaceView to have a transparent background with mGLSurfaceView.setEGLConfigChooser(8, 8, 8, 8, 16, 0); mGLSurfaceView.getHolder().setFormat(PixelFormat.TRANSLUCENT); when I set the Activity's window background to transparent and the GLSurfaceView is the

[android-developers] Re: drawable-hdpi not appearing in eclipse emulator

2010-05-12 Thread String
In fairness, Cameron, the docs don't actually say that android:anyDensity=false causes resources to be pulled from mdpi. The documentation for that attribute is buried in the middle of the Support for Multiple Screens page, and mostly talks about pixel density math. The confusion is compounded by

[android-developers] Re: Which device is best for testing development?

2010-05-12 Thread Ubuntu Explorer
Is it possible to use devices from Samsung or HTC? There seem to be many sites that provide easy ways to change the firmware version to 2.1 (though not reliably). On May 9, 9:16 am, TreKing treking...@gmail.com wrote: On Fri, May 7, 2010 at 1:14 AM, kevin0228ca kevin022...@gmail.com wrote:

[android-developers] I got an error when I was compiling the hero ROM.Need some helps.

2010-05-12 Thread 春 . 籽
make:***[out/host/linux-x86/obj/EXECUTABLES/etc1tool_intermediates/ etc1tool.o] error 1 Anyone got the same error?Please gave me an advice.Thank you very much -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] ListView created programmatical ly - emptyView doesn’t pop up

2010-05-12 Thread yorick
I've created custom ListView programmatically, and set view to pop up when ListAdapter is empty. But when data adapter is empty, nothing shows on the screen, what can be wrong? here is constructor's code: public PlayerList(Context context, Activity activity) { super(context); mParent =

[android-developers] Search for Midi Package

2010-05-12 Thread Rene Grothmann
I want to port this application/applet to Android http://mathsrv.ku-eichstaett.de/MGF/homes/grothmann/java/Eartrainer/index.html Besides the interface issue there is the problem of generating sound. In JSE I do that with javax using basically the following code: Synthesizer

[android-developers] Problem in the Notepadv3 tutorial code...

2010-05-12 Thread Raymond Ingles
I've been working through the Notepad tutorial ( http://developer.android.com/guide/tutorials/notepad/index.html ) and it's been helpful. I'm aware that the second version has a bug, that is fixed in the third stage. However, the third stage (Notepadv3) still has a problem: Choose Add Note,

Re: [android-developers] Problème wcf android

2010-05-12 Thread Douglas Drumond
2010/5/5 mia lamia.hann...@gmail.com: Bonjour Je veux appeller un service wcf (.net) depuis une application android. j'ai réussi à établir la connexion avec le service (après plusieurs ... Sorry, the language for this group is English. Please translate your post. -- Douglas Drumond -- You

[android-developers] Location Device and Information Usage

2010-05-12 Thread Dirac Comb
Hi, I have a few questions regarding the usage of localization in android applications: Are there any interfaces available to find out when an application uses location information? Is it possible to know if the application is using coarse or fine grained location information? Is it possible to

[android-developers] HTC Incredible - images not showing up in Gallery

2010-05-12 Thread Martiño
Hello, I'm making an alternative camera App. As you might expect my App involves taking pictures and saving them to the sdcard. On most phones (and the Emulator) everything works fine, pictures appear in the built-in Gallery App straight away. However on the HTC incredible images only appear

[android-developers] how can i get the android sources

2010-05-12 Thread 文敏 潘
hi: i am finding android sources many days , but only i can get is based on linux , where can i get the sources based on windows, i want lean more about android from sources, Have anybody can help me? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Scamble a Bitmap image

2010-05-12 Thread John Woods
I am new to android development. I have been asked to write an function to scramble a bitmap image. A user can then enter a password and the image will unscramble. I have managed to write the following code that works but takes way to long to execute due to the setPixels call. I was thinking of

[android-developers] Displaying the ProgressDialog from the OpenGL thread.

2010-05-12 Thread Dmitriy Shilonosov
Hi! Does anyone have expirience with opengl-ui-opengl threading interraction? I'am developing a small opengl application. I'am a little bit confused with separate opengl thread... Currently, my application is logically separated in two parts - the controlling one and the rendering one. The

[android-developers] Re: Your feedback on Samples/Tutorials/Articles

2010-05-12 Thread sorceror
On Mar 18, 6:38 pm, Megha Joshi mjo...@google.com wrote: As many of you might have noticed by now, we have added a new Resourceshttp://developer.android.com/resources/index.htmltab under developer.android.com. It contains samples, tutorials and technical articles. We want your feedback to add

[android-developers] Any body have an idea???

2010-05-12 Thread John Woods
I have been asked to write an function to scramble a bitmap image. A user can then enter a password and the image will unscramble. I have managed to write the following code that works but takes way to long to execute due to the setPixels call. I was thinking of an alternate solution of

[android-developers] accessing sqlite db

2010-05-12 Thread kamiseq
hi, Im starting with android and have few questions about database access. 1. Every tutorial I ve read (ie Notepad) that uses sqlite creates and opens connection via SQLiteOpenHelper in onCreate callback. but I really have never seen that the connection is closed (androids throws exceptions that

[android-developers] Re: Using same sqlite database from multiple Activities and Services

2010-05-12 Thread Jeremy
I'm not sure if you guys have looked into reference counting, but that sounds like a possible solution to me. If you use a static reference count in your database helper object, your close method can only close the connection if there's just one reference left. I'm actually still working through

[android-developers] EditTexts and ListViews

2010-05-12 Thread Anique
I just used multiple EditTexts in a ListView using SimpleAdapter. Problem is, when the user Edits the text how do I get the value. Can I get the reference of the editTexts from the simple Adapter? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Is SPP supported by Android BT API?

2010-05-12 Thread Pobudzio
Hello, I'm a little bit confused about supporting SPP by Android API(from level 5). As I understand it wasn't supported in versions before API level 5 what we can read in discussion below.(First Nick's post)

[android-developers] Question about registerReceiver

2010-05-12 Thread xiaodong yang
(1) IntentFilter filter = new IntentFilter(ACTION_A); activity.registerReceiver(mReceiver, filter); filter.addAction(ACTION_B); (2) IntentFilter filter = new IntentFilter(ACTION_A); filter.addAction(ACTION_B); activity.registerReceiver(mReceiver, filter); Do (1) and (2) have the same effect? Is

[android-developers] How to Play Mpeg2 Format Video

2010-05-12 Thread Arsalan
Hi , i want to play a mpeg2 video on android ..is there any support for mpeg2,or any way to play this format on android. any help is greatly appreciated thanks Arsalan. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Problems with span and onclick events

2010-05-12 Thread flippe...@gmail.com
Hi I have a problem, In my app I have a ListView where each item have inside a layaout with elements, one of this elements is a TextView and this text view have sometimes a spannableText (and this span is clickable span that it open a url.) The problems is the items from listview have an

[android-developers] Detect if Screen is locked (Live Wallpaper)

2010-05-12 Thread jenom
Hello, I'm currently implementing a live wallpaper. This is also visible, when the device is locked. Now I want to show different content, when it is locked but can't find a way to detect this. PowerManager can only change the settings and the wallpaperEngine only gives me a general

[android-developers] Android-NDK, porting openssl

2010-05-12 Thread Jiss
Hello everyone ! I hope you can help me, because I am losing my mind trying to port OpenSSL on Android I got the last release of the external package for android from this repository : http://github.com/android/platform_external_openssl and I tried to generate shared librairies to use them

[android-developers] How to retrieve log levels in Java ?

2010-05-12 Thread android_explorer
Hi, How do I retrieve a System property in android Java application ? Example I want to get the value of ro.debuggable. I tried System.getProperty(ro.debuggable) and it is returning null. Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Hebrew Fonts on Android 2.1

2010-05-12 Thread Lanpazi
I love my new HTC Incredible, but it is frustrating to not be able to read and respond to emails and Facebook content on a daily basis. It was easy to add Hebrew support on my previous phones (Palm Treo and Blackberry). How difficult is it for Google to provide the hooks to support fonts for one

[android-developers] How capacitive is capacitive?

2010-05-12 Thread mjpatey
This is a strange question... Is the capacitive touch feature of a Motorola Droid (or any other Android-based touchscreen device) able to detect and report a value for the level of capacitance of a given finger touch, or does Android simply report I just received a touch at (x, y)? Thanks in

[android-developers] mms forwarding

2010-05-12 Thread cassy
Is it actually impossible 2 fwd using the motorola droid? Don't tell me I bought a $300 phone that can't do what my kids $20 tracphone can. If this is true its a huge oversight, please fix! -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] To the moderator

2010-05-12 Thread Rene Grothmann
To the moderator: I posted a question to this group some days ago, but got no replay, nor did the message show up in the group list.. Since there were so many new topics since then, I wonder if my message was rejected. If so, it would be nice to get a message. R.G. -- You received this message

[android-developers] Get URL from Android Browser

2010-05-12 Thread mrzali
Hi Guys, I need a confirmation. I already did a google search but fail to find the answer. It's possible for developer to create an application (let say Application X) to get URL from Android Browser? Means each time a user browse the internet using Android Browser, Application X will capture the

[android-developers] Getting and sending Data From the Web (HTTPURLConnection via http)

2010-05-12 Thread strog
Hi people, I have built an android application that should act like a remote control. Therefore I use json for name and value pairs. In order to establish a connection I use the HTTPURLConnection from the android API and my program is very similar to the tutorial posted on this forum.

[android-developers] Single App Across Platforms.

2010-05-12 Thread Ubuntu Explorer
Hi, How does android make single app execute on multiple hardware devices. Does the Manifest have elements like screen size, resolution, CPU architecture etc? Regards, Sanjeev -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Getting checked items from a listview of checkboxes

2010-05-12 Thread Loogey
I have just got code working for this thanks to Romain Guy. See his solution at : http://groups.google.com/group/android-developers/browse_thread/thread/368d0bae027aab63/1c61f007e821ed2a?q=%22Getting+the+state+of+a+checkbox+inside+of+a+listview%22+%22Romain+Guy%22#1c61f007e821ed2a // Loogey --

[android-developers] turn off vibrate for incoming call

2010-05-12 Thread Ro_pR
Hi, I need turn off vibration for incoming call in my code, but it doesn´t function. I am use audioMgr.setVibrateSetting(AudioManager.VIBRATE_TYPE_RINGER, AudioManager.VIBRATE_SETTING_OFF); when I receive broadcast message for incoming call. Code for turn off sound function great, but for

[android-developers] audio player writing to AudioTrack

2010-05-12 Thread Jeffrey Palm
I've implemented an audio player that does decoding and decryption, so writes to an AudioTrack object. The decoding and decryption is done in native code. On the more powerful phones everything works fine, but on the lower-power (e.g. HTC my touch) phones when I switch activities the CPU becomes

Re: [android-developers] Re: Neighbouring Cell info - Clarification needed

2010-05-12 Thread Sebastian Ricaldoni
Perhaps this can help? http://wiki.howardforums.com/index.php/Cingular_SIM_Cards http://wiki.howardforums.com/index.php/Cingular_SIM_CardsRegards, Sebastian Ricaldoni On Mon, May 10, 2010 at 2:06 AM, Vinay S s.vinay@gmail.com wrote: Hi, Thanks for the reply. Actually, I am looking

[android-developers] MediaPlayer Resource Issue

2010-05-12 Thread rebeldev
Hello All, I'm hoping someone in this group could help me with a problem I'm currently encountering. I've created a soundboard application (Android 1.6). Sound board works great, and plays as expected. That is until you exit the app. When you leave the app, and then restart it, none of the

[android-developers] Set Title from a Tab child

2010-05-12 Thread oriharel
Hi, How do change the title from a child tab? I'm trying a naive approach (just setTitle(...)) and nothing. (setTitle(..) from the parent TabActivity does work). thanks, Ori -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] How to attach a debugger with monkey

2010-05-12 Thread navin
i want to attach a debugger with the monkey tool...can anyone tell me how it can be done?? i want to see the code flow actually , so if any one has any clues regarding that please share. thanks. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Regarding Battery drainage problem

2010-05-12 Thread Sun
My app in background is accessing minimum two times the network after each interval.Is it will drain the battery quickly ?If it's how can I solve the problem?Please help. Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] ANR when switching activities

2010-05-12 Thread dimple
My apk has an activity which may send an intent to open another activity of my co-worker's apk. When I manually switch these two activities between these two apks about 50 rounds, ANR shows. == The logs are attached below: 05-12 09:57:23.181

[android-developers] Saving mp3 on RAW uncompressed

2010-05-12 Thread ikalbeniz
Hi, I am trying to use a SoundPoll to play some sound when i press a button. So I have used the code taken from this page: http://www.anddev.org/using_soundpool_instead_of_mediaplayer-t3115.html When I try to run on my emulator I have this error: D/AndroidRuntime( 328): Shutting down VM

[android-developers] Marquee in various TextView at the same time?

2010-05-12 Thread Guillermo 'YaW' Andrades
Hi, I have a dinamic layout wich has one to six TextViews. All the TextViews are created in the Activity (programatically) and all are created equally. I want to marquee the text in the TextViews, but I don't know how to do it. Apparently, the TextView needs to be focused for the marquee works

[android-developers] Dynamically update preferences

2010-05-12 Thread Lars Nielsen Lind
Hi, we have an XML file placed in the res/xml folder containing our preferences. Is it possible at runtime to add new items to the preferences. Example: The user starts the app and the preferences consists of: America - New York - Los Angeles - Chicago Where all the cities are

[android-developers] Problem with startManagingCursor

2010-05-12 Thread BoD
Hello! I'm experiencing a problem that I fail to understand, maybe somebody can help. I'm using a MergeCursor in a ListActivity and a ResourceCursorAdapter. The MergeCursor consists of several Cursors that come from regular ContentProvider queries. After constructing the MergeCursor, I call

[android-developers] Re: [Help] Activity pause timeout for HistoryRecord -- Any idea how does this happen ?

2010-05-12 Thread Vincent Tsao
well , i see what' happens, render ListView with CursorAdapter cost too much time, i need improve the performance of Activity B, that's all -- 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] Sales down in may?

2010-05-12 Thread chris price
Hi Developers, I have seem my android sales for my apps fall about 50% in may on a per day basis, from around $40 per day (average in Feb and March) to $20 (first 10 days in May) My sales are many from US customers. Anyone else seem this behavior? thanks -- You received this message because

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

2010-05-12 Thread ko5tik
On 11 Mai, 18:00, Nathan critter...@crittermap.com wrote: 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. It depends on your jurisdiction. German common law actually allowsit in some cases ( to be honest

[android-developers] Re: draw a 2d marker on a openGL scene

2010-05-12 Thread Paolo
thanks Robert! I will try it soon! ;) On 10 Mag, 19:08, Robert Green rbgrn@gmail.com wrote: I couldn't find it either, hrmm  Anyway it's like this: gl.glMatrixMode(GL10.GL_PROJECTION); gl.glPushMatrix(); gl.glLoadIdentity(); GLU.gluOrtho2D(gl, 0, viewportWidth, viewportHeight, 0);

[android-developers] Strange Error: WIN DEATH: Window{44bba600 SurfaceView paused=false}

2010-05-12 Thread Renjith
Hi All, Can anyone tell me why this error occurs ? WIN DEATH: Window{44bba600 SurfaceView paused=false} I could run the same programing in HTC Magic and when it comes to Nexus one, this error occurs. Thanks in advance Ren -- You received this message because you are subscribed to the Google

[android-developers] Re: Nexus one gps issue

2010-05-12 Thread Namrata
thanks Streets, I will try this solution.. On May 11, 9:08 pm, Streets Of Boston flyingdutc...@gmail.com wrote: You probably do NOT want to put the starting and stopping of the location (GPS) providers in the onStart() and onStop(). The onStop() may not be called when your activity goes to

[android-developers] Dynamically add items to preferences

2010-05-12 Thread Lars Nielsen Lind
Hi, we have an XML file placed in the res/xml folder containing our preferences. Is it possible at runtime to add new items to the preferences. Example: The user starts the app and the preferences consists of: America - New York - Los Angeles - Chicago Where all the cities are

[android-developers] does android correct gps altitude ?

2010-05-12 Thread Yaya
Hi, i've decoded some nmea lines delivered by the location manager where i retrieved the longitude, latitude, altitude and others informations. Then i compared theses informations with those stored in a Location object that i got from a location listener. I found out that there is a difference

[android-developers] How Truncate Text With 3dots In Table Layout

2010-05-12 Thread Gulfam
Hi all, I am truncating the text in simple TextView as under TextView android:layout_width=fill_parent android:layout_height=wrap_content android:paddingTop=5dip android:paddingBottom=5dip android:paddingLeft=10dip android:textColor=#ff android:textSize=15sp

Re: RE : Re: [android-developers] starting an application with Android 1.5

2010-05-12 Thread Thierry Legras
I see now, the method i would like to use in 1.5 is setPackage not setComponent; sorry for the misunderstanding. I don't want to use setComponent because i don't know the classname to use (and i don't want to hardcode it as i guess it might change as it is an external application). And setPackage

[android-developers] Re: MediaPlayer pause on loop

2010-05-12 Thread mot12
It's a problem with the mp3 decoding. The bad news: You can't do it with mp3. The good news: Convert to ogg and it works like a charm. Martin mobitobi (Gentle Alarm, Sleep Now!) www.mobitobi.com -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: (Bug?) Back button triggers several times in different tasks

2010-05-12 Thread inbrain
Please read more carefully through my description. First I spawning ANOTHER activity in the same task and pressing BACK button while IT IS VISIBLE. BACK button triggers both on this activity (effectively closing it) and also shows toast (so triggers the second time) for the base activity (which is

Re: [android-developers] Dynamically add items to preferences

2010-05-12 Thread Mark Murphy
Lars Nielsen Lind wrote: Hi, we have an XML file placed in the res/xml folder containing our preferences. Is it possible at runtime to add new items to the preferences. In principle, you could do this by adding preferences via Java code instead of XML. However, IMHO, the roster of

Re: [android-developers] Re: (Bug?) Back button triggers several times in different tasks

2010-05-12 Thread Mark Murphy
inbrain wrote: Please read more carefully through my description. First I spawning ANOTHER activity in the same task and pressing BACK button while IT IS VISIBLE. BACK button triggers both on this activity (effectively closing it) and also shows toast (so triggers the second time) for the

[android-developers] Re: Widget like MapView

2010-05-12 Thread Ajay
Anybody has a clue? On May 12, 10:30 am, Ajay aja...@gmail.com wrote: Another related question: Is there a widget that can scroll diagonally? The only way I know to make a view scroll both horizontally and vertically is to have nested views like have a ScrollView inside a

Re: [android-developers] Re: Widget like MapView

2010-05-12 Thread Mark Murphy
Ajay wrote: Anybody has a clue? If you need help within six hours, please hire a consultant. Otherwise, please wait 24-48 hours before bumping your posts. Is there a widget that can scroll diagonally? There is no built-in widget that can scroll diagonally. I read some tutorial about

Re: [android-developers] MediaPlayer Resource Issue

2010-05-12 Thread Second Dancer
May be you have to release thr player before exiting On May 12, 2010 3:15 PM, rebeldev fa...@mobilefringe.com wrote: Hello All, I'm hoping someone in this group could help me with a problem I'm currently encountering. I've created a soundboard application (Android 1.6). Sound board works great,

[android-developers] Re: Socket + SurfaceView + multiplayer game problem. Need Help

2010-05-12 Thread croco
Hi Miguel, Thanks. do you recommend Local Androis Service or Remote Android Services design ? Thanks Luc On 23 avr, 01:30, Miguel Morales therevolti...@gmail.com wrote: Making a realtime action game will be difficult when you start to take into account network latency. Specially if you

Re: [android-developers] Dynamically add items to preferences

2010-05-12 Thread larsnielsenlind
Do you know how do it via Java code - what to look fore in API - links? 2010/5/12 Mark Murphy mmur...@commonsware.com Lars Nielsen Lind wrote: Hi, we have an XML file placed in the res/xml folder containing our preferences. Is it possible at runtime to add new items to the

Re: [android-developers] Sales down in may?

2010-05-12 Thread Greg Donald
On Wed, May 12, 2010 at 2:53 AM, chris price chris123pr...@googlemail.com wrote: Hi Developers, I have seem my android sales for my apps fall about 50% in may on a per day basis, from around $40 per day (average in Feb and March) to $20 (first 10 days in May) My sales are many from US

Re: [android-developers] Sales down in may?

2010-05-12 Thread jtwoods4
No one ever replies to posts on this forum. -- 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

Re: [android-developers] Dynamically add items to preferences

2010-05-12 Thread praveena ankitha
Hi, Using below code we add 6the elements to the spinner dynamically userDisplaySpinner = (Spinner) findViewById(R.id.*SpinnerInAddUsers*); ArrayAdapterString adapter2 = *new* ArrayAdapterString(*this* ,android.R.layout.*simple_spinner_item*, array);

[android-developers] Android fbconnect wall post

2010-05-12 Thread veradis
Hi, I am using Facebook Connect for Android library in my application (http://code.google.com/p/fbconnect-android/downloads/list). Its login is working properly but on clicking 'Get permission' says user needs to login. Also, in another activity of my app, after a process is completed, i want to

Re: [android-developers] Re: Repo error

2010-05-12 Thread Suchita Sharma
HI, Could you please share the command to install repo on Fedora.I am new to Fedora . On Fri, Jun 26, 2009 at 2:45 PM, Sivan sivaprasa...@gmail.com wrote: Dear All, This was due to the error in the repo file which was not downloaded correctly. After getting the correct repo file, repo was

[android-developers] Layout Issue: Status Bar Space Remains Empty || Status Bar Animation

2010-05-12 Thread Mariano Kamp
(1) I have an issue with the following code: getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); On my emulator this seems to work fine. The status bar disappears and the empty space is filled with the content view. However on my Nexus

[android-developers] Clarification on loading local images with WebView

2010-05-12 Thread Jeff
Hello all, I apologize if this is beating a dead horse, but I have been through the documentation and groups discussions over and over, and can't seem to resolve this issue What I want to do: - I am loading a remote web page into WebView using loadUrl() - example:

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

2010-05-12 Thread pacoder
Did you guys notice anything about ProGuard actually supporting encryption?  Nope.  It just says obfuscator. Hence why I put 'obfuscator', had I meant encryption I would have written that. Its pretty standard practice in the 'real world' to obfuscate byte code. Yes, it isn't encrypted, I have

Re: [android-developers] Clarification on loading local images with WebView

2010-05-12 Thread Mark Murphy
Jeff wrote: Hello all, I apologize if this is beating a dead horse, but I have been through the documentation and groups discussions over and over, and can't seem to resolve this issue What I want to do: - I am loading a remote web page into WebView using loadUrl() - example:

Re: [android-developers] ListView created programmat ically - emptyView doesn’t pop up

2010-05-12 Thread TreKing
On Sat, May 8, 2010 at 3:11 AM, yorick yuri.opo...@gmail.com wrote: what can be wrong? Try setting the empty view BEFORE setting the adapter, or call adapter.notifyDataSetChanged() after setting the empty view. Maybe this will trigger the change. Not sure. Also, your constructor takes a

Re: [android-developers] Re: Which device is best for testing development?

2010-05-12 Thread TreKing
On Sat, May 8, 2010 at 9:10 PM, Ubuntu Explorer ubuntuexplo...@gmail.comwrote: Is it possible to use devices from Samsung or HTC? You can use any Android-based phone for development. - TreKing -

[android-developers] Re: How to fix hit area after scaling

2010-05-12 Thread Jason Tomlinson
You need to scale your hit areas to match the canvas scaling. If you zoom in 2x on the canvas your hit area is now twice the size likewise if you zoomed out 2x then your hit area is half the size. On May 11, 2:52 pm, Jonathan jonathanmschm...@gmail.com wrote: I am scaling the canvas of a

Re: [android-developers] Regarding Battery drainage problem

2010-05-12 Thread TreKing
On Sun, May 9, 2010 at 8:19 AM, Sun a.sengupt...@gmail.com wrote: My app in background is accessing minimum two times the network after each interval. Is it will drain the battery quickly ? Is it might. Depends. What's an interval? A second? A year? And what are you doing with the data

[android-developers] Re: Connecting to bluetooth devices

2010-05-12 Thread Dan Forever
I can't believe I didn't look here earlier but I've found http://developer.android.com/reference/android/media/AudioManager.html which seems to have what I want in the form of void setBluetoothA2dpOn(boolean on). Unfortunately it also states This method is deprecated. Do not use. and doesn't

[android-developers] Change Text color and text size in listview

2010-05-12 Thread ena
In my project im Multiple choice listin this all text view in white color...i want to change text color... in program im use simple xml main.xml ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android;

Re: [android-developers] Location Device and Information Usage

2010-05-12 Thread TreKing
On Sat, May 8, 2010 at 6:02 PM, Dirac Comb diracc...@gmail.com wrote: Are there any interfaces available to find out when an application uses location information? You want to know when a specific app is using the locations services? I doubt this is possible.

[android-developers] How to differenciate two tables

2010-05-12 Thread Nemat
Hi friends I have two tables.I want to get all records from one table that are different from the records in second table. For eg. if we have four records in first table like A,B,C,D and three records in second table thats A,B,C then the answer of query should be D. I have tried EXCEPT

[android-developers] Readind the APN setting data

2010-05-12 Thread Mohammad Siddiqui
Hi all How to read the access point network setting data in android from the database. -- 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

Re: [android-developers] Single App Across Platforms.

2010-05-12 Thread TreKing
On Sun, May 9, 2010 at 4:27 PM, Ubuntu Explorer ubuntuexplo...@gmail.comwrote: Does the Manifest have elements like screen size, resolution, CPU architecture etc? Can't you just look for yourself? http://developer.android.com/intl/fr/guide/topics/manifest/manifest-intro.html

[android-developers] APK not installing, permission request loop at install

2010-05-12 Thread Jeffrey
I have an app that is will work just fine if I install it directly via ADB, but when I export it into an APK file it will not install, whenever you try it loops on the permissions page, and instead of installing when you click install or okay, it just opens that page again. I have tried compiling

[android-developers] Re: Widget like MapView

2010-05-12 Thread Ajay
Thank you! I am sorry for my impatience. Will keep that in mind before I post anything. On May 12, 3:45 pm, Mark Murphy mmur...@commonsware.com wrote: Ajaywrote: Anybody has a clue? If you need help within six hours, please hire a consultant. Otherwise, please wait 24-48 hours before

Re: [android-developers] Sales down in may?

2010-05-12 Thread TreKing
On Wed, May 12, 2010 at 7:00 AM, jtwoods4 jtwoo...@gmail.com wrote: No one ever replies to posts on this forum. Did you notice someone replied to this very post right before you? You might be confusing this group with the Android Market Support Forum ...

Re: [android-developers] ListView created programmat ically - emptyView doesn’t pop up

2010-05-12 Thread Adrian Vintu
Take a look at the AdapterView http://webcache.googleusercontent.com/search?q=cache:DuD-98M6iV4J:www.netmite.com/android/mydroid/frameworks/base/core/java/android/widget/AdapterView.java+android+AdapterViewcd=6hl=enct=clnk Sorry, that's the only link I could get in a rush. You should though have

[android-developers] Re: ListView created programmat ically - emptyView doesn’t pop up

2010-05-12 Thread Streets Of Boston
A ListView's 'empty-view' has to be part of the main Window, i.e. it has to be added as a content-view of your activity. Why... i don't know, but that's how i got it to work: LayoutInflater vi = (LayoutInflater)mParent.getSystemService(Context.LAYOUT_INFLATER_SERVICE); emptyView =

[android-developers] Re: Sales down in may?

2010-05-12 Thread chris price
Hi, Yes I updated a few of them (actually did about 3 releases in the past month due to bugs) Does that have a impact? Thanks -- 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] Re: Detect if Screen is locked (Live Wallpaper)

2010-05-12 Thread Streets Of Boston
I haven't tried this yet, but take a look at the KeyguardManager class. On May 9, 5:09 pm, jenom neu...@googlemail.com wrote: Hello, I'm currently implementing a live wallpaper. This is also visible, when the device is locked. Now I want to show different content, when it is locked but can't

[android-developers] Re: HTC Incredible - images not showing up in Gallery

2010-05-12 Thread Streets Of Boston
Are you thinking that the HTC Incredible does NOT scan the SD-card when one is re-inserted (re-mounted)? That would suck. On May 9, 5:48 am, Martiño martino.figue...@gmail.com wrote: Hello, I'm making an alternative camera App. As you might expect my App involves taking pictures and saving

[android-developers] Running Services memory information not showing

2010-05-12 Thread Saikat
Hi, I found that in Android 2.0 the memory information is not correctly shown for the running services. It always shown as 0.0. But it is shown perfectly in Android 2.1. Does anyone know what may be the problem in 2.0 version? -- You received this message because you are subscribed to the Google

[android-developers] Re: ListView created programmat ically - emptyView doesn’t pop up

2010-05-12 Thread yorick
Yes, exactly! I've tried everything, but nothing helped. Finally it turned out that emptyview must be a part of contentview, for example as in ApiDemos - List8. I've changed the way of creating PlayerList from programmatic to View.inflating(...) , PlayerView was a part of contentView

Re: [android-developers] Strange Error: WIN DEATH: Window{44bba600 SurfaceView paused=false}

2010-05-12 Thread Leigh McRae
I have seen this when I was using OpenGL VBO and didn't reset the buffer bindings back to default. Leigh On 5/12/2010 4:55 AM, Renjith wrote: Hi All, Can anyone tell me why this error occurs ? WIN DEATH: Window{44bba600 SurfaceView paused=false} I could run the same programing in HTC Magic

[android-developers] volume key pressed to ignore call

2010-05-12 Thread EdKawas
Hi, Is it possible to capture when the volume key is pressed to ignore a phone call? Thank you. -- 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

Re: [android-developers] Re: Sales down in may?

2010-05-12 Thread Wayne Wenthin
It does by putting your app back at the top of the Just In category. On Wed, May 12, 2010 at 7:06 AM, chris price chris123pr...@googlemail.comwrote: Hi, Yes I updated a few of them (actually did about 3 releases in the past month due to bugs) Does that have a impact? Thanks -- You

[android-developers] Re: volume key pressed to ignore call

2010-05-12 Thread EdKawas
Okay, need to read the API a bit better ... AudioManager.getMode() is what I was looking for. On May 12, 7:33 am, EdKawas ed.ka...@gmail.com wrote: Hi, Is it possible to capture when the volume key is pressed to ignore a phone call? Thank you. -- You received this message because you

[android-developers] string-array max size?

2010-05-12 Thread Tommy
Hey, I have a string-array in my resource file that has a little over 1,000 items in it. When I go to launch the activity that calls an AutoCompleteTextView the app won't load this array it simply backs out of that activity and returns to the previous activity. If I delete a bunch of items in the

[android-developers] Gallery elasticity at the ends

2010-05-12 Thread Nik Bhattacharya
Hi all, I use the gallery view extensively as a full screen pagination mechanism. It works really well for me without having to create a brand new control. I would like to add a little elasticity at the ends (much like the iPhone homescreen). How could I go about doing this? Any hint as to

  1   2   3   >