[android-developers] Re: Important Undocumented styles

2010-01-29 Thread ko5tik
Ultimate Truth lies in source On Jan 29, 2:19 am, Erik Martino erik.mart...@gmail.com wrote: An important part of creating an android application is making the gui look right. However where do I find documentation for this. An example of what I am looking for is something like this

[android-developers] Re: RemoteViews setSelected

2010-01-29 Thread Michael Scott
Great! Thank you! /Michael On Jan 28, 4:19 pm, Mark Murphy mmur...@commonsware.com wrote: I am trying to do aRemoteViews.setBoolean(R.id.a_text_view, setSelected, true) on a text view in a homescreen widget to select the view, but I only get the textview to display a text like error

[android-developers] Re: Android market and other languages...

2010-01-29 Thread ko5tik
On Jan 28, 2:32 am, reyden mr.jakovlje...@gmail.com wrote: I'm writing a free application that's only in Serbian language atm. English version will follow but priority is to get it published on Serbian. I'd like to know will I be able to upload my app on Android Market, or it has to support

[android-developers] Re: How to find out the file is exist

2010-01-29 Thread Nugman
File myFile = new File(/sdcard/test.txt); if (myFile.exists()) { iAmHappyFunction(); } else { iWantToCry(); return; } On 29 Jan., 04:56, pramod.deore deore.pramo...@gmail.com wrote: Hello everybody, Actually I am developing one application in that when application run first time

[android-developers] Re: How much time it will take to parse

2010-01-29 Thread ko5tik
The problem is DOM parsing - in produces a LOT of objects and garbage collection wile slurping everything in oner big gulp (and usually chokes) What is wrong with SAX or XPP? On Jan 29, 11:59 am, Sasikumar.S sasikumar.it1...@gmail.com wrote: Hi frank, Thank u for ur reply. that question is

Re: [android-developers] Re: How much time it will take to parse

2010-01-29 Thread Sasikumar.S
now i'm trying in SAX Parser only.. On Fri, Jan 29, 2010 at 1:46 PM, ko5tik kpriblo...@yahoo.com wrote: The problem is DOM parsing - in produces a LOT of objects and garbage collection wile slurping everything in oner big gulp (and usually chokes) What is wrong with SAX or XPP? On Jan

[android-developers] Re: how to use style

2010-01-29 Thread saad bouchehboun
yes , but no explicite speking about selectors !! whiche alow custuming list views On 29 jan, 05:09, NoraBora noranb...@gmail.com wrote: Have you looked at ApiDemos? It has lots of useful code examples. On Jan 26, 7:07 am, saad bouchehboun bsaad1...@gmail.com wrote: hy , I need to use

[android-developers] Re: Emulator problem with GSM network

2010-01-29 Thread Johannes Carlsson
I was working with this problem sometimes before Christmas and it never happened on my computer (I only have dual core and we have seen it on quad core Compaq Z400). Since we don't use 1.0 or 1.1 images we just simply removed the support. Anyway I have saved a log from the emulator with

[android-developers] Re: notifyDataSetChanged not working as expected

2010-01-29 Thread Andri Kurniawan
i'am having the same problem with the gallery when calling notifyDataSetChanged() i'am using android 1.6 On Jan 25, 7:02 pm, Dheeraj dheerajsharm...@gmail.com wrote: Hello guys, I need help from android experts on my problem. The problem is that notifyDataSetChanged() is not firing up

[android-developers] Re: controling the user language

2010-01-29 Thread Guillaume Perrot
To switch to german in an application: Resources res = getResources(); Configuration config = new Configuration(res.getConfiguration()); config.locale = Locale.GERMANY; res.updateConfiguration(config, res.getDisplayMetrics()); On 29 jan, 05:03, Frank Weiss fewe...@gmail.com wrote: Check this

Re: [android-developers] Re: UPnP

2010-01-29 Thread Zhihong GUO
Hi skonno, All of the java code is downloaded, but I can't find a Android project to run in emulator or on read device James 'http://sourceforge.net/projects/cgupnpjava/develop'; please relocate 2010/1/29 skonno skonno.cybergar...@gmail.com Hi Abhi, I have already ported the following my

[android-developers] android popup keyboard close button missing

2010-01-29 Thread extrapedestrian
When you long press soft keyboard button android:popupKeyboard shows alternate characters and close button. But if you have more then 10 alternate characters, they split in two lines and close button is missing. How can this be solved? -- You received this message because you are subscribed to

[android-developers] Re: android popup keyboard close button missing

2010-01-29 Thread extrapedestrian
Hint: I think problem is in keyboard_popup_keyboard.xml, but I don't want to recompile android source... On Jan 29, 10:37 am, extrapedestrian extra.pedestr...@gmail.com wrote: When you long press soft keyboard button android:popupKeyboard shows alternate characters and close button. But if you

[android-developers] Re: Why is HTC Hero using drawable-ldpi?

2010-01-29 Thread westmeadboy
You mean, it ignores the ldpi component of the folder name and so treats the drawable-ldpi folder the same as a drawable folder? On Jan 29, 2:05 am, Dianne Hackborn hack...@android.com wrote: It does ignore it, and ends up with two resources that are equivalent so picks one of them. On Thu,

[android-developers] File is not created.

2010-01-29 Thread pramod.deore
Hello everybody again, I am developing one application that will create one txt file when it runs first time and saves IMSI number in that file , After that when phone boots every time it checks that IMSI number with IMSI number which is stored at txt file. But when I run this program it gives me

[android-developers] VFY error unable to resolve static method/ Could not find the class

2010-01-29 Thread newra...@gmail.com
Hi I am having two android projects. One of the project has reference with the another one. While i am running, I am getting the VFY error and as well as some warning. warning are like that unable to resolve the static method(s) and error is like Could not find the class Please let me know

Re: [android-developers] Re: Why is HTC Hero using drawable-ldpi?

2010-01-29 Thread Dianne Hackborn
Correct, it doesn't do anything with it. (Though technically by the time the .apk is on the device, the folder is irrelevant; what the device is doing is looking at the resource table, which contains a data structure representing the different pieces that aapt parsed out of the directory names,

[android-developers] Re: Picking a contact and returning to the parent activity.

2010-01-29 Thread Android Development
Ok, i am able to start the Contacts application...and I pick a contact from there. Now this operation succeeds too (-1 Result Code). I use the following code: Intent i = new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI); startActivityForResult(i, PICK_CONTACT); I get a

Re: [android-developers] Re: sdk setup.exe and windows 7

2010-01-29 Thread Android Development
Set the ANDROID_SWT environment variable to the folder that contains the swt.jar file. It is located in the \tools\lib\x86_64 folder of your SDK installation. Best Regards Indodroid. On Thu, Jan 28, 2010 at 12:01 PM, Lambda Developer lambda.develo...@gmail.com wrote: hi, i have the same

[android-developers] Re: include/asm Error when building kernel image with Ubuntu 9.10 (karmic)

2010-01-29 Thread Sachin
hi Greeshma, did you copy the source code? i think include/asm dir will be created during the build process. so now what you can do is remove the asm dir from include. And start the build process again. this include/asm will be created as a symlink to your platform e.g. include/asm-arm. Sachin

[android-developers] Re: The concurrency control of ContentProvider whose android:multiprocess is set true

2010-01-29 Thread soccercheng
On 1月28日, 下午9時38分, Mark Murphy mmur...@commonsware.com wrote:     Does this mean that multiple instances of the same ContentProvider will be running on different processes with different VM instance? if the answer is yes, how do I control the mutual exclusion of ContentProvider instances

[android-developers] Re: Picking a contact and returning to the parent activity.

2010-01-29 Thread Android Development
OkI have managed to do it. For the benefit of others who may be looking for the same thing, i am pasting the code below. In this code, i launch the contacts application, the user picks a contact and i display the username of the picked contact: import android.app.Activity; import

Re: [android-developers] Re: Important Undocumented styles

2010-01-29 Thread Matt Oakes
In other words, look at the source code :) http://source.android.com/download On Fri, Jan 29, 2010 at 8:03 AM, ko5tik kpriblo...@yahoo.com wrote: Ultimate Truth lies in source On Jan 29, 2:19 am, Erik Martino erik.mart...@gmail.com wrote: An important part of creating an android

[android-developers] Re: Highlight Linearlayout

2010-01-29 Thread Kumar Bibek
You can set touch listeners to the LAyout, and change the background color/border on MouseDown and remove it on MouseUp Kumar Bibek On Jan 29, 10:09 am, Sasikumar.S sasikumar.it1...@gmail.com wrote: Hi, When I'm clicking the linear layout it should be highlighted. How to do that?.. --

[android-developers] Re: In the Gallery from Intent.ACTION_PICK, can I override the longClick?

2010-01-29 Thread Kumar Bibek
I am not sure why you don't get a context menu. I guess, the emulator itself has some actions that can be performed like Share etc.. Please check because, I have been using it regularly... Kumar Bibek On Jan 29, 4:28 am, Arcantos greatarcan...@gmail.com wrote: In my app i let the user select

[android-developers] debugging with a different keystore

2010-01-29 Thread guich
Hi, I know that, to be able to sign a package with your own keystore, you have to use the export from eclipse. However, its not easy to keep doing this when you're still debugging the application. Since i have external libraries that uses another keystore and use the shareUserId, it would be

[android-developers] Re: Important Undocumented styles

2010-01-29 Thread skink
On Jan 29, 12:37 pm, Matt Oakes m...@matto1990.com wrote: In other words, look at the source code :) http://source.android.com/download well, the whole source tree is a little bit too much... see styles.xml located in your sdk/platforms/*/data/res/values pskink -- You received this

[android-developers] Re: ANDROID_ID always null on devices

2010-01-29 Thread flsobral
Like I said, although it shouldn't make any difference if I'm using the fully qualified path or not, I did try your suggestion and it still gave me null. I'm not questioning your program, I'm asking for help with my particular case. There are lots of examples on this subject that use the exact

Re: [android-developers] Re: ANDROID_ID always null on devices

2010-01-29 Thread Mark Murphy
Like I said, although it shouldn't make any difference if I'm using the fully qualified path or not, I did try your suggestion and it still gave me null. I'm not questioning your program, I'm asking for help with my particular case. There are lots of examples on this subject that use the

[android-developers] GLSurfaceView problem/querry

2010-01-29 Thread satish bhoyar
Hi all, I am developing the app where I want Text on GLSurfaceView. So I am using TextView on GLSurfaceView. I m able to do that properly. Now problem is I want to translate both this views (TextView GLSufaceView) to the position where i scroll. for this I am using the ViewGroup onTouch

[android-developers] Rating bar cut off

2010-01-29 Thread ls02
I have scroll view that hosts linear layout with text view, small rating bar and another text view. The 1/3 of the bottom of the rating bar is cut off and I cannot figure out why. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: ANDROID_ID always null on devices

2010-01-29 Thread flsobral
I was hoping I was missing a permission or something like that. We haven't touched the firmware or the system database, in fact the Motorola device is brand new, it came to my desk still closed in his box. Is there any way to reset to the factory settings and restore everything? I'll see if I

Re: [android-developers] Register a new MIME-type with Android

2010-01-29 Thread Varun Khaneja
The API call is in a sample application to demonstrate that Android probably does not have an extension to MIME-type mapping for this particular MIME-type. The main application I am working on does register itself for the MIME-type in question (via AndroidManifest.xml) but still does not receive

[android-developers] frameworks/base/opengl/tests/angeles flickers over bluescreen

2010-01-29 Thread redkrzy
Hi all, When i tried to execute the test application frameworks/base/ opengl/tests/angeles on the emulator. After the application launch, on emulator, it flicker with another bluescreen. How to resolve this? SDK 1.6 Android 2.0 platform Ubuntu 9.04 VDI Image (Sun

Re: [android-developers] Re: ANDROID_ID always null on devices

2010-01-29 Thread Mark Murphy
I was hoping I was missing a permission or something like that. I am not aware of a permission needed for ANDROID_ID. If you wanted the IMSI or IMEI, those would need a permission. We haven't touched the firmware or the system database, in fact the Motorola device is brand new, it came to my

[android-developers] Opening a gzipped raw resource file

2010-01-29 Thread greenrift
I have a gzipped (*.gz) file in my res/raw directory. I'm wanting to open and read from this file, however I'm a bit uncertain how to go about it. This is what I have currently: try{ InputStream is = this.getResources().openRawResource (R.raw.mygztextfile); BufferedReader reader = new

[android-developers] Re: background services

2010-01-29 Thread JFrog
Hey Abhi, If what I've understood about dealing with the sensors right now, you don't need to start a background service. You can simply access the accelerometer values through the following: SensorManager myManager; Sensor sensors[ ]; myManager =

Re: [android-developers] Opening a gzipped raw resource file

2010-01-29 Thread Mark Murphy
I have a gzipped (*.gz) file in my res/raw directory. Why? The APK file is already a compressed archive. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- You received this message because you are subscribed to the

[android-developers] Re: background services

2010-01-29 Thread JFrog
Hey Abhi, If what I've understood about dealing with the sensors right now, you don't need to start a background service. You can simply access the accelerometer values through the following: SensorManager myManager; List Sensor sensors[ ]; myManager =

Re: [android-developers] Opening a gzipped raw resource file

2010-01-29 Thread Justin Giles
Ok, I guess this is a misunderstanding on my part. So, after the application is installed on a users device, all contents remain compressed? The reason I'm compressing the file to begin with is to stay under the 1MB file file size limit for files in res/raw. Yeah, I could break things up into

[android-developers] Re: docs for shape xml syntax

2010-01-29 Thread Flying Coder
Docs for this would be awesome! Nedrow: thanks for the link -- that was very helpful. Steve On Jan 28, 10:31 pm, jotobjects jotobje...@gmail.com wrote: Thanks - this sure looks like it might be useful if there was more documentation :( On Jan 28, 3:38 pm, Nerdrow troybe...@gmail.com

Re: [android-developers] Opening a gzipped raw resource file

2010-01-29 Thread Mark Murphy
So, after the application is installed on a users device, all contents remain compressed? Most do, yes. Some things get unpacked I think (e.g., the compiled classes). The reason I'm compressing the file to begin with is to stay under the 1MB file file size limit for files in res/raw.

[android-developers] Activity, ListActivity and MapActivity.

2010-01-29 Thread ColletJb
Hi, I'm trying to develop an Activity using both ListView and MapView. Basically, the screen is spited into two parts, the first contains the MapView, and the second one contains ListView. Should I use an Activity, a ListActivity or a MapActivity ? Thank your for your help. Here is my layout

[android-developers] Re: ANDROID_ID always null on devices

2010-01-29 Thread Tor
My application does not require any special uses permission to read ANDROID_ID; I use this code as on my HTC Hero: String android_id = Secure.getString(this.getContentResolver(), Secure.ANDROID_ID); Tor On Jan 29, 2:35 pm, flsobral flsob...@gmail.com wrote: I was hoping I was missing a

[android-developers] Re: ANDROID_ID always null on devices

2010-01-29 Thread flsobral
I found two apps on the Market that show the ANDROID_ID, and both show the same value. Looks like there's something wrong with the app compilation maybe? On Jan 29, 11:44 am, Mark Murphy mmur...@commonsware.com wrote: I was hoping I was missing a permission or something like that. I am not

Re: [android-developers] Opening a gzipped raw resource file

2010-01-29 Thread Justin Giles
Yes, I see your point. Full story of what my issues are: This is for an update to my app. Currently my app is parsing a 700k text file and putting that into a database. This wasn't that big of a deal to me because my app still remains under 2MB on a users system and there are no issues in not

[android-developers] Re: background services

2010-01-29 Thread Abhi
JFrog, Thanks a ton for that reply. I will try not using a background service, the way you mentioned. Let me see how that goes and post something quick back here. Thanks again. Abhi On Jan 29, 8:49 am, JFrog jeremiah.paul.sna...@gmail.com wrote: Hey Abhi, If what I've understood about

Re: [android-developers] Opening a gzipped raw resource file

2010-01-29 Thread Mark Murphy
1) I have a 1.9MB text file that I need to read and spit into a database. That's, um, big. This means that I will now have the 1.9MB text file (or files if I split) plus the storage for the database, thus almost doubling the footprint of my app. Yup. 2) Due to the higher footprint of my

[android-developers] Re: MotionEvent and KeyEvent causing excessive garbage collect (GC) calls

2010-01-29 Thread Neil
Actually, better not do this - see Dianne's message in thread 'OpenGL Fillrate Issues'. On Jan 23, 1:47 pm, SnowCrash jason.poli...@gmail.com wrote: Thanks for the tip! I'll give it a go. On Jan 20, 9:03 pm, Neil neil.wilkin...@gmx.com wrote: Just ran into this myself. It seems calling

[android-developers] Re: Disable spinner item?

2010-01-29 Thread Piwai
Hi there ! I spent a bit of time trying to create a spinner that would have some disabled items, and finally found a SOLUTION ! Yay ! Romain pointed in the right direction, BUT it's not that easy. If one try to create a specific adapter for the spinner, for instance : ArrayAdapterString

[android-developers] Re: Register a new MIME-type with Android

2010-01-29 Thread Brion Emde
I don't know if this is what you want, but look at the intent-filter stuff here: http://developer.android.com/intl/de/guide/topics/intents/intents-filters.html I have an intent-filter defined that will cause the browser to recognize a Uri of the form bloa-app://twitt and send requests to that

[android-developers] Re: Opening a gzipped raw resource file

2010-01-29 Thread Terry Stone
Mark: Regarding the compression of the APK, what is it comparable to in compression ratio: WinZip? gzip, etc? It would seem to me that it still might make sense to uncompress it and place it on the sdcard for speed since having to query, for example a compressed database file would take lots of

[android-developers] Re: Register a new MIME-type with Android

2010-01-29 Thread Robert Nekic
You can also register file extensions in your manifest intent-filter. Something like this worked in one of my applications: intent-filter action android:name=android.intent.action.VIEW/ category android:name=android.intent.category.DEFAULT / category

Re: [android-developers] Re: Opening a gzipped raw resource file

2010-01-29 Thread Mark Murphy
Mark: Regarding the compression of the APK, what is it comparable to in compression ratio: WinZip? gzip, etc? APK is a plain old ordinary ZIP file. Off the top of my head, I do not know which ZIP level they are using. They do have some smarts, IIRC, to skip compressing things already known to

[android-developers] Re: ANDROID_ID always null on devices

2010-01-29 Thread jotobjects
On Jan 29, 5:44 am, Mark Murphy mmur...@commonsware.com wrote: I am not aware of a permission needed for ANDROID_ID. If you wanted the IMSI or IMEI, those would need a permission. What permission is needed to show the IMSI or IMEI and how are those values accessed? What is the purpose of

[android-developers] Re: Activity, ListActivity and MapActivity.

2010-01-29 Thread jotobjects
You have to use MapActivity to use MapView On Jan 29, 6:16 am, ColletJb collet...@gmail.com wrote: Hi, I'm trying to develop an Activity using both ListView and MapView. Basically, the screen is spited into two parts, the first contains the MapView, and the second one contains ListView.

[android-developers] Re: Working with the new ContactContracts API

2010-01-29 Thread andev
Hello, I have been working with contacts. I am able to show them, update but when I want to delete any, it is not deleted completely. In Contacts application is shown as (Unknown) without any data. What is more, I am not able to delete it (only after I give this contact name). I have tried to

[android-developers] Re: Wakelock and phone restarts

2010-01-29 Thread nikhil
Any idea ??? On Jan 28, 11:18 am, nikhil nik...@gmail.com wrote: Hello Friends, I have a service which holds on to a wakelock and the code is similar to this, public class WakeLockService extends Service { PowerManager.WakeLock wl;         @Override         public IBinder onBind(Intent

[android-developers] Re: Destroy Webview

2010-01-29 Thread nikhil
any idea? On Jan 28, 2:32 pm, nikhil nik...@gmail.com wrote: I am trying todestroythewebviewin the onPause method. But it doesntdestroyand rather pulls up the android source path code.. The definition says This method should be called after theWebView has been removed from the view system

[android-developers] Re: docs for shape xml syntax

2010-01-29 Thread jotobjects
I did find a handful of examples in samples/ApiDemos/res/drawable. The xml files in that directory are all examples of using shapes and related xml elements. Some of this is mentioned in the javadocs for android.graphics.drawable. Some xml elements like corners and gradient are not documented

[android-developers] Re: Join Us In Protesting!

2010-01-29 Thread Divkis
On Jan 29, 9:59 am, Rohit Mishra rohitmishra...@yahoo.com wrote: Dear All! Greetings! What is this: Software is basically a language. An algorithm is an expression of an idea. Patenting it would be like patenting individual words of English. A huge hindrance to innovation. Copyright is

[android-developers] App Signing and the Android Market

2010-01-29 Thread Open
I have two paid apps in the Android market. My first app was selling a few units per day, I recently uploaded my second app. Both apps were signed with the same private key, both have different packages. Since uploading the second app I haven't had a single transaction on the first app (as

[android-developers] Re: Installing app on android device

2010-01-29 Thread Robert Nekic
The Archos 5 internet Tablet recently received an Android update: http://www.archos.com/support/support_tech/updates.html?country=illang=en#firm Out of curiosity, have you installed this update? Did it change anything regarding this situation? I've been waiting for a non-phone Android device to

Re: [android-developers] Rating bar cut off

2010-01-29 Thread TreKing
Post the layout file you're using to do this. - TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- You received this message

[android-developers] Re: Activity, ListActivity and MapActivity.

2010-01-29 Thread ColletJb
Ok, and how can I set my listview properly then ? Thank you On 29 jan, 17:13, jotobjects jotobje...@gmail.com wrote: You have to use MapActivity to use MapView On Jan 29, 6:16 am, ColletJb collet...@gmail.com wrote: Hi, I'm trying to develop an Activity using both ListView and

Re: [android-developers] Re: Activity, ListActivity and MapActivity.

2010-01-29 Thread TreKing
On Fri, Jan 29, 2010 at 11:10 AM, ColletJb collet...@gmail.com wrote: Ok, and how can I set my listview properly then ? Have a layout that has a mapview and listview and set it as the content for a MapActivity.

[android-developers] Re: TTS not working using 2.1 AVD

2010-01-29 Thread courageac
I got it working now. -- 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

[android-developers] Google Tasks API in GData packag

2010-01-29 Thread courageac
I installed the latest GData package but couldn't find the Google Tasks API there. Also the GData site doesn't mentioned anything on Tasks. Does it exist now? If not, is it going to be there in near future? -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: Working with the new ContactContracts API

2010-01-29 Thread ▯▯▯▯
You are deleting data associated with the contact, not the contact itself. It should be something like this: ArrayListContentProviderOperation ops = new ArrayListContentProviderOperation(); ops.add(ContentProviderOperation.newDelete(Contacts.CONTENT_URI)

Re: [android-developers] How to stop playing music or sound of other application

2010-01-29 Thread Alam
Absolutely correct. But think that you have downloaded one application from Android Market mostly a game and if you get an incoming call while playing the game and received. That time the game application still playing the sound which you could here in the speaker while you are talking. Is it fine

[android-developers] Re: how to use MediaRecorder to record highest quality video?

2010-01-29 Thread Abhi
Is rooting the device the only solution? On Jan 28, 2:27 pm, Abhi abhishek.r.sha...@gmail.com wrote: Anyone? On Jan 28, 1:33 pm, Abhi abhishek.r.sha...@gmail.com wrote: Hi, Is there a way to get the best quality of video recording possible using MediaRecorder? the camcorder app does a

[android-developers] Re: How to stop playing music or sound of other application

2010-01-29 Thread Robert Nekic
I'm not sure I fully understand your question...but it sounds like you might want to look at the PhoneStateListener. This can listen for and respond to events; such as an incoming call or when a call disconnects.

[android-developers] Re: Rating bar cut off

2010-01-29 Thread SizzlingSkizzorsProgrammer
For some reason, I find that if you use padding, ratingbars often get cut off. Try using margins instead. On Jan 29, 9:55 am, TreKing treking...@gmail.com wrote: Post the layout file you're using to do this. ---

[android-developers] Re: Lookup contacts in a certain group

2010-01-29 Thread Beth
Correction, the query for names the works well is like this: final Cursor c = ctxt.getContentResolver().query( Data.CONTENT_URI, new String[] {ContactsContract.Contacts.DISPLAY_NAME }, GroupMembership.GROUP_ROW_ID + = + grpid + AND + Data.MIMETYPE + =' + GroupMembership.CONTENT_ITEM_TYPE +

[android-developers] Re: Text To Speech Android 1.6 with minsdk 3

2010-01-29 Thread DulcetTone
I don't see how one is supposed to compile this without targetting 1.6, and if one targets 1.6, how does one get it to run on a 1.5 device? I have minSdk=3 but my Eclipse projects don't want to compile WrapTTS without replacing my Android 1.5 dependency with Android 1.6 Once I do that, I can

[android-developers] Email application: API for the inbuilt email app

2010-01-29 Thread Abhilasha
Hi Everybody, I am just getting started with Android apps, So please bear with me for fundamental questions. I want to know how the e-mail application in the Android works, I mean what all parameters does it take as inputs?-my assumption is that it takes username,password, Sign in/Sign out. I

[android-developers] Re: incoming sms filter

2010-01-29 Thread varad
Hi Jags, Do you mean to intercept incoming SMS? On Jan 29, 10:32 am, Jags jag...@gmail.com wrote: Cant I receive sms directed to my android device in my application ? On Jan 28, 4:04 pm, Jags jag...@gmail.com wrote: I hv a problem, I need some hints. I need to have my app receive

[android-developers] Re: onContextMenuClosed() not called under 2.x?

2010-01-29 Thread Leon Chen
Hi all, I also met the same problem. Here my app registers a context menu to be shown for our view and overwrite the onContextMenuClosed() for listening the back key event. When a context menu is closed by a back key event, there is no way to be informed that any item is selected or not. My

Re: [android-developers] Re: How to stop playing music or sound of other application

2010-01-29 Thread Kevin Duffey
I understand what you are saying... although I am not sure how that applies to whatever app you are working on. It is up to every developer to properly stop threads, audio, etc whenever their app is put into pause mode, or shut down. Period. If you are finding a game that continues to play music

[android-developers] Accessing Services

2010-01-29 Thread Justin Tipton
Hello, Is there any way to bind to the services created by http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=services/java/com/android/server/SystemServer.java ? I would like to access one of these services as an interface. GetSystemServices() returns null when I attempt

[android-developers] Problem loading widget: XML issue?

2010-01-29 Thread Agent Foxtrot
So I'm attempting to make a widget at someone's request. I'm new to Android development, so this widget isn't terribly complex. However, I'm having some difficulties with the layout. My main.xml file looks like this: ?xml version=1.0 encoding=utf-8? LinearLayout android:id=@+id/LinearLayout01

[android-developers] Blocking on a Socket read operation

2010-01-29 Thread YuHao
Hi All: Android emulator is available as a socket server and socket server as a service at background, when service start, I open a thread to start listening, when use client to connect socket server and write data to waiting for server response, this time the server is running to the

[android-developers] ListView - default selection

2010-01-29 Thread Ingar Arntzen
Hi. SETUP : I'm using ListActivity and an ArrayAdapter to show a list of items - straight forward. OBSERVATION : When the application starts the list shows up with the first entry lit up in bright orange. At this point the ListView is not in Touch Mode, so I'm thinking that this represents the

[android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2010-01-29 Thread David
I also have this problem!! I tried setting: mp.setAudioStreamType(AudioManager.STREAM_MUSIC); But the same exact error: 01-29 14:57:45.161: ERROR/PlayerDriver(37): Command PLAYER_INIT completed with an error or info PVMFFailure Is there a bug using MP3 streams? /D On Jan 14, 9:48 pm, Tanmay

[android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2010-01-29 Thread David
ps-I am using version 1.5 on a HTC phone On Jan 14, 9:48 pm, Tanmay tanm...@gmail.com wrote: I tried doing this in 1.6 but still gave me the Prepare Failed 0x1 error along with the PVMFFailure in the log. Has there been any solution to this one developed yet? On Dec 14 2009, 10:13 pm,

[android-developers] Re: V4L2:/dev/video0 is not generated when USB Camera is connected

2010-01-29 Thread S2PidLabs
sachinikam wrote: Hi Madhu, You are conneceting one Digital camera to your android dev phone(target) right? Yes. Are you using which usb driver functinaalities(ex:pictbridge or otg)? uvc that is USB Video Class I have one doubt whether android is supporting otg ? if its supporting

[android-developers] Column of buttons on right side

2010-01-29 Thread mstamler
Hi, I want to set up a table or grid of two columns where the left column has an image and the right has a column of buttons. I succeeded but the right column is not on the right side. Here is my xml: ?xml version=1.0 encoding=utf-8? !-- ! Copyright Michael Hallak-Stamler -- LinearLayout

[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 to the

[android-developers] Android sqlite unable open database problem

2010-01-29 Thread Josema
Hi, im doing debug with my mobile. My code works in the past, but now is not working and i dont know why i cant create or open an existing database. Here is my code: http://stackoverflow.com/questions/2163100/creating-database-in-android Could you help me about how to solve this problem? I

[android-developers] Problems to find when device go to sleep

2010-01-29 Thread ionelt
Hi all, How to find when the device goes in sleep mode and when wakes up?. 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@googlegroups.com To unsubscribe from this group,

[android-developers] Young French Dev need help

2010-01-29 Thread Rubixcube
hi ! i'm trying to do an application which aims to put in the notification bar the state of the latest Sms Report Status when you hit on a button . I searched in documentation and i found the SmsMessage object who has method like .isSmsReportStatus() and .getStatus() but, here is the problem ,

[android-developers] A question regarding test suites

2010-01-29 Thread leif.simm...@stericsson.com
I have a question regarding testSuites. In jUnit you could create test suites like this: public static void suite() { TestSuite suite = new TestSuite(); suite.addTest(new MyTest(testEquals)); suite.addTest(new MyTest(testAdd)); return suite; } This would create a test-suite containing

[android-developers] TTS Engine develop

2010-01-29 Thread Clonick
I develop TTS Engine. Can I install it in Android platform and uninstall default Pico TTS Engine? -- 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] Map Application

2010-01-29 Thread Sourabh Pandit
How to give Change in GPS coordinates to the emulator. I want to write a program that will sen dummy GPS co-ordinates to Map application that i have written. What api to be used to send these command? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: App Signing and the Android Market

2010-01-29 Thread Lance Nanek
Maybe the first app just left the Just In listing in the Market around that time? On Jan 29, 11:48 am, Open ldonel...@gmail.com wrote: I have two paid apps in the Android market.  My first app was selling a few units per day, I recently uploaded my second app.  Both apps were signed with the

[android-developers] Re: How to stop playing music or sound of other application

2010-01-29 Thread Robert Nekic
Well, he mentions that the music being played is actually from his application...so depending on how that is occurring, he might have some control over it, no? I don't have any experience using ContentProviders so I might be way off here...but is it conceivable that his app exposes a

[android-developers] Re: Problematic HTTPS Posts, help needed

2010-01-29 Thread Kai
Thank you very much for those suggestions, I will definitely take a look at them. Have your worked at all with httpS though? and if so, are there any differences in the implementation. As mentioned in the original post, I have no problem getting HTTP to work, it is only when I switch to HTTPS

[android-developers] Problem with expandable list view

2010-01-29 Thread tikky
I have an expandable list view, where the child view is a custom layout consisting of 2 text views within a RelativeLayout as follows: RelativeLayout . TextView xmlns:android=http://schemas.android.com/apk/res/android; android:id=@android:id/text1 android:layout_width=fill_parent

[android-developers] Equally spaced TableLayout grid

2010-01-29 Thread ClarkBattle
I have a TableLayout where each cell of the table contains a single button or textView. I want to make sure that every cell has the same height and the same width. In other words all column widths are the same and all row heights are the same. Of course, it has to do this while resizing the

[android-developers] Re: Motorola Droid (possible android) multi-touch bug and how to reproduce

2010-01-29 Thread luke
All these bugs (and several more you may not have discovered yet, e.g. event noise on touch up/down) are covered in excruciating detail on my blog, http://lukehutch.wordpress.com/android-stuff . The main posts you will want to read are:

  1   2   >