[android-developers] Re: ant and eclipse builds don't play nice

2009-05-27 Thread Craig
On Wed, May 27, 2009 at 2:36 PM, Raphael r...@android.com wrote: On Tue, May 26, 2009 at 6:26 PM, Craig supkic...@gmail.com wrote: On May 26, 9:49 pm, Zero zeroo...@googlemail.com wrote: from my experience, eclipse never used the build.xml for it's internal builds - how did you do that ?

[android-developers] Re: implementation of onDestroy for a service containing a worker or backround thread

2009-05-27 Thread gautam_raychaudhury
Android may kill the process and thus the service running in the process, once onDestroy() returns (after sending a message to the worker thread). But how will I make sure that the service has completed it's clean up operations (ex. saving some data on to some storage, etc...), if any? The main

[android-developers] Using Parcelable with Android 1.5

2009-05-27 Thread Lia
Hello, I have a small problem, hope you can help me. I want to pass one object of class A from one Android Activity to another and I need to use Parcelable (performance and Class loading issues). My code is similar to the lines listed below: class A implements Parcelable { private String

[android-developers] Re: A window does not automatiacally resize when an IME is shown

2009-05-27 Thread souvik
Hi, Can u please tell me how do u re size the window? Any sample code. For example.. I have developed one application and i want to resize in on runtime. How do i do so? Thanks, Souvik On May 12, 5:52 am, freelancer303 freelancer...@gmail.com wrote: Hi, I am using the following attributes

[android-developers] Re: Help for decoding the camera data from the PreviewCallback

2009-05-27 Thread Jason Proctor
sorry man, the data from the camera preview is encoded in raw YCbCr from the camera hardware, it's not readable in any sensible time frame by anything available in the Android SDK. Sujay has the wrong end of the stick again, he's talking about the image that's captured when the camera

[android-developers] Re: finishing subactivity after some perticular time

2009-05-27 Thread Ask
Is it possible to call finish() for subactivity from the parent activity?? I want to show subactivity for only some perticular time and after that I want it to be automatically finished.. Thanks, Asif On May 26, 7:26 pm, Asif k asifk1...@gmail.com wrote: Hi all,    I had opened an image file

[android-developers] Remove screen lock like the MENU key do?

2009-05-27 Thread andrew
The lock screen is also a java class called LockScreen.java.In this class,it captures the event of MENU key, so if the screen is locked,we can click the MENU key to remove the lock. The qustion of mine is that How Can I remove the lock like MENU key do??Is that possible? (I know KeyguardManager

[android-developers] Re: Help for decoding the camera data from the PreviewCallback

2009-05-27 Thread blindfold
See http://code.google.com/p/android/issues/detail?id=823 Android 1.5 still lacks support for decoding preview images, while data [] is headerless. The first width x height bytes are just the Y (brightness) component though, so you can easily decode the greyscale part pixel-by-pixel. However,

[android-developers] How to update an app itself?

2009-05-27 Thread Kaka
Hi, all I want to add an auto update function to an app. This app can download a new version of itself, i.e., a new apk file. After finishing downloading this apk file, how to let the app update? I'm going to try this by using PackageManager.installPackage(), but failed. The system said no one

[android-developers] Re: Controlling the width of listview items

2009-05-27 Thread HenrikH
Thanks Romain, although I'd be interested in any tips on how to get around that? Would I have to implement my own custom ListView sub- class, or where should I start? What I also don't quite understand is why I get the same result even if I embed a second inner RelativeLayout inside the outer

[android-developers] Re: onKeyDown doesn't capture event

2009-05-27 Thread Bullo#88
That should happen automatically, without implementing onKeyDown(). Without implementing onKeyDown the back button will close my application. Thus, I implemented the onKeyDown method. Where? On the activity? On a subclass of one of the widgets? On the activity: from this activity I want

[android-developers] How to use a finger to pull the screen to view more data?

2009-05-27 Thread zhangxiyuan
Hi, I got a question about what kind of view should I use in the following case. As it shows below, I want to draw a 2D coordinates, and show a diagram in it(by drawing points and then connecting them from left to right). But I have much more data than the screen size, I wish the user to press

[android-developers] sharing a utility project between two apps

2009-05-27 Thread admin.androidsl...@googlemail.com
I am hoping to release two apps which are very different in functionality but share common classes. To make my maintenance of these apps easier I am hoping to split the common classes into a new project in eclipse and reference this from both apps. Do android projects in eclipse let you do

[android-developers] How to use a finger to pull the screen to view more data?

2009-05-27 Thread zhangxiyuan
Hi, I got a question about what kind of view should I use in the following case. As it shows below, I want to draw a 2D coordinates, and show a diagram in it(by drawing points and then connecting them from left to right). But I have much more data than the screen size, I wish the user to press

[android-developers] Re: Imitating the Launcher or 'Home Screen'

2009-05-27 Thread Parakoos
There are two inflexibilities with the SlidingDrawer which is why I'm not keen on using it, cool as it is. The first is the inability to have more than one drawer. (ok, I could have one on the bottom and one on the left, but it's not what I'm looking for) I have found a place in my UI where

[android-developers] Re: Imitating the Launcher or 'Home Screen'

2009-05-27 Thread Romain Guy
The existing API is SlidingDrawer. If that's not what you want, you'll have to write your own. The workspace in Home is a custom view with custom layouts inside. On Wed, May 27, 2009 at 12:29 AM, Parakoos parak...@gmail.com wrote: There are two inflexibilities with the SlidingDrawer which is

[android-developers] Re: How to let Android create my activity within the process which the launcher activity lies in?

2009-05-27 Thread Oceanedge
Thank your very much! BlablaManager actually handles the image editing session information. One task shall have only one session. I understand your point. Now I quit using singleton stead using a static field of the main activity to reference the instance of BlablaManager, and then any other

[android-developers] Re: How to update an app itself?

2009-05-27 Thread Al Sutton
http://www.tomgibara.com/android/veecheck/ Al. --- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX,

[android-developers] Re: detecting idle, off hook and ringing

2009-05-27 Thread PI9
Thanks a lot!! that finally works ! On May 26, 4:59 pm, Mark Murphy mmur...@commonsware.com wrote: I add : �...@override       public void onResume() {            super.onResume();          telephone.listen  (psl, android.telephony.PhoneStateListener.LISTEN_SERVICE_STATE);      

[android-developers] Re: Help for decoding the camera data from the PreviewCallback

2009-05-27 Thread lori lori
So that means I cannot decode continuous frames of data to bitmap in PreviewCallback because data is encoded in raw YCbCr which cannot be decoded.The only way I can do this is using onPictureTaken method of PictureCallback where data is encoded in jpeg format which can be easily decoded. This is

[android-developers] Re: Progress bar update help

2009-05-27 Thread Sukitha Udugamasooriya
Is this correct? It works accordingly. But I m not sure about the performance issues. I am relatively new to Android. Please help private void testDownload1(String urlStr) { try { progress = 0; URL sourceURL = new URL(urlStr);

[android-developers] File download

2009-05-27 Thread Sukitha Udugamasooriya
Hi all, My app downloads a file from the web into sd card. Works well. Now I want to put a button to pause the download and resume it later. Download is being done in a background thread. Any suggestions folks? Thank you --~--~-~--~~~---~--~~ You received this

[android-developers] File download

2009-05-27 Thread Sukitha Udugamasooriya
Hi all, My app downloads a file from the web into sd card. Works well. Now I want to put a button to pause the download and resume it later. Download is being done in a background thread. Any suggestions folks? Thank you --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Help for decoding the camera data from the PreviewCallback

2009-05-27 Thread blindfold
I use my own decoder, but here you can find another one (December 2, 2008): http://groups.google.com/group/android-developers/browse_thread/thread/c85e829ab209ceea/ Again, all of this is very slow under the currently available APIs. On May 27, 9:43 am, lori lori loril...@gmail.com wrote: So

[android-developers] start a ssh tunnel with an already known pre-shared key (psk)

2009-05-27 Thread GAYET Thierry
Hello, I have a pre-shared key (psk) that i have received from an external way (GBA : Generic Bootstrap Architecture). I wanna know if you know how to create a ssl tunnel on a https server using my local psk ? Have you ever try such kind of system ? Cordialement Thierry GAYET

[android-developers] Re: Progress bar update help

2009-05-27 Thread Sukitha Udugamasooriya
Is this correct? It works accordingly. But I m not sure about the performance issues. I am relatively new to Android. Please help private void testDownload1(String urlStr) { try { progress = 0; URL sourceURL = new URL(urlStr);

[android-developers] Re: Input for App Widgets? Search Widget?

2009-05-27 Thread SurtaX
So from your reply i gather you're implying theres no way to do it underthe current appwidget apis available to us? On May 27, 2:21 pm, Jean-Baptiste Queru j...@android.com wrote: If I remember correctly, the search widget is part of the home app, it's not implemented with the app widget APIs.

[android-developers] Re: What is the difference between thread and service?

2009-05-27 Thread Michael Elsdörfer
From what I under understand, your application having a service running is basically just holding a (service) object that tells Android not to kill your process. The service onStart methods etc. still run in your main thread and are subject to Application not responding. You could have a

[android-developers] Resumeable downloads??

2009-05-27 Thread Sukitha Udugamasooriya
How to resume a download ? --~--~-~--~~~---~--~~ 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

[android-developers] Data Roaming and 2G only mode Setting

2009-05-27 Thread Augustin.CL
Dear all, Recently, I want to develop an application for myself to do some settings. But I really can't understand how to enable/disable data roaming and setting 2G mode only as Settings.apk provided. Is there any way to set these two attributes? Best regards, Augustin.

[android-developers] Maximum size of onSaveInstanceState bundle

2009-05-27 Thread Michael Elsdörfer
I have an activity that loads a bitmap from a database when it starts up. Due to the nature of the app, should the activity be killed and recreated at a later point, I cannot guarantee that the bitmap in the database is still the same one. Should I save the bitmap to the bundle to be able to

[android-developers] Help with setting borders for view/window

2009-05-27 Thread Sujay Krishna
hi, could anyone plz hlp me with drawing borders for views??? i jus wanna place my view/window inside a rectangle border??? any suggestions sample codes would be of great help... thanks in advance... Regards, Sujay --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Widget proxy drawable

2009-05-27 Thread Tony Wu
I had tried it, but when I want to use a selector for my button, it seems the dither can't work again. res/drawable/keyboard_speeddial_normal_dithered.xml: nine-patch xmlns:android=http://schemas.android.com/apk/res/android; android:src=@drawable/keydialer_normal android:dither=true /

[android-developers] Application (.apk) Size

2009-05-27 Thread amuyeed
Hi, What is the maximum size allowed for an android application? Regards, Abdul Muyeed M --~--~-~--~~~---~--~~ 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: DDMS.. file explorer problem

2009-05-27 Thread Ask
one observation : Whenever I am puling a file from emulator using DDMS fileexplorer / data/app , one process is created in which file explorer window is continuosly refreshed and emulator remains engaged. So I could not run any application on that instance. To run a new application, I have

[android-developers] Re: Service stops running in standby mode

2009-05-27 Thread aaaa
The problem here is, imho, that cell location changes cannot be detected with a broadcast receiver, but instead we have to use a listener. A broadcast receiver would just be activated/started when the cell location has changed. The listener though has to run all the time to be able to listen. As

[android-developers] Re: Problem with MapActivity on the 1.5 release

2009-05-27 Thread mobilekid
Yes, I did. Still getting the same error: 05-27 10:55:21.282: ERROR/AndroidRuntime(743): Uncaught handler: thread main exiting due to uncaught exception 05-27 10:55:21.342: ERROR/AndroidRuntime(743): java.lang.NoClassDefFoundError: main.ViewContactActivity 05-27 10:55:21.342:

[android-developers] Exit SMS-app after sending SMS

2009-05-27 Thread Kasmoori Bindu
Hi, Iam a beginner in android development, wanted to know whether following usecase is possible or not Supposing I have 'MyActivity' which starts the in-built SMSapplication using Intent. In SMS activity, when I Click on 'Send', SMS should be send successfully and it should

[android-developers] Decrypt in Android using RSA

2009-05-27 Thread Sam
hi, My question is if i am using RSA as an argument to Cipher.getInstance method while encryption and while i am decrypting it with RSA with the RSA/ECB/PKCS1Padding as an argument i am getting bad padding exception . If i am using RSA only in both the case it is woring fine but getting some

[android-developers] Re: Decrypt in Android using RSA

2009-05-27 Thread Al Sutton
A bad padding exception usually means your data has been corrupted in transit. If you're doing using an intermediate format (e.g. a hex string) you'll need to make sure your decoding gives the same result as the originally encoded string. Al. --- * Written an Android App? - List it at

[android-developers] Calendar Content Provider

2009-05-27 Thread mobilek...@googlemail.com
Hi, Is there a way to read data from android.provider.Calendar? It's URI is mentioned here (http://developer.android.com/guide/topics/providers/ content-providers.html), so I thought its data should somehow be accessible. On the other hand it's clearly not within the android.provider package...

[android-developers] PAN services

2009-05-27 Thread Bhargavi
Hi All, can someone let me know what exact services can be used from the PANU when connected to a NAP/GN with some examples. can we connect only to the internet service of the NAP or can we use all the services offered by the NAP.for eg , if there is some music player running in the NAP, can

[android-developers] File download help

2009-05-27 Thread Sukitha Udugamasooriya
This is a snip of my code URL sourceURL = new URL(urlStr); URLConnection con = sourceURL.openConnection(); con.setRequestProperty(Content-Range, bytes 0-200/+pbMax); //sets a chunck to download InputStream inStream=(InputStream)con.getContent(); int pbMax =con.getContentLength();

[android-developers] Identifying HSDPA usage

2009-05-27 Thread bestpriv...@googlemail.com
Is is possible to find out if HSDPA is used by the phone? telephonyManager.getNetworkType() only returns UMTS which seems to include HSDPA. Since HSDPA is based on UMTS there is nothing wrong with that:However, there is a significant bandwidth difference between UMTS and HSDPA. HSDPA is actually

[android-developers] Re: Unbale to opem IM app.

2009-05-27 Thread Zhihong GUO
you have to open the project under IM/samples/PluginDemo with eclipse, build and install the project to emulator. 2009/4/29 srinivas nivasn...@gmail.com Hi, On cupcake builds we are unable to open IM app from main menu. When we open the app, it gets closed immediately and adb logs show the

[android-developers] Re: implementation of onDestroy for a service containing a worker or backround thread

2009-05-27 Thread gautam_raychaudhury
Can I use the thread.join() mechanism? Basically, in the onDestroy() method of the service, I would send a message to the background thread and call join on the thread. The background thread would destroy it self after proper cleanup. But, what method should I use to exit the thread. Please note

[android-developers] Re: EMMA Code coverage and JUnit

2009-05-27 Thread Felipe Ramos
Hi Deeps, Nice to hear that you are making progress. Are you using only the SDK, or are you building the entire android source code? Maybe your code is not instrumented to generate the coverage statistics and this would be why you are getting 0% of code coverage. Are you using the emma.jar

[android-developers] Re: Unbale to opem IM app.

2009-05-27 Thread Zhihong GUO
Hi all, I got errors when I install the plugin, sometime. I build a system image from the source code and copy the system.img to androidsdk1.5/platforms/android-1.5/images/. When I build the sample IM plugin and install it. Sometime I got error: package com.android.im.plugin.demo has no

[android-developers] SDK 1.5 CPU usage

2009-05-27 Thread Brad Gies
Since installing the 1.5 SDK, I have noticed a significant slowdown in my computer when I have the emulator running. I left the emulator running when I went to bed last night, and this morning brought home the reason why : In task Manager, when I sorted by CPU Times the top five were

[android-developers] Check Download freeware for you

2009-05-27 Thread DonyChandra
http://free-belajaronline.blogspot.com/2009/05/download-free-wma-to-mp3-converter.html Download Free WMA to mp3 converter Windows http://free-belajaronline.blogspot.com/2009/05/nokia-ovi-store-launch-is-complete.html Nokia Ovi Store Launch Is A Complete Disaster

[android-developers] Re: Exit SMS-app after sending SMS

2009-05-27 Thread Vignesh
You can use intent.putExtra(exit_on_sent, true) for your needs I am struck in a problem, wherein on passing intent to Native messaging application, it opens up compose window and waits for user intervention to send the SMS (by clicking on send button). Could you get your code up, wherein it

[android-developers] Can't repo sync

2009-05-27 Thread Gary Thomas
Trying to 'repo sync' into a tree which was fine last Friday: From git://android.git.kernel.org/platform/system/wlan/ti * [new tag] android-1.5r2 - android-1.5r2 Fetching projects: 100% (115/115), done. Syncing work tree: 59% (67/113) fatal: Untracked working tree file

[android-developers] Problem with multi select listview with default selected List Items.

2009-05-27 Thread Yash Patel
HI, I want to create multi select listview with checkbox. and also make checked = true for some of the item based on some business rule. I can get the list view with multiple choice option working but I am not able to load some of the item as default checked when list view first loaded. I tried

[android-developers] Re: Device Update!!!

2009-05-27 Thread Georgy
I need to update the phone. 1- I developed an application using API number 3 so will the firmware 1.5 be enough ??? 2- I just got the phone and don't want to screw it up, however the process looks very simple. In case I screwed it up, can't I just restore to factory setttings? thanks On May

[android-developers] Re: adb push wtf

2009-05-27 Thread Hamy
Hey all, in case anyone else has a similar problem - here is a bit of code that might help. All I do is write a dummy file to the location I want to put a file to, making it world writable (not sure if I have to sue this flag or not, but it does not matter really, as i will only use this script

[android-developers] Re: Exit SMS-app after sending SMS

2009-05-27 Thread Kasmoori Bindu
Hi Vignesh, Thank you for the quick reply. Iam not sure whether it is possible to send SMS without user intervention but i think some button click or inturn some action should be there to make use of SMS service. However, if you want to send the SMS without invoking built-in SMS app,

[android-developers] Re: Device Update!!!

2009-05-27 Thread CF
You could also get your app to run on the current device by updating the following entry in your AndroidManifest.xml file uses-sdk android:minSdkVersion=1 / -CF On May 27, 9:33 am, Georgy georgearna...@gmail.com wrote: I need to update the phone. 1- I developed an application using API

[android-developers] Upgrading android Application

2009-05-27 Thread Muthu Kumar K.
Hi All, I am developing an Android application. In my application i have an option called Upgrade App. Once user select this option, i need to install (upgrade) the new version of the application. Can any one tell me how to do this through code? Thanks in Advance, Muthu Kumar K.

[android-developers] Re: implementation of onDestroy for a service containing a worker or backround thread

2009-05-27 Thread Streets Of Boston
Send a message to your background thread telling it to end. Your background thread: class MyBackgroundThread extends Thread { ... ... private boolean _isRunning = true; public void run() { ... ... while (running()) { ... // fetch and handle messages. ... } } ..

[android-developers] Re: Can't repo sync

2009-05-27 Thread Gary Thomas
Removing the two files in question and rerunning 'repo sync' seems to have fixed it. That said, how/why did this happen? Was this the correct solution? On May 27, 7:24 am, Gary Thomas samoht.y...@gmail.com wrote: Trying to 'repo sync' into a tree which was fine last Friday: From

[android-developers] HorizontalScrollView reference text

2009-05-27 Thread AusR
From the page: http://developer.android.com/reference/android/widget/HorizontalScrollView.html You should never use a HorizontalScrollView with a ListView, since ListView takes care of its own scrolling. Most importantly, doing this defeats all of the important optimizations in ListView for

[android-developers] Re: HorizontalScrollView reference text

2009-05-27 Thread Romain Guy
Oops, it's a copy/paste. My bad :) Do you mind filing a bug at b.android.com? On Wed, May 27, 2009 at 7:08 AM, AusR austinjr...@gmail.com wrote: From the page: http://developer.android.com/reference/android/widget/HorizontalScrollView.html You should never use a HorizontalScrollView with a

[android-developers] using stl in Android

2009-05-27 Thread Kathick
Hi, Is it possible to use stl in android ?? Thanks, Maha --~--~-~--~~~---~--~~ 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: using stl in Android

2009-05-27 Thread Mark Murphy
Is it possible to use stl in android ?? If by STL you mean: http://en.wikipedia.org/wiki/Standard_Template_Library then probably not. First, this list is for those developing using the Android SDK, which is Java, not C++. Second, as I understand it, Android is mostly in C, not C++,

[android-developers] Re: finishing subactivity after some perticular time

2009-05-27 Thread Marco Nelissen
Why don't you just have your subactivity post a delayed message to itself and have it call finish() when it gets it? On Tue, May 26, 2009 at 11:49 PM, Ask asifk1...@gmail.com wrote: Is it possible to call finish() for subactivity from the parent activity?? I want to show subactivity for only

[android-developers] Android Market rejecting icons

2009-05-27 Thread solid
I have finished the first version of my app and I am trying to upload it to the market. But every time I select my apk file for upload, the market upload website says: The icon for your application is not valid. Please use a 48x48 PNG. I have checked my image and resaved it in gimp at various

[android-developers] Re: Exit SMS-app after sending SMS

2009-05-27 Thread Vignesh
Bindu, On the same page, refer the text after Figure 4. That lists a way to use native application to send sms All, Request help to let me understand what are all the intent.putExtras I must do to send the sms automatically. With the following piece of code, the compose window with To and body

[android-developers] Re: Android Market rejecting icons

2009-05-27 Thread Marco Nelissen
You say you have tried it with various dpi. Have you actually tried it with a PNG that has a resolution of 48x48 pixels though? On Wed, May 27, 2009 at 7:48 AM, solid young...@gmail.com wrote: I have finished the first version of my app and I am trying to upload it to the market. But every

[android-developers] Removing labels on the MapView

2009-05-27 Thread Issa Fortin
Hi, I was wondering if anyone would know a way to remove labels on the MapView? The documentation displays the following statement about the satellite mode: Sets the map mode to satellite mode, loading tiles of aerial imagery with roads and names superimposed. Would anyone know if it's

[android-developers] ScrolllBar style

2009-05-27 Thread karthikr
Hi Guys, Is there any way to set the style of the scroll bar so that it is visible only when scrolling and the rest of the time it is invisible? Regards, R.Karthik --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Displaying an image over another image

2009-05-27 Thread Sujay Krishna
hi, i am using a relative layout to display an image over another i want to align the center of the second image with the right bottom corner of the previous image... can anyone help me out with this... --~--~-~--~~~---~--~~ You received this message

[android-developers] Can only hear sound when playing video

2009-05-27 Thread Hamy
Hey all, I can only hear sound when trying to play a video in a surfaceView. The video codecs are very likely supported - I was reading this thread: http://groups.google.com/group/android-developers/browse_thread/thread/aeefa6c282c6dfcf where Mark Murphy mentions that the video is known to

[android-developers] flagNoExtractUi still showing keyboard text area

2009-05-27 Thread Peter Jeffe
I'm probably doing something wrong here, but when I set flagNoExtractUi on an EditText the onscreen keyboard still shows its text input area when I type on it (this is in the 1.5 emulator, building against 1.5). How do I get the text area not to display? Here's the xml, and it's the same if I

[android-developers] Re: UnknownHostException on 1.5 emulator

2009-05-27 Thread Peter Jeffe
Thanks for the quick response David. I've only seen this on the 1.5 emulator running from the 1.5 SDK, I haven't tried the 1.1 emulator. Previously I was running the 1.0 SDK and never saw it. Below is the / system/build.prop from the emulator, let me know if you need anything else. It happens

[android-developers] Re: Can only hear sound when playing video

2009-05-27 Thread Marco Nelissen
Which Audio and Video dev guide are you referring to? If that guide tells you that the code you posted should work, it needs to be fixed :) There are several problems in your code, but the main one is that you can't use any of the MediaPlayer.create() convenience methods to play video from a

[android-developers] few querieson OpenGL-ES on Android...

2009-05-27 Thread Shrinivas
Hi All, I have few queries: - Can anybody let me know is 2D 3D graphics in Android are using OpenGL-ES? I have have read only 3D graphics is using OpenGL-ES. - what are all the application in android which are using OpenGL-ES. please give the list of applications. Thanks.

[android-developers] Re: few querieson OpenGL-ES on Android...

2009-05-27 Thread Streets Of Boston
My app is using OpenGL ES: The Gube On May 27, 12:30 pm, Shrinivas sinu.go...@gmail.com wrote: Hi All, I have few queries: - Can anybody let me know is 2D 3D graphics in Android are using OpenGL-ES? I have have read only 3D graphics is using OpenGL-ES. - what are all the application in

[android-developers] Re: Remove screen lock like the MENU key do?

2009-05-27 Thread andrew
Oh,my God,nobody give me a help. Maybe it is not possible to do this?? --~--~-~--~~~---~--~~ 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

[android-developers] Re: Can only hear sound when playing video

2009-05-27 Thread Hamy
Marco, Thank you so much! I just spent a day and a half trying every example I could get my hands on, and about 2 minutes before you replied I found a hint that video could not be a raw resource. I had just been adapting every example to include that, and it never occurred to me that might be

[android-developers] Could not find method javax.microedition.io.Connector.open, referenced from method org.ksoap2.transport.ServiceConnectionMidp.

2009-05-27 Thread kevin.cho...@googlemail.com
Hi Everyone, I've been getting this error Could not find method javax.microedition.io.Connector.open, referenced from method org.ksoap2.transport.ServiceConnectionMidp. Can anyone help? Thanks! --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: using stl in Android

2009-05-27 Thread L!TH!UM
Second, as I understand it, Android is mostly in C, not C++, though I may be wrong about that. I'm not sure what your point is in the above statement. Just because a system is built using one language, does not mean other apps cannot be developed using some other language. As long as there

[android-developers] Re: android service utilizing custom usb device

2009-05-27 Thread guruk
do you have a blog or something for your work. I very like the Idea to connect external usb devices. Could be a great improvment to know a page where that stuff is explained a bit, also technicalwise what wires etc.. you know :) greets chris --~--~-~--~~~---~--~~

[android-developers] Android Runtime Errors!!! NEED HELP!!!

2009-05-27 Thread kevin.cho...@googlemail.com
Hi everyone, I'm getting quite a few Android Runtime Errors, and quite frankly, i'm at a loss. Here is a list of all the errors displayed in the console upon launch of the application. The application makes a call to a .NET web service using the kSOAP2 library. 05-27 17:36:39.535:

[android-developers] Re: Can only hear sound when playing video

2009-05-27 Thread Marco Nelissen
On Wed, May 27, 2009 at 10:23 AM, Hamy hamilt...@gmail.com wrote: Marco, Thank you so much! I just spent a day and a half trying every example I could get my hands on, and about 2 minutes before you replied I found a hint that video could not be a raw resource. I had just been adapting

[android-developers] Re: ant and eclipse builds don't play nice

2009-05-27 Thread Raphael
That's kind of an unexpected workflow. The idea is that either you go the full way in Eclipse or you use Ant/DDMS. Trying to combine both is a recipe for confusion :-) What you can try: - use Ant to compile - use the ant install or reinstall target to push the apk - launch app manually - you can

[android-developers] What's the best way to handle an task w/progress dialog on orientation change?

2009-05-27 Thread Robert Green
I have an app that communicates with a server. While it is communicating, it shows a progress dialog. The way this actually works is that I have a class that I call my NetworkGateway. Each method takes a Handler as a callback so that the gateway can send back the response as a bundle when it

[android-developers] Re: Can only hear sound when playing video

2009-05-27 Thread Hamy
On May 27, 12:39 pm, Marco Nelissen marc...@android.com wrote: On Wed, May 27, 2009 at 10:23 AM, Hamy hamilt...@gmail.com wrote: Marco, Thank you so much! I just spent a day and a half trying every example I could get my hands on, and about 2 minutes before you replied I found a hint

[android-developers] Re: Accessing java SIM card information from android

2009-05-27 Thread aayush
Hello, Another query is, that how do i find the exact technology in use of the handset? Whether it is GSM, HSPA or even LTE for that matter. thanks aayush On May 27, 3:43 am, aayush abhatnagar192...@gmail.com wrote: Hello, My query is regarding access to USIM card information from an android

[android-developers] Re: Can only hear sound when playing video

2009-05-27 Thread Marco Nelissen
On Wed, May 27, 2009 at 11:02 AM, Hamy hamilt...@gmail.com wrote: On May 27, 12:39 pm, Marco Nelissen marc...@android.com wrote: On Wed, May 27, 2009 at 10:23 AM, Hamy hamilt...@gmail.com wrote: Marco, Thank you so much! I just spent a day and a half trying every example I

[android-developers] Cannot allocate any memory when using camera pic

2009-05-27 Thread Max Salley
I have an app that displays a camera picture as part of it, but if the picture is in memory I get an out of memory exception when an allocation of any size happens no matter what. If the app uses a seekbar in addition to my PictureView the ~900 bytes it allocates are too much. I even tried to

[android-developers] ActivityGroup + embedded Activity search window

2009-05-27 Thread Taísa Cristina
Hi all, I have an ActivityGroup with an embedded TabActivity and another simple Activity. The TabActivity has three tabs, each one with a ListActivity. When I try to start a search from a list (calling onSearchRequested()), I get a WindowManager$BadTokenException. I've tried requesting focus

[android-developers] Re: Cannot allocate any memory when using camera pic

2009-05-27 Thread Max Salley
I have a temporary workaround, but I'd still like to get this issue solved. As for the workaround, it seems that if the SeekBar's image is loaded before the camera picture, the memory error doesn't occur. Right now I have a boolean flag so that the first time my derived ImageView's onDraw method

[android-developers] Re: add my Launcher.apk into emulator

2009-05-27 Thread Meryl Silverburgh
Can you please tell me where in android code which specify using Launcher.apk when android starts? I have grep 'Launcher' in the code, i can't find anywhere it specify android to use Launcher.apk. On Fri, May 22, 2009 at 9:51 AM, Dianne Hackborn hack...@android.com wrote: You need to give it a

[android-developers] Re: Finding the name of installed applications

2009-05-27 Thread Paul Turchenko
PackageManager pm = this.getPackageManager(); Intent mainIntent = new Intent(Intent.ACTION_MAIN, null); mainIntent.addCategory(Intent.CATEGORY_LAUNCHER); ListResolveInfo list = pm.queryIntentActivities(mainIntent, 0); for(ResolveInfo info: list) {

[android-developers] Re: Cannot allocate any memory when using camera pic

2009-05-27 Thread Streets Of Boston
I'm not sure about the exact point of failure, which - indeed - seems very precisely cut against the memory needed to load exactly one camera pic. However, you can avoid this. Don't load the full size pic. Load the bitmap using the BitmapFactory and set the Config's inSampleSize attribute to a

[android-developers] Re: Network over cell (3G, EDGE etc.)

2009-05-27 Thread Neel
I'm seeing the same exact issue. Were you able to figure this out? Thanks. -Neel On Apr 16, 8:57 am, Alienfluid ahm...@gmail.com wrote: So my app works well in the emulator in various run configurations and on the device when the device is connected to WiFi. But when I switch off the WiFi

[android-developers] Re: What's the best way to handle an task w/progress dialog on orientation change?

2009-05-27 Thread Streets Of Boston
Take a look at the method onRetainNonConfigurationInstance() of the Activity class. :-) http://developer.android.com/reference/android/app/Activity.html#onRetainNonConfigurationInstance() On May 27, 2:01 pm, Robert Green rbgrn@gmail.com wrote: I have an app that communicates with a server.

[android-developers] Re: Network over cell (3G, EDGE etc.)

2009-05-27 Thread Streets Of Boston
do I need to account for the fact that cell data network is very slow with high latencies Yep. Or ask your customers to run your app only with WiFi on or with 3G in a good reception area. On Apr 16, 11:57 am, Alienfluid ahm...@gmail.com wrote: So my app works well in the emulator in various

[android-developers] Re: What's the best way to handle an task w/progress dialog on orientation change?

2009-05-27 Thread Robert Green
I just looked at it. 1) They state that it is only an optimization and that you are not to rely on the method being called. 2) My design is a little too complex to use that elegantly. I do network calls from multiple activities and some dialogs on those activities, which need to chain to

[android-developers] Re: What's the best way to handle an task w/progress dialog on orientation change?

2009-05-27 Thread Streets Of Boston
I agree you should use a service. But for optimization, i would use this method. You should have a call to the service to query if the service is still busy. If so, show a progress dialog and start listening to the service to know when it no longer is busy (callback from the service into your

  1   2   >