[android-developers] Re: Touch screen Issue with Android { Jun'ichi}

2009-02-05 Thread Rajesh N
Hi Jun'ichi, Touch screen after applying ur patch, but everything is working in reverse manner , I think X and Y co-ordinates have swapped, when I touch extreem right icon , It selects extreem left icon!!! (wired!) I have attched my mxc_ts.c file with mail, kindly give me some suggestion on ho

[android-developers] Re: ListView: Disable Focus Highlight

2009-02-05 Thread BoD
Thanks a lot, I'll try that. BoD On Feb 6, 2009 12:29 AM, "Emmanuel" wrote: In order not to have the items selectable, I disable them by code ( but it is perhaps doable in the xml files ), in the adapter definition : ListAdapter adapter = new SimpleCursorAdapter(MyList, Layout, c,

[android-developers] How to programmically add a new contact in android

2009-02-05 Thread Meryl Silverburgh
Hi, I am trying to programmically add a new contact in android. What I did is this: Uri uri = Contacts.People.CONTENT_URI; values.put(Contacts.PeopleColumns.NAME, "mydummyuser1"); Uri newuri = myActivity.getContentResolver().insert(uri, values);

[android-developers] Re: "Native code is not supported in the current SDK."

2009-02-05 Thread Dave Sparks
Further clarification: <<< I was under the impression it is possible to download the java source code AND the C source code and build them all. >>> It is possible to download the open source code and build for the emulator. If you want the code to run on a specific device, you need additional li

[android-developers] Re: Radio Off

2009-02-05 Thread Nick Pelly
Actually, android.provider.Settings is just used to persist the on/off state across reboot. It is not as useful as it looks. Changing these values will only have an effect on startup. In the case of Bluetooth, there is no SDK API to immediately turn it off/on quite yet. I am pretty sure there is

[android-developers] Button Problem

2009-02-05 Thread ipeg . student
Hello Thanks for the reply. But i am facing the same problem. How can i put the button in this page? private static class SampleView extends View { private Canvas mCanvas; pri

[android-developers] Re: problem with playing sounds using media player

2009-02-05 Thread Dave Sparks
Suggest you try running top to find out what's hogging the CPU. On Feb 5, 9:22 pm, suhas gavas wrote: > Hi, > No ... i m not playing 6 to 7 mp3 files at same time .. > later that day i have tried with just playing one single file and same issue > . But then i trie

[android-developers] Querying in Sqlite

2009-02-05 Thread And-Rider
Is it possible to pass a query directly and check the values that has been inserted for a particular table in a database using the SQlite3 UI (like what we do in SQLSERVER) or should i write a program to display the values inserted for a particular table?? --~--~-~--~~~

[android-developers] how to set RESULT_OK when activity exit?

2009-02-05 Thread jj
how to set RESULT_OK when activity exit? I am launching list activity from main activity using startActivityForResult, after doing work with list activity; i exit from it from it using "finish()" but it doesn't propagate RESULT_OK to main activity in onActivityResult(), what should I do , so tha

[android-developers] Re: Difficult Button

2009-02-05 Thread birds fly
public class Hellobye2 extends Activity { SampleView mView; protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); mView = new SampleView(this); Button b = new Button(this); setContentView(mView);

[android-developers] Re: problem with playing sounds using media player

2009-02-05 Thread suhas gavas
Hi, No ... i m not playing 6 to 7 mp3 files at same time .. later that day i have tried with just playing one single file and same issue . But then i tried SoundPool api and it worked fine . Then also i wonder what was the prb with mediaplayer On Fri, Feb 6,

[android-developers] how to add 3-4 items in list view

2009-02-05 Thread munish
Can any one please tell me how to add multiple items (images/text) in list view --~--~-~--~~~---~--~~ 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@google

[android-developers] Re: How to get lists of email from contact application?

2009-02-05 Thread dileep singh
its not working.iF u have complete code then plz giv.i will check.what u suggested is not working.anyway thanks for giving your time. On Fri, Feb 6, 2009 at 8:08 AM, Mark Roberts wrote: > > Try extending the class with ListActivity instead of Activity. Then > make sure you change the linearLayo

[android-developers] Inserting button in a difficult position

2009-02-05 Thread ipeg . student
Hi all Thanks for the greate replies. I have a porgram by which i draw a rectengle. The code is written below. // public class Hellobye2 extends Activ

[android-developers] Difficult Button

2009-02-05 Thread ipeg . student
Hi all Thanks for the greate replies. I have a porgram by which i draw a rectengle. The code is written below. // public class Hellobye2 extends Activ

[android-developers] Any one know why "Timeout executing service: ServiceRecord" happen?

2009-02-05 Thread Eckel
Hi, I try to create a mini player view on home screen and still use the music mediaplayback service by putting a IMediaPlaybackService aidl in home directory. the mini player can normally playback and control the music, but often meet the anr(com.android.music) and see below log. Anyone can giv

[android-developers] Re: About media player

2009-02-05 Thread Dave Sparks
It's not an issue of I/O conflict. The issue is constructing the file in such a way that the file can played without having to seek to a point that isn't written. If you open a file in OpenCore, it assumes that the file is complete. One other possibility is to run a local HTTP server that streams

[android-developers] Re: problem with playing sounds using media player

2009-02-05 Thread Dave Sparks
If you are playing 6 or 7 MP3 files at the same time, you are probably saturating the CPU just decoding the audio. On Feb 5, 1:10 am, suhas gavas wrote: > hi, > > My program is a 3d game . And i m creating 6 to 7 media > player in my game .. so is this y the warning is fl

[android-developers] Re: Processing audio

2009-02-05 Thread Dave Sparks
This is not possible in SDK 1.0. On Feb 4, 1:01 pm, Natalie wrote: > I would like to be able to extract frequency/amplitude info from > incoming mic audio. From looking at previous posts, it looks like the > way to do this with the current sdk is to write to a file, then tail > that file. This

[android-developers] Re: OpenGL-ES 2.0 support

2009-02-05 Thread Dave Sparks
We are planning Open GL ES 2.0 hardware binding support for Donuts (the next release). There will not be a software renderer, so you'll need to have hardware that supports it. Theoretically it should be possible write a software renderer as well. On Feb 5, 3:55 am, AndroidDev wrote: > Hi. > > Is

[android-developers] Network utilities

2009-02-05 Thread alexdonnini
Hello, Does anyone know if the utilities in system/core/libnetuitls can be used in an application? At this point in time, I am particularly interested in ifc_utils I would appreciate any insight into this. Thanks. Alex Donnini --~--~-~--~~~---~--~~ You recei

[android-developers] Re: RC33 for Dev Phone

2009-02-05 Thread Jean-Baptiste Queru
The bootloader does allow unsigned filesystem images. The recovery system still checks the update packages for signatures. JBQ On Thu, Feb 5, 2009 at 6:20 PM, Mark L. Chang wrote: > > On Feb 5, 8:57 pm, Timothy DeWees wrote: >> This one doesn't seem to work for me. It fails at the verifying >

[android-developers] Re: How to get lists of email from contact application?

2009-02-05 Thread Mark Roberts
Try extending the class with ListActivity instead of Activity. Then make sure you change the linearLayout to a ListView in layout file and give it an attribute of android:id="@+id/list" On Feb 5, 12:42 am, dileep singh wrote: > Hi Mark, > As  suggested by u ,i am using the same code.this is my

[android-developers] Re: RC33 for Dev Phone

2009-02-05 Thread Mark L. Chang
On Feb 5, 8:57 pm, Timothy DeWees wrote: > This one doesn't seem to work for me.  It fails at the verifying > package stating that it's not signed. which is weird, since I thought the dev phone would allow unsigned firmware? --~--~-~--~~~---~--~~ You received this

[android-developers] http progressive download on emulator

2009-02-05 Thread RCP2278
Hi, Has anyone been successful in trying to stream a progressive download clip on the emulator? If so, can anyone send me the http link that you guys used to stream? I'm not sure if the reason I cannot play is due to the media source that I'm trying to play or whether its an emulator problem.

[android-developers] ESP

2009-02-05 Thread CPSC483
Howdy, We are working on a class project. It is ESP (Experience Sampling Program). we are going to use a phone with android on it. Here is the idea for the project: Make a Survey. Users get an e-mail and fill the survey and e-mail back to us (Ex:server) -program is Java We have a possibility t

[android-developers] Re: Android Developers in Atlanta, GA

2009-02-05 Thread mission4u
I am in Charlotte, NC and have designed app named iTubeStatus... it wont be available in US Android market but you can search its description online. Let me know if you guys wanna see the app. I can change a setting for a while I can join your team too...Thanks On Jan 30, 9:10 am, BarbieDahl

[android-developers] Re: "Native code is not supported in the current SDK."

2009-02-05 Thread Jean-Baptiste Queru
it is possible to make it work for a given device running a given revision of the software. It is not currently possible to make it work in a way that behaves predictably on different devices or different revisions of the software (including, importantly, devices or software revisions that haven't

[android-developers] Android on HTC P3600 Samsung SC32442A CPU

2009-02-05 Thread cyber5tar86
Hi! I need some informations.. I want to know if is possible to run android on HTC P3600. It have a Samsung SC32442A cpu inside... Thanx for your help! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Develope

[android-developers] custom EditText that executes callback function

2009-02-05 Thread ashu
I have a user input box that I want to execute a function every time I press enter. I can't call super.onKey(...) to do the standard text input. I have two ways to solve this problems, but I'm having trouble looking for places to find out how to do this. 1. Convert the keycode to a character tha

[android-developers] Anyone knows the application, who will poll/handle keypad events in user space?

2009-02-05 Thread cha...@gmail.com
Hi All, The problem I have is that after updaing system.img with the latest changes from Google, while without changing anything in keypad kernel driver, some keypad events can not be handled by user space applications anymore. After checking with "/system/bin/getevent /dev/input/event0", I'm su

[android-developers] How can i find out what is the top 'view' of my activity?

2009-02-05 Thread Meryl Silverburgh
Hi, Is it possible for me to find out what is the 'view' of my activity? e.g. if my activity pops up a 'dialog', can I get a reference of that dialog? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Andr

[android-developers] Re: RC33 for Dev Phone

2009-02-05 Thread Timothy DeWees
This one doesn't seem to work for me. It fails at the verifying package stating that it's not signed. On Feb 5, 8:20 pm, Brad Fuller wrote: > On Thu, Feb 5, 2009 at 4:56 PM, Timothy DeWees wrote: > > > Hello, can someone help me understand how I can get the latest RC33 > > release for the dev

[android-developers] Re: java.lang.OutOfMemoryError: bitmap size exceeds VM budget

2009-02-05 Thread Rohit
I've tried the unbind method and it doesnt seem to help my case :( It is a good thing to know and keep in mind. Rohit On Jan 23, 2:07 pm, JP wrote: > There's a bunch of discussions about this issue in this forum, just > dig a little and you will find what you need to know. > Also, Romain Guy p

[android-developers] Re: String "Enter" problem

2009-02-05 Thread Neo
Thank you very much , i resolved it On 2月5日, 下午7时01分, Chander Pechetty wrote: > 1. Save as unix file/format > 2. use dos2unix > trick is to remove the carriage return character. > > On Feb 5, 7:44 am, Neo wrote: > > > > > i had aproblemabout read the file, in the inputstream, the string > > hav

[android-developers] debugging integrated Java and native code

2009-02-05 Thread Sergey Ten
Hi, I am trying to figure out what is the best way to debug a mix of Java and native code? Please notice, that I am NOT trying to develop a native app. The app will be written entirely in Java, using Android SDK. However, I noticed that some pieces of the SDK use native methods (e.g. AssetMan

[android-developers] Re: RC33 for Dev Phone

2009-02-05 Thread Brad Fuller
On Thu, Feb 5, 2009 at 4:56 PM, Timothy DeWees wrote: > > Hello, can someone help me understand how I can get the latest RC33 > release for the dev phone? I'd like to know too. I saw this: http://www.mobilecrunch.com/2009/02/05/how-to-get-rc33-on-your-g1-without-the-wait/ But, I don't know if

[android-developers] Re: Merging spannables?

2009-02-05 Thread Dianne Hackborn
TextUtils.concat(). On Thu, Feb 5, 2009 at 4:20 PM, Ivan Soto wrote: > Is it possible to merge spannables? > > like > Spannable spa = null; > spa = Html.fromHtml("text text asds"); > > spa = spa + Html.fromHtml("asdasdasd"); > > Thanks > > > > -- Dianne Hackborn Android framework engineer ha

[android-developers] RC33 for Dev Phone

2009-02-05 Thread Timothy DeWees
Hello, can someone help me understand how I can get the latest RC33 release for the dev phone? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-de

[android-developers] Android Instrumentation for unit testing

2009-02-05 Thread Lucius Fox
Hi, I understand that Android has an Instrumentation for unit testing. In my android activity, I have a ListView and when user clicks on it, it pops up an dialog which 2 choices. And when user clicks one of the choices, it will pop up another form which allow users to enter move information and f

[android-developers] Merging spannables?

2009-02-05 Thread Ivan Soto
Is it possible to merge spannables? like Spannable spa = null; spa = Html.fromHtml("text text asds"); spa = spa + Html.fromHtml("asdasdasd"); Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Develope

[android-developers] Re: How to use findViewById() in a dialog

2009-02-05 Thread Lucius Fox
Thanks for sharing this info. On Thu, Feb 5, 2009 at 2:57 PM, Emmanuel wrote: > > On last note : > > I finally found the Id of this button : android.R.id.button1. > here's my try (succesfull ): > public void onClick(DialogInterface dialog, int whichButton) > { > Dialog curDialog = (Dial

[android-developers] Re: ListView: Disable Focus Highlight

2009-02-05 Thread Emmanuel
In order not to have the items selectable, I disable them by code ( but it is perhaps doable in the xml files ), in the adapter definition : ListAdapter adapter = new SimpleCursorAdapter(MyList, Layout, c, new String[] { "Name", "Score" }, to) { public boolean areAllItemsE

[android-developers] Re: How get text from EditText filed which is showing in alert Dialog

2009-02-05 Thread Emmanuel
As Romain said you're getting the content from your activity ( that don't possess a username_edit item ). you should do : ... Dialog curDialog = (Dialog) dialog; EditText enterNumberField = (EditText) curDialog.findViewById (R.id.username_edit); ... It works for me... Emmanuel http://androidblo

[android-developers] Re: How to use findViewById() in a dialog

2009-02-05 Thread Emmanuel
On last note : I finally found the Id of this button : android.R.id.button1. here's my try (succesfull ): public void onClick(DialogInterface dialog, int whichButton) { Dialog curDialog = (Dialog) dialog; Button curButton = (Button) curDialog.findViewById ( android.R.id.button1 );

[android-developers] Re: BitmapShader performance

2009-02-05 Thread tomgibara
Romain, Thanks for the explanation. On Feb 5, 10:26 pm, Romain Guy wrote: > Tom, > > A shader is a per-pixel operation, which lets you apply it to any > shape, respecting alpha blending as well. As such it is not surprising > that your first method is faster. > > > > On Thu, Feb 5, 2009 at 2:08

[android-developers] Re: BitmapShader performance

2009-02-05 Thread Romain Guy
Tom, A shader is a per-pixel operation, which lets you apply it to any shape, respecting alpha blending as well. As such it is not surprising that your first method is faster. On Thu, Feb 5, 2009 at 2:08 PM, tomgibara wrote: > > I'm experimenting with tiling a fullscreen image (480x320px ARGB >

[android-developers] How to improve browser performance in Emulator?

2009-02-05 Thread Videoguy
Hi I am running Emulator on XP. I find webkit browser on emulator to be very sluggish even though same page from IE on the desktop loads 10x faster. Is there any emulator/qemu startup parameter that can make it faster? I appreciate any pointers. Thanks Puri --~--~-~--~~~-

[android-developers] Re: Current orientation of the device

2009-02-05 Thread Dianne Hackborn
Context.getResources().getConfiguration() On Thu, Feb 5, 2009 at 1:57 PM, Layeeq wrote: > > Hi, > 1. How do i find the current orientation of the phone (portrait or > landscape) ? > 2. How do i find the slider position ? > > Thanks, > Layeeq > > > -- Dianne Hackborn Android framework engineer

[android-developers] Re: How to hang up outgoing call?

2009-02-05 Thread Tilekus
Can you please provide more details? For me it doesn't seem to be possible for now. On Feb 3, 9:58 am, Kamal Hasan wrote: > You can abort a call using BroadcastReceiver in your application. > > Kamal > > On Feb 3, 1:31 am, Tilekus wrote: > > > Hi everyone, > > > We are new to Android and creat

[android-developers] BitmapShader performance

2009-02-05 Thread tomgibara
I'm experimenting with tiling a fullscreen image (480x320px ARGB bitmap) with a square image (160x160px ARGB bitmap). My initial implementation was naive: public void render(Canvas canvas) { final int size = tile.getWidth(); final int w = canvas.getWidth(); final int h = c

[android-developers] Current orientation of the device

2009-02-05 Thread Layeeq
Hi, 1. How do i find the current orientation of the phone (portrait or landscape) ? 2. How do i find the slider position ? Thanks, Layeeq --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Re: What is the difference between managedQuery() and getContentREsolver().query()

2009-02-05 Thread Romain Guy
managedQuery() will use ContentResolver's query(). The difference is that with managedQuery() the activity will keep a reference to your Cursor and close it whenever needed (in onDestroy() for instance.) If you do query() yourself, you *will* have to manage the Cursor as a sensitive resource. If y

[android-developers] What is the difference between managedQuery() and getContentREsolver().query()

2009-02-05 Thread Meryl Silverburgh
I have read: http://code.google.com/android/devel/data/contentproviders.html But I don't understand what is the difference between managedQuery() and getContentREsolver().query()? Seems to me both take a Uri and query parameters and then return a Cursor. I appreciate if anyone can tell me the di

[android-developers] Re: Radio Off

2009-02-05 Thread Mark K
You can use android.provider.Settings, see the SDK docs. Mark On Feb 4, 2:14 am, Kamal Hasan wrote: > Hi, > > Programatically how to switch off Radio, bluetooth and wifi in > android  ? > Can I enable airplane mode ? > > Kamal --~--~-~--~~~-

[android-developers] Re: using G1 without network

2009-02-05 Thread Mark K
You can use it without a SIM card once you have the phone initially setup, but it does seem like you need a SIM card to do the initial boot, and Google registration. Mark On Feb 5, 12:44 pm, "Rob Ruff" wrote: > Is it possible to use the G1 without a sim card if we

[android-developers] using G1 without network

2009-02-05 Thread Rob Ruff
Is it possible to use the G1 without a sim card if we only intend to use the wifi/usb interfaces? Thanks, Rob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Re: Market statistics for apps targeting The Netherlands are not correct

2009-02-05 Thread Ronald van der Lingen
At this moment the developer console is still showing 0 downloads after the app has been available for a week. I really suspect that something is wrong with the download count for applications targeted to the Netherlands (or even downloads from the Netherlands in general). I have checked several

[android-developers] Re: How to use findViewById() in a dialog

2009-02-05 Thread Emmanuel
R.string.btn_yes is the string that appear on your button. Not the id ! findVienwById wants an id ! Emmanuel http://androidblogger.blogspot.com/ On Feb 5, 8:35 am, Lucius Fox wrote: > Hi, > > I create a dialog using this: > > Dialog d = new AlertDialog.Builder(MyActivity.this) >              

[android-developers] Application did not load to market place now the app is gone, please help

2009-02-05 Thread srajpal
I tried to upload an update to my app but I got the following now my app has disappeared from my interface and i cannot load an app with the same name, You have another published application on Market with the same package name (com.x.x). Go to that other application, and click upgrade. I cannot

[android-developers] Re: Is it possible to have 2 launcher Activity in a single apk?

2009-02-05 Thread tauntz
Thanks Dianne. Just for the record (if someone else needs the solution and finds this thread): If you want to have two different applications in one .apk then you need to have both launcher Activities with the LAUNCHER category as Romain said. You also need to add different task affinities to the

[android-developers] Re: Memory leak in BitmapFactory/Gallery?

2009-02-05 Thread blindfold
Ah yes, perfect! Works like a charm now - I had not been aware of the need to use su. Thanks! On Feb 5, 2:05 am, fadden wrote: > The "adb" daemon still runs as a regular user on the ADP1.  You need > to run "su" to become root, then issue the chmod. --~--~-~--~~~---~

[android-developers] Re: ImageButton resizes within TableLayout -- How do i fix?

2009-02-05 Thread James Yum
You could try wrapping the button with another layout. Cheers, James On Thu, Feb 5, 2009 at 2:48 AM, Chander Pechetty wrote: > > yeah, its a hack, the other options don't seem to work. its really the > job of the parent layout to take care of laying the children, so there > must be some option in

[android-developers] Re: How to add a calendar entry?

2009-02-05 Thread Markus Junginger
For my purpose, I resolved it partly using a different approach. There seems to be an undocumented Intent to bring up the Calendar UI and fill start and end time in advance. I found out that the ZXing Apps does it like this. Maybe this helps: Intent intent = new Intent(Intent.ACTIO

[android-developers] Re: How to use findViewById() in a dialog

2009-02-05 Thread Al
setPositiveButton() is for setting the button text and listener. To use findViewById, you need to set your own custom layout, but this won't work with AlertDialog.Builder (iirc), you need to use the Dialog class. Here is some code I use for this in my application: mDialog = new Dialog(this); mDia

[android-developers] Re: how to use camera application without sd card detect?

2009-02-05 Thread Dianne Hackborn
No, sorry. On Wed, Feb 4, 2009 at 10:55 PM, FlyCry wrote: > > Hi, All, > >There is a question I need for help. When I was using the camera > application, the ERROR: Please insert SD card before using camera > jumped out because the driver of sd card haven't been porting > properly. Is there

[android-developers] Re: Problem loading using JNI if C++ class has virtual function (vtable)

2009-02-05 Thread Dianne Hackborn
Please move this to one of the open-source list, this is not SDK discussion. On Wed, Feb 4, 2009 at 2:14 PM, jima wrote: > > I've been expanding on the example given here: > > http://davanum.wordpress.com/2007/12/09/android-invoke-jni-based-methods-bridging-cc-and-java/ > (thanks for that exampl

[android-developers] Re: Is it possible to have 2 launcher Activity in a single apk?

2009-02-05 Thread Dianne Hackborn
If you want two fully distinct apps, you need to give them different task affinities. Please read this before you go farther: http://code.google.com/android/intro/appmodel.html On Thu, Feb 5, 2009 at 7:56 AM, tauntz wrote: > > On Tue, Feb 3, 2009 at 10:37 AM, Romain Guy wrote: > > Yes :) Just

[android-developers] Re: Question about linking to Android camera libraries from C++

2009-02-05 Thread Dianne Hackborn
This kind of discussion should be on android-platform or android-frameworks. You are way way way outside the bounds of the SDK. :) On Wed, Feb 4, 2009 at 8:03 PM, Chris Clark wrote: > I tried posting this question to the Android Internals mailing list, but > that list seems to be inactive... >

[android-developers] Re: fileobserver

2009-02-05 Thread and.pradeep
thanks solved it. instead of creating in separate threads i did it in single thread by creating an instance of fileobserver for each directory and calling startwatching(); in a loop. On Feb 4, 11:03 pm, Dianne Hackborn wrote: > You don't need to create any threads to use FileObserver -- it is >

[android-developers] Re: fileobserver

2009-02-05 Thread and.pradeep
what if I have to observe 2 or more folders (or paths)? even then threads are not required? how to register callbacks? On Feb 4, 11:03 pm, Dianne Hackborn wrote: > You don't need to create any threads to use FileObserver -- it is > callback-based. > > On Tue, Feb 3, 2009 at 11:27 PM, pradeep w

[android-developers] Re: Error: Read and parse xml file

2009-02-05 Thread Aman
Have you given your application the permission to open network sockets? If not, add the following line to your manifest file and then try running your application. On Jan 21, 7:06 am, "zxhwo...@gmail.com" wrote: > "public void characters(char ch[], int start, int length) { >           if(this.i

[android-developers] Re: customize tab indicator

2009-02-05 Thread ezmobile
hi check below posting for Customized Android Tabs. http://ezmobile.wordpress.com/2009/02/02/customized-android-tabs/ hope it helps On Jan 12, 11:04 am, skink wrote: > hi, > > Is there any way to customize tab indicators, by for ex. setting own > bitmap drawables? > > pskink --~--~

[android-developers] Re: ListView: Disable Focus Highlight

2009-02-05 Thread BoD
I too have this problem. I tried this solution (setting the listSelector to #), but even though it does suppress the Orange background there's a side effect: the text is darker. Isn't there a "proper" way to completely disable the focusable/ selectable behavior of a ListView? If you can ma

[android-developers] how to use camera application without sd card detect?

2009-02-05 Thread FlyCry
Hi, All, There is a question I need for help. When I was using the camera application, the ERROR: Please insert SD card before using camera jumped out because the driver of sd card haven't been porting properly. Is there anyway to use android camera application without sd card? --~--~---

[android-developers] Question about linking to Android camera libraries from C++

2009-02-05 Thread Chris Clark
I tried posting this question to the Android Internals mailing list, but that list seems to be inactive... Goal: I am trying to gain access to raw camera data on the G1 from native code (JNI C++) so that I can do real time image processing on camera frames at 15 fps. This will not work in the Java

[android-developers] a receiver for outgoing sms and email?

2009-02-05 Thread Dietrich Ayala
i figured out how to listen for outgoing calls. however, i can't find any docs or code samples for making a Receiver that catches outgoing sms or email. is that possible? thanks! -dietrich --~--~-~--~~~---~--~~ You received this message because you are subscribe

[android-developers] How to add app calendar on the G1 emulator?

2009-02-05 Thread aby
When I push app calendar button in emulator button by android 1.5, it can't display anything. Does anyone knows how to install the google calendar on the G1 emulator? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: ListView: Disable Focus Highlight

2009-02-05 Thread BoD
I too have this problem. I tried this solution (setting the listSelector to #), but even though it does suppress the Orange background there's a side effect: the text is darker. Isn't there a "proper" way to completely disable the focusable/ selectable behavior of a ListView? If you can ma

[android-developers] How can I get the mms in my program?

2009-02-05 Thread Alfred
I want to backup all messages including SMS and MMS to the SD card, but I don't know how to fetch the MMS.How can do this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gr

[android-developers] Android PC connectivity

2009-02-05 Thread Hemant
How Android supports PC connectivity. Can android phone be seen as modem from PC via USB? What will be the requirements for this? The connection is through AT commands is there any Android Application on PC side? Thanks, Hvr --~--~-~--~~~---~--~~ You received thi

[android-developers] Re: customize tab indicator

2009-02-05 Thread ezmobile
hi check below posting for Customized Android Tabs. http://ezmobile.wordpress.com/2009/02/02/customized-android-tabs/ hope it helps On Jan 12, 11:04 am, skink wrote: > hi, > > Is there any way to customize tab indicators, by for ex. setting own > bitmap drawables? > > pskink --~--~

[android-developers] OpenGL-ES 2.0 support

2009-02-05 Thread AndroidDev
Hi. Is there any plan to support OpenGL-ES 2.0 in Android? Is it possible to write a renderer youself based on OpenGL-ES 2.0? In that case, where to start :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android D

[android-developers] Testing Sync Application - Contacts and Calendar

2009-02-05 Thread Prashant M
We are debugging the Sync application which we have got from the android sources. We are able to understand and trace till SyncManager. SyncManager is failing to get the account details. How it is getting the account details ? Where these details are stored ? Please do the needful.. --~--~--

[android-developers] Testing Sync Application - Contacts and Calendar

2009-02-05 Thread Prashant M
We are debugging the Sync application which we have got from the android sources. We are able to understand and trace till SyncManager. SyncManager is failing to get the account details. How it is getting the account details ? Where these details are stored ? Please do the needful.. --~--~--

[android-developers] Data syncronization-- Contacts and Calendar

2009-02-05 Thread Prashant M
Trying to do the sync operation for contact and calendar using emulator ? Where and how to configure the account details. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gro

[android-developers] n810 running android is not accessible as a removable drive

2009-02-05 Thread disposableteen
Hello. I installed Android on the Nokia n810 and when I connect it via usb to my laptop, the sound of a new device attached is played, and two new removable disks, F: and G: appear in My Computer. When I try to access them, Windows tells me to insert a disk on those drives. I have all the usb driv

[android-developers] Limit emulator CPU clock

2009-02-05 Thread LuchoLaf
I don't have a G1 but I want the emulator to perform as similiar as a real device. I'm working on a game and want to have a real sense of the FPS i'll get. after 'adb shell' and 'cat /proc/cpuinfo' I get different values (670 MIPS last time) on different emulator instances. So, is there any way I

[android-developers] Online Iphone & Mobile Programming Courses

2009-02-05 Thread dushyEDU
Hi, If you're interested in learning how to develop top class games and applications for the iPhone, HTC Touch (Android), Instinct, WinMobile, or any other mobile device or platforms - then you should definitely have a look at what they offer... http://EDUmobile.org The classes are taught as a

[android-developers] Stopping HTTP client from another thread

2009-02-05 Thread Bill
I'm writing a multi-threaded app in which multiple threads will use HttpClient to send client requests. In my situation, it's possible a request might be outstanding for a very long time as my server might take as long as several minutes before responding. (Don't ask.) My problem: If my app nee

[android-developers] Wikitude Source

2009-02-05 Thread Bart
Hi everybody. Does anywone knows where the Wikitude application get it's content from? It says in the Marketplace description 'Wikipedia' and 'Panoramio'. I'd like to know what wikipedia pages are used as a source. Cheers Bart --~--~-~--~~~---~--~~ You received t

[android-developers] Processing audio

2009-02-05 Thread Natalie
I would like to be able to extract frequency/amplitude info from incoming mic audio. From looking at previous posts, it looks like the way to do this with the current sdk is to write to a file, then tail that file. This means I need to be able to extract frequency/ amplitude information from .mp

[android-developers] why the onion option in the emulator?

2009-02-05 Thread Milk Run
There is an option to the emulator, -onion , which allows you to pass in a png file and that png file is layered on top of the emulator's display window with 50% opacity. Why? I tried it. It works. I am stumped for an example of why this exists. -- Frank --~--~-~--~~~

[android-developers] "Native code is not supported in the current SDK."

2009-02-05 Thread fructose
I keep seeing this quote everywhere whenever anybody asks a question about about C code. However I don't understand it, nor another quote which is used to futher explain it "The SDK does not include support for native ARM code". I was under the impression it is possible to download the java sou

[android-developers] Problem loading using JNI if C++ class has virtual function (vtable)

2009-02-05 Thread jima
I've been expanding on the example given here: http://davanum.wordpress.com/2007/12/09/android-invoke-jni-based-methods-bridging-cc-and-java/ (thanks for that example!) and have am getting Unresolved symbols when I have a class with a virtual function. I am using the java code given in the above

[android-developers] Text format in TextView

2009-02-05 Thread magicpig
Hi, Two questions here: 1) newline is after space, could it be possible that newline comes after the suitable character, not only space? For example: a string "X_X_" (X means a character. _ means space) is set to textView, and suppose there is at most 5 chara

[android-developers] NO DISTINCT & NO GROUP BY in ContentResolver's query

2009-02-05 Thread 邓亮
hi~ i just wanna find the rencent contacts in the call log . but what disappointed me is i couldn't do that with the ContentResolver. no rawQuery() method and even no distinct & group by parameters in query... i hope they can fix it in the next sdk. or anyone can tell me how to do this with prese

[android-developers] Re: Is it possible to have 2 launcher Activity in a single apk?

2009-02-05 Thread tauntz
On Tue, Feb 3, 2009 at 10:37 AM, Romain Guy wrote: > Yes :) Just put two activities in your manifest, both with the > LAUNCHER category. I tried that but it seems I'm still doing something wrong (see code at the end of the message). The results I get are: * Two launcher entries (Ativity A and Ac

[android-developers] Re: WebView responding to touch events

2009-02-05 Thread Mark Nuetzmann
I just tried adding an OnTouchListener to the webview and I get ALL the touch events. However, the links in the webview to not appear selected/focused... This seems really weird to me. Anyone have an idea why I would receive an OnTouch event for the view but the view itself does not seem to res

[android-developers] WebView responding to touch events

2009-02-05 Thread Mark Nuetzmann
I have an Activity that has a WebView that contains some simple html that allows me to display a Terms & Conditions link that if touched or clicked calls another activity. My problem is unless the link in the WebView has focus (ie, the text is wrapped with that little orange focus) I cannot touch

  1   2   >