[android-developers] Re: how to enumerate all character sets supported by android platform?

2009-09-25 Thread Droy
In the embedded browser application of G1, there is a "Set text encoding" option in settings of the browser, there is a list of text encodings that supported by the browser, including "US-ASCII", "Unicode (UTF-8)", "Greek (ISO-8859-7)", ... etc. how to get the encoding list? I looked into the sour

[android-developers] Building launcher.apk from source code

2009-09-25 Thread Zi Yong Chua
Hi guys, I am trying to build the launcher.apk from source so that I can test and modify some of the classes inside as part of a project. I imported the whole launcher.apk folder into Eclipse and I can't seem to solve the "R cannot be resolve" issue, and hence I cannot compile it. May I know if a

[android-developers] Re: Send me the Code - Custom AdapterView and onItemClickListener

2009-09-25 Thread Streets Of Boston
Not if the views inside each item handle clicks themselves. E.g. if you have a button within each item, then each of those buttons will handle clicks and 'eat' the event. The buttons' parent view, the view that is the actual item, will never see this click. On Sep 25, 5:56 pm, "lf.hl" wrote:

[android-developers] Re: 1.6 error with NumericShaper.class?

2009-09-25 Thread Beth Mezias
Nope, both apps are 100% Android SDK objects. Sent from my mobile. Regards, Beth On Sep 25, 2009 6:39 PM, "Xavier Ducrohet" wrote: Are you including 3rd party libraries in your application? Those might contain code that access (or include) classes in the java.awt namespace which are not suppo

[android-developers] Re: 1.6 error with NumericShaper.class?

2009-09-25 Thread Xavier Ducrohet
Are you including 3rd party libraries in your application? Those might contain code that access (or include) classes in the java.awt namespace which are not supported. Xav On Fri, Sep 25, 2009 at 3:01 PM, Beth wrote: > > This is getting out of hand!  A second project in my Eclipse workspace >

[android-developers] Re: A new way to promote and manage your Android Applications!

2009-09-25 Thread sheik
hi , great website to bring all the android devices under one roof (one can refer wikipedia .. but still ).Keep the gud work... our app is missing in your market can u please check it.. name : iCommuteLess category : Lifestyle. By: Uttara Infosolutions Website :http://www.commuteless.appspot.

[android-developers] Re: ADC2 entries so far...

2009-09-25 Thread sheik
Name : iCommuteLess "Track commutes, Save time" Category : Lifestyle By: Uttara Infosolutions Website :http://www.commuteless.appspot.com/ Description : iCommuteLess is an application to track your daily commutes. Based on commutes, the application has intelligence built-in to give users intu

[android-developers] Re: Request to official ADC2 team.

2009-09-25 Thread sheik
++ from me too On Sep 21, 7:44 pm, Salt wrote: > + > > On 9月15日, 午前3:40, Mobidev wrote: > > > > > .               Once upon a time, we had this little > > group…http://groups.google.com/group/android-challengeAndroidChallenge: > > Discuss the Android Developer Challenge, including questions on

[android-developers] modify asset such as a .png

2009-09-25 Thread Andy Droid
Wondering if my app can modify an asset, such as myimage.png, that is in the res/drawable folder of my app? Say I want to change the color. So, perhaps I would get the bitmap, make a copy, make it mutable, modify the pixels, then save over it? Or can I just alter it directly? If so, how would

[android-developers] Re: XML vs. 'in code' created ImageButton in 1.6 looks different

2009-09-25 Thread szabolcs
Note that replacing: bRemove.setLayoutParams(new ViewGroup.LayoutParams( ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT) ); with: bRemove.setLayoutParams(new ViewGroup.LayoutParams(MY_IMG_WIDTH, MY_IMG_HEIGHT)); fixes the problem, but this is an ugly fi

[android-developers] XML vs. 'in code' created ImageButton in 1.6 looks different

2009-09-25 Thread szabolcs
Hello, The ImageButton in 1.6 exhibits a strange behavior: it looks different, when created using a XML layout vs. dynamically in code. -> case 1: -> case 2: ImageButton bRemove = new ImageButton(aCtx); bRemove.setLayoutParams(new ViewGroup.LayoutParams( ViewGroup.LayoutParams.WRAP_CON

[android-developers] getting crash stack....

2009-09-25 Thread sdphil
is there a way in android to get the call stack when an unhandled exception occurs? or better yet, to trap an unhandled exception and do something when it occurs. tia. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Audio Settings Permission Denial

2009-09-25 Thread sdphil
pefect, thx. On Sep 25, 4:05 pm, Al wrote: > You need android.permission.MODIFY_AUDIO_SETTINGS. > > From AudioService.java: > > boolean checkAudioSettingsPermission(String method) { >         if (mContext.checkCallingOrSelfPermission > ("android.permission.MODIFY_AUDIO_SETTINGS") >              

[android-developers] Start the CallLog Activity via Intent

2009-09-25 Thread Matt
Hi, I have the following code in my application: Intent i = new Intent(); i.setAction(Intent.ACTION_VIEW); i.setData(android.provider.CallLog.CONTENT_URI); startActivity(i); I want to bring up the CallLog activity, but when I run my application I get an error, that the application has s

[android-developers] Re: Audio Settings Permission Denial

2009-09-25 Thread Al
You need android.permission.MODIFY_AUDIO_SETTINGS. >From AudioService.java: boolean checkAudioSettingsPermission(String method) { if (mContext.checkCallingOrSelfPermission ("android.permission.MODIFY_AUDIO_SETTINGS") == PackageManager.PERMISSION_GRANTED) { ret

[android-developers] customized radiobutton

2009-09-25 Thread jonathan
I tries to modify the look of radiobutton: #FF @drawable/btn_radio android:background doesn't seem to be the right property, the radio button image gets stretched and placed in the background of the

[android-developers] Re: Move widget programatically

2009-09-25 Thread Romain Guy
No. On Sep 25, 2009 1:35 PM, "Jonas Alves" wrote: Hello all, Is it possible to programatically move a widget through the home screen? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" g

[android-developers] Audio Settings Permission Denial

2009-09-25 Thread sdphil
I am attempting to enable/disable bluetooth support in my app, like this: AudioManager am = (AudioManager) getSystemService (Context.AUDIO_SERVICE); am.setBluetoothA2dpOn(bluetooth); And when I make that call, I get: 09-25 22:42:20.290: WARN/AudioService(586): Audio Settin

[android-developers] display brightness settings from my activity

2009-09-25 Thread jonathan
I need to display the brightness settings dialog from my activity, I git the Settings source and found out that a lot of the classes in import does not exist in the API. did these classes' visibility change? package com.android.settings; import android.content.Context; import android.os.RemoteE

[android-developers] Re: 1.6 error with NumericShaper.class?

2009-09-25 Thread Beth
This is getting out of hand! A second project in my Eclipse workspace started throwing the error. I fooled around with the clean project and fix properties commands and got nowhere. I rolled back from 1.6 SDK to 1.5 only to find that did not resolve the problem. I even switched to the MotoDev S

[android-developers] Re: Send me the Code - Custom AdapterView and onItemClickListener

2009-09-25 Thread lf.hl
Hi, so onItemClickListener does not fire on views inside one row? I would like to handle all UI events in a central point and expected to do this in onItemClickListener. Thanks and best, lf.hl On 24 Sep., 21:46, Streets Of Boston wrote: > Make all the views (that you don't want to have react

[android-developers] Re: How to run GPS based application (WikiTude) in Android SDK Emulator?

2009-09-25 Thread Thomas (geomancer)
The emulator has no built in GPS so you must enter a gps location via a command line: telnet localhost 5554 to connect and then issue a series of positions in the form: geo fix -71.12342 41.123456 That's how I have to test when using the emulator. Hope this helps Tom B gpsmancer.com On Se

[android-developers] Re: Freezing and thawing of Views in a Gallery

2009-09-25 Thread Eddified
In case anyone else has a similar issue, I found out how to do what I want to do http://developer.android.com/reference/android/view/ViewGroup.OnHierarchyChangeListener.html I implemented that interface to know when my view was removed from display, and did my cleanup in there. http://devel

[android-developers] Re: ProgressDialog doesnt show when called...?

2009-09-25 Thread Daniele Baroncelli
I UNDERSTOD! Finally! in order to user the Activity methods, the best way is to run the asynctask-extended class as an inner class of the Activity! public class AsyncDemo extends ListActivity { . private class DownloadFilesTask extends AsyncTask { .. } } a n

[android-developers] How to debug apk running on the device manually? (without the Eclipse debug feature)

2009-09-25 Thread Agus
Hi all, I have set up my project such that I am compiling my android project manually without the ADT plugin, I have removed the Android nature by changing the .project file. But this comes with a cost: I can not use the ADT debug feature (by right clicking on Android project and Debug As->Android

[android-developers] Re: DDMS won't load (or doesn't parse?) KML file

2009-09-25 Thread tarek.attia
Anybody resolved this issue or have any idea,,,I do have this problem either and i dunno why!! P.S. I make my .kml files Using Google earth On Aug 28, 12:45 am, MarcoCanali wrote: > I've the same problem click the Button load kML > Select my File. KML > and do nothing !! I use android-

[android-developers] Intent.putExtra (String name, String[] value) caching old value

2009-09-25 Thread Jason B.
Hi, I'm creating an intent that I'm pushing to the AlarmManager so that a service will be run at a later time. I have a single string value I need to pass with the intent so the service knows what to "do" when it's onStart() is called. Here is the code that sets up my intent and pushes it to th

[android-developers] How to do debugging with breakpoints in my Android code?

2009-09-25 Thread Agus
how? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers

[android-developers] MyLocationOverlay causing crash in 1.6 (Donut)

2009-09-25 Thread CaptainSpam
Recently, two independent users with 1.6 (Donut) on their phones have informed me that my app crashes after it enters a MapView, just as soon as MyLocationOverlay obtains its first location fix. I have seen it do so with one of them, in fact. However, when I asked for a logcat, what they sent me

[android-developers] Move widget programatically

2009-09-25 Thread Jonas Alves
Hello all, Is it possible to programatically move a widget through the home screen? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-dev

[android-developers] Re: 3D Primitives in opengl ES (sphere)

2009-09-25 Thread Robert Green
You can skip ahead to creating them in a tool, exporting to obj and importing the obj files into your app/game. I did that for Light Racer 3D - http://www.rbgrn.net/content/313-light-racer-3d-days-1-2-learning-opengl-es There is a code snippet in that article which will import an OBJ file into

[android-developers] Re: ProgressDialog doesnt show when called...?

2009-09-25 Thread Felix Oghina
1) You are right. 2) http://developer.android.com/reference/android/content/Context.html#getApplicationContext%28%29 On Fri, Sep 25, 2009 at 6:48 PM, Daniele Baroncelli wrote: > >> i put up the progress dialog in the onPreExecute(). the activity can >> then just call execute(), and is otherwise

[android-developers] Re: Soft Keyboard

2009-09-25 Thread Brian Conrad
Dianne Hackborn wrote: > > Long press on menu is NOT what you should be making your users do. > Seriously. It sucks. Who would guess that is how you get to a keyboard? > Please give them a decent UI. Depends on the application. I just heard from one Hero user they are unable to enter data in

[android-developers] Canvas Matrix Stops Scaling at certain scaling factor

2009-09-25 Thread Keith
This took a little bit to find but the problem I am having is that the matrix I setup for the canvas does not work on scaling the rendering calls when it reaches a certain scaling resolution. But if I manually use the Matrix to convert the values and then call the rendering calls it works fine. 1

[android-developers] Re: Donut (1.6), auto complete text view and ellipsize

2009-09-25 Thread Chris W.
I came across this ticket : http://code.google.com/p/android/issues/detail?id=882 The bottom entry highlights concerns that the only way to ellipsize a view is to use the 'singleLine' or 'inputType' attributes. I tried these and was able to get a text view element to ellipsize but only with the '

[android-developers] Re: Donut (1.6), auto complete text view and ellipsize

2009-09-25 Thread Chris W.
I came across this ticket : http://code.google.com/p/android/issues/detail?id=882 The bottom entry highlights concerns that the only way to ellipsize a view is to use the 'singleLine' or 'inputType' attributes. I tried these and was able to get a text view element to ellipsize but only with the '

[android-developers] Re: Trouble in Printing Unicode Male Character

2009-09-25 Thread Gopal Biyani
Hey Josh Thanks a lot for showing your concern, will wait for your reply. Regards Gopal On Thu, Sep 24, 2009 at 11:12 AM, j.hadley wrote: > > On Sep 23, 6:18 am, Gopal Biyani wrote: > > At present, I am using emulator. And I don't know how to change font from > > "Droid Sans Fallback" to "Dro

[android-developers] Re: ADC2 entries so far...

2009-09-25 Thread matteoli
Productivity/Tools jaavoMoney http://www.jaavo.com/index.php?article_id=26&clang=1 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develope

[android-developers] Freezing and thawing of Views in a Gallery

2009-09-25 Thread Eddified
I've noticed that my gallery (which overrides android.widget.Gallery) is disposing of my custom View objects once they are off the screen, and re-creating them when they come back into view. I've overridden "removeView" on my custom Gallery to have more control over disposing of these views, but i

[android-developers] Re: Problem to count number of days between Two dates...

2009-09-25 Thread Streets Of Boston
This may get you into trouble if a time-span crosses a DST change. A day does not necessarily have 24 hours. In many areas in the world, twice a year, a day does not have 24 hours, but 23 or 25 instead. Not to mention the occasional leap-seconds that are added to some years. On Sep 25, 12:22 am,

[android-developers] Re: Is Android able to connect to WPA Enterprise Wi-Fi networks ?

2009-09-25 Thread Roman ( T-Mobile USA)
Alex, Check out the following discussion http://forums.t-mobile.com/tmbl/board/message?board.id=Android_MR&thread.id=106 Find information on WifiHelper at http://www.androlib.com/android.application.fan-wifi-jmjE.aspx -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together Th

[android-developers] apikey for MapView

2009-09-25 Thread jotobjects
The MapView add-on sample uses an apparently dummy apikey in the layout xml that looks like this - android:apiKey="apisamples" That doesn't look like the kind of apikey you get when you register for the Android Maps API. The sample application is built and signed with the debug certifica

[android-developers] Re: You must supply a resource ID for a TextView

2009-09-25 Thread Marco Nelissen
On Fri, Sep 25, 2009 at 10:18 AM, Wouter wrote: > > On 25 sep, 16:57, Marco Nelissen wrote: >> So there's your problem then, probably. The adapter expects each item >> to have the same items, so that it can assign the fields from your >> Cursor to the corresponding items in your list item layout

[android-developers] Problem sending special signs through TCP/IP to Android Phone

2009-09-25 Thread Micke
Hello, If I try to use the code below to read characters that is sended from C# to an Android phone I get problem reading specials signs for example swedish letters like ÅÄÖ gets abit wierd. Do anyone have some tips for me that I can change here to enable to get special signs? ( The code below w

[android-developers] Re: Computational cost of calling getReadableDatabase or getWriteableDatabase?

2009-09-25 Thread Mark Murphy
> Also, "batch insert" generally means you insert multiple items at > once, so you should only need to do one call to bulkInsert(), and > hence one call to getWriteableDatabase. bulkInsert() is only for content providers; it is not implemented on SQLiteDatabase. If there is a way to do a bulk in

[android-developers] Re: Computational cost of calling getReadableDatabase or getWriteableDatabase?

2009-09-25 Thread Marco Nelissen
Why are you calling getWriteableDatabase so often? You should only need to call it once, and then use that database for all your insertions. Also, "batch insert" generally means you insert multiple items at once, so you should only need to do one call to bulkInsert(), and hence one call to getWrit

[android-developers] Re: Adding Components Programmatically

2009-09-25 Thread Mark Murphy
> I am new to Android development. I have been searching google to add > multiple components to a View programmatically .i.e add TextField, > Button, etc one below the other. > > I could only find examples where they have used XML to design the UI. > If i want to add the components programmatica

[android-developers] Re: ADT Eclipse Plugin: Can't install - "No Repository Found"

2009-09-25 Thread Sudheesh J
I faced similar issue with the ADT plugin integration with Eclipse 3.5 for Java (Galileo), behind a very restrictive proxy. The eclipse proxy configuration also didn't help to resolve the issue. Then I followed http://developer.android.com/sdk/1.6_r1/installing.html#Troubleshooting, i.e, manuall

[android-developers] Re: Multiple Framebuffer devices(dynamically change) support for Surfaceflinger.

2009-09-25 Thread Pankaj
Hi Dianne, We have hardware acceleration support and that supports multiple frame buffer device display ( as we have tested it with driver test application). but how to fit that into SurfaceFlinger is the issue. As per our study and understanding of SurfaceFlinger we have done few changes as belo

[android-developers] Is Android able to connect to WPA Enterprise Wi-Fi networks ?

2009-09-25 Thread Alex Danvy
A Wi-Fi device running Android looks like being able to connect to a secured Wi-Fi access point using WEP, WPA, etc. I actually can't figure how to setup a "WPA Enterprise" secured Wi-Fi connection wich requires a certificate. I can't find a way to import a security certificate. I went to "Setting

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-25 Thread g...@garethmurfin.co.uk
Hey guys, nice thread. I submitted "Sonorox" a musical toy for Android. You can view the trailer for it here http://www.youtube.com/watch?v=H9SHxsUKfVc and also the official website here: http://www.alphasoftware.org/sonorox/ I coded all of the site and Android stuff and really enjoyed working w

[android-developers] How to use the sample projects

2009-09-25 Thread benbenbenben
Hello, How can I use the Sample projects of Android in my project? Do I need to import the Sample project (as library) and then extend an Activity from the Sample project in my project? Or do I need to copy the code I need into the project? Thanks in advance! --~--~-~--~~--

[android-developers] Re: ProgressDialog doesnt show when called...?

2009-09-25 Thread Daniele Baroncelli
> i put up the progress dialog in the onPreExecute(). the activity can > then just call execute(), and is otherwise decoupled from the task > entirely. > > i do all my HTTP stuff this way. I am definitely missing somethings, as I don't understand how I can show the progress dialog in the onPreEx

[android-developers] FILL_AND_STROKE does not seem to work with rectangles!

2009-09-25 Thread Keith
I haven't posted this as a bug because it is so basic I can only think that there must be something that I am missing. Basically the FILL_AND_STROKE style is not respected for rectangles. Steps to reproduce: 0. Using Cupcake 1.5 (android-sdk-mac_x86-1.5_r3) (problem occurs on emulator and on And

[android-developers] how to modify emulator launcher main screen?

2009-09-25 Thread Ashwini
hi, when emulator launcher is launched, it launches with default first launcher screen. I want to change that to some other screen. how to do it? I checked apps/Launcher/src/com/android/launcher/Launcher.java. I think i change setContentView(R.layout.launcher) to my xml file(i.e setContentVie

[android-developers] notify on incoming email

2009-09-25 Thread Nemat
Hi frndz. Is it possible in Android to get notified when an email comes into the inbox? or we can say is there any interception on incoming email in Android? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[android-developers] Re: wifi RA certificate issue

2009-09-25 Thread Alex Danvy
I really can't understand how it works, if it works, myself. It's disappointing. Alex On Sep 9, 7:40 pm, Adam wrote: > hi all, > Have you notice that user is not able to importWIFIRAcertificatetoandroid. > i'm using HTC Hero and i was really surprised when i failed > to add newcertificateto my

[android-developers] How to run GPS based application (WikiTude) in Android SDK Emulator?

2009-09-25 Thread raghavendra k
Hi All, Currently I am writing an Android application which uses WikiTude API. I installed the WikiTude browser application in the Android SDK emulator from Android Market (To get Android Market in emulator I followed this link http://forum.xda-developers.com/archive/index.php/t

[android-developers] EditText.onKeyUp() doesn't catch all keys

2009-09-25 Thread CG
Dear all, I'm writing a little dictionary application for Android 1.5, and I'd like to catch the user's keystrokes in an EditText instance. The following code recognizes all keys, which are typed in in the Android emulator: new EditText(this) { @Override public boolean onKeyUp(final in

[android-developers] Toronto Android Users Group

2009-09-25 Thread Simon Chang
Hi all, I'm organizing a community of Toronto software developers/vendors interested in building mobile apps with the Android platform ... Check this out ... http://www.torontoandroid.org/ The group provide a place where Android developers connect with each others, share knowledge and learn fro

[android-developers] Adding Components Programmatically

2009-09-25 Thread Safy
Hi, I am new to Android development. I have been searching google to add multiple components to a View programmatically .i.e add TextField, Button, etc one below the other. I could only find examples where they have used XML to design the UI. If i want to add the components programmatically h

[android-developers] Clickable URLs in EditText when using ArrowKeyMovementMethod

2009-09-25 Thread Abhilash
Is there a way to make URLs in a EditText clickable when the MovementMethod is set to ArrowKeyMovementMethod? ~Abhilash --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this grou

[android-developers] Inertial Sensor on HTC Hero

2009-09-25 Thread LVMH
Hello, I am trying to develop an indoor inertial navigation system on the HTC hero with the built-in accelerometer and digital compass. As far as I know about hardware, the accelerometer chip is the Bosch Sensortec's 3-axis BMA150 and the digital compass is Asahi Kasei's AK8973 (similar to iPhon

[android-developers] Issue with adapter redrawing when GridView Item

2009-09-25 Thread Jeffrey
I'm working on a program that generates dice, lots of dice. I finally found out how to make an adapter to display an image dynamically, but now I have a new problem. The dice that are generated/displayed by the Adapter change if they scroll off the screen. Basically every time each die image moves

[android-developers] Re: Problem to count number of days between Two dates...

2009-09-25 Thread Benjamin
Instead of calculating the difference based on the date (month-day- year) you could calculate it by the difference of the time since 1.1.1970. You would use getTime() on both, then get the difference between them. Then you can divide this by 86.400.000 (which is the milliseconds in a day) to get t

[android-developers] G1 crashing BatteryStatsImpl.writeLocked() OOM

2009-09-25 Thread rflexor
Hi, I'm currently looking into an error that has been haunting my device for some days now. Today I was able to get a stacktrace. Symptom: G1 reboots seemingly intermittently without further notices in the middle of anything (or nothing) I'm doing at that time. 09-25 09:07:15.567: DEBUG/dalvikvm

[android-developers] Computational cost of calling getReadableDatabase or getWriteableDatabase?

2009-09-25 Thread Agus
I am doing a batch insert for N items and I have to call getWriteableDatabase method N times in my dbhelper method. and I find that the insertion time is slow takes ~9 secs for 50 rows with ~10 columns. How to improve the speed of a batch insertion, or maybe calling getWritebableDatabase is an exp

[android-developers] Re: Peer-to-peer phone application?

2009-09-25 Thread Roman ( T-Mobile USA)
Right now there is no "real" P2P possible on Android using the official SDK APIs. In case of Wifi there is no support of Ad-Hoc. You could try to use a multicast approach where you try first to discover which devices are in the WLAN. Problem with multicast/broadcast on Wifi is that your network p

[android-developers] Re: ACTION_NEW_OUTGOING_CALL, abort

2009-09-25 Thread Lee
Don't know how I missed that, sorry for wasting your time. Lee On Sep 25, 5:52 pm, Dianne Hackborn wrote: > Er the documentation right above and below what you quoted talks about > canceling calls: > > Once the broadcast is finished, the resultData is used as the actual number > to call. If nul

[android-developers] Notification of SMS messages: android.provider.Telephony.SMS_RECEIVED

2009-09-25 Thread Tom Gibara
I have an application that registers a BroadcastReceiver for Intents actioned "android.provider.Telephony.SMS_RECEIVED". I'm, aware that this was removed from the documentation between 0.9 and 1.0, though it has continued to function since. I've never been totally clear about the status of this Int

[android-developers] Re: Home Screen Detection

2009-09-25 Thread Hong
Thanks! It works great! The best ADC II entry I've seen so far :) On Thu, Sep 24, 2009 at 4:50 PM, GodsMoon wrote: > > Hong, > I hope you like it. > > If you have any issues please email me :) > > --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: ADT对eclips e的要求

2009-09-25 Thread ms99 ster
Please ignore this mail. Best Regards 2009/9/25 ms99 ster > 各位: > > 我昨天还在郁闷为什么9.0的ADT不可用,以为是我的文件坏了,但是我今天从新拷贝了一份回来还是不行,原来是eclipse版本的问题,我的eclipse版本是Eclipse > SDK Version: 3.4.0,文档说3.3或者更新的版本就可以啊? > --~--~-~--~~~---~--~~ You received this message because you ar

[android-developers] Re: 关于eclips e和ADT的问题

2009-09-25 Thread ms99 ster
Hi, James Sorry for my mistake. I don't think I can describe my question carefully in english, but I'll try next time. Thanks Muchly 2009/9/25 James Wang > Hi, > I think you should ask question in English. This is a English Group. > > 我首先怀疑你的Eclipse的版本。你最好使用Galileo,或者比

[android-developers] Re: You must supply a resource ID for a TextView

2009-09-25 Thread Wouter
On 25 sep, 16:57, Marco Nelissen wrote: > So there's your problem then, probably. The adapter expects each item > to have the same items, so that it can assign the fields from your > Cursor to the corresponding items in your list item layout. In other > words, if your "normal" list item contains

[android-developers] Re: 关于eclips e和ADT的问题

2009-09-25 Thread ms99 ster
确实是eclipse版本的问题,因为家里网速的原因,我没有条件换eclipse版本,只好又弄了半天。 这之前我又发了一封邮件求助是不是eclipse版本的问题,请忽略 对于ADT不能直接把feture和plugin目录拷过来使用,不能用的原因我也不知道,但是使用eclipse在线更新却可以成功更新到0.9.3。 Thanks Muchly 2009/9/25 James Wang > Hi, > I think you should ask question in English. This is a English Group. > > 我首先怀疑你的Eclipse的版本。

[android-developers] Re: how to read trace file

2009-09-25 Thread Eddified
Works. Thanks. On Sep 25, 10:49 am, Dianne Hackborn wrote: > adb shell cat /data/anr/traces.txt > > > > On Fri, Sep 25, 2009 at 9:21 AM, Eddified wrote: > > > Sometimes in LogCat I'll see > > Wrote stack trace to '/data/anr/traces.txt' > > > But when using the DDMS perspective, "File Explorer"

[android-developers] Device bug: Data SMS not received on Samsung Galaxy

2009-09-25 Thread whitemice
Background:A code contained in a Data SMS is required to authenticate the MSISDN of the device running our product. Bug: When I receive a data SMS on the Samsung Galaxy, the Intent “android.intent.action.DATA_SMS_RECEIVED” is not thrown and the Data SMS arrives in the Inbox as a blank text messag

[android-developers] Re: 3D Primitives in opengl ES (sphere)

2009-09-25 Thread Nightwolf
Take a look at demo apps from SDK. Some of them draw a cube. You need to do similar thing to display a sphere. AFAIK there is no way to draw 3D sphere using some single command. You need to generate vertices, put them in vertex buffer and call DrawArrays or DrawElements function. On Sep 25, 5:14 

[android-developers] Re: ACTION_NEW_OUTGOING_CALL, abort

2009-09-25 Thread Dianne Hackborn
Er the documentation right above and below what you quoted talks about canceling calls: Once the broadcast is finished, the resultData is used as the actual number to call. If null, no call will be placed. ... For consistency, any receiver whose purpose is to prohibit phone calls should have a pr

[android-developers] Re: how to read trace file

2009-09-25 Thread Dianne Hackborn
adb shell cat /data/anr/traces.txt On Fri, Sep 25, 2009 at 9:21 AM, Eddified wrote: > > Sometimes in LogCat I'll see > Wrote stack trace to '/data/anr/traces.txt' > > But when using the DDMS perspective, "File Explorer" View, I can't see > anything in the "data" directory, I'm assuming because p

[android-developers] Re: Soft Keyboard

2009-09-25 Thread Eric Carman
Tauno and everyone else, thank you for your responses here. Tauno, I have to agree with you that while long-press menu is not intuitively obvious, it appears to be a standard means of bringing up the soft keyboard (when it works) and said standard should be maintained. After all, it would seem t

[android-developers] android 1.5 and 1.6 versions of SDK sitting side by side...

2009-09-25 Thread sdphil
i read the migration notes for 1.6 and I could not tell if 1.5 and 1.6 can co-exist side by side. i need to build applications for both 1.5 and 1.6, and i only have one build machine. other than changing my PATH variable, are there any other gotchas? especially for an automated build process whi

[android-developers] how to read trace file

2009-09-25 Thread Eddified
Sometimes in LogCat I'll see Wrote stack trace to '/data/anr/traces.txt' But when using the DDMS perspective, "File Explorer" View, I can't see anything in the "data" directory, I'm assuming because permission denied. Is there a way (short of rooting my ion device) to read what's in that text fil

[android-developers] Re: 3D Primitives in opengl ES (sphere)

2009-09-25 Thread Dan Sherman
Might wanna look into basic OpenGL tutorials (many of them will explain this), and then its only very small changes to switch to OpenGL ES. On Fri, Sep 25, 2009 at 9:14 AM, androidDeveloper wrote: > > Anyone know how to draw a 3D-sphere with OpenGL ES in android? > > Thanks! > > > --~--~---

[android-developers] Re: Touchscreen support

2009-09-25 Thread Mark Murphy
Questions about porting Android are best asked on the android-porting Google Group: http://groups.google.com/group/android-porting > I'm running Android on a Beagle Board and want to add support for > input from the Xenarc 706TSA touchscreen. When I plug it in it's > identified as: > > generic-u

[android-developers] Re: Now ADC2 judging has begun.

2009-09-25 Thread Maps.Huge.Info (Maps API Guru)
Last night I reviewed about 20 apps also and had no problems at all. Today, I've not been able to review a single one. I get stuck in the download stage as well. It's probably due to the higher volume on the market right now. Perhaps someone at Google forgot to throw some switch to turn on additi

[android-developers] Display my tracks in map

2009-09-25 Thread Ken H
I really thought this would be an easy thing to do... I've built an app, and one of the things it does is show my current position on the little google map on the phone. I walk around it and it shows my speed, direction and position just fine. Now what I want to do is show my tracks. I don't wan

[android-developers] Re: Now ADC2 judging has begun.

2009-09-25 Thread ander...@phdgaming.com
I've reviewed around 20 apps so far - never a problem with downloading or installing myself. Using a T-mobile G1 and I restarted it after I initially downloaded the ADC app. On Sep 25, 11:27 am, Sheenmue wrote: > Is it me or there are a lot of problems when trying to download and > install apps?

[android-developers] Re: event for button on headphone chord...

2009-09-25 Thread Mark Murphy
> now that I have those gripes out of the way :), how do you detect when > a user clicks on the button on the headphone connector. the button on > the connector that goes from the non-standard usb plug to the female > headphone jack. Try watching for ACTION_MEDIA_BUTTON broadcast Intents using a

[android-developers] Re: Now ADC2 judging has begun.

2009-09-25 Thread Sheenmue
Is it me or there are a lot of problems when trying to download and install apps? Several times I had to go back to ADC2 app because the app to review wasn't downloading, other times the app was downloaded but wasn't installed and in several occasions download progress stopped at 0% and I had to c

[android-developers] ADT对eclipse的要 求

2009-09-25 Thread ms99 ster
各位: 我昨天还在郁闷为什么9.0的ADT不可用,以为是我的文件坏了,但是我今天从新拷贝了一份回来还是不行,原来是eclipse版本的问题,我的eclipse版本是Eclipse SDK Version: 3.4.0,文档说3.3或者更新的版本就可以啊? Thanks Muchly --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" gro

[android-developers] Re: ProgressBar doesn't allow control of visibility in AppWidgetProvider App Widget?

2009-09-25 Thread kenpark
Hej. I do not really get the intent of the class android.widget.RemoteViews. What is its proper use case? Regards. On 10 Aug., 16:50, Craig wrote: > Thanks Jeff, the work-around works well. > > On Aug 7, 7:45 pm, Jeff Sharkey wrote: > > > Doh, good catch.  The View.setVisibility() method is m

[android-developers] Re: event for button on headphone chord...

2009-09-25 Thread Marco Nelissen
On Fri, Sep 25, 2009 at 7:57 AM, sdphil wrote: > > okay, first a couple of gripes -- > > gripe 1: why oh why t-mobile/htc did you decide to make a phone with a > non-standard USB/Power connector?  I mean seriously, wth!!!  just what > the world needs, yet another frigging connector. The connecto

[android-developers] Re: You must supply a resource ID for a TextView

2009-09-25 Thread Marco Nelissen
So there's your problem then, probably. The adapter expects each item to have the same items, so that it can assign the fields from your Cursor to the corresponding items in your list item layout. In other words, if your "normal" list item contains items with IDs A, B and C, them your "section" li

[android-developers] event for button on headphone chord...

2009-09-25 Thread sdphil
okay, first a couple of gripes -- gripe 1: why oh why t-mobile/htc did you decide to make a phone with a non-standard USB/Power connector? I mean seriously, wth!!! just what the world needs, yet another frigging connector. gripe 2: what's up with providing a multi-media phone without a standar

[android-developers] Re: Now ADC2 judging has begun.

2009-09-25 Thread Maps.Huge.Info (Maps API Guru)
I have to agree that any complex or involved apps will not make it with the way the judging app is written. Google should have made it so you could keep the apps you're judging for a while at least, in some sort of special directory, so you could use them for a few days before deciding if they wer

[android-developers] Re: Soft Keyboard

2009-09-25 Thread tauntz
On Fri, Sep 25, 2009 at 1:13 PM, James Webster wrote: > On the Hero and I guess other Androids as well, there is the "Search" > hardware button. This works in Hero Contacts AND in Launcher, bringing up > the soft keyboard. Not particulary intuitive I grant you, as you tend to > look for a button

[android-developers] can i play gif?

2009-09-25 Thread zeeshan
Hi Dear, i am trying to play a gif by is = context.getResources().openRawResource (R.drawable.animated_gif); mMovie = Movie.decodeStream(is); but mMovie remains null. BitmapDecode.java example in apiDemo is not working either i am using this code http://www.anddev.org/how_to_play_gif_file

[android-developers] Touchscreen support

2009-09-25 Thread Jesper Nordenberg
I'm running Android on a Beagle Board and want to add support for input from the Xenarc 706TSA touchscreen. When I plug it in it's identified as: generic-usb 0003:0EEF:0001.0004: input: USB HID v2.10 Pointer [eGalax Inc. USB TouchController] on usb-ehci-omap.0-2.3/input0 There's also an error:

[android-developers] Take an action when soft keyboard is launched

2009-09-25 Thread Thomas
Hi All, I'd like to take an action always when soft keyboard is shown or hidden. In my activity there is a menu that I want to hide when soft keyboard is launched and this menu needs to be shown when soft keyboard is hidden. Does anyone have an idea about how to do that? Thanks all Thomas --~

  1   2   >