[android-developers] Re: Anybody know the number of Android user that can buy app against those who cant?

2009-12-15 Thread moneytoo
Hard to tell the number of users but the list of countries is here: http://www.google.com/support/androidmarket/bin/answer.py?hl=enanswer=138294 On Dec 15, 7:52 am, RobGThai thisisr...@gmail.com wrote: While Android seems to be raging recently, however not all users are able to buy application

Re: [android-developers] Android = 1.6: Invalid View object passed to onListItemClick()?

2009-12-15 Thread Eus
HiHo! On Mon, 2009-12-14 at 11:06 -0800, Romain Guy wrote: v.setBackgroundResource(R.color.todo_item_highlighted); Here's your problem. Views are reused by ListView (so if you change the background of item #1, it might be reused as item #4 later), You mean the reuse of

Re: [android-developers] Android = 1.6: Invalid View object passed to onListItemClick()?

2009-12-15 Thread Romain Guy
Why is this not documented in the documentation of onListItemClick() giving a warning that v may not be as what the developer expects? Because v is always what you expect. The problem is what happens to v after the click. You mean something like the following? [...] Yes, except that when pos

Re: [android-developers] AutoCompleteTextView doesn't work with android:style/Theme.Light

2009-12-15 Thread Jonas Petersson
Hi Romain and Pooper, Romain Guy wrote: This has been fixed since 1.5. I just stumbled into this one too and I experience the same as Pooper even under 2.0.1. So either I'm doing something silly or the fix was not correct. I found a bug filed about a week ago (including source):

[android-developers] Re: Contacts SyncAdapter issues

2009-12-15 Thread sazilla
Any feedback would be appreciated... 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 this group, send email to

Re: [android-developers] Re: Simple Call App - Uri?

2009-12-15 Thread Mark Murphy
AJ wrote: I am trying to make a very very simple app as a beginner but it does not work. The app just has a text bar and a button. Somehow, the call button does not start a call. You are using ACTION_CALL. Do you have the CALL_PHONE permission? You might want to start with ACTION_DIAL. Here

Re: [android-developers] Good android book

2009-12-15 Thread hafez ahmad
Thanks All for your kind support :) Regards, HD On Mon, Dec 14, 2009 at 7:18 PM, TreKing treking...@gmail.com wrote: Do a search for Android Book(s) in this group, this is asked all the time. -

[android-developers] Re: Accessing contact's phone numbers

2009-12-15 Thread agirardello
I'm still facing a problem by simply accessing the phone's contacts! The following works on all API levels (1 to 6) apart 5 (which is Android 2.0): getContentResolver().query(People.CONTENT_URI, null, null, null, People.DISPLAY_NAME); Any suggestion to let it work on API level 5? Best, Andrea

[android-developers] Draw fullscreen alpha-image is too slow

2009-12-15 Thread Deren
What I'm trying to achieve is quite simple: I want to draw a fullscreen image (RGB_565). On top of it, I'd like to draw a fullscreen image with an alpha channel. My problem is that I get terrible performance, around 30 fps. Is there any way to speed things up? I use a HTC Hero, shouldn't the

[android-developers] create apk with aapt tool

2009-12-15 Thread Carlos Pérez
Hi, I've been trying to create my .apk with aapt tool, but I couldn't get it. can somebody help me? -- 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

Re: [android-developers] Different behaviour between SDK 1.6 and SDK 2.0 - bug? Please help.

2009-12-15 Thread Evgeny V
Somebody? Any updates? On Tue, Dec 1, 2009 at 9:01 AM, EvgenyV evgen...@gmail.com wrote: Hi! I got infinit loop when trying to run tab activity which creating dialog. Before I'm pressing the dialog button OK or Cancel button the system is starting my tab main activity again. It worked

[android-developers] Alternate line service support on Android 1.5

2009-12-15 Thread Muniraju
Does anyone have a idea about Alternate line service implementation on android 1.5 sdk?\ I wanted to know how to read the line 2 information from sim as the existing telephone manager doesn't suppor this feature. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Audio options for music app - should I use JET?

2009-12-15 Thread k_day
Wow, I didn't realize my initial message got cut off. Too finish, I was thinking JET may be too limited since users must be able to: 1) Change the tempo of the notes being played real time and 2) Record their own sounds that can be played as notes. Is this possible when using JetPlayer? The

[android-developers] Questions: Bitmap

2009-12-15 Thread Samuh
I was reading something and came across a few statements that I failed to understand fully: Q1. Bitmap memory is different than heap memory.What could this possible mean? Q2. What is a native Bitmap? Q3. Decoding a 64x64 .png resource will give a 64x64, 32-bit in-memory bitmap.What is a in-memory

[android-developers] please help me to cut a picture from a vedio,how to carry out.

2009-12-15 Thread LeeMoon
i wanna to cut a picture when the vedio is playing , have no idear ,please help me ,guys. -- 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] How to keep userdefined data in content providers

2009-12-15 Thread saikiran n
Hi, We can create tables for strings ,int ,etc by using contentproviders. Similarly is there any possibilites to create a table which can hold an object (object may have different data elements); If possible can any one give me sample code.. -- You received this message because you are

Re: [android-developers] Re: Immediate Need for Multiple Requirements

2009-12-15 Thread Zied Hamdi
Good idea Alex, I'll even do a filter that writes an email back then deletes the thread. Best Regards, Zied Cordialement, Zied Hamdi Gérant www.larueacote.fr 06 42 69 54 40 Rejoindre mon réseau de contacts sur Viadeo : http://www.viadeo.com/invitationpersonnelle/0022cbh9e10sm7n 2009/12/14

Re: [android-developers] Re: Immediate Need for Multiple Requirements

2009-12-15 Thread Zied Hamdi
Just about how to do that: 1. activate the labs option canned responses in your gmail parameters (the labs panel) 2. create a well insulting canned response 3. add a filter with value *krishna.i...@gmail.com* the field *to: * 4. put your nice answer as the action on mail receiving (i think it's

[android-developers] java sound api android 1.6 support

2009-12-15 Thread maxsap
Hello all, I want to port an existing java program into android, the problem is that this program uses java sound api and after some googling I found that this api is not supported in the first android version so the question is is if android 1.6 version supports this api. Also if it doesn't is

[android-developers] Re: Contacts FAQ?

2009-12-15 Thread sazilla
Hi everyone, I encountered an issue while configuring my own account for android contacts sync. When the user choses to add a new contact to the custom account, only the name fields and the photo are showed. This behaviour can be found in the ExternalSource.java android source file. My question

Re: [android-developers] java sound api android 1.6 support

2009-12-15 Thread Mark Murphy
maxsap wrote: Hello all, I want to port an existing java program into android, the problem is that this program uses java sound api and after some googling I found that this api is not supported in the first android version so the question is is if android 1.6 version supports this api. No,

[android-developers] Re: create apk with aapt tool

2009-12-15 Thread Carlos Pérez
I found this solution without aapt. Is it correct? ant release keytool -genkey -alias your.key.alias -keyalg RSA \ -validity 2 -keystore C:\YourKey\your.key.file jarsigner -verbose -keystore C:\YourKey\your.key.file \ -signedjar bin\proyecto-signed.apk \

[android-developers] Forward search queries to one single activity that handles search

2009-12-15 Thread Stefan Klumpp
have an activity handling search (ACTIVITY_1), which works perfectly when I use the search (via SEARCH button on the phone) within/from this activity. However, when I use search from another activity (ACTIVITY_2..x) by implementing onNewIntent and forward the query string to my

[android-developers] Please help! mkdirs() on sdcard fails silently, no idea what is the problem.

2009-12-15 Thread Agus
Hi all, My app suddenly could not create a directory on sdcard using mkdirs(), it was working fine before. As the method throws no exception, I have no idea what the cause is. I have checked for a duplicate directory/file of same name, and there is none. I did remove and insert sd card but to no

[android-developers] Re: Forward search queries to one single activity that handles search

2009-12-15 Thread MrChaz
As I understand it you only want the intent-filter in the activity that does the searching. The intent filter says the to platform hey I can do this Then in the activities you want to use the search you can startActivityForResult() On Dec 15, 12:11 pm, Stefan Klumpp stefan.klu...@gmail.com

[android-developers] Re: java sound api android 1.6 support

2009-12-15 Thread maxsap
Thanks a lot for your quick responce Mark. -- 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] Please help! mkdirs() on sdcard fails silently, no idea what is the problem.

2009-12-15 Thread freezy
You probably need to add: uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE / to your manifest.xml. They added that in 1.6 I think. On Tue, Dec 15, 2009 at 1:50 PM, Agus agus.sant...@gmail.com wrote: Hi all, My app suddenly could not create a directory on sdcard

Re: [android-developers] Please help! mkdirs() on sdcard fails silently, no idea what is the problem.

2009-12-15 Thread Agus
Thanks a lot it works now, This is interesting since I have never changed the target build API other than 4. On Tue, Dec 15, 2009 at 5:01 AM, freezy phree...@gmail.com wrote: You probably need to add: uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE / to your

[android-developers] Re: Socket - Network connect drops after 15 minutes

2009-12-15 Thread Ron
It's a background service which must remain connected, and also cannot be overridden by the user, so I need a programmatic solution to keep wifi on. I'm trying: wl = wifiManager.createWifiLock(tag); wl.acquire() but that doesn't seem to be working. I don't want to get too far

[android-developers] AudioTrack - Clicking Sound

2009-12-15 Thread Business Talk
I am getting this clicking sound when playing static pcm data. Anybody out there is having the same problem? This is not the data issue. I am sure of it. -- 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] Re: Socket - Network connect drops after 15 minutes

2009-12-15 Thread Mark Murphy
Ron wrote: It's a background service which must remain connected, and also cannot be overridden by the user, so I need a programmatic solution to keep wifi on. I'm trying: wl = wifiManager.createWifiLock(tag); wl.acquire() but that doesn't seem to be working. That will only

[android-developers] Animations

2009-12-15 Thread NewAni
Hi, I want to use different animations when I start a view and exit a view and not the usual like slide In and slide out. For Ex: I start the view with Bottom up animation and exit the old view by left slide out animation. I have implemented this using setInAnimation and setOutAnimation, but

[android-developers] Re: Forward search queries to one single activity that handles search

2009-12-15 Thread Stefan Klumpp
Your assumption is partly right. I want all activities to accept search queries (via the search button on the phone), although I want only one single activity to handle the search (via a web server) and display the results. The problem is now, to make all activities accept search queries.

[android-developers] Adding contacts to a custom account

2009-12-15 Thread sazilla
Hi everyone, I encountered an issue while configuring my own account for android contacts sync. When the user choses to add a new contact to the custom account, only the name fields and the photo are showed. This behaviour can be found in the ExternalSource.java android source file. My question

[android-developers] Re: checkbox and icons in listview

2009-12-15 Thread Abhi
Thanks Jose, That helps. I am also trying to change the CheckBox style. Get rid of the box or maybe fade it out and give the checkmark more focus, etc. Would you know how to change the checkbox style and not use the default? Thanks, Abhishek On Dec 14, 9:01 pm, Jose Gomez j...@josecgomez.com

[android-developers] AudioTrack.play Exception at line 764

2009-12-15 Thread Business Talk
I am getting an exception thrown by the AudioTrack.play at line 764. It doesn’t happen every time if I play it long enough it does sooner or later. I don’t seem to be able to find the latest AudioTrack source code. It happens when I repeatedly create a new audio track object and release it. --

[android-developers] Re: AudioTrack - Clicking Sound

2009-12-15 Thread niko20
Hi, I use AudioTrack for several projects and haven't had a problem. However, as I was learning to use it, I had lots of small issues related to: 1. Not filling the buffer correctly as you think - double check your code. Even if you are missing one PCM sample you will get a click. 2. If using

[android-developers] Re: GLSurfaceView.Renderer render rate

2009-12-15 Thread Jeremiah Sellars
First, thanks Robert... that's going to help a lot. I've not had to use threading before and it looks to be a must on Android for games so I'm making sure I understand the concepts as clearly as possible. I'm quite thankful that Java's tutorials are as good as they are. I was almost thinking of

[android-developers] Re: AudioTrack.play Exception at line 764

2009-12-15 Thread niko20
line 764 in AudioTrack is inside the write() function. Looks like you may be writing some bad data for some reason, double check your code where you are writing the data into the AudioTrack. -niko On Dec 15, 9:12 am, Business Talk roman.businesst...@gmail.com wrote: I am getting an exception

[android-developers] Change button style

2009-12-15 Thread Abhi
Hello, I want to put a triangular shaped button in my app. I have the button image (.png) but don't know how to use this as my button. I don't want to use an ImageButton as I don't want to have a rectangular box behind this image. Can anyone help? Thanks, Abhishek -- You received this

[android-developers] Re: AudioTrack.play Exception at line 764

2009-12-15 Thread Business Talk
Thanks Niko On Dec 15, 10:21 am, niko20 nikolatesl...@yahoo.com wrote: line 764 in AudioTrack is inside the write() function. Looks like you may be writing some bad data for some reason, double check your code where you are writing the data into the AudioTrack. -niko On Dec 15, 9:12 am,

Re: [android-developers] Change button style

2009-12-15 Thread TreKing
Then just use an ImageView. - TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking On Tue, Dec 15, 2009 at 9:22 AM, Abhi

[android-developers] Switching from GPS to Network Positioning

2009-12-15 Thread Harold
Hello, im using a PositioningService in my Application. In the onCreate() Method im getting a LocationManager with the Criteria.ACCURACY_FINE, the Problem is, now im getting only a position if im outside through gps. If im inside i get no Position. If i dont set the Criteria, then i only get

[android-developers] Re: Where are the HTC dev phone 1 image package links?

2009-12-15 Thread Chris Sokol
Thanks, Ryan! This worked great. On Dec 8, 7:35 pm, Ryan Beesley ryan.bees...@swypeinc.com wrote: lbcoder posted this on one of the other groups: On Dec 7, 7:41 pm, lbcoder lbco...@gmail.com wrote: The page is just broken. The files are still there to download.

[android-developers] Re: Touch screen inactive

2009-12-15 Thread Pierre Henry
Problem not known == problem On Nov 18, 9:51 am, Pierre Henry Perret phper...@gmail.com wrote: In stacking tasks, at some point the touch screen dont work any more. It works again later without reason. Is this a known problem ? -- You received this message because you are subscribed to the

[android-developers] Re: Touch screen inactive

2009-12-15 Thread justinh
Make sure you avoid doing intensive work on the UI thread. http://android-developers.blogspot.com/2009/05/painless-threading.html On Dec 15, 11:18 am, Pierre Henry phper...@gmail.com wrote: Problem not known == problem On Nov 18, 9:51 am, Pierre Henry Perret phper...@gmail.com wrote: In

[android-developers] Using Adapters

2009-12-15 Thread Ben Griffiths
Hi, I would like to implement a UI that behaves in a similar way to editing/adding contacts on official contact app. Specifically, I would love the user to be able to press a button to add as many EditText parts as they need. This sounds like a jobs for adapters! That is as pretty much as far as

[android-developers] Re: JDBC Driver for SQLiteDatabase

2009-12-15 Thread kristianlm
Hi again everybody. I really wanna get to the bottom of this. I posted a ticket http://code.google.com/p/android/issues/detail?id=5437 and, perhaps as expected, the reply sounded: this code is undocumented because it's unsupported. please do not use undocumented API. The ticket has been

[android-developers] Re: Creating databases

2009-12-15 Thread jeffro
Here's an example: @Override public void onCreate(SQLiteDatabase db) { Log.d(getClass().getName(), Creating Database.); db.execSQL(VEHICLE_CREATE); db.execSQL(RUN_CREATE); db.execSQL(DATA_CREATE);

Re: [android-developers] Using Adapters

2009-12-15 Thread Mark Murphy
Ben Griffiths wrote: I would like to implement a UI that behaves in a similar way to editing/adding contacts on official contact app. Specifically, I would love the user to be able to press a button to add as many EditText parts as they need. This sounds like a jobs for adapters! Uh, maybe.

[android-developers] Why first call to Cursor.getCount() is so slow?

2009-12-15 Thread Andriy Tsykholyas
Hi, I've noticed quite a strange thing with Cursor object. If I use my own database (with SQLiteDatabase and SQLiteOpenHelper) and run some query on it (using any of SQLiteDatabase query() methods) this query is finished very quickly, in a few milliseconds. But then first call to some of Cursor

[android-developers] Re: Using Adapters

2009-12-15 Thread Ben Griffiths
Thanks for a very quick reply! On custom Adapters in ListViews, here's an excerpt from one of my books that discusses the topic: http://commonsware.com/Android/excerpt.pdf Thanks, I'll give that a read. Or, this could be a LinearLayout in a ScrollView, and you are modifying the roster of

[android-developers] Re: Forward search queries to one single activity that handles search

2009-12-15 Thread MrChaz
Take a look at the SearchManager stuff: http://developer.android.com/reference/android/app/SearchManager.html From what I can see you only want one activity that responds to the search, the others need to be able to initiate (I think) what would be a 'local search' When you start a search the

[android-developers] AlertDialog and setMultiChoiceItems

2009-12-15 Thread Klaus Kartou
Hi, I am having some problems maintaining the checked state of items in a AlertDialog. I want to show a dialog with a list of checkboxes that reflects the contents and states of items I have in a array in my activity. In *onCreateDialog *I use: builder.setMultiChoiceItems (int itemsId, boolean[]

Re: [android-developers] Re: Using Adapters

2009-12-15 Thread Mark Murphy
Ben Griffiths wrote: Would this be a better way of doing it? Not sure. I haven't tried that specific technique. I went the ListView/Adapter route, because I needed clickable rows. If you just want a scrollable list of EditText widgets (and some other stuff), you may want to consider just the

Re: [android-developers] Why first call to Cursor.getCount() is so slow?

2009-12-15 Thread Romain Guy
Hi, The query doesn't actually do much. The Cursor is lazily loaded so it's only the first method call to access data (like getCount()) that loads the content of the rows. On the other hand if I query some ContentProvider (using getContext ().getContentResolver().query()) then this query takes

Re: [android-developers] Draw fullscreen alpha-image is too slow

2009-12-15 Thread Romain Guy
This sounds about right. On a device like the G1 or HTC Magic (which are more or less equivalent to the HTC Hero) it takes about 4 ms to draw a full screen opaque image. In your case you are drawing two images and the second one is twice as big *and* requires blending, which is done in software.

[android-developers] Re: List Contact type SIM, Phone, Google

2009-12-15 Thread Nature Boy
I have run this code on a HTC Hero with Android 1.5 and compared the list of contacts that I pull from the API. It includes the Phone and Google contacts but not the SIM contacts. Is there anyway to pull these as well? I still have not found a way to detect the difference between a Phone and a

[android-developers] Re: Override in call-screen - Security Bug or Feature?

2009-12-15 Thread Matt
The call screen has been secured on the Motorola Droid from launching an activity when an event is detected. I have tried to fire the home activity and then launch my activity, but it is still blocked. However, I can open other applications from the home screen. Any ideas to get my activity to

[android-developers] layout does not take text style from styles.xml?

2009-12-15 Thread Mark Wyszomierski
Hi, I've got a text style defined in styles.xml. I'm trying to reference it from a layout. When I reference from the layout, it causes an exception upon inflation. If I use the style from java code, it works fine. Setting the individual styles on the TextView works fine too: TextView

[android-developers] Android Dev Tools - Unsigned?

2009-12-15 Thread Luke Schlather
I'm trying to install the SDK on my machine, but as I'm installing ADT, Eclipse gives me a warning that the ADK plugins contain unsigned content. From the listing it looks like they are unsigned in their entirety. Is this correct? It seems a little odd that an application plugin people will be

[android-developers] Can I install Google Android OS on My Nokia 6233???

2009-12-15 Thread WebCoder
Can I install Google Android OS on My Nokia 6233?? if yes... how can i install on my nokia 6233 mobile phone... can any one tell me it is posible or not. i m bor wid nokia os (which defult installed in 6233)... i want to try some new wid my mobile -- You received this message

Re: [android-developers] Re: How to handle simultaneous key press

2009-12-15 Thread zhangjun
you can do the cache yourself, but it is not safe because you should eat the first down key, so you must care the key eating and mending On Mon, 2009-12-14 at 17:55 -0800, onceaweek wrote: Thank you for reply. I'd like to know how to catch previous key press information. Is there any

[android-developers] Android Development Suggestions...

2009-12-15 Thread Kenneth G. Mages
Two immediate suggestions, allow the font size in Gmail to be adjustable. Allow groups to be emailed instead of adding recipients one at a time. kgm Chairman/CEO HomeATM ePayment Solutions www.HomeATM.net (615) PIN-PADS 746-7237 We guarantee your data beginning to end. * Email

[android-developers] appwidget layout cache

2009-12-15 Thread sam
Hi, I'm not sure if this its possible but I would like to force the layout cache to be updated (for example when a user upgrades the application, if there is a change to the width/height of an ImageView/TextView this change isn't reflected by the onscreen widget unless I remove the widget and add

[android-developers] Issues debugging Droid with Eclipse

2009-12-15 Thread frankw
I've many times debugged my Java EE code running on Tomcat and JBoss quite effectivley with Eclipse, but I'm running into a brick wall debugging an Android app on the Droid. I think I have to debug on the device and not the AVM because the app interacts with MapView, GPS, etc. Maybe I need to use

[android-developers] Cannot receive UDP in mobile network

2009-12-15 Thread Costa
I am writing a UDP client/server application. The android phone (client) can send and receive UDP packets if connected to wi-fi. When using mobile network (2G), however, it can send packets to the server, but cannot receive packets. The server does receive and send back packets in all cases. The

[android-developers] Re: Moving to 2.0 from 1.6 - error reported of a violation of a core library class that doesn't exist in app

2009-12-15 Thread DavidEarl
I have a similar but different problem. If found examples in several places on how to use openGL. However all these examples show using the Open GL imports like: import javax.microedition.khronos.egl.EGL10; When i use these I get the same message discussed above: Attempt to include a core

[android-developers] Re: problem in aligning right column in the list

2009-12-15 Thread Guy
Can you explain why your second Textview has fill_parent set as it's layout_width. I would think that, that would cause problems? On Dec 2, 2:47 pm, adag adjo...@googlemail.com wrote: Worked out with android:weightSum quite nice..!!! On Dec 2, 1:18 pm, adag adjo...@googlemail.com wrote:

[android-developers] Re: In Android 2.0.1 on Droid, the accelerometer seems to stop working when you turn off screen?

2009-12-15 Thread ronnieramone
I just noticed this today on my Droid, after the update was sent last week. The accelerometer does not seem to respond for switching orientation automatically, but they still work in the Level app. Labyrinth Lite (accelerometer game) stopped working after the update. Something is definitely

[android-developers] Why are onCreate() onStart() etc. called when handset orientation is changed?

2009-12-15 Thread steff
Hi everyone, I got my hands on Android which is really fun. But at some point I don't seem to understand the concept. I've got a Main class which reads like this: public class Main extends Activity implements SensorEventListener { ... } in the onCreate(...) I set the layout to

[android-developers] aapt backwards compatibility, etc

2009-12-15 Thread bbe
Are the newest versions of aapt backwards compatible with the older versions? i.e. can i read 1.0 1.5 apks with the 2.0.1 SDK aapt? My tests show me it works, but is it failsafe? If this is not the case, what's the easiest way to determine the android version an APK was developed for and know

[android-developers] SQLite SELECTS during INSERT?

2009-12-15 Thread Stiffler
Is there any chance of SQLite database corruption if we set setLockingEnabled to false and read from the database while it's being written? SQLite docs indicate the whole database gets locked during a write... so its somewhat unclear what function the setLockingEnabled would serve beyond the

[android-developers] Re: JDBC Driver for SQLiteDatabase

2009-12-15 Thread enh
the JDBC driver is undocumented because it's unsupported. please do not use reflection to access undocumented/unsupported API. --elliott On Dec 14, 5:29 am, kristianlm kristianl...@gmail.com wrote: Hi jotobject, I don't understant why this wouldn't be part of the public API. if Android is

[android-developers] Help regarding Image Crop.

2009-12-15 Thread yagnasri
I want to pick an image ,(SD card and phone memory both where ever available), The picked image is to be cropped and cropped image is to be displayed as a small icon in my app. Also I need to display the entire image at a later stage. so i need to save the image also. Can someone help regarding

[android-developers] Droid/AAC support

2009-12-15 Thread bexp
SetAudioEncoder support only DEFAULT/AMR_NB values however on Droid phone there is AAC encoder. NativeCamera app uses it. Which numeric value sets this codec ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Numeric-only soft keyboard

2009-12-15 Thread Ajay
Any update on this? I also want to bring up the numeric keyboard, but I don't want to restrict the input type. On Oct 25, 7:21 am, Armond Avanes armond...@yahoo.com wrote: So anyone any experience with numeric keyboard? Regards, Armond -Original Message- Sent: Tuesday, October

[android-developers] Does Android has a Touchscreen requirement?

2009-12-15 Thread bradki...@gmail.com
Dear sirs. I want to know that android has a touchscreen requirement about hardware and software. And how does touch gesture processing where, for example, in driver layer or framework or application, thanks -- You received this message because you are subscribed to the Google Groups Android

[android-developers] How to Read/Write .CSV

2009-12-15 Thread Ben
I'll open with, I googled this thing like crazy, searched anddev and a few other boards (including this one) and can't quite find what I'm looking for. The predicament : all CSV examples are in reference to contacts, and the file read/write posts (the ones that I need) make the assumption that I

[android-developers] buy more than one Android Dev Phone 1.

2009-12-15 Thread Mauro Conti
Dear all, I am working on a research project and we need to buy some Android Dev Phones. Is there any way a University can buy directly more than one Android Dev Phone? Is the only way to have a registered developer and single delivery for each phone? Thanks. Regards, Mauro Conti -- You

[android-developers] Multi CheckBox button in List View

2009-12-15 Thread aymen_isi
Hello, J'ai une problème au niveau ListView : quand le CheckBox est chiqué ca provoque une répétition dans la 10 emme position de ListView.. merci d'avance de me répondre dans le plus tôt possible.. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Debugging on Acer Liquid

2009-12-15 Thread WIL:JEFF
Hello, I have also had success using this method, thank you for the help. Jeff On Dec 13, 6:15 am, Keiji Ariyama ml_andr...@c-lis.co.jp wrote: Hi, I have succeeded. ; Acer Liquid %SingleBootLoaderInterface%     = USB_Install, USB\VID_0502PID_3201 %SingleBootLoaderInterface%     =

[android-developers] Location of current desktop/wallpaper file?

2009-12-15 Thread PopSandwich
I realize this isn't exactly a programming question. However I seem unable to discover this information elsewhere, so thanks if anyone can answer this. I'm on a Samsung Moment running Android 1.5. Is there an official support forum for this type of question, or a preferred forum along the lines

[android-developers] Application disappears from recent apps list

2009-12-15 Thread Balder
I am writing an app that wants to be able to handle URLs. I also want to be able to launch it stand-alone with no arguments, so I've specified two intent filters: intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER /

[android-developers] Animation of View size

2009-12-15 Thread hoha
Hi all. I've noticed that animation framework is based on matrix transformations (with additions for alpha). Did I get it right that it's impossible to animate an arbitrary property (e.g size) of my view with android.animation.* tools? If so, can you please give me some hints how size animations

[android-developers] Is there a way to print the activity stack ?

2009-12-15 Thread rkewlani
Acutally I was trying to automate some stuff on my android emulator. I start an activity through adb shell using am command, but when the activity starts do I have a way out to know that my activity is the one which is at the top has the focus. I googled about it a lot but couldn't find the

[android-developers] MapView OnTouchListener is firing only once

2009-12-15 Thread Aamir Yaseen
on mapview onTouch function of OnClickListener is never called after executing once. Is there any work around for this? I am attaching Code snippets: public class SearchResultsMapView extends MapActivity { private MapView mapView; @Override public void onCreate(Bundle

[android-developers] porting Widgets in to Eclair

2009-12-15 Thread Dilip.S
Hi, How to brng the Widgets of OMS 1.5 in to Eclair platform, and then Compilie it sucessfully. the aim of this is to bring OMS features in to Eclair. -- 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] zipalign command not found

2009-12-15 Thread ajaxgeek
when I do zipalign -c -v 4 myapp.apk or zipalign -v 4 myapp.apk myapps.apk I am always getting zipalign command not found. but when I launch zipalign tool, I am getting bellow messages Last login: Mon Dec 14 22:12:04 on ttys001 /Users/willie/Desktop/willie/android-sdk/tools/zipalign ; exit;

[android-developers] How to create a TabHost dynamically?

2009-12-15 Thread KDr2
I have a plain Activity( a subclass of Activity,not TabActivity), while the application starting, I retr data via the network, Then I want to create a TabHost widget according to the data which I just got, but I do NOT know how to do it, any- one help me? many thanks! -- Best Regards, --

[android-developers] NPAPI support in Android 2.0 SDK WebView

2009-12-15 Thread garbeam
Hi there, in older android SDK versions it was possible to load custom NPAPI plugins into the WebView through reading them from assets and writing them into the filesystem at the apps data directory, for example something along the lines: webview = (WebView)findViewById(R.id.webview);

[android-developers] Scrollview Auto Scrolling

2009-12-15 Thread dmh1
I am using a scrollview with a few EditTexts at the top followed by a series of Spinners. The problem I am having is that when a Spinner is used the screen auto scrolls back up to the last EditText. Is there any way to prevent the auto scrolling? Thanks. -- You received this message because you

[android-developers] Adding, Editing, Deleting entries in Androids call log

2009-12-15 Thread draf...@gmail.com
Hi, I have been looking at Androids call log content provider and have managed to pull the data from it and display it in my own app. However I want to be able to write to the call log, is there anyway of doing this? -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Adding, Editing, Deleting entries in Androids call log

2009-12-15 Thread Donal Rafferty
Here is the code I have import android.app.Activity; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.provider.CallLog; import

[android-developers] Why are onCreate() onStart() etc. called when handset orientation is changed?

2009-12-15 Thread steff
Hi everyone, I got my hands on Android which is really fun. But at some point I don't seem to understand the concept. I've got a Main class which reads like this: public class Main extends Activity implements SensorEventListener { ... } in the onCreate(...) I set the layout to

[android-developers] shape with shadow

2009-12-15 Thread Benjamin
Hey guys, how can i add shadow to a shape? My shape.xml: ?xml version=1.0 encoding=utf-8? shape xmlns:android=http://schemas.android.com/apk/res/android; android:shape=rectangle gradient android:startColor=#272828 android:endColor=#272828 android:angle=90 /

[android-developers] Accessing Contact Data Base for adding,deleting,updating contact using Native code

2009-12-15 Thread manouwar
Hi, I want to add,delete,update android Contact Database using native c code. please tell me how to do if any one have done it. Thanks Manouwar -- 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: Socket - Network connect drops after 15 minutes

2009-12-15 Thread Stiffler
You might try closing the socket and trying to connect it again, the same way it was opened before the disconnect. 15 minutes is a relatively long time... does the socket live in an activity? It should probably live in a service so its resources don't get reclaimed like an activity would.

[android-developers] porting dalvik to a nommu processor

2009-12-15 Thread zeki
Hi, I am working on porting dalvik to a processor which has not NOMMU (Memory Management Unit). I couldn't convert one of the fork into vfork in dalvik VM at. dalvik_system_Zygote.c. Is there any porting work for NOMMU devices? Any idea? any help? Thanks Zeki -- You received this message

[android-developers] Android Gmail Development Suggestions...

2009-12-15 Thread POKER WINNER
Two immediate suggestions, allow the font size in Gmail to be adjustable. Allow groups to be emailed instead of adding recipients one at a time. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

  1   2   3   >