[android-developers] Re: OpenGL texture corrupted when there's an interruption.

2009-08-11 Thread Dmitry.Skiba
I don't see gl.glEnableClientState(GL10.{GL_VERTEX_ARRAY, GL_TEXTURE_COORD_ARRAY}) in your code. Also don't forget to call GLSurfaceView's onPause() and onResume() methods (in corresponding Activity methods). Dmitry On Aug 11, 11:42 am, alucard20004 alucard20...@gmail.com wrote: I took the

[android-developers] Re: sharing database across applications

2009-08-11 Thread Sujay Krishna Suresh
My suggestion'd be to go for the custom content provider. That'd make things much easier for u... But thats me. It depends on ur application its current architecture. On Tue, Aug 11, 2009 at 10:43 AM, Acchao blazin...@gmail.com wrote: What's the most convenient way to share a database across

[android-developers] Re: Dialog windowBackground makes parent window go black

2009-08-11 Thread CraigsRace
I kept running into this problem, and I think I have found the cause. Specifying an activity is a dialog in the manifest, for me, kept causing the background screen to be lost (not all the time - some dialogs would work ok). However, if I made my dialogs via code, Ie: sub-classed Dialog, and in

[android-developers] Re: How/where to submit the apps to ADC2?

2009-08-11 Thread Khurram Samad
Any update as whats going on ? On Aug 10, 8:44 pm, manoj manojkumar.m...@gmail.com wrote: Thanks for your reply. On Aug 10, 4:37 pm, Mark Murphy mmur...@commonsware.com wrote: manoj wrote: Hi friends, I developed an application for android. I would like to submit the same to

[android-developers] Re: why camera is rotated

2009-08-11 Thread engin
Hi, I use google htc innovation and i am developing and apllication which uses camera to take picture and capture video. in both cases i get rotated picture\video. On Aug 10, 9:42 pm, Dash125 paulgig...@gmail.com wrote: Hi, I think it would be helpful to know which devices you are

[android-developers] Re: Back Navigation to defined Activity

2009-08-11 Thread Aracos
Hi Marco Nelissen, thanks for the quick response. The code I posted before is implemented within a base Activity within my test project. The other Activities are derived from this one. The only difference is, they set a different title. The problem was, that the other activities remain on the

[android-developers] movie gif 图片显示 时被分割

2009-08-11 Thread xiaofeng
在用Movie类显示“老婆我爱你”这几个字的图片时,“我爱你”被分割成“我爱”和“你”且斜着显示? --~--~-~--~~~---~--~~ 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] sdk for windows from source code

2009-08-11 Thread and.pradeep
how to build the sdk for windows from android source code? Regards Pradeep --~--~-~--~~~---~--~~ 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] Liniting no of values in Grid

2009-08-11 Thread swapnil
Hello all, Is it possible to limit the number of values in the GridView? I want a gridView which will display only 9 elements(like Images 3X3) at a time while user can move it in horizontal way so that next elements will replace the current Elements in same View. Thanks in advance. Regards;

[android-developers] Chart API

2009-08-11 Thread guruk
Hi, I got a Mail from Google they would/could a App of mine if I improve my Chart. The Lady recommended to use: http://code.google.com/apis/chart/types.html but how do I implement that in Android? Any Experience in that, Demo Code, whatever? Greets Chris

[android-developers] Re: OpenGL texture corrupted when there's an interruption.

2009-08-11 Thread alucard20004
Hi. Thank you for your reply. Actually I've done as you suggested. Here's my full onSurfaceCreated() and my activity's onPause(): public void onSurfaceCreated(GL10 gl, EGLConfig config) { frontTextureId = loadTexture(gl, frontTextureBitmap); gl.glEnable(GL10.GL_TEXTURE_2D);

[android-developers] Re: Launching a Service at the startup

2009-08-11 Thread Teo
I was also considering a service for my app, but reading this thread i have second thoughts... Basically, all i want is a function to be called at a preset time (every day). What's the recommended way of doing this without a service? Thanks, Teo On Aug 4, 2:09 am, Mark Murphy

[android-developers] Re: Launching a Service at the startup

2009-08-11 Thread Teo
Sorry, i forgot that i can pass any intent to the alarm, please ignore my question :) On Aug 11, 11:05 am, Teo teomina...@gmail.com wrote: I was also considering a service for my app, but reading this thread i have second thoughts... Basically, all i want is a function to be called at a

[android-developers] Re: clear sms notifications

2009-08-11 Thread Mak
i think the sound notification can be switched off for all incoming sms. after filtering the control- sms you send a notification for the normal messages. but there will still be the problem of the notification on the status bar. Mak --~--~-~--~~~---~--~~ You

[android-developers] One picture, ACTION_VIEW, and no navigation

2009-08-11 Thread p1erstef
Hi all, I have a small clickable ImageView representing one of the pictures the user took with the device. When the user clicks on this ImageView, I’d like the picture to be displayed in full screen mode. I’ve found the ACTION_VIEW action to do that, except that with ACTION_VIEW, the user can

[android-developers] standart c library

2009-08-11 Thread Mr.No
Hi folks, i dont understand why the speaker in the video anatomy physiology of an Android is saying that the standard libc library stands under the GPL license and not LGPL. The Video a href=http://sites.google.com/site/io/anatomy--physiology-of-an- android The Video look at 17:40 until 19:00

[android-developers] Re: Dialog windowBackground makes parent window go black

2009-08-11 Thread LambergaR
Hi! I am facing a similar problem. All I want to do is remove the title from an Activity that I am trying to show as a Dialog. Could you please post some more details on how you managed to solve the problem? I am using the following code to modify the Dialog theme: ?xml version=1.0

[android-developers] Re: Setting a listener for drag animations in MapView

2009-08-11 Thread Cachapa
Is is really true that there are no hooks for pan and zoom events for MapView?  If this is true then how are we supposed to handle these common cases where we have more data than we can or want to fit on a single overlay for the entire globe?  Please tell me I'm missing something here, this

[android-developers] Re: Slow GPS updates

2009-08-11 Thread Paul Thomas
On my G1, it seems that the fastest updates from the GPS occur every two seconds. They can be quite accurate, within two metres, but I haven't found out how to increase the frequency. Paul. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] book page flip transition

2009-08-11 Thread zeeshan
Hi Experts, i am trying to have a nextpage transition like book page. at the moment i just change the image on imageview and move from left to right but this doesn't look good. i believe book page transition is available in iphone but i doesn't seem to have any single example for android. 3d

[android-developers] How to activate the flashlight of the Samsung Galaxy

2009-08-11 Thread Nox
Hello everybody, I am developing a photo app and I want to add a flashlight for taking better photos. The app should know: This is a Samsung Galaxy,I have to activate the flashlight. Do you know how to realize it? Thank you so much in advance Viktor

[android-developers] Changes in API in 1.5 - onFreeze and friends

2009-08-11 Thread Simon Brooke
In order to bring myself up to speed with Android, I'm trying to get this example application: http://www.helloandroid.com/node/110 working in Android 1.5. I'm making reasonable progress, and most of the API changes I've successfully overcome so far make sense. But one class, URLEditor

[android-developers] Re: fatal: Out of memory, malloc failed fatal: index-pack failed

2009-08-11 Thread Mark Murphy
human android wrote: I am trying to do repo sync and every time I get this error. fatal: Out of memory, malloc failed fatal: index-pack failed Any ideas how to get by this? That would seem to be a better question for the [repo-discuss] Google Group:

[android-developers] Re: Changes in API in 1.5 - onFreeze and friends

2009-08-11 Thread Mark Murphy
Simon Brooke wrote: In order to bring myself up to speed with Android, I'm trying to get this example application: http://www.helloandroid.com/node/110 Gadzooks, that's old. working in Android 1.5. I'm making reasonable progress, and most of the API changes I've successfully overcome so

[android-developers] Re: Chart API

2009-08-11 Thread Mark Murphy
guruk wrote: Hi, I got a Mail from Google they would/could a App of mine if I improve my Chart. The Lady recommended to use: http://code.google.com/apis/chart/types.html but how do I implement that in Android? Any Experience in that, Demo Code, whatever? For on-device charting, you might

[android-developers] Invitation to connect on LinkedIn

2009-08-11 Thread Manikandan Jayagopal
LinkedIn Manikandan Jayagopal requested to add you as a connection on LinkedIn: -- Michele, I'd like to add you to my professional network on LinkedIn. - Manikandan View invitation from Manikandan Jayagopal

[android-developers] How to add scrollview to linearlayout programtically.

2009-08-11 Thread Archana
Hi, I am trying to add scrollview to linearlayout but it showing error like ScrollView can have only one direct child.. I tried like this Scrollview scrollview = new ScrollView(context) linearlayout.removeAllViews(); linearlayout.addview(listview) scrollView.addView(linearlayout); Can

[android-developers] rotation of phone

2009-08-11 Thread engin
Hi, do you know that can we control phone rotation. I mean that when i rotate phone from horizantal position to vertical position, can i call another activity or do sth else. for summary I want to call to activity with respect to telephone position which are horizantal or vertical. Thanks for

[android-developers] Re: Waiting Dialog?

2009-08-11 Thread Chaoz1336
Hi Yusuf, thx for the code, BUT I think u did not get my probleme ^^ It's no probleme to get the input of the text in a dialoge, BUT (important!!!) I have to get the input of the dialoge before the method returns. # public int showDlg() {

[android-developers] Re: UnknownHostException

2009-08-11 Thread Guru
Could any please confirm that this is a bug in the SDK.Due to this we face a lot of issues in our app. http://code.google.com/p/android/issues/detail?id=2764 On Thu, Jul 23, 2009 at 9:10 AM, Guru gurudut...@gmail.com wrote: I saw this thread(since it is a dead thread--starting a new one):

[android-developers] Re: AppAccelerator for Android and iPhone

2009-08-11 Thread Satya Komatineni
I am positive on the approach that Titanium and other appcelerator products are taking for applicationd development. I am currently doing a bit of research to see the capabilities. You can take a look at the larger set of my notes here:

[android-developers] Re: list with multiple selection

2009-08-11 Thread Honest
I tried same code in my application but it is not working. Please suggest me something. On Aug 10, 8:05 pm, Jack Ha jack...@t-mobile.com wrote: Take a look at List11.java in ApiDemos. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and

[android-developers] Re: listview (text+icon) inside a class Atcivity and not ListActivity

2009-08-11 Thread Dany BREARD
Thanks Mark So my code is complete but I have an issu when I want to choice the icon on getView(). I want to choice my icon like thre following code. But I have to use the oClient object to find Flag. oClient is on TabVoicemail class. But IconicAdapter is a class and I can't touch oClient. So

[android-developers] Re: rotation of phone

2009-08-11 Thread Saurav Mukherjee
override onConfigurationChanged() in the activity... read the docs for more help. u need to set the configs in the manifest first. On Tue, Aug 11, 2009 at 5:11 PM, engin enginarsla...@gmail.com wrote: Hi, do you know that can we control phone rotation. I mean that when i rotate phone from

[android-developers] dynamically add checkbox

2009-08-11 Thread Honest
Hello, I want to create the checkbox dyananically and display them to the screen. My problem is that at compilation time i will not know that how many check boxes i will have to create. So can some one tell me how can i do it ? I am so thankful to you as i have wasted already 2 days behind this

[android-developers] Re: AppAccelerator for Android and iPhone

2009-08-11 Thread Satya Komatineni
By the way this is also a similar approach taken by Adobe AIR and advanced IDEs like Aptana Studio can provide the needed IDE support around these ideas. Satya On Tue, Aug 11, 2009 at 8:12 AM, Satya Komatinenisatya.komatin...@gmail.com wrote: I am positive on the approach that Titanium and

[android-developers] Re: book page flip transition

2009-08-11 Thread zeeshan
can anybody help me? On Aug 11, 11:14 am, zeeshan genx...@gmail.com wrote: Hi Experts, i am trying to have a nextpage transition like book page. at the moment i just change the image on imageview and move from left to right but this doesn't look good. i believe book page transition is

[android-developers] The SDK documentation problems of package android.widget.ListView

2009-08-11 Thread Zhiguo Ge
I found some issues about the Android SDK documentation of the methods in package android.widget.ListView. The sentenses after number 1, 2, and 3 are the original descriptions while the sentenses after modified are the modified ones after I reviewed the code of Android. The original description

[android-developers] ScrollView disappears when the keyboard appears on the screen

2009-08-11 Thread EPecorari
I have the following layout: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent android:layout_height=wrap_content RelativeLayout

[android-developers] Re: listview (text+icon) inside a class Atcivity and not ListActivity

2009-08-11 Thread Dany BREARD
its Fixed On Aug 11, 2:24 pm, Dany BREARD dany.bre...@gmail.com wrote: Thanks Mark So my code is complete but I have an issu when I want to choice the icon on getView(). I want to choice my icon like thre following code. But I have to use the oClient object to find Flag. oClient is

[android-developers] Re: why camera is rotated

2009-08-11 Thread doubleslash
Setting screenorientation does it for G1. On Aug 10, 11:43 pm, engin enginarsla...@gmail.com wrote: Hi, I use google htc innovation and i am developing and apllication which uses camera to take picture and capture video. in both cases  i get rotated picture\video. On Aug 10, 9:42 pm,

[android-developers] Re: Using AsyncTask as Serializable or Parcelable -- To void activity destruction(orientation or during incoming phone call)

2009-08-11 Thread Vikas
Any idea Guys? On Aug 10, 11:58 am, Vikas vik...@hotmail.com wrote: Hello, I was able to come up with a small framework to handle all types of issues(phone calls/orientation changes etc), and it is behaving pretty well. Thanks Mark/Maher/Dianne. There is another question I wanted to ask

[android-developers] Re: The SDK documentation problems of package android.widget.ListView

2009-08-11 Thread Jack Ha
http://code.google.com/p/android/issues/detail?id=2366 -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA,

[android-developers] ItemizedOverlay is unstable

2009-08-11 Thread Zied Hamdi
Hi all, I made a post talking about the exception I had with the Itemized overlay when there are no items in. The workaround was to check and remove the ItemizedOverlay when it's empty. But another problem occurs when I attempt to remove it and invalidate the MapView directly after, I have

[android-developers] Re: The SDK documentation problems of package android.widget.ListView

2009-08-11 Thread Romain Guy
I believe we fixed all these issues in Donut. On Tue, Aug 11, 2009 at 7:01 AM, Zhiguo Gezhiguo.ge.w...@gmail.com wrote: I found some issues about the Android SDK documentation of the methods in package android.widget.ListView. The sentenses after number 1, 2, and 3 are the original 

[android-developers] how to avoid restarting activity on keyboard flip change

2009-08-11 Thread zeeshan
Hi Dear, when i open my keyboard, it restarts the activity. i use only landscape mode and dont want the activity to restart. any help plz --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: MediaPlayer bug, pls help!

2009-08-11 Thread Marco Nelissen
Sounds are loaded asynchronously, and may not have been loaded yet if you try to play them immediately after calling SoundPool.load(). A simple workaround (until we add a callback API for this) is to retry until it succeeds. On Mon, Aug 10, 2009 at 4:29 PM, Illidaneillid...@gmail.com wrote:

[android-developers] Re: sdk for windows from source code

2009-08-11 Thread Roman
You could try to use Cygwin on Windows. Make sure that you install the development tools needed for the Source build. Normally I select the complete development package. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are

[android-developers] Re: problems purchasing my own app

2009-08-11 Thread Streets Of Boston
I tried it a while ago and i could not buy my own app either (i got the same error). I read (somewhere in this forum or another forum) that buying your own app is not allowed. I just wished that the error message was more clear you cannot buy your own application instead of server error has

[android-developers] Re: dynamically add checkbox

2009-08-11 Thread Jack Ha
You can create an empty LinearLayout and call its addView() function to add the checkboxes dynamically in your code. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual

[android-developers] Re: book page flip transition

2009-08-11 Thread karthikr
Hi zeeshan, Even ive been trying to implement this but in vain. Will post and also mail you incase if im able to get through. Do post in case your able to find the actual implementation. Regards, R.Karthik On Aug 11, 6:58 pm, zeeshan genx...@gmail.com wrote: can anybody help me? On Aug

[android-developers] Re: code to uninstall applications

2009-08-11 Thread Iroid
Hello all, I have a to show a message to user before uninstall of my application happens. I could of think of two options: 1. Receiving the notification of Uninstall by intent receiver with action: Action.Package_Removed . This is not working as Framework first uninstall the application and

[android-developers] Re: how to avoid restarting activity on keyboard flip change

2009-08-11 Thread zeeshan
i just added this line in manifest and it solved my problem android:configChanges=orientation|keyboardHidden On Aug 11, 4:32 pm, zeeshan genx...@gmail.com wrote: Hi Dear, when i open my keyboard, it restarts the activity. i use only landscape mode and dont want the activity to restart.

[android-developers] Re: Waiting Dialog?

2009-08-11 Thread Dianne Hackborn
You can't. If you block waiting for the dialog, you block the main thread, preventing the dialog from being shown and run. On Tue, Aug 11, 2009 at 4:56 AM, Chaoz1336 stoffe...@gmail.com wrote: Hi Yusuf, thx for the code, BUT I think u did not get my probleme ^^ It's no probleme to get the

[android-developers] Intent to pick appwidget?

2009-08-11 Thread String
Reposting this from Android Discuss, as it's probably more on-topic here. There's an ongoing issue with users who install an appwidget app from the Market and then don't know how to add the widget to their home screen. It's been suggested to add a Help or About activity with instructions - and

[android-developers] Re: Waiting Dialog?

2009-08-11 Thread skink
On Aug 11, 5:19 pm, Dianne Hackborn hack...@android.com wrote: You can't.  If you block waiting for the dialog, you block the main thread, preventing the dialog from being shown and run. -- Dianne Hackborn Android framework engineer many UI frameworks (X11/Xt/Qr) have concept of 'local'

[android-developers] Re: sdk for windows from source code

2009-08-11 Thread Jack Ha
Please refer to section 3 (Building an SDK for Windows) in the {Android_Root}/devlopement/docs/howto_build_SDK.txt file. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual

[android-developers] Re: ADC 2 - Can I post my app to the app store after August 1st?

2009-08-11 Thread Khurram Samad
Hi Yusuf Saib Any updates as why Google might be delaying the competition ? On Aug 5, 10:51 pm, Yusuf T. Mobile yusuf.s...@t-mobile.com wrote: According to the rules, TheADC2 contest is open only to applications that have not been made publicly available through the Android Market prior to

[android-developers] Re: Any updates on ADC-2?

2009-08-11 Thread Khurram Samad
Hi David Any update on deadlines - we are ready with our application and looking for the submission site. Khurram Samad GeniTeam | Generation Internet Team www.geniteam.com On Jul 14, 3:21 am, David M. d...@google.com wrote: We've posted an update onADC2 to the official Android blog:

[android-developers] Re: Intent to pick appwidget?

2009-08-11 Thread Dianne Hackborn
Hi, unfortunately you can't do this yourself, since it is the container that wants to host the widget that needs to start the widget picker. So the user has to go to their home screen, and in its UI ask to add a widget. On Tue, Aug 11, 2009 at 9:37 AM, String sterling.ud...@googlemail.comwrote:

[android-developers] Re: Waiting Dialog?

2009-08-11 Thread Dianne Hackborn
Correct, Android very deliberately does not do this. On Tue, Aug 11, 2009 at 9:50 AM, skink psk...@gmail.com wrote: On Aug 11, 5:19 pm, Dianne Hackborn hack...@android.com wrote: You can't. If you block waiting for the dialog, you block the main thread, preventing the dialog from being

[android-developers] Re: code to uninstall applications

2009-08-11 Thread Dianne Hackborn
Don't put anything in your manifest. Just start an activity with the DELETE action and data package:your package name. On Sun, Jul 5, 2009 at 11:56 PM, aljo aljochim...@gmail.com wrote: I don't know if this is the one you meant about launching uninstaller activity but I found something which

[android-developers] Re: code to uninstall applications

2009-08-11 Thread Dianne Hackborn
Hi, Android does not currently provide any way for an application to run when it is being uninstalled. On Tue, Aug 11, 2009 at 9:19 AM, Iroid irfan.f.k...@gmail.com wrote: Hello all, I have a to show a message to user before uninstall of my application happens. I could of think of two

[android-developers] Re: Launching/Installing an APK with command-line like options

2009-08-11 Thread Roman
Doug, I could think of the following - your partner specific version comes in two APKs. - when your client downloads the app from your web server two APKs are downloaded and installed on the device - The additional APK is only used to write an entry in a persistent data record

[android-developers] GridView vs. horizontal scroll

2009-08-11 Thread bela
Hi, currently I'm working on an activity which should display some data in a GridView provided by a sqlite database. The table contains many columns, so I'm trying to make the GridView horizontally scrollable, so the user could easily navigate through the fields. I'he already tried to use

[android-developers] Keeping writable database instance open... Bad practice?

2009-08-11 Thread Armond Avanes
Hi Guys, Is keeping a writable instance of a database open (SQLiteOpenHelper.getWritableDatabase()) during the running application a bad practice? Because every once in a while and with every activity screen some database operations are done as well (both read/write), I open the database at

[android-developers] Re: Error during preparation

2009-08-11 Thread PopperX
Hi, I get the same problem. Did you solve this? Did you find out what error (1, -10) means? :Popper On 6 Aug, 17:25, matthieu nicolazo matthieu.nicol...@gmail.com wrote: Hello guys, I try to read some radio streaming with android media player but some errors occurs during the prepare()

[android-developers] Animation Problem

2009-08-11 Thread HVT
Hello All, I'm new to Android and trying to develop an app that has loads of animation. Its a small game. Currently i have a object (image) moving around the canvas. I used animation to animate it around the screen. But the problem here is i dont have the XY coordinates of that object while

[android-developers] Inserting small icon over Image

2009-08-11 Thread Sagar
Hi, I wish to insert a small icon (bottom roght corner) over images in gallery. Is there any image processing library available? Please Reply. Warm Regards, Sagar --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: push or push-like options

2009-08-11 Thread Jim (sjjh)
There's nothing to stop you forcing the packet data connection to remain open by sending something like a heartbeat from the server That's based on having your own protocol of course Cheers, Jim On Aug 10, 9:51 pm, Jefftoaster jefftoas...@gmail.com wrote: Hey all - I'm looking at 3 different

[android-developers] Can I use the picture of Dev Phone 1 in my app? (copyright question)

2009-08-11 Thread hzakimoto
Say, if I want the G1 (3D OpenGL model skinned like G1) to be the main character in my game. Will I get into copyright problem? Well this sounds silly I presume. Since the picture of G1 or ADP1 can be found anywhere. And there should be no reason at all to prohibit developer from using the G1

[android-developers] How to set Adapter extending BaseAdapter to single choice list

2009-08-11 Thread Mamun
Hi, I have a class which extends ListActivity public class GenericListActivity extends ListActivity { ... @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setListAdapter(new

[android-developers] Cellid returned by NeighboringCellInfo's getCid() ?

2009-08-11 Thread toppest
Hi I am interested in getting the neighboring cell's cell id information and correspondent RSSI value. So I am using the TelephonyManager's getNeighboringCellInfo() function to get the neighboring cell information. It successfully returned a list of neighboringcellinfo. However, when I try to use

[android-developers] Camera Preview on Emulator

2009-08-11 Thread swapnil kamble
Hi, I want to preview my camera on emulator. I have also written small app for that. But it only show black and white squares and gray square moving. Does anybody has any idea about this ? Thanks in advance, Swapnil --~--~-~--~~~---~--~~ You received this message

[android-developers] WifiReceiver not part of SDK 1.5???

2009-08-11 Thread Abhi
I don't see this in the list of WiFi classes on the latest documentation found here http://developer.android.com/reference/android/net/wifi/package-summary.html I am refering to a WifiScanner code (snippet below) to scan wireless networks public class WifiTester extends Activity { TextView

[android-developers] Simultaneous audio playback and record?

2009-08-11 Thread CharlesC
Is it possible to simultaneously play an audio file while recording via the microphone? When I start a recording audio in the standard way with the MediaRecorder class, and then start playing back audio in the standard way with the MediaPlayer class (on an HTC Magic), it seems that the recorder

[android-developers] Cupcake CSS3 (border-image) support

2009-08-11 Thread msolsona
We are seeing a weird behavior of Cupcake rendering buttons that use - webkit-border-image. They look great on Safari, iPhone, Chrome, but it displays chunked on the handset.Given the Webkit build number it seems it should work. Is there any information available about this item? I have not been

[android-developers] Good practise

2009-08-11 Thread jiriheitla...@googlemail.com
I was wondering if the following is considered good practice. I am creating mulitple Dot instance. A Dot instance is a value object containing x,y, color, diameter fields. I draw each created Dot to a view: code canvas.drawCircle( dot.getX(),dot.getY(),dot.getDiameter (),paint); /code Now

[android-developers] How to read Sensors from home screen Widget (1.5 cupcake)?

2009-08-11 Thread pcm2a
Hey all. I am having a difficult time figuring out a way to read the sensor data from a home screen widget. I can successfully create a home screen widget that extends AppWidgetProvider. I can successfully create a stand-alone application that reads sensor data (extends Activity). What seems

[android-developers] Incredible bug reading a network stream

2009-08-11 Thread Vermouth
Hello ! First, sorry but my english is bad ^^ ! I'm develloping an app for android. I use a function (see below) for transfert a file on the network. private void fromTo(InputStream in, OutputStream out, int offset, long length){ try{

[android-developers] Re: Good practise

2009-08-11 Thread Yusuf T. Mobile
Code first for simplicity then optimize if/as needed. That being said (well, more like pontificated, sorry), a simpler design would be to aggregate all your dots into a DotManager. This would listen and draw all the dots as needed. Aggregation works if all the dots are similar enough that their

[android-developers] Re: Animation Problem

2009-08-11 Thread jhoffman
I'm not sure about the coordinates thing, but if you are trying to use rotateAnimation to rotate something such that it looks like it is spinning in-place, then 0,0 are not the coordinates you want. The coordinates are a 'pivot point'; you could think of them as the 'middle' of the rotation. If

[android-developers] Re: Can I use the picture of Dev Phone 1 in my app? (copyright question)

2009-08-11 Thread jhoffman
I was pointed to http://www.android.com/branding.html when I had questions about some different legal issues. I checked and there isn't anything there regarding the G1 hardware... I guess because T-Mobile or somebody else probably owns the hardware licensing? I doubt anybody is really going to

[android-developers] Re: movie gif 图 片显示时被分割

2009-08-11 Thread Yusuf T. Mobile
使用 Canvas.drawTextOnPath 两次。 Yusuf Saib 机器人 Ť移动粘在一起 的看法,意见和声明此电子邮件是那些作者只是以个人身份,并不一定代表美国T - Mobile公司 On Aug 11, 12:08 am, xiaofeng rwgcz...@163.com wrote: Movie-type show with I love you my wife, the words of the picture, I love you split up I love and you and diagonally on display?

[android-developers] Re: push or push-like options

2009-08-11 Thread Roman
You could try to implement a select similar mechanism. In such a case you could wait for incoming traffic on a selected socket You find information on this topic at http://www.developer.com/java/other/article.php/626271 http://www.javaworld.com/javaworld/jw-04-2003/jw-0411-select.html --

[android-developers] Re: Slow GPS updates

2009-08-11 Thread CG
I have now measured the sample rate, and it is quite consistent with 500m/s between each sample. I removed my filter, and the application became far more responsive, but it still takers quite some time before I get accurate readings after stopping. Anyway, I am quite satisfied with the response

[android-developers] Re: Incredible bug reading a network stream

2009-08-11 Thread skink
On Aug 11, 6:35 pm, Vermouth ggauthier@gmail.com wrote: How does it is possible ? Someone can help me ? Thank in advance. you have to check how many bytes in.read() actually read pskink --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: dynamically add checkbox

2009-08-11 Thread Honest
Thanks Jack Ha for your reply. Can you give me code snippt to do it ? Sorry but i am new bie in UI desing. I am just wasting my much time so please tell me how can i do it. On Aug 11, 8:54 pm, Jack Ha jack...@t-mobile.com wrote: You can create an empty LinearLayout and call its addView()

[android-developers] Re: dynamically add checkbox

2009-08-11 Thread skink
On Aug 11, 4:54 pm, Jack Ha jack...@t-mobile.com wrote: You can create an empty LinearLayout and call its addView() function to add the checkboxes dynamically in your code. if Honest doesn't know how many check boxes to add chanses are there may be too many to fit them all in physical

[android-developers] Re: Can't get my widget to show up?

2009-08-11 Thread cvance383
hmm? On Aug 5, 2:02 pm, cvance383 cvance...@yahoo.com wrote: bump.. anyone? On Aug 4, 1:42 pm, cvance383 cvance...@yahoo.com wrote: I followed the tutorial off code.google.com to add widgets to your app. For some reason, when I run the app on the phone for testing, then long click the

[android-developers] Re: dynamically add checkbox

2009-08-11 Thread Honest
Thanks pskink for you reply. But can you tell me how can i use ListView or ScroolView. My basic requirement is that i want to display more then one String and user should be able to select multiple item from them. Please advice me and if possible give me code snippt. I am doing this silly things

[android-developers] Re: Find Default Activity corresponding to Intent

2009-08-11 Thread George
Inspite of choosing a Default app for my intent, isDefault is set to false to for both the ResolveInfos in my list. The order of the ResolveInfo seems to be based on install time - I verified this by choosing the second app in my Intent Resolver dialog and called queryIntentActivities again; my

[android-developers] Re: problems purchasing my own app

2009-08-11 Thread michael maitlen
I can see where it could be to the disadvantage of us 3rd party developers if those with bigger pockets could buy their apps multiple times with the goal of pushing up it's ratings. But it would be nice to be able to buy it once just to have that last confirmation that everything was good.

[android-developers] Re: dynamically add checkbox

2009-08-11 Thread skink
Honest wrote: Thanks pskink for you reply. But can you tell me how can i use ListView or ScroolView. My basic requirement is that i want to display more then one String and user should be able to select multiple item from them. Please advice me and if possible give me code snippt. I am

[android-developers] Re: dynamically add checkbox

2009-08-11 Thread skink
On Aug 11, 8:12 pm, Honest honestsucc...@gmail.com wrote: Thanks pskink for you reply. But can you tell me how can i use ListView or ScroolView. My basic requirement is that i want to display more then one String and user should be able to select multiple item from them. Please advice me

[android-developers] Re: Find Default Activity corresponding to Intent

2009-08-11 Thread Dianne Hackborn
Sorry yes I am wrong again... it's been a while since I've looked at the code. :} Okay so hopefully this will be right -- the method in the package manager for determining the default activity is not public (it is PackageManagerService.findPreferredActivity() fwiw). The only suggestion I can

[android-developers] Re: why camera is rotated

2009-08-11 Thread engin
When I use screenOrientation=landscape screen get normal but when I take photo or capture video and save it , the saved picture/video is still not normal they are atill rotated. ScreenOrientation just rotate preview not settings of camera On 11 Ağustos, 17:38, doubleslash doublesl...@gmail.com

[android-developers] Re: Why does my PhoneStateListener go quiet?

2009-08-11 Thread chrisnew
On Aug 10, 9:00 am, Ne0 liamjamesalf...@googlemail.com wrote: Thanks for you input Chris. I have managed to get around the issue by using SCREEN_DIM_WAKE_LOCK, the PhoneStateListener still receives updates when held in that state. As my app is for engineering purposes and will not be for

[android-developers] Re: Incredible bug reading a network stream

2009-08-11 Thread Vermouth
you have to check how many bytes in.read() actually read Hum... I don't understand ^^ ! Sorry ^^ ! After in.read(buffer);, in stop reading ! And it have read buffer_size bytes ! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: KEYCODE_HOME

2009-08-11 Thread eags
Thanks Dianne. I am still confused as to why consuming all events in onKeyDown breaks the normal behavior when relaunching the app? If I leave onKeyDown alone, pressing HOME takes me to the home screen and relaunching takes me directly back to where I left off in the task. However if I always

  1   2   >