[android-developers] Work with Cursors

2009-11-10 Thread ColletJb
Hi, I'm currently developing a small application for Android using a database. I have a table with 3 fields : day, month, year. When I retrieve them from the database, I use the following method : public Cursor getAllItems(){ return db.query(this.tableName, new String[]{ (...)

[android-developers] Re: Please help me to choose Android Phones (For Android development)

2009-11-10 Thread Pankaj Godbole
This is a good analysis of which phones to consider for development. I also am ready to purchase a phone for testing of real-world apps (i.e. not for educational purposes). I have been advised by a couple of people to consider purchasing the ADP1 from Google. What are your views on using the

[android-developers] Re: Droid phone unable to recognize device

2009-11-10 Thread ko5tik
That's my setup: ubu...@wlka-64l3d4j:~$ cat /etc/udev/rules.d/11-android.rules SUBSYSTEM==usb, ATTRS{idVendor}==0bb4, ATTRS{idProduct}==0c02, MODE=0666, OWNER=ubuntu Trick is to put it before other rules so it gets precencdence ( hence: 11-android.rules ) Vendor ID and product id can be obtained

[android-developers] Re: Launching appwidget from another application

2009-11-10 Thread anand
Hi String, Thank you for the reply... Can you help me in implementing the createview function. Regards, Anand On Nov 10, 12:33 pm, String sterling.ud...@googlemail.com wrote: On Nov 10, 5:25 am, anand anand.ramasw...@wipro.com wrote: The scenario is that i am modifying the home screen in

[android-developers] Android versions

2009-11-10 Thread Neilz
Ok, I'm a bit behind the times here... I am still developing with version 1.5, level 3. 1) Should I install 2.0 and develop with that? My phone is a Hero with v1.5. 2) If I do install 2.0, do I need to upgrade the software on my phone? Will my apps still work? 3) Also, if I do install 2.0,

[android-developers] Re: help me Installation error: INSTALL_FAILED_UPDATE_INCOMPATIBLE

2009-11-10 Thread RichardC
You can't unless you are making your own device and therefore you own the platform private key. If you are building your own device then I suggest you might get more of a response in: http://groups.google.com/group/android-platform/topics or http://groups.google.com/group/android-porting/topics

[android-developers] Re: Launching appwidget from another application

2009-11-10 Thread anand
Thank you for the reply... Can you help me in implementing the createview function. Regards, Anand On Nov 10, 12:33 pm, String sterling.ud...@googlemail.com wrote: On Nov 10, 5:25 am, anand anand.ramasw...@wipro.com wrote: The scenario is that i am modifying the home screen in

[android-developers] Re: Launching appwidget from another application

2009-11-10 Thread anand
Hi String, Thank you for the reply... Can you help me in implementing the createview function. Can you provide a sample code for the appwidgethost implementation Regards, Anand On Nov 10, 12:33 pm, String sterling.ud...@googlemail.com wrote: On Nov 10, 5:25 am, anand

[android-developers] Re: The application android has stopped unexpectedly

2009-11-10 Thread Maxood
I created a new AVD. On emulator when the touch event is fired i get the same error: The application android has stopped unexpectedly. In my logcat window i have the following error messages: 11-10 01:43:24.144: DEBUG/dalvikvm(743): GC freed 987 objects / 79024 bytes in 99ms 11-10 01:43:24.324:

[android-developers] problem in service implementation

2009-11-10 Thread Chris
im implementing an exchange server client. Now i have to monitor the accounts , in the system, for new mails. For that i need to keep running the service, which in turn will trigger a ping command (exchange specific) to find out any new mails.Now my problem is i need to run a separate thread for

[android-developers] RTSP Issue in Android

2009-11-10 Thread dileep
Hi Friends, I need some help in one of the issue I am facing in android emulator. I am trying to stream a video from a streaming server I am using Darwin Streaming Server. The video plays well when I give a source referring to a video on some http server. But when I give a source referring to

[android-developers] Using the new VcardComposer with specific feilds for the VCF

2009-11-10 Thread tom
HI , I am using the new VcardComposer in 2.0 version. I am trying to create a Vcard that i will choose the feilds that will come out from it . for example : I want to create a Vcard from a specific Contact that will not include the Feild NOTE: . How can i do that ? , in the prevoise

[android-developers] Map not displaying in 1.6

2009-11-10 Thread Nithin
Hi, In 1.6 sdk, map is not displaying, i put all the permissions and uses- library in manifest, added the external map.jar from add-on... created AVD manager with google-API 4 But when runnning, its showing 11-10 15:31:00.255: ERROR/AndroidRuntime(1587): Uncaught handler: thread main

[android-developers] Re: Map not displaying in 1.6

2009-11-10 Thread Neilz
This happened to me once, and it was because I had forgotton to specify the 'maps' avd when setting up the project - so the maps apis had not been included in the path. Hope that helps at all. -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: Map not displaying in 1.6

2009-11-10 Thread Nithin
Thanks Neilz, for thw quick reply... i solved now.. the problem was, i added, external map.jar and google api 4 , so 2 references... now displaying properly... Thanks Nithin On Nov 10, 3:20 pm, Neilz neilhorn...@googlemail.com wrote: This happened to me once, and it was because I had

[android-developers] Error while compiling native apps.

2009-11-10 Thread Mr Pinguin
after make i get errror: /home/opt/platform/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/lib/gcc/ arm-eabi/4.2.1/interwork/libgcc.a -lc -lm -lm -lssl -lcrypto -lmedia /home/opt/platform/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/bin/../ lib/gcc/arm-eabi/4.2.1/../../../../arm-eabi/bin/ld:

[android-developers] Re: The application android has stopped unexpectedly

2009-11-10 Thread Maxood
I'm also getting the following messages in my logcat window: 11-10 02:08:35.722: INFO/Process(571): Sending signal. PID: 769 SIG: 3 11-10 02:08:35.722: INFO/dalvikvm(769): threadid=7: reacting to signal 3 11-10 02:08:35.722: ERROR/dalvikvm(769): Unable to open stack trace file

[android-developers] Getting red square using Google Map

2009-11-10 Thread ankit_cb...@yahoomail.com
Hi, I am getting a red square on the bottom left when opening goggle map on device using Google Api's. This thing is not happening on emulator but is occurring on device..Please help me to get rid of this square. thanks, Ankit Aggarwal -- You received this message because you are subscribed

[android-developers] Very Urgent

2009-11-10 Thread IPEG Student
Hello btn.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { String _lat=lat.getText().toString(); String _lon=lon.getText().toString(); Uri uri=Uri.parse(geo:+_lat+,+_lon); //Uri smsuri = Uri.parse(content://sms/inbox/12);

[android-developers] how to get the caller name which displays on the incoming call screen

2009-11-10 Thread ankit_cb...@yahoomail.com
Hi, Suppose my application xyz stores a few contacts(just like in the address book/ telephone book). Other contacts are by-default stored in my Android address book. Suppose I receive a call on the handset with my app xyz running in the background. All I need is to fetch the Caller's name

[android-developers] how to get the caller name which displays on the incoming call screen

2009-11-10 Thread ankit_cb...@yahoomail.com
Hi, Suppose my application xyz stores a few contacts(just like in the address book/ telephone book). Other contacts are by-default stored in my Android address book. Suppose I receive a call on the handset with my app xyz running in the background. All I need is to fetch the Caller's name

[android-developers] Re: Closing more than one activity in the activity stack

2009-11-10 Thread raghavendra k
Hi Simz, Here is the code to navigate back to the home screen and it will closes all running Activities. May this helps you. Intent myIntent = new Intent(YourCurrentActivity.this, YourHomeScreenActivity.class); myIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); startActivity(myIntent);

[android-developers] Re: disable GPS

2009-11-10 Thread raghavendra k
Hi Nemat, AFIK there is no way Enable/Disable GPS programatically. We can only do is show the user location settings screen directly. Here is the code.. startActivity(new Intent (android.settings.LOCATION_SOURCE_SETTINGS)); Bye... -- You received this message because you are

Re: [android-developers] Handling back button with Soft keypad

2009-11-10 Thread Dianne Hackborn
http://developer.android.com/reference/android/view/View.html#onKeyPreIme(int, android.view.KeyEvent) On Fri, Nov 6, 2009 at 10:07 AM, gshetty gshett...@gmail.com wrote: Hi I have a simple edit control in my application and as expected the soft keypad comes up on tapping it. Now what I

[android-developers] Every time one new instance instance is not created for standard launch mode activity???

2009-11-10 Thread pink 444
Hi all, I have two activities in my application and both have different affinities . One activity is launcher and another one is normal one.The normal activity has standard launch mode . In this scenario i am trying to activate normal activity from launcher activity for more

[android-developers] Re: Read Phone Contact in Vcard Format in Android or retrieve All the contacts values2.0

2009-11-10 Thread Safy
Hi, How can i retrieve all the contact values in Android 2.0 API level 5. I have retrieved all the contact values in Android 1.5 API level 3, need help for Android 2.0. Thanks and Regards, Sarfaraz Madhia. On Nov 6, 5:12 pm, Safy sarfarazmad...@gmail.com wrote: Hi,   How can I read all

[android-developers] High number of Charge backs?

2009-11-10 Thread csyperski
Have any application developers gotten charge backs over the past few days from google checkout? I have 6 apps in the market that are rated at least 4/5, and have never had a charge back before, but over the past two days I have had 5! That means $15 came out of my pocket the past 2 days! I

[android-developers] Drawable.createFromStream() and OutOfMemoryError exception

2009-11-10 Thread Atif Gulzar
Hi, Would you please help me how to handle the memory leak on Drawable.createFromStream()? I am receiving a base64 image from a webservice. And I decode it using Apache lib. After that I convert it to drawable through Drawable.createFromStream(). But when the image size is bit larger (~350kb)

[android-developers] Re: AudioTrack usage with streaming data in native code

2009-11-10 Thread Lee Duncan
HElp!! Is there anyone know how many size of data i need to fill into AudioTrack write()? Please Help Big Thanks!! 2009/11/9 DuncanLee aqaqaq...@gmail.com Dear All, I connect one streaming application voice output to android AudioTrack in native code layer (C

[android-developers] Retrieve All Contact Details using API level 5 Android 2.0

2009-11-10 Thread Safy
Hi, How can I retrieve all the details from the Phone Contacts using API level 5 Android 2.0. I have done retrieved all the contact details using API level 3 Android 1.5, but need help for Android 2.0. I also used syncml library to convert it into VCard format for API level 3, how can

[android-developers] Push Notification

2009-11-10 Thread tanu
If two or more applications are installed on the phone and those are using broadcast receiver to listen and some message comes .Now in case of push notification how can we distinguish the incoming message is for which application? -- You received this message because you are subscribed to the

[android-developers] Re: Delivery Status Notification (Failure)

2009-11-10 Thread Michael Budas
Hey, sorry to ask what is probably an obvious question but how on an android phone can you get the ip of the phone using java. -- 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: onSearchRequested() doesn't call search activity in 1.5

2009-11-10 Thread Miguel Paraz
Hi, I'm now trying this on a more complicated app. It doesn't work. On the 1.5 emulator, nothing happens when onSearch() is called. On the HTC Magic, the Google Search box appears. The manifest is the same as my test app that works. On Nov 10, 12:13 am, Miguel Paraz mpa...@gmail.com wrote: Hi,

Re: [android-developers] Push Notification

2009-11-10 Thread Mark Murphy
If two or more applications are installed on the phone and those are using broadcast receiver to listen and some message comes .Now in case of push notification how can we distinguish the incoming message is for which application? What exactly are you considering a push notification with

Re: [android-developers] Re: Transfer file between phone

2009-11-10 Thread Michael Budas
Hey, sorry to ask what is probably an obvious question but how on an android phone can you get the ip of the phone using java. On Tue, Nov 10, 2009 at 12:36 AM, Jason Proctor jason.android.li...@gmail.com wrote: what is chucking of data? do you mean chunking? not sure what you mean. the

[android-developers] Very Urgent

2009-11-10 Thread IPEG Student
Hello The MapActivity class is not resolving. The code is :: import com.google.android.maps.MapActivity; import com.google.android.maps.MapView; import android.os.Bundle; public class testandroid extends MapActivity { /** Called when the activity is first created. */ public

[android-developers] Re: Very Urgent

2009-11-10 Thread JP
As opposed to 0.9, in 1.5 (and later), the Maps API is separated from the Android SDK. You need to include that explicitly, or packaged with the SDK. Documentation here: http://code.google.com/android/add-ons/google-apis/maps-overview.html On Nov 10, 3:28 am, IPEG Student

Re: [android-developers] Ok to measure widgets before display?

2009-11-10 Thread Dianne Hackborn
The correct thing to do is write your own layout manager that does the measurement and layout at the appropriate places. On Tue, Nov 10, 2009 at 6:00 AM, Mark Wyszomierski mar...@gmail.com wrote: Hi, I need to find out how wide a button with particular text will be before displaying a

[android-developers]How to move homescreen focus to specific widget?

2009-11-10 Thread Ollie Weng
Hi, I'm writing a appwidget and hope to limit a widget can be added only once on homescreen, and for further trying, i hope to show the correct page of homescreen to show the widget, just like native media player widget. any suggest on how to do this?? TIA, Ollie -- You received this message

[android-developers] Re: Drawable.createFromStream() and OutOfMemoryError exception

2009-11-10 Thread Atif Gulzar
seems this is a reported bug? http://code.google.com/p/android/issues/detail?id=294 -- Best Regards, Atif Gulzar I Unicode, ɹɐzlnƃ ɟıʇɐ On Tue, Nov 10, 2009 at 5:51 PM, Atif Gulzar atif.gul...@gmail.com wrote: Hi, Would you please help me how to handle the memory leak on

[android-developers] Ok to measure widgets before display?

2009-11-10 Thread Mark Wyszomierski
Hi, I need to find out how wide a button with particular text will be before displaying a layout. Is this a valid way of doing it behind the scenes?: LinearLayout lll = new LinearLayout(getContext()); Button btn = new Button()); btn.setText(wonderful!); lll.addView(tvs);

[android-developers] Re: Push Notification

2009-11-10 Thread zero
port sms maybe ? On Nov 10, 2:14 pm, Mark Murphy mmur...@commonsware.com wrote: If two or more applications are installed on the  phone and those are using broadcast receiver to listen and some message comes .Now in case of push notification how can we distinguish the incoming message is

Re: [android-developers] Re: ADC2 Judging App FC

2009-11-10 Thread D.Garcia
For the records, it's also happening to me. G1 with recently updated Android 1.6. Could be that ADC2 Judging application doesn't like the new market application? On Mon, Nov 9, 2009 at 23:00, CraigsRace craig...@gmail.com wrote: I did also get stuck once where it just refused to install the

[android-developers] twitter integration for android

2009-11-10 Thread pankaj
i want to integrate twitter with android, please tell me what is the best way to implement this, i am new to androind. thanks -- 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] twitter integration for android

2009-11-10 Thread Mark Murphy
i want to integrate twitter with android, please tell me what is the best way to implement this, i am new to androind. I use the JTwitter JAR in a few book samples. I removed the org.json classes from the JTwitter JAR, since Android ships with org.json and I get nervous about having duplicate

[android-developers] Re: Android versions

2009-11-10 Thread RichardC
The version 2.0 SDK includes all the older SDK(s), although some of them will need to be downloaded after you install it. When you have installed the 2.0 SDK and fixed any paths etc. run the Android command; this will run a small application that will let you download the older SDK(s) into the

[android-developers] Re: Android versions

2009-11-10 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
If you do not need ot use 1.6 or 2.0 feature than you should upgrade to 1.6 so that your screen layouts and etc are correct on WVGA devices etc.. which means after you downlaod the sdk use the new 2.0 downloader via eclipse adt 0.9.4 There is a post on the developer blog about switching to 1.6

[android-developers] SIGSEGV 11 OpenGL - Only on Droid, not 2.0 Emulator

2009-11-10 Thread chrispix
We are getting a SIGSEGV 11 when launching our OpenGL activity. Here is the logcat. It appears to happen on Droid Hardware, but not the 2.0 Emulator. We are trying to do some testing to see if we can slowly build up some code to cause a crash. Anyone else have any ideas? 11-09 21:52:35.981:

[android-developers] Re: Android versions

2009-11-10 Thread Neilz
Thanks. I think we're getting a 2.0 update around Christmas... On Nov 10, 3:42 pm, Fred Grott(Android Expert, http://mobilebytes.wordpress.com) fred.gr...@gmail.com wrote: If you do not need ot use 1.6 or 2.0 feature than you should upgrade to 1.6 so that your screen layouts and etc are

[android-developers] SoundPool problem

2009-11-10 Thread ayanir
Hello, I'm using a SoundPool for playing my game sound effects. It all worked fine until I checked it on the new SDK 2.0. the sounds are not played and I'm getting in my log: SoundPool Sample channel count (0) out of range right after the playerPool.load (see the code). does any one encountered

[android-developers] Is TextView supposed to be able to scroll its contents?

2009-11-10 Thread Matthias
It was my understanding that even though TextView is not a ScrollView, it has scrolling functionality built-in. However, I'm not able to scroll the contents of a TextView (that's on 1.6). I've reduced my code to the most trivial example: ?xml version=1.0 encoding=utf-8? LinearLayout

[android-developers] List view problem

2009-11-10 Thread c.a.jeffer...@googlemail.com
Hi, I am using a list view and and the onListItemClick() method. The problem I am having is that when I press the back button and tap on another item on the list the position value stays the same. Has anyone else encountered this problem? thanks, Clive -- You received this message because

[android-developers] Re: UTF-8 encoding problem

2009-11-10 Thread StevePotell
urlString = urlBase + Uri.encode(ownerName); On Oct 4, 9:58 pm, Kangping fukangp...@gmail.com wrote: hi all, i am working on an application supportingChineseand have been puzzled by a encoding error.i really really hope someone here could help me out of this sucking problem...:( i take

[android-developers] Re: Droid / Android 2.0 OpenGL Configuration Issue

2009-11-10 Thread Michael Leahy (Tactel US)
Thanks for the replies. It is good to know I'm not the only one that pulled out some hair recently. I almost stumbled upon the answer, but happened to not pick a working EGLConfig several times when testing late Sunday. I got things working rather well now and have an interface similar to

Re: [android-developers] Re: The application android has stopped unexpectedly

2009-11-10 Thread Mark Murphy
Maxood wrote: I created a new AVD. On emulator when the touch event is fired i get the same error: The application android has stopped unexpectedly. In my logcat window i have the following error messages: 11-10 01:43:24.144: DEBUG/dalvikvm(743): GC freed 987 objects / 79024 bytes in 99ms

Re: [android-developers]How to move homescreen focus to specific widget?

2009-11-10 Thread Romain Guy
You cannot do this. On Tue, Nov 10, 2009 at 6:14 AM, Ollie Weng ollie.w...@gmail.com wrote: Hi, I'm writing a appwidget and hope to limit a widget can be added only once on homescreen, and for further trying, i hope to show the correct page of homescreen to show the widget, just like native

[android-developers] Re: motorola cliq sdk 2.0

2009-11-10 Thread suzanne.alexandra
Just to mention. The reason Contacts data from social networking services isn't available to applications on the CLIQ/MOTOBLUR is due to Motorola's legal and contractual obligations with those services. On Nov 9, 11:42 am, nEx.Software email.nex.softw...@gmail.com wrote: So sorry Roman, I

[android-developers] Re: How can I partecipate to an Android project?

2009-11-10 Thread Mihai Fonoage
Hi Joey, My advise would be to first start reading about Android. There are several books out there that should aid in this task. After you get comfortable with the language, there will be greater chances for people to reply. Without having some theoretical background, many will not give you a

Re: [android-developers] Re: outgoing call data stream / channel

2009-11-10 Thread Joachim Neumann
Hi Dianne, I am also struggling with this issue and would like to understand the limitations in current Android hardware. My present understanding is that in on current Android phones there is a GSM/3G chip that 1. receives the *analogue* GSM/3G antenna signal 2. receives modem-like AT commands

[android-developers] Re: motorola cliq sdk 2.0

2009-11-10 Thread nEx.Software
From a developer standpoint, that's fine... But, from a user standpoint who expects a Contacts application to have all of his/her Contacts, that is another story. I understand that there are agreements that need to be adhered to and that isn't going to change, but I'm sure you can understand how

[android-developers] Re: Real Poly/sec on ADP1?

2009-11-10 Thread Robert Green
Jni is not really a big factor in this. In my experience, if you use vbos, you're not nearly as triangle bound as you are fill bound. If you're only filling half the screen and you use vbos with no normals and no index, I imagine you could get up there with vert count. Here's a little test to

Re: [android-developers] SoundPool problem

2009-11-10 Thread Nikolay Ananiev
I had the same problem. All my sounds were in .mp3 and they didn't play in 2.0. I had to reencode them in .ogg and everything started working again. But then I had a problem with one of the longer sounds (7 secs). Only 6 seconds were loaded, because there was some stack overflow at the end of the

[android-developers] Re: How can I partecipate to an Android project?

2009-11-10 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Okay, some information.. the main project source is detailed at: http://source.android.com/ You may want to get an introduction by starting with something small.. Earlier this year I started by improving some SDK developer support issues by contributing changes back to the Android Project and

[android-developers] How to answer comments on your apps

2009-11-10 Thread Maps.Huge.Info (Maps API Guru)
I've been puzzled by the lack of ability for a developer to answer comments made on the market by users. It has been frustrating to see negative comments or questions made and be unable to do anything about them... I've found an easy to use, yet undocumented method to do this. First, download

[android-developers] PhoneStateListener::onSignalStrengthChanged

2009-11-10 Thread Protuhj
I just started developing on my new VZW Droid and while trying to play around with some of the features, I noticed that in the reference docs, they say that onSignalStrengthChanged is deprecated inside PhoneStateListener, (it only gives the asu value, which I assume is GSM only. Now, that's all

[android-developers] Cannot install ADT plugin

2009-11-10 Thread Sunil
Hello All, I am trying to install the ADT plugin to eclipse SDK (Version: 3.5.1 Build id: M20090917-0800) but is giving the below error: I have tried the links https://dl-ssl.google.com/android/eclipse/; and http://dl-ssl.google.com/android/eclipse/;. Also tried manually downloading the plug-in

[android-developers] Touch or Click event...with a listView containing a gridView

2009-11-10 Thread Buddy
Hi, Here is my problem : I have a view containing a listView. And each row of this listview is composed of a linearLayout, itself composed of three textview and a gridView. Here is a summary of my layout for one row : LinearLayout TableLayout TableRow

[android-developers] Android 2.0 battery level

2009-11-10 Thread Scott
I don't know if this is an Android 2.0 or a Motorola Droid issue, but I noticed that the battery level only reports in increments of 10's. For example 70%, 60% etc. Any apps or widgets also can only see this as well. Is this a bug, what happened to the detailed stats? -- You received this

[android-developers] android.process.acore occupies 50%+ CPU all the time

2009-11-10 Thread Will
I don't know why but I do nothing on my HTC Hero, anyone can help or have some clues? Thanks, Will -- 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] Q: Enabling Antialiasing for OpenGL on Android?

2009-11-10 Thread Kevin Chiu
Hello, How do you enable Antialiasing in OpenGL on Android? I'm using a Motorola Droid phone and it contains a PowerVR SGX 530, which supports full scene antialiasing. Keywords: FSAA, antialiasing, opengl, gl, gles Kevin -- You received this message because you are subscribed to the Google

[android-developers] Send email in HTML format

2009-11-10 Thread Matt.P
Hello, I would like to send an email in text/html format. I tried by this way : Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.setType(text/html); sendIntent.putExtra(Intent.EXTRA_TEXT,Constant.MAIL_BEGIN

[android-developers] How to start an activity with no focus?

2009-11-10 Thread em00guy
I have an activity that has a single EditText view, when I launch the activity the focus is set to that view. How do I launch an activity with no focus set? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Is it possible to add new Icons to Contacts View ??

2009-11-10 Thread Banderas
I wonder if someone is able to tell me if it is possible to add icons to the contacts list. For instances in the contacts view list I would like to have an Icon ( in front of the name ) displaying certain features . As an example , an icon saying that this person makes part of my favorite list ,

[android-developers] How can i divide a picture/image into parts

2009-11-10 Thread Nasir
Hey, I am new to Android and need your guidence and suggestions on a problem im trying to solve. I want to divide an image into 4 parts just like a puzzle game but could not find any tutorials on it. After an image is divided into parts i need to store each part in an array. Any idea, please

[android-developers] Android 2.0 vs 1.6 not running

2009-11-10 Thread Chopcsu
I Have an app that is running fine in 1.6, I have now updated my sdk to 2.0 and the app never starts properly I was wondering if anyone had an idea of what would stop an app running on the newer version that runs fine usually. Once it is started, it runs threads correctly, but nothing gets

[android-developers] Android delopers

2009-11-10 Thread chethu
Hi, -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options,

[android-developers] Centering text in a button?

2009-11-10 Thread CyberQat
Hi Guys, Ive just started fooling around with programming my Motorola Droid. I'm programmatic ally laying out an interface such that the text contained in my Button is sized at layout time to fit the button. My questions are: (1) I know the pixel size of the button, what is the best way to set

[android-developers] Why does InputMethodManager#showSoftInput return false?

2009-11-10 Thread Adrian Jackson
In some cases, InputMethodManager#showSoftInput (called in response to a motion event, though from a separate thread) is returning false for me and not displaying the virtual keyboard. If I switch to the home screen and then return to the application, it seems to work as expected. What causes

[android-developers] schemas.android.com site down?

2009-11-10 Thread Guy Resh
Am I missing something or did http://schemas.android.com/apk/res/android just go away today? (11/10/2009) The hostname doesn't appear to be valid (DNS-wise) and Eclipse is showing that it can't find the DTD while editing XML layouts. -Guy -- You received this message because you are subscribed

[android-developers] Difference between the pointer's ID and the pointer's index

2009-11-10 Thread gratiancutule...@yahoo.com
Could you tell me what is the difference between the pointer's ID and the pointer's index for a MotionEvent object? An example would be great. 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] Receiving MP3 play actions in a BroadcastReceiver

2009-11-10 Thread Jun8
Hi, I am trying to build an Android Service that should get notified when the user starts playing an MP3. I checked LogCat when I start playing a song and saw that the following Intent is logged: Intent { act=com.android.music.PLAYBACK_VIEWER flg=0x400

[android-developers] Google: Please release below top 20 apps from ADC2 so we don't have to change package names to submit to Android Market

2009-11-10 Thread Digital Dandelion
Please. Because if I have to change my package name, it won't be something nice. ;) -- 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

[android-developers] phase current

2009-11-10 Thread Deacon
to phase alternative cuirre,t use the followingf equation current(indexed as x_naught)+1=current(indexed as x_one) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: Overlay vs ItemizedOverlay, your thoughts?

2009-11-10 Thread Loda
Hi, I'm newbie to android, but from the example http://developer.android.com/intl/es/guide/tutorials/views/hello-mapview.html, it seem to me that you do not need to create a drawable for each item. it's more the opposite. adn you can always overwrite the methode of OverlayItem... On Oct 24,

[android-developers] Re: Multitouch support in Android 2.0

2009-11-10 Thread gratiancutule...@yahoo.com
On Oct 27, 6:45 pm, Dianne Hackborn hack...@android.com wrote: It's basically just some new APIs on MotionEvent: http://developer.android.com/reference/android/view/MotionEvent.html http://developer.android.com/reference/android/view/MotionEvent.htmlHmmm  and I'm not sure why, but in the

[android-developers] SDK opengl support - Just an advice

2009-11-10 Thread shagrath
Hi, just broke my app yesterday with a classic openGL programming error: not using power of 2 texture sizes... I corrected it but I did it in the first place because: - it's working in the emulator ! - it's strangely working in the dream and not at all in the droid ! (disclaimer: the width was 512

[android-developers] Using the Eclipse debugger?

2009-11-10 Thread CyberQat
Hi Guys, Im programmign on Windows with Elcipse and a Motorola Droid. ADB will successfully download the code to the Droid and run it, but ive been unable to get debugging to work either remotely or with the emulator. (To be honest Im having multiple problems with the emulator and id rather just

[android-developers] Re: ADC2 Judging App FC

2009-11-10 Thread dadical
That's exactly what it is. I have confirmation from a Google engineer that there were updates to the market that caused things to break. Same engineer also unofficially said that things are unlikely to be fixed, as they are getting lots of votes anyway, and that someone further up the foodchain

[android-developers] AMR bitrate

2009-11-10 Thread Bence
Dear Developers, Do you know which bitrate is used while choosing AMR_NB in setAudioEncoder(int) function? How can I set the rate programmatically? Thanks, Bence -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] New to android and java - Cannot run or debug with eclipse 3.5.1 on windows

2009-11-10 Thread Q
Hi, I installed and eclipse, android sdk and tried the first hello, android tutorial but nothing happened on the AVD :-( There are no compilation error, I tried to set break points in the but it does not seem like the application started running at all... Any ideas? Thanks!!! -- You

[android-developers] How to change the height of a view

2009-11-10 Thread jdekeij
I use the following layout to define a gameboard. LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent gomoku.com.BoardView android:id=@+id/gomoku

[android-developers] Re: schemas.android.com site down?

2009-11-10 Thread RichardC
Its never been there, the entry in the manifest file is just a dummy. I would look to see if you have change anything else in your environment. -- RichardC On Nov 10, 6:24 pm, Guy Resh guyr...@gmail.com wrote: Am I missing something or didhttp://schemas.android.com/apk/res/android just go away

[android-developers] Re: Real Poly/sec on ADP1?

2009-11-10 Thread Patrick
I can understand the texturing/filling takes power but could it really be as bad as dragging it down to 2,5%? Sounds really, really bad but I have been thinking a bit about this and come up with a two other things that might also play big roles in pulling down the amount; First off, (and this is a

[android-developers] Re: Using the Eclipse debugger?

2009-11-10 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Okay we need more information What is your OS environment? What is your eclipse set up? Fred Grott Android Developer http://mobilebytes.wordpress.com On Nov 10, 12:40 pm, CyberQat jef...@gmail.com wrote: Hi Guys, Im programmign on Windows with Elcipse and a Motorola Droid.  ADB will

[android-developers] Re: Dev Tools Documentation?

2009-11-10 Thread jotobjects
On Nov 9, 5:59 pm, polyclefsoftware dja...@gmail.com wrote: These tools don't do a whole lot of good if we don't know how to use them and there's no documentation. Hey who need documentation? It's more productive for several hundred thousand developers to read the source and reverse

[android-developers] Paid apps supported in Canada?

2009-11-10 Thread Agus
subject. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options,

[android-developers] Re: How to change the height of a view

2009-11-10 Thread RichardC
I can answer 1/2 your question Jasper de Keijzer wrote: and make it square You need to implement onMeasure in your custom view class and call setMeasuredDimension when you have calculated the largest square your want your custom view to occupy. Centering a view in its parent container I do not

[android-developers] Re: Invoke call from background service

2009-11-10 Thread jotobjects
I did a little experimenting. It is possible to start and activity from a service and the activity does interrupt the user and hide the previous activity. I would guess this is not best practice? Also I don't understand the purpose of the required DEFAULT category here. Anyone understand this?

[android-developers] Re: Using the Eclipse debugger?

2009-11-10 Thread CyberQat
Windows 7 Eclipse 3.5 Galileo for Java plus the complete Android 2.0 SDK I'm using a self made AVD which is just a default one with 16000 meg SDCard space and 480 x 854 screen. I have my Motorola Android attched via ADB and a USB cable to the Windows box. Anything else you need to know? On

[android-developers] Loading contact photos in Android 2.0

2009-11-10 Thread Adam K
Hi all, I'm using ContactsContract.Contacts.openContactPhotoInputStream() to load contact photos in Android 2.0 and users are reporting that some contact photos are not showing correctly. Does anyone know if this method will query all available photos for a particular aggregate contact? Thanks,

  1   2   >