[android-developers] Re: Getting the updated array of data from a ListView/Adapter

2010-08-10 Thread Kumar Bibek
Write a method in your adapter that will return all the data. -Kumar Bibek http://techdroid.kbeanie.com On Aug 10, 11:45 pm, Chris Stewart wrote: > I must be missing something simple here.  I've searched around but don't > think my search query is touching on the right topics to yield results. >

[android-developers] Re: Do we need to call System.gc() ?

2010-08-10 Thread Kumar Bibek
I think calling System.gc() doesn't immediately trigger the garbage collection. So, relying on this all the time might not be a good idea. -Kumar Bibek http://techdroid.kbeanie.com On Aug 11, 1:09 am, Streets Of Boston wrote: > Yep, it works for me too. But i only use it when dealing with bitmap

[android-developers] Re: POJO junit test in an Android project

2010-08-10 Thread A. Elk
The JUnit TestCase in Android should work. By default, the Eclipse plug-in will not build tests/ or its subdirectories into your application's .apk. I recommend you have one project for your main application, and another *project* for your test package. Notice that two different projects in Eclip

[android-developers] Re: Do we need to call System.gc() ?

2010-08-10 Thread Streets Of Boston
Yep, it works for me too. But i only use it when dealing with bitmaps just to be sure that the garbage collector will release raw binary image data for unreferenced Bitmaps. Actually, i call System.gc() before creating a new bitmap. This makes the code in your 'catch' clauses obsolete: 1. Call Sy

[android-developers] Re: Strange out of memory on bitmap but there is free heap space

2010-08-10 Thread Streets Of Boston
The raw binary data of your image (e.g. RGB_565 or ARGB_) is not part of the java heap. The dalvik-vm does not 'see' this heap. But the raw binary is counted towards the total heap allowed for your app's linux-process. That's where you see the discrepancy. And yes, i would cache your images on

[android-developers] Re: ListView containing multiple, clickable, Views (i.e. like GMail)

2010-08-10 Thread Chris Stewart
I'm working on something similar where I want to interact with just the rows I've selected, like the GMail app allows you to do. However, I'm struggling to find a way to get the rows I've chosen when I click a button that's outside the context of my ListView. If you'll notice on the GMail app, wh

[android-developers] Re: Want to read data @ content provider before system initialisation

2010-08-10 Thread kunal khaire
Hi All , Need this badly,could someone please see this and respond. On Tue, Aug 10, 2010 at 10:08 PM, kunal khaire wrote: > Hi All, > > > In my app i need to read the data at a content provider before the system > actually initialises. > > Probably what i understand is that a boot complete inte

[android-developers] Re: How to handle OutofMemoryError in a service?

2010-08-10 Thread doug
Thanks! That answered my question. doug -- 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...@

Re: [android-developers] A simple question - I hope

2010-08-10 Thread Dianne Hackborn
What are you intending to do with this? Free memory is a very nebulous concept. There is a 99% chance that anyone seeing a number associated with free memory will greatly misinterpret what that means. (Note that for Running Services the amount of "free" memory takes information from /proc/meminf

Re: [android-developers] can AIDL really support the Map? (the data type)

2010-08-10 Thread Dianne Hackborn
I suggest using Bundle. On Mon, Aug 9, 2010 at 10:40 PM, QasewKim wrote: > Hi, > I am curious about the data types that AIDL can support. > > The document ( > http://developer.android.com/guide/developing/tools/aidl.html > ) says, > AIDL can support String, List, Map, etc. > But to me, the Map s

Re: [android-developers] Re: How to handle OutofMemoryError in a service?

2010-08-10 Thread Dianne Hackborn
On Tue, Aug 10, 2010 at 10:55 AM, doug wrote: > "...so the system keeps them running unless there's not enough memory > to retain them along with all foreground and visible processes". > > But are you implying that OutofMemoryError will not occur *before* a > service is killed in a low memory sit

Re: [android-developers] Gallery View Null covertView

2010-08-10 Thread Romain Guy
There is not ETA for now. On Tue, Aug 10, 2010 at 12:10 PM, SImplyG2010 wrote: > Good afternoon, > > Does anyone at Google know when the null return for Gallery view may > be resolved? I know it was slated for long ago but didn't make it. > > -- > You received this message because you are subscri

[android-developers] Gallery View Null covertView

2010-08-10 Thread SImplyG2010
Good afternoon, Does anyone at Google know when the null return for Gallery view may be resolved? I know it was slated for long ago but didn't make it. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to an

Re: [android-developers] Can I make a view slide off the screen?

2010-08-10 Thread Mark Murphy
On Tue, Aug 10, 2010 at 3:03 PM, paladin wrote: > I have ads that display on the top and bottom of the screen, and I'd > like them both to slide off the screen smoothly, instead of just > disappear. Is there some way to do this? They are both WebViews, if > that makes any difference. Use a Transl

[android-developers] Can I make a view slide off the screen?

2010-08-10 Thread paladin
I have ads that display on the top and bottom of the screen, and I'd like them both to slide off the screen smoothly, instead of just disappear. Is there some way to do this? They are both WebViews, if that makes any difference. -- You received this message because you are subscribed to the Googl

Re: [android-developers] Re: Build with 2.2 SDK ok to deploy on 1.5+

2010-08-10 Thread Chris Stewart
I was definitely worried about doing this on my apps. It turns out to work just fine. Regards, Chris Stewart Fantasy Football- Android app for fantasy football fanatics and MFL owners Social Updater

[android-developers] Re: Build with 2.2 SDK ok to deploy on 1.5+

2010-08-10 Thread Pent
> I'm not using any of the advanced SDK features of the 1.6 or greater > SDK but I was told I should always build with the latest SDK rev. > > so is that OK to build and publish to market an app with the 2.2sdk > and expect it to run nicely on the 1.5 devices out there? I was also worried about t

[android-developers] Re: HTC Droid Eris - Accessing SD Card

2010-08-10 Thread Robert Nekic
Have you tried Environment.getExternalStorageDirectory()? http://developer.android.com/intl/fr/reference/android/os/Environment.html#getExternalStorageDirectory() On Aug 9, 9:51 pm, Justin Rich wrote: > I wrote an app that saves a camera picture to the SD card, then > accesses the file later t

[android-developers] Re: LVL airplane mode use case ...

2010-08-10 Thread String
I hate to say this, but LVL may not be usable for your app. It's fundamentally a server-based licensing technique, and if your app is specifically meant to be used offline - when no server connectivity is possible, in fact - then it strikes me that there's a fundamental problem there. Nonetheless,

[android-developers] Re: Can we access windows partition through android?

2010-08-10 Thread mah
Only if your Windows host provides a service (presumably socket-based) and code on the Android device knows how to talk it into doing its bidding. You would have to write both halves of that solution. On Aug 9, 5:47 am, AD wrote: > Hi, > > I want to run some batch scripts to on windows box but my

[android-developers] Re: How safe is emailing a signed App apk?

2010-08-10 Thread Rootko
Hi. For .apk localization it is only necessary to send the xml files with the strings (in case you don't have the strings hard-coded, which you must not have). Anything other than that would be suspicious to me... So I think there is no sense in sending the whole .apk. Rudo On Aug 10, 11:20 am,

[android-developers] Getting the updated array of data from a ListView/Adapter

2010-08-10 Thread Chris Stewart
I must be missing something simple here. I've searched around but don't think my search query is touching on the right topics to yield results. Anyhow, what I'm after is running through the array of data I bind to a ListView after a "Submit" button has been clicked. Here's the sample code I've f

[android-developers] Build with 2.2 SDK ok to deploy on 1.5+

2010-08-10 Thread dpackham
I'm not using any of the advanced SDK features of the 1.6 or greater SDK but I was told I should always build with the latest SDK rev. so is that OK to build and publish to market an app with the 2.2sdk and expect it to run nicely on the 1.5 devices out there? Dave P -- You received this messag

[android-developers] Re: Location from cell site or from Triangulation

2010-08-10 Thread Maps.Huge.Info (Maps API Guru)
Yes, it can. -- 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 For more opt

[android-developers] Location from cell site or from Triangulation

2010-08-10 Thread Ajmer Singh
Hi All, I am working on the location based android app. I need to implement code that find the location of the user, using cell site or triangulation.please let me know how this can be done in android. Please Help -- Thanks and Regards Ajmer Singh -- You received this message because you are

Re: [android-developers] Re: How to handle OutofMemoryError in a service?

2010-08-10 Thread Kostya Vasilyev
Doug, What I was getting at, is that Android has certain rules when killing applications in a low memory situation, as well as mechanisms to keep applications functioning. - If your service needs to do work from time to time, on its own schedule, set an Alarm using AlarmManager. Alarms are p

[android-developers] Re: ANDROID_ID - when is it set?

2010-08-10 Thread Maps.Huge.Info (Maps API Guru)
I don't know for certain but I believe the Android ID is set when the OS is loaded. It's independent of the Google account. There is no Android ID on the emulator. -John Coryat -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to th

[android-developers] How to change output from file to stream over internet

2010-08-10 Thread PopJ Bloodknife
Normally, In MediaRecorder. When I call method start() the android begins capturing and encoding data to the file specified with setOutputFile(). I would like to set new output as streaming ( Byte[] use UDP ) but I don't know to begin. Please help me. Thanks. -- You received this message beca

[android-developers] Re: Android Updater SDK (Manager) problem trought proxy

2010-08-10 Thread Robert Nekic
Websense can be evil and is definitely annoying but unfortunately it can be a necessity if a company needs to be PCI-compliant, etc. I've had similar problems with SDK updates failing via the HTTPS URL and have found that using the HTTP URL really will resolve the issue. I almost always have to la

[android-developers] Strange out of memory on bitmap but there is free heap space

2010-08-10 Thread Davide
Hi, I have a list view that display about 25 images with size 60x60 pixels. I dowload this images from internet and I store in an arraylist as Bitmap. I need to save it in a arraylist because a listview will recycle views and so I need, wenn the user scroll, to display the image in the new view WI

Re: [android-developers] Can't kill the running process when exception through

2010-08-10 Thread Mark Murphy
On Mon, Aug 9, 2010 at 11:39 PM, shadow wrote: >       I am a freshman and my English is poor,hehehe >  In some cases, I terminate the application and the DVM process > couldn't be killed when a exception through. >  why is this?  and  how the problem is to be tackled? In Android, you don't "

[android-developers] LVL airplane mode use case ...

2010-08-10 Thread OldSkoolMark
This simple use case is proving trickier than I would have thought it would be. My app is designed to operate while the phone is in airplane mode. 1) A user downloads the app, runs it once with wireless connectivity to get a license. Then there are two cases to consider: 2a) User requests a refu

Re: [android-developers] Re: FTP Application for IPv6

2010-08-10 Thread Joe Petruchi
Zirk will post you the results tomorrow Regards Petruchi On Tue, Aug 10, 2010 at 6:44 PM, Zirk wrote: > FtpCafe should in theory support IPv6, I'd appreciate if you try it > and post back results. > > Thanks > > Dragan > > On Aug 10, 1:31 pm, Joe Petruchi wrote: > > Hello All, > > > > Does any

Re: [android-developers] How to use customview with home screen ?

2010-08-10 Thread { Devdroid }
On 10 August 2010 08:26, hardrock wrote: > However, I wonder to see the HTC's "Animated Analog Clock" > Application. HTC widgets are not compatible with standard Home app. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this g

[android-developers] ANDROID_ID - when is it set?

2010-08-10 Thread Paul
I've got an app that requires a unique ID for each device. Either I use the ANDROID_ID or I use an ID I create myself (which is fine). I've found that ANDROID_ID isn't set immediately on every device... (note: I *do* know that ANDROID_ID is not set on the emulator) When is it set? Is it when the

[android-developers] Re: FTP Application for IPv6

2010-08-10 Thread Zirk
FtpCafe should in theory support IPv6, I'd appreciate if you try it and post back results. Thanks Dragan On Aug 10, 1:31 pm, Joe Petruchi wrote: > Hello All, > > Does any body know if there exists any package to test FTP over IPv6. > > I tried with some of FTP applications available in market b

[android-developers] Setting up VPN

2010-08-10 Thread Bear35805
I am having issues setting up the VPN on the emulator. When I try to connect I receive an error saying the Server Name could not be resolved. I am using the VPN Server public IP address. Can anyone help? -- You received this message because you are subscribed to the Google Groups "Android Deve

[android-developers] native UDP implementation for android

2010-08-10 Thread Eli A
I'm trying to use native implementation of UDP server/client on Android, I'm using JNI to access the native code from java. The code was tested successfully on Android 1.5 (HTC Hero) but when I tried to run the same application on Android 2.1 (HTC Legend) I got "Stack Corruption Detected" every t

[android-developers] WindowsCare Memory Improve Ultimate v5.2.1.220 WORKING-Lz0

2010-08-10 Thread Best Archive
[image: WindowsCare Memory Improve Ultimate v5.2.1.220 WORKING Lz0] Memory Improve Ultimate is powerful memory optimizer software designed to improve and monitor windows memory. It can free up wasted RAM automatically and compress system memory to make processes run faster with greater stability.

[android-developers] Problem with SimpleCursorAdapter

2010-08-10 Thread oveno
Hi, I am new to android, after doing the notepad3 tutorial, I have one applied it in one new project, I follow all the code and make my own database and table. I try to put some data in the table. but in one function called fillData(), I always have problems with SimpleCursorAdapter. This is publ

[android-developers] Can NOT use glgetfloatv() in Opengl ES 1.1

2010-08-10 Thread bluecommand
Hi everyone, I tried to use this function to read Modelview Matrix. I downloaded http://www.khronos.org/registry/gles/api/1.1/gl.h and use it with NDK. But error: eglLIB called unimplemented OpenGL ES AP happened. I tried to dump GLESv1_CM.so file and found out code implemented this function. T

[android-developers] Drawing an Image Using OpenGL

2010-08-10 Thread cmh0114
Using OpenGL ES, how do I draw an image from the resources file onto the screen? The image is in png format, if that matters. 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@

[android-developers] OpenSource REST Client for Android

2010-08-10 Thread SAMPATH KUMAR
Hi All, Is there any Opensource REST / RESTful Client / Library for Android ? Please share me the links. thanks sampath -- 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: Any chance to deactivate the lock pattern in Froyo from code?

2010-08-10 Thread scott
The "No Lock" app works for me on Froyo. Not sure what I am missing in this discussion. http://www.appbrain.com/app/org.jraf.android.nolock -- 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] Discussion on localizing-android-apps-draft

2010-08-10 Thread transistor09
What I understand from this page is that you can localize your OWN app. How should one participate in translating of an internal app (ie. input method "Android keybord")? Also, would it be difficult to develop/install a new locale? -- You received this message because you are subscribed to the Go

[android-developers] Re: adb devices cannot see Motorola

2010-08-10 Thread Lucas
same problem i have with moto dext on wndows 7 64 bit. -- 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] CTS Install TIMEOUT error - Android source Froyo - SDK 2.2, ARM emulator ,Linux Ubuntu

2010-08-10 Thread sunil kumar
Dear all , I'm facing problem in CTS execution, can any one provide me inputs regarding "Install TIMEOUT error ", 1. Is this expected behaviour ,if so any workaround exists pls let me. 2. If this is an issue pls let me know if it is fixed in any latest release. Steps : 1. make (//Android-path/my

[android-developers] can AIDL really support the Map? (the data type)

2010-08-10 Thread QasewKim
Hi, I am curious about the data types that AIDL can support. The document ( http://developer.android.com/guide/developing/tools/aidl.html ) says, AIDL can support String, List, Map, etc. But to me, the Map seems that it is not the member of them. Here is my code. package my.a

[android-developers] Google Nexus One Distro Sources

2010-08-10 Thread Cem Eliguzel
Hello everyone, I wonder if the sources of the distro which is used on Google Nexus One phones are available. Any available link is appreciated. Thanks in advance. Regards, Cem Eliguzel -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] SpeechRecognizer and ERROR_CLIENT error...

2010-08-10 Thread vicvondoom
What mean this kind of error? I'm trying to start speech recog in a service.. maybe that cause this error? I must specify the component name while call the createSpeechRecognizer methos? In which way? Thank for reply! David. -- You received this message because you are subscribed to the Google

[android-developers] Unable to create new Android project

2010-08-10 Thread andy.android
Hi All, I am using Eclipse and had downloaded all necessary updates. Unfortunately, I am unable to create a new project. Under the [B]New>Projects[/B] option I am unable to select [B]New Android Project[/B]. It is missing from the list (please refer to the print screen). I am not sure if I correct

[android-developers] HTC Droid Eris - Accessing SD Card

2010-08-10 Thread Justin Rich
I wrote an app that saves a camera picture to the SD card, then accesses the file later to display it into an ImageView. This works fine for all devices except the HTC Droid Eris (maybe the version Eris is running?): ImageView img = (ImageView) findViewById(R.id.ImgProfile1); BitmapFactory.Optio

[android-developers] Can't kill the running process when exception through

2010-08-10 Thread shadow
Hi everyone! I am a freshman and my English is poor,hehehe In some cases, I terminate the application and the DVM process couldn't be killed when a exception through. why is this? and how the problem is to be tackled? -- You received this message because you are subscribed to th

[android-developers] Hot to hide Browser Address Bar in a webapp

2010-08-10 Thread Stefano.pass
Hi to all. I need to create a website within a single div (with inside a map) compatible with Android device and I need to determine the max screen size without address bar to set the div height to make a full screen web app... How its possibile with JS (I use also sencha touch framework). Thanks

[android-developers] Regarding how to pass event/notification from audioflinger to opencore

2010-08-10 Thread talktovipin
Hi All, In my application, I want to pass one event/notification from audioflinger to AudioMIO of opencore. Can anybody suggest me some way to do this? Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send e

[android-developers] Android content assist is unbearably slow in Eclipse Helios

2010-08-10 Thread mmo
I am also observing these nasty delays (5..30(!) seconds) while typing and it takes all the fun out the programming for Android! Could one of the people responsible for the Android eclipse plugins PLEASE have a look at this! Michael -- You received this message because you are subscribed to the

[android-developers] How to use customview with home screen ?

2010-08-10 Thread hardrock
Hi, everyone. Who knows how to use customview with home screen ? As I know, It's impossible caused by limitation of AppWidget and security problem. However, I wonder to see the HTC's "Animated Analog Clock" Application. The second hand of watch is ticking on home screen. It seem to use customv

[android-developers] WRAP_CONTENT to largest

2010-08-10 Thread swinefeaster
greetings, i have a TableLayout that has a bunch of rows that looks like this: the current behavior is such that if the text of the first button wraps to the second line, the height of the button will be larger. this is good. however, the other button, if it does not have that muc

[android-developers] contactslist

2010-08-10 Thread pmlang
Hi everyone, I'm wondering if there's any way I can launch contactlist, multiple select it and return the phone numbers of selected contacts to my app? so far I only succeed in selecting one person. It's for school project :) Thank you in advance -- You received this message because you are su

[android-developers] Cocos2d-Guide

2010-08-10 Thread Deepak Tiwari
Hi, I am developing game using cocos2d-android.As we know that cocos2d method and class explanation not availb on android developer site.I find difficulty while reading bz one class internally use another ,tat class intern use other class.So if there is any tutorial where i can get detail of

[android-developers] Re: How to handle OutofMemoryError in a service?

2010-08-10 Thread doug
Thanks for the suggestions. What I was looking for is a defensive programming technique to guard my service against memory exhaustion caused by other services/activities running on the device. The SDK has this to say about a service process: "...so the system keeps them running unless there's no

Re: [android-developers] Do we need to call System.gc() ?

2010-08-10 Thread Greg Donald
On Mon, Aug 9, 2010 at 11:16 PM, Alex Xin wrote: > Hi, > Do we need to call System.gc() to indicate that system should do a garbage > collection or just let system to choose when to collect garbage and free it? > Because my app will random FCs on certain phones, but if I add some calls to > System

Re: [android-developers] Overlay a transparent bitmap on Camera

2010-08-10 Thread Mark Murphy
On Tue, Aug 10, 2010 at 1:27 PM, Pedro Teixeira wrote: > I'm passing a bitmap through a bundle to an activity which I called > cameraView on which the user has access to the camera of the device. > I'd like to overlay that bitmap with transparency using the camera as > the background. Is it possib

[android-developers] Re: Android Updater SDK (Manager) problem trought proxy

2010-08-10 Thread Bob Kerns
Websense is evil. I suggest getting a laptop, going down to the local coffee shop, updating the SDK, and then copying it to whatever system you want. I also suggest getting a job somewhere that doesn't use websense. Seriously. I would never take a job without a proper internet connection. I spent

[android-developers] Overlay a transparent bitmap on Camera

2010-08-10 Thread Pedro Teixeira
Hello, I'm passing a bitmap through a bundle to an activity which I called cameraView on which the user has access to the camera of the device. I'd like to overlay that bitmap with transparency using the camera as the background. Is it possible? to put the bitmap in front of the camera? And how ca

[android-developers] Re: mapping application

2010-08-10 Thread Maps.Huge.Info (Maps API Guru)
There are a couple of options... Check out the open source projects "osmand" and "osmandroid" - if memory serves, at least one of these allows for overlays. You'll have to modify the code for multiple overlays. Another option is to use a webview and the JavaScript mapping system of Open Layers. T

[android-developers] mapping application

2010-08-10 Thread vineet
hello there, my problem: on a map displayed (using osm), i have a few overlays (ESRI Shapefile or DGN) that i need to put over it. if NOT on andorid i would have used GDAL. but for android, there seems to be no option. Can someone help or through some light Thanx Regards -- You received this me

Re: [android-developers] How to set data in google maps and further access that data

2010-08-10 Thread TreKing
On Tue, Aug 10, 2010 at 10:42 AM, Anthony wrote: > Would it take long to go learn a little java before going back to android? That depends on you and how fast you learn, now doesn't it? And I would recommend more than "a little" java before coming back. > What are some good books for beginner

[android-developers] Want to read data @ content provider before system initialisation

2010-08-10 Thread kunal khaire
Hi All, In my app i need to read the data at a content provider before the system actually initialises. Probably what i understand is that a boot complete intent would launch a homescreen activity.Exactly before the system initialises i want to see the data provided by the content provider and

[android-developers] Can override start() method in MediaRecorder class.

2010-08-10 Thread Cloudyblood
I tried to create an application to streaming video while recording on the Internet. But I can only save a file , can't streaming. I think I have to override start() method in MediaRecorder but I don't know where to begin. Please give me a suggestion. Thank you. -- You received this message b

[android-developers] Re: Yet another Droid OpenGL texture problem

2010-08-10 Thread Robert Green
Yes, that's what I'm saying is your issue. From your code sample I see that you never held on to the actual texture ID from tmp_tex[] or textures[], so you could have never recalled it correctly to bind to it later for drawing. On Aug 10, 1:52 am, Mike wrote: > Well that wasn't it but you were o

[android-developers] Re: how to get the screen size in inches...

2010-08-10 Thread DanH
If it's important to know the screen size fairly accurately, it might be wise to have a "calibrate screen size" setup option in your app -- display a ruler on the screen and let the user do up/down buttons until it matches a physical ruler, eg. Otherwise you're always going to be at the mercy of t

[android-developers] Re: A simple question - I hope

2010-08-10 Thread niko20
Hi, No, you should be able to access /proc/meminfo even from userland just fine. It would be the best way to do it. Yesterday I was browsing the source for Android's "Running Services" app and this is what it does (gets meminfo and adds "free" + "cached" together to get free mem, total mem it does

Re: [android-developers] How to set data in google maps and further access that data

2010-08-10 Thread Anthony
Thanks for your reply. Yeah, you are right. I am not grasping the basics and I don't know why. Would it take long to go learn a little java before going back to android? What are some good books for beginners? Thanks. On Aug 10, 2010, at 10:50 AM, TreKing wrote: > On Tue, Aug 10, 2010 at 3:06

[android-developers] Re: Launching barcode reading from browser

2010-08-10 Thread m
Appreciate the snarkiness but that's not even what I'm asking about! Nice try though. On Aug 10, 8:46 am, Kostya Vasilyev wrote: > http://tinyurl.com/35o2ell > > 10.08.2010 16:40, m пишет: > > > Surely someone must know...? > > > On Aug 9, 5:22 pm, m  wrote: > > >> On the Google Products page, fr

[android-developers] Re: Microsphone cannot be recorded on android emulator

2010-08-10 Thread niko20
Hi, The emulator only support 8Khz 16bit. -niko On Aug 9, 11:39 pm, aftershock wrote: > Hi, > > A small program that I wrote cannot record the microphone. One api > call, getminbuffersize keeps returning -2 which is not correct. The > program works on a real android one. > > I use 11025Hz, 16bi

Re: [android-developers]

2010-08-10 Thread TreKing
On Tue, Aug 10, 2010 at 7:57 AM, vineeshkc wrote: > pls help me Pls read a book on Java. - TreKing - Chicago transit tracking app for Android-pow

Re: [android-developers] How to set data in google maps and further access that data

2010-08-10 Thread TreKing
On Tue, Aug 10, 2010 at 3:06 AM, Anthony wrote: > Do I have to add the itemizedoverlay class to the manifest under > activities? > No, the manifest is for declaring Android-specific classes (Activity, Service, etc.) No offense, but you seem to be stuck on some very basic stuff. I highly recomme

Re: [android-developers] Patching

2010-08-10 Thread TreKing
On Tue, Aug 10, 2010 at 2:23 AM, perumal316 wrote: > Or it is only system upgrade. Like from 2.1 to 2.1 update 1 to 2.2. Pretty much, AFAIK. 2.1 update 1 could easily be considered a "patch". - TreK

Re: [android-developers] active notifications

2010-08-10 Thread { Devdroid }
On 10 August 2010 16:50, Engin Arslan wrote: > hi, > > I am currently working on project in which users downloads sth and > program shows download progress as notification. > I am trying not to download file that is already downloading. Download > operatİons are operated  by threads so controllİng

[android-developers] active notifications

2010-08-10 Thread Engin Arslan
hi, I am currently working on project in which users downloads sth and program shows download progress as notification. I am trying not to download file that is already downloading. Download operatİons are operated by threads so controllİng and checkİng actİve threads seems harder: ınstead, check

[android-developers] Re: Apps can't find in all deivce's market

2010-08-10 Thread Johan Abramsson
Hi, This is problem can happen due to a couple of reasons. The one I know of is that the phone type must be on the so called "white list" that google maintains. The phone in question must be have a phone software version mentioned on the white list. (Or really its fingerprint) So that part is up to

Re: [android-developers] Re: Organizing the res/drawable folder

2010-08-10 Thread { Devdroid }
On 10 August 2010 13:55, String wrote: > I've been using libraries since shortly after their release at IO10, > and haven't had significant trouble with them. Occasionally I need to > do a Project > Clean in Eclipse to bring everything up to date, but > that's not exactly hard. I stuck trying to

Re: [android-developers] Can I freely use the Android source?

2010-08-10 Thread TreKing
On Tue, Aug 10, 2010 at 12:58 AM, kevin0228ca wrote: > Can I freely use the Android source? http://tinyurl.com/2w8ddly - TreKing - Chicago transi

Re: [android-developers] Cursor Finalize

2010-08-10 Thread charles berman
yes it is. It only faults out the first time that this is called as well On Tue, Aug 10, 2010 at 10:42 AM, Kostya Vasilyev wrote: > The place to start is logcat output, up to and including "Caused by" line > and its output. > > Is mInflater initialized ? > > -- Kostya > > 10.08.2010 18:20, charl

Re: [android-developers] Cursor Finalize

2010-08-10 Thread Kostya Vasilyev
The place to start is logcat output, up to and including "Caused by" line and its output. Is mInflater initialized ? -- Kostya 10.08.2010 18:20, charles berman пишет: i am extending a CursorAdaptor and the first time that newview is called, i constantly come up with a cursor finalize error th

[android-developers] Re: Documentation on Rendered scripts used in Live wallpapers

2010-08-10 Thread rahul
There is an example called Film which uses the renderscript. I was able to execute and create an apk for it but when i am launching the apk i cannot see the images coming on the screen. Though i could see that its responding to the touch events. Does someone know what needs to be done to get the i

[android-developers] Profiler tool for Android device

2010-08-10 Thread maha rm
Hi, We are developing third-party browser plugin. We are testing it on the Android Froyo device. We want to use profiler tools for optimization of C++ code. Can anybody tell profiler tools for Android Froyo. Traceview is not listing C++ functions. Thanks, Maha -- You received this

Re: [android-developers] Opening a context menu in the onCreate of an activity

2010-08-10 Thread TreKing
On Tue, Aug 10, 2010 at 8:32 AM, Chris Stewart wrote: > I don't think a dialog would work in this case just because I need to > display a list of items for the user to select from, unless the dialog can > be extended to do that. > Yes it will and actually I'd recommend that. You can set up an Ale

[android-developers] Looper doubt

2010-08-10 Thread Sohan badaya
Hi All, I have a doubt in Looper. I want to know when we should use Looper. If any good link for more clarification, it would be great. Thanks, Sohan Badaya -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send emai

[android-developers] Cursor Finalize

2010-08-10 Thread charles berman
i am extending a CursorAdaptor and the first time that newview is called, i constantly come up with a cursor finalize error that i am having a difficult time tracking down. Ill supply all of the info that i can, but i dont know where to start other than @Override public View newView(Conte

[android-developers] Activity not showing unless GL onSurfaceCreated() is not completed?

2010-08-10 Thread { Devdroid }
Hi, We got an app which utilises OpenGL to do some drawings and due to noticeable setup time needed to set GL up we rearranged app startup logic. Currently we set all up in main activity onCreate(), including creating new GLRenderer object. Main activity now shows splash screen and waits for GLRen

[android-developers] Re: Does all Android Devices support Map API

2010-08-10 Thread Johan Abramsson
Hi, Jonas is correct - I have seen the pictures "out there" of the so called "X3" by Sony Ericsson and they seem to be leaked pictures of early prototyp of the Sony Ericsson X10. Sony Ericsson has never released a phone called "X3". Kind regards /Johan Sony Ericsson Developer Support #SEDW On Au

[android-developers] Shared library symbols are not loaded.

2010-08-10 Thread chetan
Hi All, I have some native code so put the native code in framework/base/ dir of source code and shared library is created for same in out/target/product/generic/system/lib/. Some queries: - Why it has not been created in out/target/product/generic/symbols/ system/lib/. Like other lib

[android-developers] Re: Licensing - How/where do we manage the ServerManagedPolicy?

2010-08-10 Thread String
On Aug 10, 1:47 pm, OldSkoolMark wrote: > > As for testing it in the field, our recommendation is to just register an > > anonymous Google account and buy your own app. You can always return it > > within 24 hours and not get charged. > > I'd like to test the licensing support BEFORE making the a

[android-developers] Re: How to correctly organize layouts for different screen type?

2010-08-10 Thread Moto
Thanks Mark! I really thought it was a smart idea but now that you put it that way I guess it is smarter to create a dynamic layout for small, normal and large... So at the end of the day this would be the specific layout structure: res/layout-small res/layout-normal res/layout-large Thanks, -Mo

[android-developers] Sharing data between (tab) activities

2010-08-10 Thread Filip Havlicek
Hi, I did some digging, but couldn't find a clear answer. I have an application with TabActivity as the main activity. I have some computing and network communication that needs to be done when user clicks on the big red jolly "DO IT" button. One tab hosts the form with "DO IT" button, while the o

Re: [android-developers] Opening a context menu in the onCreate of an activity

2010-08-10 Thread Chris Stewart
>> Why not use an activity? That's the path I started going down last night. I think that makes more sense to me as it will give me more flexibility on the implementation. My initial thought, however, was to use a context menu. I don't think a dialog would work in this case just because I need

[android-developers] Re: Failure loading drawables on Cupcake/1.5 when building with Froyo/2.2 SDK

2010-08-10 Thread String
I found this warning occurred when I tried to load a resource that wasn't available for the current configuration. In other words, a resource which exists in some subdir of /res, but not one which is applicable to the runtime environment. In my case, it was a locale-specific string resource which

[android-developers]

2010-08-10 Thread vineeshkc
i have an error MyObject cannot be resolved to a type ... in public long insertEntry(MyObject _myObject) { ContentValues contentValues = new ContentValues(); // TODO fill in ContentValues to represent the new row return db.insert(DATABAS

<    1   2   3   >