[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@googlegrou

[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 wrote: > R Ravicha

[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 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 preset time (every day)

[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 re

[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 the

[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 http://sites.google.com/site/io/anatomy--physiology-of-an- android"> The Video look at 17:40 until 19:00 Th

[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: [android-developers] Re: Setting a listener for drag animations in MapView
> 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, t

[android-developers] Re: Slow GPS updates

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 subscribe

[android-developers] book page flip transition

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 r

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

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

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 (subclass

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

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: http://groups.google.com/group/repo

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

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 overcom

[android-developers] Re: Chart API

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 m

[android-developers] Invitation to connect on LinkedIn

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 http://www.linkedin.com/e/LLkLpmh

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

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 anyb

[android-developers] rotation of phone

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 hel

[android-developers] Re: Waiting Dialog?

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

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 wrote: > I saw this thread(since it is a dead thread--starting a new one): > > > http://groups.g

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

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: http://www.satyakomatineni.com/akc/display?url=DisplayNo

[android-developers] Re: list with multiple selection

I tried same code in my application but it is not working. Please suggest me something. On Aug 10, 8:05 pm, Jack Ha wrote: > Take a look at List11.java in ApiDemos. > > -- > Jack Ha > Open Source Development Center > ・T・ ・ ・Mobile・ stick together > > The views, opinions and statements in this em

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

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 I

[android-developers] Re: rotation of phone

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 wrote: > > Hi, do you know that can we control phone rotation. I mean that when > i rotate phone from horizantal position to

[android-developers] dynamically add checkbox

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

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 Komatineni wrote: > I am positive on the approach that "Titanium" and other appcelerator > pr

[android-developers] Re: book page flip transition

can anybody help me? On Aug 11, 11:14 am, zeeshan 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 available in

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

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 ca

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

I have the following layout: http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content"> http://schemas.android.com/apk/res/ android" android:orientation="vertical"

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

its Fixed On Aug 11, 2:24 pm, Dany BREARD 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 on TabVoicema

[android-developers] Re: why camera is rotated

Setting screenorientation does it for G1. On Aug 10, 11:43 pm, engin 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, Dash125 wrote: > > > Hi,

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

Any idea Guys? On Aug 10, 11:58 am, Vikas 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 which I thoug

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

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, In

[android-developers] ItemizedOverlay is unstable

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 somet

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

I believe we fixed all these issues in Donut. On Tue, Aug 11, 2009 at 7:01 AM, Zhiguo Ge 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 descriptions while > the sentens

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

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!

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, Illidane wrote: > > Thanks, SoundPool w

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

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

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 oc

[android-developers] Re: dynamically add checkbox

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 capacit

[android-developers] Re: book page flip transition

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 wrote: > can anybody help me? > > On Aug 11, 11:14 am, ze

[android-developers] Re: code to uninstall applications

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 then

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

i just added this line in manifest and it solved my problem android:configChanges="orientation|keyboardHidden" On Aug 11, 4:32 pm, zeeshan wrote: > 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

[android-developers] Re: Waiting Dialog?

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 wrote: > > 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 te

[android-developers] Intent to pick appwidget?

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 I'

[android-developers] Re: Waiting Dialog?

On Aug 11, 5:19 pm, Dianne Hackborn 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' event loop whe

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

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 cap

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

Hi Yusuf Saib Any updates as why Google might be delaying the competition ? On Aug 5, 10:51 pm, "Yusuf T. Mobile" 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 August 1, 2009." So

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

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." wrote: > We've posted an update onADC2 to the official Android blog: > > http://android-de

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

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 wrote: > > Reposting this from Andro

[android-developers] Re: Waiting Dialog?

Correct, Android very deliberately does not do this. On Tue, Aug 11, 2009 at 9:50 AM, skink wrote: > > > > On Aug 11, 5:19 pm, Dianne Hackborn wrote: > > You can't. If you block waiting for the dialog, you block the main > thread, > > preventing the dialog from being shown and run. > > > > --

[android-developers] Re: code to uninstall applications

Don't put anything in your manifest. Just start an activity with the DELETE action and data "package:". On Sun, Jul 5, 2009 at 11:56 PM, aljo wrote: > > I don't know if this is the one you meant about launching uninstaller > activity but I found something which might be the same... > > http://a

[android-developers] Re: code to uninstall applications

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 wrote: > > 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. Receivi

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

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 (sharedPreferences

[android-developers] GridView vs. horizontal scroll

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 Horizon

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

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 start

[android-developers] Re: Error during preparation

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 wrote: > Hello guys, > > I try to read some radio streaming with android media player but some > errors occurs during the prepare() method. > > Here is my so

[android-developers] Animation Problem

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 X&Y coordinates of that object while it

[android-developers] Inserting small icon over Image

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 "And

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

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 wrote: > Hey all - I'm looking at 3 different apps to develop for t

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

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 pic

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

Hi, I have a class which extends ListActivity public class GenericListActivity extends ListActivity { ... @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setListAdapter(new GenericListAd

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

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

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 b

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

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 m

[android-developers] Simultaneous audio playback and record?

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

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

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: canvas.drawCircle( dot.getX(),dot.getY(),dot.getDiameter (),paint); Now i want al

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

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 to

[android-developers] Incredible bug reading a network stream

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

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 co

[android-developers] Re: Animation Problem

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 y

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

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 ge

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

使用 Canvas.drawTextOnPath 两次。 Yusuf Saib 机器人 Ť移动粘在一起 的看法,意见和声明此电子邮件是那些作者只是以个人身份,并不一定代表美国T - Mobile公司 On Aug 11, 12:08 am, xiaofeng 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

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 -- Roman

[android-developers] Re: Slow GPS updates

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

On Aug 11, 6:35 pm, Vermouth 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 subscribed to the Go

[android-developers] Re: dynamically add checkbox

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 wrote: > You can create an empty LinearLayout and call its addView() function > to add the chec

[android-developers] Re: dynamically add checkbox

On Aug 11, 4:54 pm, Jack Ha 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 screen. so maybe the b

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

hmm? On Aug 5, 2:02 pm, cvance383 wrote: > bump.. anyone? > > On Aug 4, 1:42 pm, cvance383 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 home screen to add widgets, m

[android-developers] Re: dynamically add checkbox

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 f

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

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 d

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

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. Regar

[android-developers] Re: dynamically add checkbox

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

On Aug 11, 8:12 pm, 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 m

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

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 make

[android-developers] Re: why camera is rotated

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 wrote: > Setting scree

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

On Aug 10, 9:00 am, Ne0 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 the general > Market, i have

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

> 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 G

[android-developers] Re: KEYCODE_HOME

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 r

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

Thanks Dainne. Is there a way to uniquely identify the intent resolver activity? UID? name + packageName? -George On Aug 11, 11:34 am, Dianne Hackborn wrote: > 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 me

[android-developers] Re: dynamically add checkbox

This basically involves writing UI code programatically. See http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/view/ScrollView2.html for an example of adding multiple TextView and Button to a ScrollView in a for loop. On Aug 11, 2:12 pm, Honest wrote: > Thanks pski

[android-developers] Does the DEBUG tag in Logcat have any special significance?

I have a sneaking suspicion that an error I'm encountering is a bug in the Android operating system itself. Logcat doesn't display an error, but instead it spits out a stack trace with the tag "DEBUG" that begins like this: 08-11 14:51:45.119: INFO/DEBUG(15805): Build fingerprint: 'generic/sdk/

[android-developers] Re: code to uninstall applications

Thanks for quick response. On Aug 11, 1:18 pm, Dianne Hackborn wrote: > 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 wrote: > > > Hello all, > > I have a to show a message to user befo

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

InputStream.read(buffer) doesn't guarantee you'll read exactly buffer.length bytes. You must use the value returned by read to actualy see how much was read. On Tue, Aug 11, 2009 at 9:51 PM, Vermouth wrote: > > > you have to check how many bytes in.read() actually read > Hum... > I don't underst

[android-developers] Re: dynamically add checkbox

Thanks i saw that example but now only one question in my mind. Can i get the status of that checkbox letter ? if yes how. I am not finding any assosiated ID with it so can some one tell me how can i do it ? On Aug 12, 12:09 am, "John P." wrote: > This basically involves writing UI code programa

  1   2   >