[android-developers] Re: Scan wireless networks periodically

2010-05-27 Thread ionel
Hi, Use alarms On May 26, 8:06 pm, Charly wrote: > Hi, > > I'm developing sort of a wireless scanner, so I need to scan every X > seconds. > > I know I should use WifiManager and startScan() to get the networks > and then register a receiver to receive the event once the scan has > finished. How

[android-developers] Re: FYI EVO/Incredible ADB How-To

2010-05-27 Thread schwiz
you can just say use existing driver and pick android phone and then adb in windows 7 On May 28, 1:36 am, Ted Chien wrote: > Check the SD card that comes with your EVO. There should be a "HTC > Sync" folder for you to install the HTC Sync program and the USB > driver. > > Ted > > On 5月28日, 上午6時27

[android-developers] official twitter app source

2010-05-27 Thread schwiz
I can't wait much longer the anticipation is killing me :) Discuss -- 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 androi

[android-developers] Re: FYI EVO/Incredible ADB How-To

2010-05-27 Thread Ted Chien
Check the SD card that comes with your EVO. There should be a "HTC Sync" folder for you to install the HTC Sync program and the USB driver. Ted On 5月28日, 上午6時27分, Art wrote: > unsuccessful too. windows vista can't find a device driver for my evo. > eclipse tells me that i have the r3 usb driver

Re: [android-developers] Cannot Write file into SDCard

2010-05-27 Thread Indrajit Kumar
Try it with new API-8 and sdk r6 I think you will get your solution. tOn 5/28/2010 11:17 AM, TreKing wrote: On Thu, May 27, 2010 at 3:29 AM, jp > wrote: It says that the parent directory of file does not exist: data2/abc.text OK, really, come on no

[android-developers] Re: How to go back from 2.2 to 2.1update (ERE27) on nexus one

2010-05-27 Thread Zsolt Vasvari
The two that I found and effected me: - Can no longer play back .wav files, which is how Vonage sends me voice mails. - The photo of my most important contact has disappeared and even a resync doesn't get it back. In effect my phone's contact and the cloud contact is out of sync. Then there is

[android-developers] Re: Skinning in Android

2010-05-27 Thread Ted Chien
You can skin your own applications using Styles and Themes: http://developer.android.com/intl/fr/guide/topics/ui/themes.html If you are trying to skin the whole UI look and feel of the device (not just your own applications), you need to root your device and build your own rom for it. Regards, T

[android-developers] Re: USB drivers for HTC Legend ? (or, how to add your own to android_winusb.inf )

2010-05-27 Thread Ted Chien
Check the "HTC Sync" folder in the SD card that comes with your Legend, install the HTC Sync program, then you will get the USB driver installed in your system. Ted On 4月10日, 下午7時31分, ThomasWrobel wrote: > Just got a HTC Legend and am very keen to get into Android development > (having previous

[android-developers] Re: USB drivers for HTC Legend ? (or, how to add your own to android_winusb.inf )

2010-05-27 Thread Ted Chien
I wonder why you would do it by yourself. Check the SD card that comes with your Legend, you should be able to find an installer program under the "HTC Sync" folder. Install the HTC Sync program and it will also install the USB driver for all HTC Android devices. Regards, Ted On 4月10日, 下午7時31分,

[android-developers] Re: GLSurfaceView onPause blocked in Froyo

2010-05-27 Thread KK
I am calling it because the documentation tells so. public void onPause () Since: API Level 3 Inform the view that the activity is paused. The owner of this view must call this method when the activity is paused. Calling this method will pause the rendering thread. Must not be called before a ren

[android-developers] Re: How to get the soft keyboard input with out edit text?

2010-05-27 Thread davidrobin
Thanks. I am now using EditText to receive the result. But how can I know the "final" string? I mean, I can get the string each time when user click the soft keyboard. I want to know the final click on "Done" key. On 5月27日, 下午11时09分, Mark Murphy wrote: > davidrobin wrote: > > All I want is the fi

Re: [android-developers] Re: How to go back from 2.2 to 2.1update (ERE27) on nexus one

2010-05-27 Thread Mark Carter
I would be interested to know which bugs you've found, please! On 28 May 2010 01:13, Zsolt Vasvari wrote: > > > I'm running the one downloaded from google's servers and it seems to > > be running fine... (I also thought it was official at the time) > > Right, I got them off the Google server as

Re: [android-developers] Cannot Write file into SDCard

2010-05-27 Thread TreKing
On Thu, May 27, 2010 at 3:29 AM, jp wrote: > It says that the parent directory of file does not exist: data2/abc.text > OK, really, come on now. I don't think this can be any clearer ... if the parent directory doesn't exist ... maybe try creating the parent directory? Directories are not creat

[android-developers] Re: Cannot Write file into SDCard

2010-05-27 Thread Vinay S
Hi, Try adding this code before you open the file File root = Environment.getExternalStorageDirectory(); if (root.canWrite()){ gpxFilePath = new File(root, "abcd.txt"); } -Vinay On May 27, 1:29 pm, jp wrote: > Hi fellow developers, i'm having this issue of not being a

[android-developers] Re: Alarm Clock quitting my application

2010-05-27 Thread String
On May 28, 2:16 am, guich wrote: > When the alarm is dismissed, my app receive the events onClose and > onDestroy. Any time your activity isn't in the foreground, it may be removed from the stack if the system thinks it needs the resources. This is a normal part of the activity lifecycle, and I

[android-developers] Re: Scan wireless networks periodically

2010-05-27 Thread Vinay S
Hi, Look at timers... -Vinay On May 26, 10:06 pm, Charly wrote: > Hi, > > I'm developing sort of a wireless scanner, so I need to scan every X > seconds. > > I know I should use WifiManager and startScan() to get the networks > and then register a receiver to receive the event once the scan has

[android-developers] VideoMemo: long file path cannot work

2010-05-27 Thread Magic
Hello, I have an issue about the video playback. If the file path is long, e.g mVideoView.setVideoPath("/data/data/com.ctt.android.epop/content/ test.3gp"); the video cannot be palyed. While,if the path is shorter, e.g mVideoView.setVideoPath("/data/data/com.ctt.android.epop/test.3gp"); It is

[android-developers] Re: USB drivers for HTC Legend ? (or, how to add your own to android_winusb.inf )

2010-05-27 Thread K.L
How can I get the PID of SingleAdbInterface and SingleBootLoaderInterface. I got the two PIDs of android phone are USB\VID_0BB4&PID_0FF9 USB\VID_0BB4&PID_0FF9&REV_0100 My PC can recognize the 'android phone' device now, but 'android adb interface' under it got "Code 10" from device manager. O

[android-developers] Re: What the difference between code 'setContentView.(R.layout.main_layout);' and 'setContentView(R.layout.main_layout);'

2010-05-27 Thread Dixi
incorrect : setContentView.(R.layout.main_layout); in this .(dot) is a mistake after setContentView correct : setContentView(R.layout.main_layout); On May 26, 10:00 pm, Oddin wrote: > On the android developer > page:http://developer.android.com/guide/topics/ui/declaring-layout.html > Paragraph:

[android-developers] Can I use the return matrix of getrotationmatrix() to translate the accelerate to world coordinate system

2010-05-27 Thread Saka
Hi everyone: I wanna translate the return values of Sensor.TYPE_ACCELEROMETER to the world coordinate system,I did this in this way: public void onSensorChanged(SensorEvent event) { if (event.accuracy == SensorManager.SENSOR_STATUS_UNRELIABLE) return;

[android-developers] Re: HTC desire couldn't connect to bluetooth device.

2010-05-27 Thread b2220333
I have succeeded in run bluetooth SPP in htc desire. What the problem I overcome is I forget to change uuid in bluetooth chat program. Maybe you can try that,good luck~ On 5月26日, 下午2時13分, atlee wrote: > Hello, > I have a application which connects to the paired bluetooth device. My > application

[android-developers] Re: USB drivers for HTC Legend ? (or, how to add your own to android_winusb.inf )

2010-05-27 Thread K.L
Where can I get the PIDs of SingleAdbInterface & SingleBootLoaderInterface? I got two in device manager VID_0BB4&PID_0FF9 VID_0BB4&PID_0FF9&REV_0100. The pc can recognize the 'Android Phone" now, but the "Android ADB Interface" which under it was got "Code 10" from device manager. On Apr 10,

[android-developers] API call from browser

2010-05-27 Thread Rajnikant
Hi All, I have list key note speech on launch of Android 2.2, I want to try with few of its features, specifically making API call from Browser. Can somebody tell me, what could be the approach to make API call from Browser? any good ref. will be appreciated. Thanks, Rajnikant -- You receive

[android-developers] Skinning in Android

2010-05-27 Thread subrat kumar panda
Hello all, How to create user interface using skinning in android i don't know anything about skinning & also i am not found any document . anybody knows about the skinning will be appreciated. Thanks in advance, Best Regards Subrat Kumar Panda. India -- You received this message because you

[android-developers] Re: TelephonyManager.listen() additive? API docs unclear.

2010-05-27 Thread Vinay S
Hi, Both the ways what have listed are right.. You get the same output.. :) -vinay On May 28, 1:02 am, goosedroid wrote: > If I register LISTEN_SERVICESTATE with listener "A" using > TelephonyManager.listen(), and then later I need to additionally > listen another event like LISTEN_CALL_STATE

[android-developers] Videoplayer source code

2010-05-27 Thread Nilly
Hi, Does any one has link or source code for videoplayer which plays video using gstreamer? I have got one videoplayer.apk application from embinux site but i dont have source code for that. I am facing some problems. - Orientation is landscape, I want to change it. In forums people suggest to ch

[android-developers] Re: Contact Visibility

2010-05-27 Thread michaely
The problem is that the contact itself does not have visibility. The visibility is dependent on which group the contact is a member of. You don't see the contact in your list because by default the contact manager only wants to show the contacts in the "My Contacts" group. In your example if you go

Re: [android-developers] Re: Android Apps purchasing from anywhere in the world

2010-05-27 Thread Tomáš Hubálek
For my country there is no authorized processor. Because of Google's approach we are criticizing here. I would love to use Google's immediately. I spent 350USD (phone and market entry fee) to start developing for Android and I would like to get my investment back. I hoped Google will help me by a

[android-developers] Re: Center text vertically

2010-05-27 Thread John Gaby
I resolved the problem. For anyone else who might run into this issue, the answer is that your in your custom ViewGroup, you need to ensure that the measureChildren method is called within your onMeasure routine. In addition, all of the child windows need to have a valid ViewGroup.LayoutParams se

Re: [android-developers] How to run CameraTests on Android?

2010-05-27 Thread Sachin Nikam
Nothing from command line. On Device goto DevTools->Instrumentation. There is a Tests for Camera Application. Click on that it will start what it has to do :) On Thu, May 27, 2010 at 5:28 PM, sachinikam wrote: > I have built CameraTests present in packages/apps/Camera/tests and > installe

[android-developers] Alarm Clock quitting my application

2010-05-27 Thread guich
Hi folks, I have an application that runs fine. However, if i set the alarm clock's alarm, it happens this: 1. The alarm is triggered 2. My application gets dimmed and the clock appears on top of it 3. When i close the alarm, my application CLOSES TOO When the alarm is dismissed, my app receive

[android-developers] Stanford researchers looking for a programmer in Silicon Valley to write code for two Android apps

2010-05-27 Thread Eric Hekler
Dear programmers, Our group, led by Dr. Abby King of the Stanford Prevention Research Center-School of Medicine and Dr. Banny Banerjee of the Stanford Design Program, is looking to hire a programmer with experience developing for the Android platform. Specifically, we are looking for someone with

[android-developers] Not able to place the custom view to dialog

2010-05-27 Thread Jeruliu
I'm suffering from this for a week, i was trying to use the famous SeekBarPreference in a dialog - http://android.hlidskialf.com/blog/code/android-seekbar-preference I copied the class from above link into my project. Then created the xml as brightness.xml: http://schemas.android.com/apk/res/ a

Re: [android-developers] Re: Android Apps purchasing from anywhere in the world

2010-05-27 Thread Chi Kit Leung
For Point 5, I think you cannot submit any apps to android market with the license key activation required as a free app. The policy are restricted the developers to use their "authorize" payment processor. 2010/5/26 Tomáš Hubálek > What makes me crazy about Amir's vision: > > 1) Not all applica

[android-developers] What is the default user agent string for Android 2.2 Froyo?

2010-05-27 Thread Darth
As the title suggests, can someone list it? 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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+uns

[android-developers] Re: FYI EVO/Incredible ADB How-To

2010-05-27 Thread Art
I finally got it working! I learned to use Windows' Computer Management to install the inf file. On May 27, 3:52 pm, Robert Green wrote: > Did you try to force the driver for the device?  I've had to do that > for a phone or two. > > On May 27, 12:29 pm, brianl wrote: > > > > > Tried your mod

[android-developers] Re: FYI EVO/Incredible ADB How-To

2010-05-27 Thread Art
unsuccessful too. windows vista can't find a device driver for my evo. eclipse tells me that i have the r3 usb driver package and i updated my android_winusb.inf with the htc entries. any suggestions? thanks! On May 27, 10:29 am, brianl wrote: > Tried your mod using the latest release r06, but

[android-developers] Re: UnknownHostException

2010-05-27 Thread chaitanya
Yeh even I tried checking whether their is a problem with my application, but even then the browser doesn't work. So there might be an issue with the network On Apr 25, 6:29 am, ls02 wrote: > On Apr 24, 3:15 am, Bob Kerns wrote: > > > Things to look at: > > > 1) What DNS servers are used by the

[android-developers] MediaPlayer provides wrong duration on audio streaming

2010-05-27 Thread Demian Alonso
Hi everyone, I am having the following problem: I am using Android's MediaPlayer to play an mp3 through an HTTP connection. The audio is played correctly, but the MediaPlayer returns an incorrect duration (calling mediaPlayer.getDuration() ). Depending on the mp3 the duration is either shorter or

Re: [android-developers] Re: How do I attach onItemClickListener to this?

2010-05-27 Thread Mark Murphy
Matt wrote: > Additionally I call from my activity like this. I have tried > overriding onClickListener from both my activity and from the > SeparatedListAdapter class up top with no success. You don't override onClickListener. In fact, you can't @Override onClickListener, as there is no such met

Re: [android-developers] eglmakecurrent() is return false. when porting hadware.

2010-05-27 Thread Leigh McRae
Check all of your egl functions for errors when creating your context and surface. I know on the Milestone that the eglChooseConfig function is broken and you will have enum the configs and choose one yourself. I wrote some code that is a loop that does a best choice selection and marks confi

[android-developers] Re: How do I attach onItemClickListener to this?

2010-05-27 Thread Matt
Additionally I call from my activity like this. I have tried overriding onClickListener from both my activity and from the SeparatedListAdapter class up top with no success. import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import android.app.Ac

[android-developers] Re: Where can I get an installable Froyo image for my Android Market Device Seeding Program Nexus One?

2010-05-27 Thread Zsolt Vasvari
On May 26, 6:15 pm, Al Sutton wrote: > (and, for you, there will probably be a > delay while Vodafone approve it). I don't think the carrier has anything to with it since it's just a stock phone without a carrier custimzation. As far as the carrier "sees" it, it's just another bundle of data

[android-developers] Re: How to get the history cache of android default browser

2010-05-27 Thread Zsolt Vasvari
My guess is if this is not exposed by a ContentProvider, you cannot. On May 27, 5:55 am, Xiangyu Liu wrote: > Hi, I am just an Android beginner, I am trying to get all the > histories of android default browser. Can anyone give me an example or > steps on it? > > Thanks > > Xiangyu -- You recei

[android-developers] Re: How to go back from 2.2 to 2.1update (ERE27) on nexus one

2010-05-27 Thread Zsolt Vasvari
> I'm running the one downloaded from google's servers and it seems to > be running fine... (I also thought it was official at the time) Right, I got them off the Google server as well. Of course that gurantee that it's the same as the OTA, but seems official enough. It runs fine for the most p

Re: [android-developers] Re: Strange behavior when launching app from Market

2010-05-27 Thread Mark Murphy
Rico Yao wrote: > That app (Launchalot) is a launcher app (i.e. it just launches other > apps). I'm not saying that Launchalot doesn't have multiple instances > of itself created if launched from the Market or notifications bar. It > probably does. Anyone who puts Launchalot on the Market shoul

Re: [android-developers] Re: Strange behavior when launching app from Market

2010-05-27 Thread Rico Yao
On Thu, May 27, 2010 at 2:43 PM, TreKing wrote: > On Thu, May 27, 2010 at 4:20 PM, Rico wrote: > >> When you say "default", do you mean it's the default setting in the app >> being launched, or the app that is launching? >> > > Default behavior for the Android system. Unless otherwise specified

[android-developers] Re: Themes, Styles and Items [How to create skins for apps?]

2010-05-27 Thread Moto
example of declared Themes, note the changes in the pointing color... How do I use this than so that my view points to the item "colorListItemBottom"?? @color/color_semi_white @color/

Re: [android-developers] I would like to ask some qu estions : 【About the process of app's activation】【Abou t the copy protection of Android Market】

2010-05-27 Thread TreKing
On Tue, May 25, 2010 at 3:13 AM, kazumi_umayahara wrote: > Q1. Is it the problem as the specific of Android Market that multiple > activation > occurs when the app is activated with above process? > If it's no problem, is the cause the app "ABC" which I downloaded? > Q2. Is there any way to av

[android-developers] Re: FYI EVO/Incredible ADB How-To

2010-05-27 Thread Robert Green
Did you try to force the driver for the device? I've had to do that for a phone or two. On May 27, 12:29 pm, brianl wrote: > Tried your mod using the latest release r06, but was unsuccessful. > Updated the android_winusb.inf file in both places, adb kill-server, > adb start-server, adb devices,

[android-developers] Re: Themes, Styles and Items [How to create skins for apps?]

2010-05-27 Thread Moto
I guess this is new topic... :( On May 27, 3:20 pm, Moto wrote: > I'm currently trying to create skins for my app, and the simplest way > to do it, it seems is by creatingThemesfor each skin.  I'm getting > confused with how to use a specified item which points to a declared > color from my Theme

[android-developers] Re: Bottom of one LinearLayout being hidden by other LinearLayout?

2010-05-27 Thread brucko
Hi Mike, It appears you may be running out of room. RelativeLayout is drawing your first LinearLayout and then placing the other on top. My understanding is that Relative Layout (and FrameLayout) maintain a Z- ordering of children essentially each child is on a layer above the previous and will ob

[android-developers] Re: new froyo service: android.app.backup. Available in Emulator?

2010-05-27 Thread brian
Ravi, Thanks for the suggestion. Tried the sample code in the emulator, same result. AFAIK, the onBackup() callback never happens ... -b On May 27, 4:47 am, praneet pandit wrote: > Hey, > try out the sample code in your 2.2. sdk for how to go about backup > agent > usage.http://developer.andro

[android-developers] Zooming in on any view

2010-05-27 Thread Kasra Rahjerdi
Hello! I'm trying to figure out a way to use zoom-in features similar to those present in WebView in a standard View. My application's users include those with bad eye-sight and I would like to allow them to zoom-in on different parts of the screen and then zoom back out. I don't think this there i

[android-developers] Re: How to add screens to launcher?

2010-05-27 Thread Philip H.
I think you're confusing a few things. The Launcher is the screen that comes up when you pull the tab up from the bottom (or press the grid button on eclair or froyo). It doesn't have 'screens' since it's just a list of all the apps that are installed. The Home Screen is the main page where you

[android-developers] Re: How to go back from 2.2 to 2.1update (ERE27) on nexus one

2010-05-27 Thread Mark Carter
On May 27, 10:29 pm, TreKing wrote: > > I manually updated that > > phone with "signed-passion-FRF50-from-ERE27.1e519a24.zip" this file. > > I would qualify manually updating your firmware with some zip file off the > internet as unofficial. That might have been the one which was temporarily avai

[android-developers] Re: startForeground() broken on Incredible

2010-05-27 Thread Peter Jeffe
On May 27, 3:05 pm, Nathan wrote: > I could see that there could be a family of bugs in services on the > Incredible. I'm hoping to meet with someone local who has one. Yes, any service that expects to have foreground priority because it's called startForeground() will be sorely disappointed on t

Re: [android-developers] Re: Strange behavior when launching app from Market

2010-05-27 Thread TreKing
On Thu, May 27, 2010 at 4:20 PM, Rico wrote: > When you say "default", do you mean it's the default setting in the app > being launched, or the app that is launching? > Default behavior for the Android system. Unless otherwise specified via launch mode flags, different intents result in differen

[android-developers] Re: HTC desire couldn't connect to bluetooth device.

2010-05-27 Thread DonFrench
See if "manually" unpairing the paired device before running your app, using Settings>Wireless>Bluetooth has any effect. I had a similar problem but in my case, I had two paired devices with the same device name and it was trying to connect to the wrong device. On May 25, 11:13 pm, atlee wrote:

[android-developers] Re: What the difference between code 'setContentView.(R.layout.main_layout);' and 'setContentView(R.layout.main_layout);'

2010-05-27 Thread jean-guy
The extra . is a mistake. On May 26, 10:00 am, Oddin wrote: > On the android developer > page:http://developer.android.com/guide/topics/ui/declaring-layout.html > Paragraph: Load the XML Resource > is written such code to setup the layout from xml: setContentView. > (R.layout.main_layout); > > S

[android-developers] Re: No permissions set altough permissions requested

2010-05-27 Thread Dirk Vranckaert
TreKing, Thanks for your reply. So currently I already have one application available in the market, written for 1.5 and higher. It requires internet access so that is specified in the manifest file. Upon installation is does only ask for 'Network Connection'. Altough the applet I am writing is wr

[android-developers] Re: Making the Java assert statement work

2010-05-27 Thread fadden
On May 26, 11:30 am, A Curious Developer wrote: > How do I make the Java assert statement work? By "work" I mean that a > failed assertion should either stop program execution or at least log > the failure. Currently, neither happens. I understand there is a run- > time option to enable this (-ea)

[android-developers] android-dev posts from a number of authors winding up in gay sex channel

2010-05-27 Thread goosedroid
Why is this happening. -- 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+unsubscr...@googlegroups.com Fo

[android-developers] Re: Strange behavior when launching app from Market

2010-05-27 Thread Rico
Thanks for the response. When you say "default", do you mean it's the default setting in the app being launched, or the app that is launching? I've played around with launcher code samples that others have posted, and they don't do that. Example: http://github.com/commonsguy/cw-advandroid/tree/m

Re: [android-developers] Disable preference focus

2010-05-27 Thread TreKing
On Tue, May 25, 2010 at 9:25 AM, Danny van Geel wrote: > As this preference is merely to show activity status > I'm curious - why are you showing progress in the preference screen? As a preference activity no less? This doesn't make sense to me. I'm not sure about doing what you want - it seems

Re: [android-developers] Re: Android Library Project

2010-05-27 Thread Mark Carter
Its got positives and negatives. Bear in mind that the resources in android.R are not overridable. There was an example given earlier where things get messy (when library nesting is allowed): If library A depends on library B. Project C depends on both A and B then things get a little confusing

Re: [android-developers] No permissions set altough permissions requested

2010-05-27 Thread TreKing
On Thu, May 27, 2010 at 2:37 PM, Dirk Vranckaert wrote: > Can anyone have a look and tell me what I do wrong or is it just a bug? > Some permissions, like the SD card one, were introduced after 1.5. To maintain backward compatibility, apps built for 1.5 are automatically granted these permissions

[android-developers] Center text vertically

2010-05-27 Thread John Gaby
I have a TextView control which is being placed in a custom ViewGroup which places the control at a certain position and size. I want to center the text vertically within that control. I am making the call: tv.setGravity(Gravity.CENTER_VERTICAL); but the text still remains aligned to the top of

[android-developers] Spreading the word about Android (in Dublin) anyone?

2010-05-27 Thread CAT
If there's any group member, either from UK or Ireland, or able to travel (they'll pay your trip if you have a great topic to offer ;-) please feel free to offer a talk to IrishDev: epicenter 2010 has at least one Android slot left. iPhone, Windows Phone 7 and Java ME are sheduled or announced, A

Re: [android-developers] My app in the Market: What does "FC on new install" mean?

2010-05-27 Thread TreKing
On Wed, May 26, 2010 at 12:43 PM, cloudycity wrote: > I have no idea what FC means. "Force Closed" - IOW, your app crashed and the user had to shut it down. - TreKing - Chicago transit tracking app

[android-developers] TelephonyManager.listen() additive? API docs unclear.

2010-05-27 Thread goosedroid
I posted this before but the mod moved it to gay sex movies group. Hopefully it doesn't happen again. If I register LISTEN_SERVICESTATE with listener "A" using TelephonyManager.listen(), and then later I need to additionally listen another event like LISTEN_CALL_STATE *using the same listener* ...

[android-developers] Cross compile error

2010-05-27 Thread தங்கமணி அருண்
Hi, I am trying to cross compile one of the Linux source package. Here is my compiler flags and variables - export PATH=$PATH:/home/arun/mydroid/prebuilt/linux-x86/t

[android-developers] Re: CANNOT manage to get ADB working whatever I do.

2010-05-27 Thread Bob Kerns
So far as I can tell, from watching the message traffic going by, your only option is to upgrade to another OS, or downgrade to XP32. I've successfully used Vista 64 and Windows 7 64. I believe Linux would also be an option. You may be able to run a VMWare virtual machine and do it. I've succeed

[android-developers] MapView Overlay Location Way Off

2010-05-27 Thread jtkendall
Hi, I'm new to the Android platform (and Java) and I'm trying to get MapView to show my overlays as well as my current (hardcoded for the emulator) location. It shows the current location correctly; the second location that it's supposed to show is just down the street from the current location (a

[android-developers] Script to Capture Android Instrumentation Output and Convert to XML

2010-05-27 Thread greg
Hi guys I've developed a script to capture android instrumentation tests from a device or emulator and convert it to ant Junit XML format for reporting in your C.I. system of choice. The script is pretty simple and has a few minor bugs but works all in all. I've released it to open source as it w

[android-developers] Streaming encoded video via RTP 2

2010-05-27 Thread Robin Marx
This is actually a post that belongs in this thread : http://groups.google.com/group/android-developers/browse_thread/thread/e677b894b4c502d9/5eb4d892c12a8393 But since it is closed I will open a new thread. If a moderator could add this post to the above thread and re-open it, that would be appre

[android-developers] Re: FYI EVO/Incredible ADB How-To

2010-05-27 Thread brianl
Tried your mod using the latest release r06, but was unsuccessful. Updated the android_winusb.inf file in both places, adb kill-server, adb start-server, adb devices, no Evo. Restarted Windows, still no Evo. Assume this should work w/ the latest release, and that I don't have to go back to r03.

[android-developers] wifi hotspot in 2.2

2010-05-27 Thread cygnus
Hi, does anyone know where i can find information on: a. how the os handles the AP functionality (providing security/ authentication to clients, hostapd equivalence?) b. what is required of the wifi chip side (driver and firmware) to qualify for this functionality? I looked at developer.android.co

[android-developers] Is it possible to keep an authtoken stored for an Account private?

2010-05-27 Thread GroundZero
I need to sync some data from a phone with a server in the cloud. To do so, it appears I must create an Account via the AccountManager. If I do this is there anyway to keep the authtoken private (e.g. not accessible to other apps). I understand the value of sharing authentication with services such

[android-developers] Re: SurfaceView Lifecycle - Switching between a Layout and a SurfaceView

2010-05-27 Thread Mun
Hi, Did you manage to find an answer to this yet? I'm experiencing the same problem such that my surfaceview gets destroyed, (after calling setContentView to load another layout) but never gets created again! Thanks, Mun On May 9, 10:37 pm, tobias429 wrote: > I've built an application that sw

[android-developers] Re: SPP bluetooth

2010-05-27 Thread Robert Armstrong
I am looking to present the device (HTC Desire) to a PC as a Human Interface Device (HID). The idea is to use "socket = btserver.accept()" to open up a pipe to the PC, and then I implement the HID protocol across the pipe. I have changed the UUID to reflect its a HID ("1124--1000-8000-008

[android-developers] SeekBarPreference ClassCastException why?

2010-05-27 Thread Jeruliu
Hi All, I'm suffering from this for a week, i was trying to use the famous SeekBarPreference in a dialog - http://android.hlidskialf.com/blog/code/android-seekbar-preference I copied the class from above link into my project. Then created the xml as brightness.xml: http://schemas.android.com/a

[android-developers] How do I attach onItemClickListener to this?

2010-05-27 Thread Matt
I need to call onItemClickListener from my activity and have it return the text of the item. I am having a hard time wrapping my head around this. I have tried several examples but can't seem to pull it off. I was wondering if someone could lend an idea on what I'm doing wrong. Thanks, Matt im

[android-developers] Process gets killed

2010-05-27 Thread DummieAndroiddeveloper
i am trying to connect to a server through an android fone but th epplication gets killed as soon as HTTP_POST is called. here's the code snippet: HttpClient client = new DefaultHttpClient(); HttpPost post = new HttpPost(address); HttpResponse response = client.execute(post);

[android-developers] Android benchmark with rectangles

2010-05-27 Thread kish
Hi I am trying to find the number of rectangles per sec in three different size rectangles. I did find it though. But the only problem is that I see all the rectangles after it ran the program completely. But I would like to have rectangles drawn, when I call canvas.drawRect(rec1,paint); function.

[android-developers] AVI playback not supported in 2.1?

2010-05-27 Thread cpcarroll71
I've searched in more places than I can count and all I'm finding is just more questions and no answers. I have a Samsung Moment with the official 2.1 update and since then I can no longer play MPEG-4 videos with the .avi extension. I had no problems playing them in 1.5 and never had to convert the

[android-developers] Emma Instrumentation Code and How it works

2010-05-27 Thread Srimanta
Hi, I am new to this emma world! Just trying to figure out what code emma injects to the class that is instrumented and where? I read in this forum that Emma injects some byte code after each basic block. Can anyone answer me the following questions 1) What exact byte code is injected at the end

[android-developers] Listening to Clipboard... How to detect a "copy"

2010-05-27 Thread AuxOne
I'm interested in writing an application that extends the functionality of the Android clipboard. Basically, when the user tries to perform a "copy" (as in copy->paste) I want my application or Service to perform a function on the copied text. Is this possible? -- You received this message becau

[android-developers] filter html and alert baised on criteria entered

2010-05-27 Thread Matthew
I'm trying to find a way to automatically search html code for a criteria that shows up each time then bring the app to the front and also send notification -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

[android-developers] Created files in external storage on Archos 5 invisible on Windows Explorer

2010-05-27 Thread fpdiver
I apologise in advance if I am breaking protocol or posting to the wrong group. Please feel free to move this post to somewhere more appropriate if required. I am developing for the 160 Gb Archos 5 Internet tablet. Not ideal as a development platform I know, but customer requirements mean we have

[android-developers] Distinct query in managedQuery

2010-05-27 Thread JMJ-23
Hello, I've a problem programming a managedQuery consult. I want unique results when I do a managed query. For example I do this query: cursor=this.ManagedQuery(Uri, proyection,selection, null, orderBy) but I have how results repeat results. where I can write that I want a distint query in this con

Re: [android-developers] Gallery not Recycling Views

2010-05-27 Thread Romain Guy
This is a known "bug" (it's not a bug really, we just never had the time to implement recycling in Gallery) but we have no ETA for a fix. On Wed, May 26, 2010 at 8:31 PM, Aamir Shah wrote: > I am using the Hello Gallery code as an example. Views are not being > recycled as I scroll left and right

Re: [android-developers] Example "Tab Layout" wont work in "http://developer.android.com/resources/tutorials/views/hello-tabwidget.html"

2010-05-27 Thread Heru Prasetia
Hi drex, I have the same problem too. I think the solution is on AndroidManifest.xml You must write activity xml tag for three Activity Class So, AndroidManifest.xml change into this : http://schemas.android.com/apk/res/android"; package="tablayout.main" android:versionCode="1"

[android-developers] Re: new froyo service: android.app.backup. Available in Emulator?

2010-05-27 Thread praneet pandit
Hey, try out the sample code in your 2.2. sdk for how to go about backup agent usage. http://developer.android.com/intl/fr/resources/samples/BackupRestore/index.html regards, Ravi - The PPite PathPartner Tech, On May 26, 1:14 am, brian wrote: > Is it possible to test the new Backup api in the em

[android-developers] Possible to have private authtoken stored for Account which has been created via AccountManager?

2010-05-27 Thread GroundZero
I would like to sync some data with a server in the cloud. To do so, it appears I must create an Account via the AccountManager. If I do this is there anyway to keep the authtoken private (e.g. not accessible to other apps). I understand the value of sharing authentication with services such as Gma

[android-developers] Looking for Android GUI Design Tools and Resources

2010-05-27 Thread Weikang Wan
I used DroidDraw, however, it had bugs that might destroy previous work. I'd like to hear more experienced android developers what is good workflow for designing layout files from scratch. Is there any good gui resources for android development. Thanks in adance! -- You received this message beca

[android-developers] Re:Browser is not working in Eclaire android

2010-05-27 Thread aswini
Hi , I am new to this forum, i am trying to access the internet in the android emulator(Eclaire version). if i try to connect the browser it shows "no network connection, browser cannot load this page because there is no internet connection". then i tried following option 1. Set the default prox

[android-developers] Notepad Tutorial, Error just after imported the project

2010-05-27 Thread sylvain.artois
Hello, I'm new with Android, and when I tryied to load the NotepadV2 tutorial sources, Eclipse create this error : The method onCreateContextMenu(ContextMenu, View, ContextMenuInfo) of type Notepadv2 must override or implement a supertype method So I change the target, pass emulator from 1.5 to

[android-developers] AGPS APIs in Android 2.1

2010-05-27 Thread Shekhar
Hi, Can anybody provide the details of the apis, specific to AGPS functionality in Android 2.1 what additional APIs are added in 2.1 SDK for providing AGPS functionaly. Thanks in Advance Shekhar -- You received this message because you are subscribed to the Google Groups "Android Develope

[android-developers] How to get the history cache of android default browser

2010-05-27 Thread Xiangyu Liu
Hi, I am just an Android beginner, I am trying to get all the histories of android default browser. Can anyone give me an example or steps on it? Thanks Xiangyu -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send e

  1   2   3   >