[android-developers] How to access the internet in emulator?

2010-05-03 Thread bhuether
I juust installed the SDK and then added the 1.6 component. THen I created an AVD. WHen I lauch the AVD (inidentally, there is a brief error message saying could not load preferences) and try and login, it says no network conenction. THe computer definitely has an internet connection, otherwise I c

[android-developers] Re: Listview background image changes on Scroll?

2010-05-03 Thread realgt
try setting listview cachecolorhint to 0 > Hi, > > I am developing an android application where I need to manipulate the > background image of the rows in listview on certain conditions. > Initially when the listview is loaded all works properly. But when I > scroll down to the listview and come

[android-developers] Help with procmem output: /dev/pmem_camera /dalvik-heap-bitmap/mark/2

2010-05-03 Thread ldrolez
Hi ! I'm trying to track memory leaks in apv : http://code.google.com/p/apv/ When I run procmem on apv, I see a lot of allocated memory for /dalvik- heap-bitmap/mark/* and /dev/pmem_camera (?!): 15072K 11308K 11308K 11308K 0K 0K 11308K 0K /dev/pmem_camera 1016K 848K

[android-developers] Launching Gallery Application to Display Both Images and Videos

2010-05-03 Thread Dmitriy
I would like to allow the user to pick either an image or a video using the Gallery application launched with an ACTION_PICK or ACTION_GET_CONTENT intent. The Intent.setType(String) method allows me to set a MIME type for the user to pick from. I can either set the MIME type to "image/*" or "vide

[android-developers] Unable to resolve activity for: Intent

2010-05-03 Thread tim
Hi, I'm using robotium to test out ApiDemos. Below is the code snippet public class ApiDemosTest extends ActivityInstrumentationTestCase2{ private Solo solo; private Intent mStartIntent; public ApiDemosTest() { super("com.example.android.apis.ApiDemos",

[android-developers] finish an activity not started from current activity

2010-05-03 Thread fabricio
Hi! I have following problem with my application: >From my main activity ("activity 1"), there is a menu from which user can launch an action. This action will result in an Intent being received by a BroadcastReceiver, defined in my application. Finally, this BroadcastReceiver will start an activ

[android-developers] Open Source Testing Tools, Network Management Tools, Automated Test Tools

2010-05-03 Thread Testertools
Testertools.com is the largest Software Testing Tools database like Net Testing Tools, Network Management Tools, Oracle Database Test tool, Php Testing Tools, SQL Testing Tools, Open Source Testing Tools, Test Management Tools, Automated Test Tools etc. -- You received this message because you ar

[android-developers] Nexus One DDMS only two processes

2010-05-03 Thread John Southworth
I'm having trouble using the nexus one in DDMS on Fedora 12. It is detected fine and I can see two processes, cooliris and uploader. These are the only two that show up. The emulator shows up just fine and i can debug from there. Does anyone have suggestions on how to get the nexus to connect prope

[android-developers] Re: adb push hosts file into /system/etc/ - No space left on device error

2010-05-03 Thread CJ Bilkins
"Probably the reason why it's not working is that the /system partition is mounted read-only for obvious (security) reasons." This may be true, but according to the adb command [ http://android-dls.com/wiki/index.php?title=ADB ] You should be able to get around this by remounting. Relevant: "ad

[android-developers] Android: Streaming audio over Sockets

2010-05-03 Thread Chaitanya
Hi, For my app, I need to record audio from MIC on an Android phone, and send it over TCP to the other android phone, where it needs to be played. I am using AudioRecord and AudioTrack class. These classes works great with a local file - write audio to the file using DataOutputStream, and read fr

[android-developers] Re: CheckBox in ListView

2010-05-03 Thread David
Hey, I have the exact same problem. Can anyome help? Regards David On May 1, 3:02 am, a7med wrote: > dear developers ; > i am developping an Android application for the management of the > contact list. > but i am having a problem : the list contain for every contact a > checkbox to chose whic

[android-developers] Getting back from security & location to my application

2010-05-03 Thread sandma...@libero.it
Hi, I have an application that allows the user to enable GPS. In order to do it, first in the main activity I do: lm = (LocationManager) getSystemService(Context.LOCATION_SERVICE); if (!lm.isProviderEnabled(LocationManager.GPS_PROVIDER)){ showGpsO

[android-developers] I want to drop HVGA support. WVGA only.

2010-05-03 Thread Covcomm
Hi, I'm trying to create a high resolution version on my app, but the layout is too big. I believe it's because android is trying to display the layout in HVGA, even in a WVGA emulator skin. Maybe if there's a way to turn off my apps hvga support it will finally display properly? I been designin

[android-developers] GestureOverlayView coming back null, using Playing with Graphics tutorial

2010-05-03 Thread Shane
I have been using some nice tutorials on drawing graphics on my android. I wanted to also add in the cool gesture demo found here: http://developer.android.com/resources/articles/gestures.html That takes these lines of code: GestureOverlayView gestures = (GestureOverlayView) findViewById(R.id.ge

[android-developers] Re: Stopping or Killing a Thread

2010-05-03 Thread Jeff
I don't know if this will help with your symptoms, but I'm just making sure that the thread gets interrupted and the thread stops before the surfaceDestroyed method returns. If you interrupt a thread, the thread needs to expect the interrupt. assuming that you are extending Thread (untested code)

[android-developers] android : customer List Adatper + ArrayList

2010-05-03 Thread Ramesh
Team, Could you please help me debug the below issue? ActivityAdapter activityAdapter = new ActivityAdapter(this,activityList); Log.d("list", "List Display - 1"); setListAdapter( activityAdapter ); Log.d("List", "list done"); It's throwing exception at the time of setListAdapter, 05-01 16:59:15

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-05-03 Thread Neo
Got mine yesterday, in Gothenberg :) Thanks Google! On Apr 30, 10:53 pm, DKIT Android wrote: > In Norway. Still no N1. :-( > > -- > 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@go

[android-developers] ButtonDown and ButtonUp events for Android buttons?

2010-05-03 Thread bschuhma
Is there a way to get an onButtonDown or onButtonUp event for a soft button (i.e. not a physical hardware button, but a button on the screen)? I have a button on the screen that I want the user to hold down for X seconds. To do this I need to capture the buttonDown and buttonUp events separately.

[android-developers] aSmack library errors

2010-05-03 Thread Alex Hall
Hi all, I am relatively new to android. As a project for the programming class I am in, we have to make an app in android, and, since I am blind, I am working on a simple messaging program which will work with speech and the vibrator for feedback. To this end, I am trying to use the ASmack library

[android-developers] does Foryo will have Arabic Support ...

2010-05-03 Thread yasser elsheikh
We was looking for the Arabic Support . we heard about Android 2.2 Is coming out in May . so my question here dose this update will includer Arabic Support . please we need clear answer from Google -- You received this message because you are subscribed to the Google Groups "Android Developers" g

[android-developers] Re: Input method recreated many times

2010-05-03 Thread HanWriting
What about put some of the heavy code in a different thread? HanWriting CJK+English Handwriting recognition On Apr 30, 2:43 am, yagnasri wrote: > hi all, > > I am trying to create an input method which has some heavy > initialization to do in OnCreate(). The problem is whenever i am > switching

[android-developers] Re: RecognizerIntent.EXTRA_LANGUAGE is ignored

2010-05-03 Thread HanWriting
Same problem here. Strangely, the google translator app manage to recognize all 3 languages (English, Chinese & Japanese). So at least we know these languages are supported, but somehow we can't make it work in our code. HanWriting Chinese / Japanese / Korean + English Handwriting recognition On

[android-developers] Re: Enabling Pattern lock without a set pattern

2010-05-03 Thread Alex S.
Hey. I get a "forgot pattern" Button when i try To enter too much wrong ones. Though im on a desire. Not sure if its a Sense feature. Greets -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve

[android-developers] Custom view, instantiated in XML, overridden onDraw, canvas size outside allocated space.

2010-05-03 Thread tjhowse
Hi, I've got a custom class being loaded up by my layout XML, and drawing to the screen. This much works perfectly. First some background: In my main layout XML I define a tabhost, linearlayout, framelayout and tabwidget. Following on from this, each activity has its own layout XML that defines h

[android-developers] Update/alter Android Preferences dynamicaly

2010-05-03 Thread Lars Nielsen Lind
Hi, I have tried to find a way to update the Android Preferences dynamically. Under the /res/xml directory I have placed a XML file with CheckBoxPreference elements. During application usage some of the preferences CheckBoxPreference elements may vary in numbers. Sometimes there may be 10 items an

Re: [android-developers] Re: Listview background image changes on Scroll?

2010-05-03 Thread Ameer muhammad
salam i invit to you plz acctp i want to chat with you On 5/1/10, Paweł Zięba wrote: > > Try to set android:cacheColorHint transparent > > there is description > http://developer.android.com/resources/articles/listview-backgrounds.html > > > -- > Paweł Zięba > http://dziobas.blogspot.com > > On

[android-developers] RingtoneManager getRingtone sometimes returns null

2010-05-03 Thread Bowz
I am having trouble debugging my app where i have an sub activity which uses the static method getRingtone. Sometimes it works, sometimes it returns null. Specifically its in a custom listview in the getView function. Strangely enough, i have another sub activity which this always works. I supp

[android-developers] Redraw ListActivity with invalidate or postinvalidate onActivityResult not working

2010-05-03 Thread Nick
I am trying to redraw a custom listActivity row when returning from a sub activity in which i call startActivityForResult. I get the callback to onActivityResult, however nothing i've tried results in calling the custom ArrayAdatper which has the getView function i need called to refresh the data.

[android-developers] Which thread invokes SensorEventListener.onSensorChanged

2010-05-03 Thread Christoph Heindl
Hi everybody, a short question on SensorEventListener.onSensorChanged. From my records it seems that SensorEventListener.onSensorChanged callback is called by the same thread that registered the callback. I.e there must be some message-queue synchronization going on in the background which allows

[android-developers] Soft Keyboard Candidate View problem

2010-05-03 Thread ced
Hi, I am playing with the Demo SoftKeyboard the comes with the Android SDK. In portrait mode when its candidate view is shown, it doesn't move the app up as the default android keyboard does. Hence it covers part of the application view. What should be changed in order to make the candidate view

[android-developers] Retrieving GRP Coordinates, getting errors with getLastKnownLocation and requestLocationUpdates

2010-05-03 Thread Anurag
Hi, I tried using both getLastKnownLocation and requestLocationUpdates to get GPS coordinates from emulator. lm= (LocationManager)getSystemService(Context.LOCATION_SERVICE); after that, i tried: Location loc = lm.getLastKnownLocation("gps"); -or- LocationProvider lp = lm.getProvider("gps"); L

[android-developers] TTS through blue tooth

2010-05-03 Thread EdKawas
Hello All, How can we have text to speech happen through bluetooth? Thanks Eddie -- 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, sen

[android-developers] Re: Feedback Experiment active in the developer console

2010-05-03 Thread Nico @ Black Cat's Lab
Hello, It's equally removed from my account :( Thanks for info on your project Kevin, I'll take a look on. Nico On 1 mai, 09:32, Kevin Gaudin wrote: > Hello, > > It disappeared on my account too. > > While they're fixing all the details of official crash reporting, you > might have a look at

Re: [android-developers] Re: uploading image + optional tags via HTTP POST

2010-05-03 Thread Ramesh Sangili
hey guys, Could you please help me the debug the below code, I am getting response code 405 HttpClient client = new DefaultHttpClient(); String data = "valid post request"; HttpPost httpPost = new HttpPost("url"); Log.d("inside", "created http post"); try { ByteArrayInputStream baos

[android-developers] Re: Unparsed aapt error

2010-05-03 Thread Carlito
Thanks! Lost only 10 minutes. On Mar 16, 3:57 pm, Patrick Noffke wrote: > Hi all, > > I found some old posts on this problem, and I was having a similar issue, so > I thought I'd share what I learned. > > I was getting this error after modifying an XML file, and I was unable to > start a debug se

[android-developers] Re: adb push hosts file into /system/etc/ - No space left on device error

2010-05-03 Thread CJ Bilkins
It seems my post from yesterday never showed up so I'm going to give it another shot. I'm also having this problem, I can find no way to edit the hosts file on an android virtual device. According to the docs adb remount is supposed to put /system into read-write mode -- which it may be doing --

[android-developers] how to get image data from browser using share to?

2010-05-03 Thread ljian
i want to share image from browser,my application can get the image uri using"getIntent().getExtras().get(Intent.EXTRA_STREAM)": uri:content://htcbrowser/share_image/data/data/com.android.browser/ app_sharedimage/images.jpeg?image/jpeg.but i find that the priviledge of the specified file only allo

[android-developers] Re: Paid apps in more countries - I am sick about it

2010-05-03 Thread androidpublisher.com
Now developers worldwide can publish their paid apps through http://www.androidpublisher.com On Apr 14, 12:33 pm, r0ytlay wrote: > You should still be able to release your app as apaidapp in > countries where it is supported, even thoug you are in a country which > does not supportpaidapps, or

[android-developers] Confused on android stacking activies

2010-05-03 Thread Sebastián Treu
Hi, I'm a little confused in what stacking concern. This is the scenario I have: I wrote an application that has several activies. Let's call it application A. Application A starts a service and launchs another application, not owned by me. The service, notify the user using notifications. When t

Re: [android-developers] android : customer List Adatper + ArrayList

2010-05-03 Thread TreKing
On Sat, May 1, 2010 at 9:26 AM, Ramesh wrote: > Could you please help me debug the below issue? Did you read the log? Seems pretty clear what the problem is. ERROR/AndroidRuntime(251): Caused by: java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.

[android-developers] HTTP post to non-standard port over Wifi?

2010-05-03 Thread Per
Hi, I have trouble getting http post to work over WiFi. The server listens at port 8080, and posting works just fine when disabling WiFi and just using 3G. When enabling WiFi, I always get an IOException with message 'Socket is not connected'. Using the standard port 80 (or opening raw sockets t

[android-developers] is that any ways to analyze the image and transfer to actual alphabet for translate?

2010-05-03 Thread stupidfrog
As for the tiltle, sorry if post wrong or else, i am a new guy. -- 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-

[android-developers] ubuntu 10.04 emulator not launching

2010-05-03 Thread riazrahaman
Hi, Was not able to launch the emulator on Ubuntu 10.04. Getting the below error in eclipse. Is there a work around or a fix for this? [2010-05-02 23:35:34 - HelloWorld] Automatic Target Mode: Unable to detect device compatibility. Please select a target device. [2010-05-02 23:35:39 - HelloWorld]

[android-developers] Re: How to bring activity to front?

2010-05-03 Thread jpathak
Its possible that you don't have the right context. If possible, try storing the appropriate context in your own activity similar to a singleton, and then calling startActivity on that context. On Apr 13, 11:55 pm, mariush wrote: > Hi, > Lets suppose that i have an activity A, that activity is mo

[android-developers] Bluetooth programming

2010-05-03 Thread Scatman
how powerful is Bluetooth programming on Android? is it possible to add new protocols and encryption techniques? or even change in the current protocols? does it support bluetooth 2.1+EDR? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] accessing android widgets for development purposes

2010-05-03 Thread doug
Hello, Is there a way to access/download installed widgets on an android device to use in an android eclipse sdk project? Specifically, I would like to get some of the widgets I downloaded onto my HTC Hero phone and put them on my development machine in order to run them in the simulator. Thanks,

Re: [android-developers] onDraw being called - is that correct?

2010-05-03 Thread Second Dancer
Yes, this is the correct behavior. In order to avoid drawing your whole view, you should define a bitmap to cache your canvas. 2010/5/3 Gaurav Vaish > Hi, > > I have a custom view that I use in the activity. > Here's the final structure: > > Button 1 > My View > Button 2 > > > When either Button

[android-developers] View files within package data

2010-05-03 Thread Irshad A. Q.
Hi all, Basically I want to know how to get a list or array or any type of data about the files that have been stored in an package specific data section. By this I mean that after using something like: FileOutputStream fOut = c.openFileOutput(fileName, 0); OutputStreamWriter osw = new OutputStre

[android-developers] Re: Gallery android:unselectedAlpha works strangely

2010-05-03 Thread epoch
I am facing the same issue. "android:unselectedAlpha" works fine if you use 'android:galleryItemBackground", styleable for your gallery. But without that styleable it gives problem. I don't know what is the reason, does any one has any idea or solution to make it work without default styleable. O

[android-developers] Android : List View or Spinner - Need your help guys

2010-05-03 Thread Ramesh Sangili
Team, I would like to know how to display a List View or SPinner using key and value pairs in Android platform. For example take Contacts has id, First Name, LastName, i would like to display First Name and Last Name in the list view or in the spinner, id1, lastname1, firstname1 id2, lastname2,

[android-developers] to create clickable buttons

2010-05-03 Thread Raghu
Hi, I am developing camera application. To display data, I created surface flinger. While displaying if I press menu button, menu will be displayed behind the surface flinger that is created. No idea why menu is going behind surface flinger. And also I want to create few buttons on surface flinger.

[android-developers] Re: Cannot see device in DDMS

2010-05-03 Thread alefri
I just faced this issue. After installing all updates, I still had the same problem. Finally I reinstalled the USB driver via control panel->system->device manager, and the problem been solved. Regards Alex On Apr 15, 8:42 am, Ken H wrote: > I have Windows XP and use Eclipse v3.4.1. > > Under Dev

[android-developers] Keep Camera App running continuously

2010-05-03 Thread Sundar
Hello Developers, I would like to run the Android Camera application from my development board for about 2 hours continuously. I want to disable the phone lock screen that comes and shuts down the app. Can someone guide me how to do this? Thanks, Jack -- You received this message because you

回复: [android-developers] Problem in renaming f ile in Sdcard

2010-05-03 Thread Second Dancer
probably you have to enter the parent dir of the file. You can test the command on terminator to find whether it work 在 2010-5-3 上午7:24,"brijesh masrani" 编写: Hello Everyone, I want to rename a file in sdcard using program, i am not able to do that using String[] prog ={"mv HArdcore.chm h_ardcor

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-05-03 Thread Neo
n Apr 30, 11:17 pm, MrChaz wrote: > You just need a 2pin to 3pin converter and the charger will work just > fine in the UK :D > > On Apr 30, 4:15 pm, feilfly wrote: > > > > > finally, I received it. But the charger is EU standard not UK > > standard :-( > > > On Apr 30, 3:09 pm, Ottavio Vanini w

[android-developers] AIDL: Stub class methods not being called

2010-05-03 Thread Iva
Hello, I am using AIDL to pass objects from an Activity to a Service and am getting some strange behavior. To my understanding, the idea behind AIDL is to create an interface in a .aidl file, which android will then implement (partially) in a dynamically generated class. Android will create an abs

[android-developers] Why isn’t multi-touch working for imagebuttons?

2010-05-03 Thread Codeman
I'm using imagebuttons that play sounds using SoundPool. Here is example code a couple of the imagebuttons: ImageButton Button1 = (ImageButton)findViewById(R.id.sound1); Button1.setOnTouchListener(new OnTouchListener() { public boolean onTouch(View v, MotionEvent event) { if (

[android-developers] How can i display menu in ActivityGroup

2010-05-03 Thread Dancer
It seems that only a sub activity that gets focus(an activity get focus?) can create its menu. Should i handle this in the parent activity? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develop

[android-developers] Re: R.id cannot be resolved

2010-05-03 Thread accesstejas
this is ma mail.xml file... m geting error in .java file that R.id cant be resolved... bta actually R.id is not created only in ma R.java file... so can u plz suggest sm solution /* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the re

[android-developers] out of memory error

2010-05-03 Thread Rahul Mishra
i am using mac 10.6 using a adb push command for copying hostfile according to http://sacoskun.blogspot.com/2009/06/configure-hosts-file-in-android.html. but while pushing i am getting failed to copy '/Users/Maini/Desktop/ hosts2' to '/system/etc/hosts': Out of memory how to resolve this issue. -

[android-developers] SMS PendingIntent with AlertDialog.Builder class

2010-05-03 Thread rinascimentoman
Hi, Here's the hypothetical scenario: I want to send a form/instant message to a contact and get a response back in real time. The form/ dialog box contains a Yes or a No button. When the recipient contact clicks Yes or No, the originating app is notified with the appropriate response. In other wo

[android-developers] How to get & use widgets in eclipse android emulator?

2010-05-03 Thread doug
Hello, I have an HTC Hero running Android (v1.5). I would like to retrieve some of the widgets from the phone so that I can install them on the eclipse android emulator. Using an android explorer app I'm able to see both the device and SD card filesystem. I found the HTC pre- installed widgets (I

[android-developers] Test Plan for Multiple Screen Support

2010-05-03 Thread Stan
I'm getting close to releasing my first Android Application, and I'd like to make it compatible with all current APIs and screens. I've developed it using my own phone (which is Android 1.6 HVGA), and I set up the following 9 Emulators to hopefully test all other devices: - Android

[android-developers] Being added to a company email server - can it be done!?

2010-05-03 Thread Tiffany
My IT folks tell me I can't hook my Droid into the company email server that they are using. I was told I should just get a Blackberry. I know this is not the case because at my old job I was able to access my company email and calendar with my Droid. Can you give me some advice that I can pass

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-05-03 Thread Oscar
Yes...Got my Nexus One today!! (Sweden) On Apr 30, 8:17 pm, MrChaz wrote: > You just need a 2pin to 3pin converter and the charger will work just > fine in the UK :D > > On Apr 30, 4:15 pm, feilfly wrote: > > > > > finally, I received it. But the charger is EU standard not UK > > standard :-( >

[android-developers] Getting error: Conversion to Dalvik format failed - building Android App

2010-05-03 Thread Rupesh
I am building an app on android and running into an error and while searching on net, came across your posting on this and changed the eclipse.ini to increase Xms and Xmx params but still this error does not go away. I am using Eclipse IDE for Java with Andrioid SDK 2.1 on Mac OS. Please help or p

[android-developers] TextView cuts off part of an initial capital "J"

2010-05-03 Thread bwin
I'm having a problem with TextView and would appreciate some help finding out what I might be doing wrong. (Or if this is in fact an Android problem, a workaround :-) If the first letter of text in a TextView is capital "J", the first pixel or two are cut off so that the "J" starts looking a bit

[android-developers] HTC Legend suffering Standby on Death (SOD)

2010-05-03 Thread jefferymiow
hi, i having my 1st Android phone (HTC Legend), but my set suffering Standby on Death (SOD), not sure if the right term. When it on standby, I not able to wake the phone; only way to remove the battery and on the phone again. However, during in 'freeze' mode, try calling the phone; won't ring but

[android-developers] webview with remote xml and local html

2010-05-03 Thread biqut2
I am working on an idea for a program but am new to android development. I've went through the webview section of the resources and have a small app that downloads an xml page and displays it for me. What I really would like is to have it download the xml page and then use a locally stored template

Re: [android-developers] How to access the internet in emulator?

2010-05-03 Thread Anurag Singh
set permission for internet in your manifest file. http://developer.android.com/reference/android/Manifest.permission.html#INTERNET> " /> - Anurag Singh On Sat, May 1, 2010 at 6:11 PM, bhuether wrote: > I juust installed the SDK and then added the 1.6 component. THen I > created an AVD. WHen

Re: [android-developers] Keep Camera App running continuously

2010-05-03 Thread Anurag Singh
there should be some option in setting like all other phones. - Anurag Singh On Mon, May 3, 2010 at 4:49 AM, Sundar wrote: > Hello Developers, > > I would like to run the Android Camera application from my development > board for about 2 hours continuously. > > I want to disable the phone lock

[android-developers] Re: Google should prohibit task killers on Android Market

2010-05-03 Thread nexbug
Too extreme :-) On Apr 30, 1:56 am, Tomáš Hubálek wrote: > Hello, > > I'm on developer of Digital World Clock Widget > (http://www.appbrain.com/app/net.hubalek.android.worldclock). > > I'm receiving a few emails per week with complain that my widget > stopped working. In all cases when we do i

Re: [android-developers] TextView cuts off part of an initial capital "J"

2010-05-03 Thread Anurag Singh
Paste your xml file. - Anurag Singh On Mon, May 3, 2010 at 11:59 PM, bwin wrote: > I'm having a problem with TextView and would appreciate some help > finding out what I might be doing wrong. (Or if this is in fact an > Android problem, a workaround :-) > > If the first letter of text in a Tex

[android-developers] Re: Google should prohibit task killers on Android Market

2010-05-03 Thread gcstang
Way too extreme, without the Task Killers battery life on most phones would be horrible and the speed even on some phones such as the Droid would slow down too much waiting for background tasks to die on their own. Although I understand your frustration there has to be a better resolution for now

Re: [android-developers] troubles reading other apps config files

2010-05-03 Thread TreKing
On Fri, Apr 30, 2010 at 4:42 AM, Aivlis wrote: > I have to access to the data folder of other applications from my > application to read configuration's file and so on > No, you don't. > Can you suggest me how to solve this problem? > You don't. This is not allowed, and for good reason. Why,

[android-developers] Re: ButtonDown and ButtonUp events for Android buttons?

2010-05-03 Thread brucko
Have you tried an OnTouchListener? This will send you motion events which you can check for ACTION_DOWN and ACTION_UP -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com

[android-developers] Re: Multitouch API question

2010-05-03 Thread Rafał Grzybowski
Thank you. On 1 Maj, 14:12, Yahel wrote: > Hi, > > You should try to search the group for "multitouch broken" and you'll > find three or four threads around the fact that on Android, multitouch > is unusable. > > Seems to be because of the cheap hardware used in htc and motorola > phones, not the

[android-developers] Very simple problem (probably)

2010-05-03 Thread Tom3030
Hi All, This is probably going to be extremely simplistic, but I have an activity that does some work and is supposed to update the text view to let the user know where the process is at (some sort of progress indicator basically). But for some reason none of my textview updates make it to the scr

[android-developers] Re: TextView cuts off part of an initial capital "J"

2010-05-03 Thread bwin
OK, here you go: http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > On May 3, 11:55 am, Anurag Singh wrote: > Paste your xml file. > > - Anurag Singh > > > > On Mon, May 3, 2010 a

[android-developers] Re: draw a 2d marker on a openGL scene

2010-05-03 Thread Robert Green
If you want the 2D objects to have depth, you'll want to use billboarded quads. You may want to look around to find a better implementation but here's a tutorial - http://www.lighthouse3d.com/opengl/billboarding/ On May 3, 8:47 am, Paolo wrote: > Hi guys! > > I've a problem and I'm not able to

[android-developers] How to create Android library in Eclipse?

2010-05-03 Thread Rafał Grzybowski
I'm working on two android applications and would like to share some code between them. My guess is I need to create Java library and put all the required code there. But I don't know: - what kind of project create for the library in Eclipse, - does the shared library can contain Android resour

[android-developers] Re: How to connect with MS SQL to android

2010-05-03 Thread Brion Emde
Your SQL database is running on a remote server. You need to build a web-service, an application that turns queries via Http GET requests, and updates via Http POST, PUT and DELETE requests, into operations on your database. It is probably built right into your SQLServer and uses XML or JSON or bo

Re: [android-developers] Google should prohibit task killers on Android Market

2010-05-03 Thread TreKing
2010/4/30 Tomáš Hubálek > people either don't know what exactly task killers do and how they work or > just don't read doc. > Or they're just flipping stupid. I read the comments on one app I use once and one poster said something to the effect: "stops working every time I run task killer" atta

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-05-03 Thread Rootko
Got mine today, my girlfriend pick it for me, cause I had to travel for business trip, damn... Anyway my location - Presov, Slovakia -- 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@goo

Re: [android-developers] Re: Google should prohibit task killers on Android Market

2010-05-03 Thread Greg Donald
On Mon, May 3, 2010 at 1:59 PM, gcstang wrote: > Way too extreme, without the Task Killers battery life on most phones > would be horrible and the speed even on some phones such as the Droid > would slow down too much waiting for background tasks to die on their > own. Not to mention Sprint is ac

Re: [android-developers] Very simple problem (probably)

2010-05-03 Thread TreKing
On Mon, May 3, 2010 at 2:06 PM, Tom3030 wrote: > Do I have to do some fancy threading to update the UI or what? > Basically? Yup. The gist of it is this: setText does just that - sets the text to be used on the view - it doesn't actually do any drawing. That happens later on in the main thread,

[android-developers] Re: Development and debugging tools

2010-05-03 Thread brucko
Hi Sandy, I'm bit of an amatuer, and other people here know a lot more about this than I do. Have a look at this blog... http://ttlnews.blogspot.com/2010/01/attacking-memory-problems-on-android.html It will help you with some of the automated heap dump stuff I think you are looking for. I had a

Re: [android-developers] ubuntu 10.04 emulator not launching

2010-05-03 Thread Greg Donald
On Mon, May 3, 2010 at 2:30 AM, riazrahaman wrote: > Was not able to launch the emulator on Ubuntu 10.04. > > Is this a known issue with the 10.04 Lucid lynx ubuntu? Works fine for me. Just tested, all mine work. -- Greg Donald destiney.com | gregdonald.com -- You received this message beca

[android-developers] Re: TTS through blue tooth

2010-05-03 Thread EdKawas
I think that I found the answer here: http://groups.google.com/group/android-developers/msg/fe645e11234091c1 But I would like to confirm whether or not I can hear audio through a non a2dp headset. I can talk/listen through it for calls, so why cant I also listen through it at other times? Thanks

[android-developers] Re: How to connect with MS SQL to android

2010-05-03 Thread jotobjects
It depends on how you want to connect. Since JDBC is part of the Android SDK you should be able to drop jdbc driver jar for MS-SQL into you app and do it that way. If you want your app to use a web service interface as suggested by the previous response then you are not really connecting to MS-SQL

Re: [android-developers] save (complex?) application state to bundle

2010-05-03 Thread TreKing
On Fri, Apr 30, 2010 at 11:33 AM, blew wrote: > Unfortunately it appears that we can't serialize bitmaps and considering > they're a part of my "creature" I can't seem to see a workaround. > You don't have to serialize out every single part of an object - only those parts which contain it's curr

Re: [android-developers] finish an activity not started from current activity

2010-05-03 Thread TreKing
On Sat, May 1, 2010 at 10:45 AM, fabricio wrote: > This action will result in an Intent being received by a BroadcastReceiver, > defined in my application. > Finally, this BroadcastReceiver will start an activity ("activity 2") to > deal with this intent. > Why not just start the second activity

[android-developers] Re: How to bring activity to front?

2010-05-03 Thread jotobjects
What are you trying to accomplish? Do you expect to make the Activity disappear and the prior one to appear as if you pressed the BACK key? I think that is an incorrect understanding. what parameter do you pass to moveTaskToBack and what is the return value of the call? On May 2, 9:23 pm, jpatha

Re: [android-developers] Update/alter Android Preferences dynamicaly

2010-05-03 Thread TreKing
On Sat, May 1, 2010 at 4:28 PM, Lars Nielsen Lind wrote: > Is it in anyway possible to write to, during runtime programmatically, the > XML files placed in the /res directory - and if - how do we do that? > Nope. All /res/ content is read-only. > Is it possible - programmatically - to create a

[android-developers] Debug Certificate Expired

2010-05-03 Thread Nmix
I got a surprise today when I edited the source for a project in Eclipse, for an existing Android app. Here is the console message: [timestamp - project] Error generating final archive: Debug certificate expired on 30/04/10 2:13 PM! Anyone know what's going on here? As a precaution, I've already

[android-developers] Re: Enabling Pattern lock without a set pattern

2010-05-03 Thread kec6227
On May 1, 7:44 pm, "Alex S." wrote: > Hey. > > I get a "forgotpattern" Button when i try > To enter too much wrong ones. > Though im on a desire. > Not sure if its a Sense feature. > > Greets > Hmm well I am supposing that the user has never SET a pattern (in settings > locations and security > s

[android-developers] Re: Google should prohibit task killers on Android Market

2010-05-03 Thread Robert Green
Task killers are the only way I can get a mostly lag-free experience playing games. It's surprising how loaded up with services a phone gets when you install even a moderate amount of useful tools. You can see an obvious difference even on a nexus one when you cut out some of the tasks you don't

Re: [android-developers] Android : List View or Spinner - Need your help guys

2010-05-03 Thread TreKing
On Sun, May 2, 2010 at 11:39 AM, Ramesh Sangili wrote: > How to do it? The specifics will largely depend on which you choose, but in either case you can create a list of custom objects which contain the ID, first name, and last name and set that as the data for the adapter of either control. Bo

[android-developers] Re: Multitouch API question

2010-05-03 Thread Robert Green
FYI - Multitouch is not unusable. It just has limitations you should be aware of. The new phones (Incredible and Evo) are much better with it. If you want to see a working multitouch example used in a game, I just launched a game called Antigen the other day. If you are running 2.0+, you'll get

Re: [android-developers] View files within package data

2010-05-03 Thread TreKing
On Sun, May 2, 2010 at 5:13 PM, Irshad A. Q. wrote: > I've searched and searched for this but have not found anything of use any > help will be greatly appreciated. > Did you search the documentation? http://developer.android.com/intl/fr/reference/android/content/Context.html#getFilesDir()

<    1   2   3   >