Re: [android-developers] Strange out of memory issue on Nexus One

2010-08-04 Thread Romain Guy
DDMS does not report memory that is allocated on your behalf on the native side. You are using too much memory, hence the OutOfMemoryError. On Wed, Aug 4, 2010 at 11:54 PM, Alex Xin wrote: > Hi, > I'm using DDMS to track my app's allocation event and heap memory size. I > found that my app only u

Re: [android-developers] Strange out of memory issue on Nexus One

2010-08-04 Thread Alex Xin
Hi, I'm using DDMS to track my app's allocation event and heap memory size. I found that my app only use 2M-4M heap memory, so it's impossible to have out of memory issue. thanks & BRs Alex On Thu, Aug 5, 2010 at 2:17 AM, Romain Guy wrote: > The amount of RAM your phone has doesn't matter. On

[android-developers] Re: Parent activity runs onCreate before onActivityResult is called (sometimes)!

2010-08-04 Thread Pent
Just to add: - the users it happens for it always happens - the other users it never happens - onResume is not called in A after onCreate Pent -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android

[android-developers] [help]How to get the list of friend_request using facebook API

2010-08-04 Thread xiaguang Chen
Hi all, *How to get the list of friend_request using facebook API.* For example, user A,has logged in. Use B send request of adding friends to A Now, I want to get the friend_request of user A, how to do? *May the facebook graph API could not support the operate, yes or not? *At the same time,

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

2010-08-04 Thread Nithin
Hi, Sony Xperia first release don't have google Map API, now they updated google Map API in X10 Nithin On Aug 4, 7:18 am, Dianne Hackborn wrote: > As far as I know, yes, but this is not a guarantee.  This is not something > you need to worry about, because to use the maps API you need to have >

[android-developers] Re: New to android finally leaving Windows !!!

2010-08-04 Thread JP
On Aug 4, 9:06 pm, Shane Isbell wrote: > You really need at least two devices for testing. High-end 2.1+ devices and > a pre-2.0 device. I find that the emulator does a good job of matching > pre-2.0 device behavior but you can get really burned trusting the emulator > to behave the same for the

[android-developers] Relaunching the android application

2010-08-04 Thread Amit
Hi All, I have created an application having more than one activities. The SplashActivity is my launcher activity. Every time the application start, its the first activity to be displayed. In the main screen of my application, I have a menu option of "Restore App Settings" where I delete all my

[android-developers] Parent activity runs onCreate before onActivityResult is called (sometimes)!

2010-08-04 Thread Pent
The order is: A: startActivityForResult( B ) B: , call finish() A: onCreate < what's this all about A: onActivityResult This happens for a tiny minority of users. I havn't been able to reproduce or find any common elements. A is the launch activity. Anyone recognize it ?

Re: [android-developers] Re: Socket Timout in a simple HttpGet

2010-08-04 Thread Martins Streņģis
thx for advice :) but the problem persists on real phones not emulators I have samsung with android 2.1 buggy when recievs push notification htc desire 2.2 buggy on push and the old good htc tattoo 1.6 works like hell nothing can stop it :D i cant recieve noticications on emulators becouse they d

[android-developers] Re: My Eclipse 3.5 always lag and have to force close - why?

2010-08-04 Thread Kaj Bjurman
(And the workspace is using 1.5.0_19) On 5 Aug, 03:44, Bob Kerns wrote: > OK, this is good information. You are, in fact, running out of memory > -- somehow. > > I've see this, but seldom as performance starts to suck for me long > before. > > How exactly are you allocating memory for Java? How a

[android-developers] Re: My Eclipse 3.5 always lag and have to force close - why?

2010-08-04 Thread Kaj Bjurman
Eclipse is started using a shortcut: Galileo L:\eclipse-jee-galileo-win32\eclipse\eclipse.exe -vmargs -Xmx1324m Ganymede L:\eclipse\eclipse.exe -vmargs -Xmx1324m (I'm having the same problem in both) eclipse.ini says: --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.

Re: [android-developers] Contact Search w/ multiple parameters

2010-08-04 Thread Dmitri Plotnikov
I cannot think of a way to write such a query. What you can do instead is perform separate searches for the different data types and then intersect the results using some java data structure like a HashSet of contact ids. On Aug 4, 2010 5:27 PM, "Bijan" wrote: > I am trying to do a Contacts searc

[android-developers] Re: Showing the writing keypad by default

2010-08-04 Thread Amit
Dear bob, Thanks a lot for your guidance. Will definitely follow the instructions. Best Regards Amit On Aug 2, 10:44 pm, Bob Kerns wrote: > 1) I don't think you REALLY want All to reply to you. :=) > 2) I would like to encourage you to learn to use the search function > on the SDK documentation

[android-developers] How to use JUnit test Android Project?

2010-08-04 Thread CaryWang
I want use JUnit test my project,but sometime test error(java.lang.IllegalAccessError: cross-loader access from pre-verified class).Because my project import another java project.I don't know how to do? -- Cary -- You received this message because you are subscribed to the Google Groups "Androi

Re: [android-developers] Re: My Eclipse 3.5 always lag and have to force close - why?

2010-08-04 Thread Shane Isbell
I just say 'Serenity Now' and count to 10. The layout file usually opens by that point. On Wed, Aug 4, 2010 at 6:44 PM, Bob Kerns wrote: > OK, this is good information. You are, in fact, running out of memory > -- somehow. > > I've see this, but seldom as performance starts to suck for me long >

[android-developers] Largest Android application?

2010-08-04 Thread DanH
What's the largest application any of you have produced? I'm looking at an app that is 5-10MB on other platforms, plus a roughly 6MB SQL DB. 100 screens + 300 HTML pages. Would this be easy, a bit of a stretch, or laughably oversized on Android? -- You received this message because you are sub

Re: [android-developers] Re: New to android finally leaving Windows !!!

2010-08-04 Thread Shane Isbell
You really need at least two devices for testing. High-end 2.1+ devices and a pre-2.0 device. I find that the emulator does a good job of matching pre-2.0 device behavior but you can get really burned trusting the emulator to behave the same for the later devices. I've found differences between the

[android-developers] Re: GridView zoom in/out

2010-08-04 Thread Abilash
hi i also have the same issue.. i tried with changing the column width and no of columns. it worked in a way that u can see more images. but the image size is not zooming.. Thanks On Jun 19, 9:04 pm, Tabman wrote: > I have a GridView that displays thumbnails of images, I want to change > the thu

[android-developers] Re: Delete Call Log entry issue

2010-08-04 Thread Donald
hi Mike, Thanks for your reply. according to my scenario i cant delete all the entries in the log. i just want to delete the currently received number. i think this listNativeInbox() method is fine. it's just a matter of calling in the correct place. if i run a service like the below describe way

[android-developers] Android RSS Library

2010-08-04 Thread samspade79
Hi all, Does anyone know if there is an android Rss2/Atom reader library ? If not I will release mine. -- 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

[android-developers] Handler vs runOnUiThread

2010-08-04 Thread samspade79
Hi all, Can anyone give me a quick explanation of when to use a handler vs calling runOnUiThread(). If I just want to edit a view or add a new view to a hierarchy is there any reason to use a handler ? -- You received this message because you are subscribed to the Google Groups "Android Develope

[android-developers] Re: Opengl Direct/NonDirect Buffer

2010-08-04 Thread HaMMeReD
Fixed, problem was that I forget the "bb.order(ByteOrder.nativeOrder())" so that the memory was in the correct format. On Aug 4, 5:40 pm, HaMMeReD wrote: > Been getting a headache with some 2d Opengl coordinates and putting > them in a direct buffer. > > I have a basic square defined as such > >

Re: [android-developers] Re: My game runs much slower if i DO specify *any* min SDK version in Manifest.xml

2010-08-04 Thread Dianne Hackborn
This whole thread is about him making anyDensity false, and my answer is to not do that and instead deal appropriately with the actual screen. There is no specific name for this I have -- it is compatibility mode for when your app doesn't support different screen densities. We are talking here ab

[android-developers] Re: Android preprocessor, //#ifdef...

2010-08-04 Thread joebowbeer
Android will generate an Ant build.xml which is fairly easily extended, and the NetBeans Mobility Ant Extensions will run fine outside of NetBeans. So you could insert a target that uses the NetBeans preprocessor to nb- prep the sources prior to compiling. http://wiki.netbeans.org/MobilityAntExte

[android-developers] Re: New to android finally leaving Windows !!!

2010-08-04 Thread JP
On Aug 4, 11:46 am, Mark Murphy wrote: > On Wed, Aug 4, 2010 at 2:40 PM, A Curious Developer wrote: > > > Can we use *any* Android-based phone for testing and debugging? > > Any that has the Android Market on it should be safe. > Reportedly, some devices do not push logs out through the USB po

[android-developers] Re: Value passed from Javascript to Java through JavaScriptInterface not working

2010-08-04 Thread Bob Kerns
Because the browser's processing is asynchronous. You could stick in a big wait (like you do earlier), and hope it's enough, or check-wait-loop - but a better way is to trigger whatever processing you want to happen on that value, from inside your Value(String) method. Better and more relevant th

[android-developers] Re: My Eclipse 3.5 always lag and have to force close - why?

2010-08-04 Thread Bob Kerns
OK, this is good information. You are, in fact, running out of memory -- somehow. I've see this, but seldom as performance starts to suck for me long before. How exactly are you allocating memory for Java? How are you starting Eclipse? And when you were checking how much memory Eclipse was using

[android-developers] Re: Cannot playback video from internal storage (/data/data/com.myapp/some/folders/video.mp4)

2010-08-04 Thread Mathias Lin
Hi, if any of the android/sdk developer team is reading this - could one of you please briefly state whether it's generally possible to play videos from internal storage folder (i.e. /data/data/com.mypackage.app/ files/)? I googled for the problem I'm having and found that same question without an

Re: [android-developers] Google's Android leads U.S. smartphones

2010-08-04 Thread Chris Stewart
Not completely surprised. I'll be curious to see what the numbers look like after the iPhone 4 sales are included. Chris Stewart cstewart...@gmail.com On Wed, Aug 4, 2010 at 9:07 PM, jacek wrote: > Congratulations to us all! > > http://www.reuters.com/article/idUSTRE6734HB20100804 > > -- > Yo

[android-developers] Google's Android leads U.S. smartphones

2010-08-04 Thread jacek
Congratulations to us all! http://www.reuters.com/article/idUSTRE6734HB20100804 -- 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 e

[android-developers] Re: My game runs much slower if i DO specify *any* min SDK version in Manifest.xml

2010-08-04 Thread Indicator Veritatis
And indeed, the docs at the link you give seem to imply that "compatibility mode" is turned on/off by the use of tags, e.g. 'largsScreens="false"' turns it on. BTW: the docs call it "screen-compatibility mode" and not just "compatibility mode". That discrepancy also makes it harder to understand

Re: [android-developers] Samsung Captivate sdcard issues.

2010-08-04 Thread dan raaka
The device does come with MyFiles app for users to transfer between /sdcard/sd and /sdcard in case the user needs to move the contents around. -Dan On Wed, Aug 4, 2010 at 10:02 AM, Mark Murphy wrote: > On Wed, Aug 4, 2010 at 12:11 PM, Jeremiah Sellars > wrote: > > Are there any talks of how th

Re: [android-developers] Problem with reading contacts on Samsung Galaxy Europa

2010-08-04 Thread dan raaka
Is this happening only on Europa ? -Dan On Wed, Aug 4, 2010 at 12:26 PM, Alok Kulkarni wrote: > Hi , i am using > startActivityForResult(intent,PICK_CONTACT); > Its working on Android 1.5 to 2.1 except for the 2.1 device Samsung > Europa..On that device , i am not able to read the contacts, it

[android-developers] Opengl Direct/NonDirect Buffer

2010-08-04 Thread HaMMeReD
Been getting a headache with some 2d Opengl coordinates and putting them in a direct buffer. I have a basic square defined as such static float[] Coords = new float[] { -0.5f,-0.5f, 0.5f,-0.5f, 0.5f,0.5f, -0.5f,0.5f,

[android-developers] Re: Android VNC server

2010-08-04 Thread Danke Xie
Hi Anil, In case you were asking how the server passed the options to the client, this would be done by the libvncserver during the handshake. Before starting the server, the file "fbvncserver.c" needed to configure some options, and the resolution is obtained through an ioctl call to the /dev/gra

[android-developers] Contact Search w/ multiple parameters

2010-08-04 Thread Bijan
I am trying to do a Contacts search on Android using ContactsContract. I would like to search on multiple parameters, e.g. - Where name = myname AND email = myemail AND nickname = mynickname, etc. I have it working w/ just name, but need the syntax to add email and nickname as search params. I kn

[android-developers] Re: Android Market Licensing: Now Available!

2010-08-04 Thread mp6800
Will there eventually be a way to obfuscate automatically during .apk export in eclipse? The ant method looks relatively easy to setup, but I'd like to know if this is coming. (Especially since it's /strongly recommended/ in the docs) -- You received this message because you are subscribed to t

Re: [android-developers] Android 3D Application Pinch Zoom Pan Rotate

2010-08-04 Thread TreKing
On Wed, Aug 4, 2010 at 7:46 AM, eagerToKnow wrote: > How to do Android 3D Application Pinch Zoom Pan Rotate?? > This is a very broad and generic question you're not going to get answered. > can any one give me code for the same written inside ontouchEvent method > No. No one is going to do yo

Re: [android-developers] Internal Storage

2010-08-04 Thread TreKing
On Tue, Aug 3, 2010 at 10:44 PM, Dosa wrote: > Now I would like to install my app on a real device, but do I need to > explictly copy the file onto the device? > No, if your app creates a file, it will work the same on the device as the emulator. However, if you pushed a file to the emulator, th

Re: [android-developers] Combining Map view and List view

2010-08-04 Thread TreKing
On Wed, Aug 4, 2010 at 5:10 AM, Anders Bromhagen wrote: > What is the best practise for this? I don't know about "best", but you have to have a MapActivity for a MapView. > Tab view seems like a solution but can i customize the tab buttons? I think you can have multiple activities within a

Re: [android-developers] Re: How to start the Process to add a new Languge(Locale+Fonts) to the Android?

2010-08-04 Thread Mark Murphy
On Wed, Aug 4, 2010 at 6:53 PM, wrote: > What is at least starting with adding goergian glyphs to the Android > Fonts? > How can I support you for it? Those fonts were developed by Ascender; official modifications to those fonts probably have to be made by them. -- Mark Murphy (a Commons Guy)

Re: [android-developers] Re: New to android finally leaving Windows !!!

2010-08-04 Thread Mark Murphy
On Wed, Aug 4, 2010 at 3:24 PM, String wrote: > I'm no friend of AT&T, and am as disappointed as anyone about the > restrictions they've put on all their Android phones to date, but > please get your facts straight before launching into a rant. They've > only disabled installing non-Market apps us

[android-developers] Re: How to start the Process to add a new Languge(Locale+Fonts) to the Android?

2010-08-04 Thread
What is at least starting with adding goergian glyphs to the Android Fonts? How can I support you for it? On 28 Jul., 02:21, Dianne Hackborn wrote: > Sorry there is no "process" here.  Someone making a device can generate and > include localizations for whatever countries they are shipping their

[android-developers] Re: Socket Timout in a simple HttpGet

2010-08-04 Thread Ed
I've had similar issues. I guess the most obvious place to start is check that whatever you're calling is responding. It's surprising how often the simple things can trip you up. One of the issues was having was as a result of using a proxy to route all traffic so I could monitor network traffic.

[android-developers] GroundOverLay / LatLonBox google maps

2010-08-04 Thread Tommy
Hi everyone, I have been trying to figure out a way to use the NOAA radar KML file in order to create an animated radar for my app with the maps api. I have been looking for good examples or tutorials on how to add a rather large covering image to certain location on the map. If I enter the URL of

[android-developers] Re: Displaying parameterized text in AlertDialog

2010-08-04 Thread Jef
WIth managed dialogs, onCreateDialog is called only the first time the dialog is shown. If you want to show the dialog again and display a message that's different from when the dialog was created, override onPrepareDialog and call setMessage from there (based on the dialog's id if necessary). HTH

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

2010-08-04 Thread sdphil
I am trying to determine the physical size of a screen in inches. Normally, I could do something like this: DisplayMetrics metrics = new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMetrics( metrics ); Then use metrics.widthPixels and metrics.heightPixels. Now that I know

[android-developers] Re: My Eclipse 3.5 always lag and have to force close - why?

2010-08-04 Thread Kaj Bjurman
I just provoked my Eclipse again, just to see what the error message is. I remembered it as out of handles, but that was a bit wrong. I checked the process in the task manager when it was in the error state. It isn't out of memory, and it's probably not out of handles. The CPUs are also idle, so no

Re: [android-developers] Displaying parameterized text in AlertDialog

2010-08-04 Thread Kostya Vasilyev
Andreas, public AlertDialog.Builder setMessage (CharSequence message) Since API level 1. Does this not work for you? -- Kostya 04.08.2010 18:17, livinberlin пишет: Hi everyone, I have a problem with AlertDialogs that seems to be simple, but which puzzles me for quite a while now. I'd like t

[android-developers] Re: Compiling and obfuscating by command line...

2010-08-04 Thread DanH
"And my experience (non-Dalvik, to be sure) is that 'Class loading time goes up, execution efficiency is reduced' is incorrect, that the opposite results -- in fact, that's one of the reasons to consider obfuscation despite the pitfalls -- so I think bad advice is being handed out with the good her

[android-developers] Re: Internal Storage

2010-08-04 Thread Mathias Lin
The assets folder would probably be suitable for your case, see http://thedevelopersinfo.com/2009/11/17/using-assets-in-android/ On Aug 4, 11:44 am, Dosa wrote: > I am writing a app that reads a file from the internal storage on > startup. > I have followed the guildelines > here:http://develop

[android-developers] Re: How to store questions for quiz type application

2010-08-04 Thread amos
Thanks guys for opinion. I'm already working on SQL based version of the application. -- 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, s

[android-developers] Re: How to quit the app?

2010-08-04 Thread A. Elk
If you have time, please describe your use case for this. It will help me (and others) give you the best answer. The issue is that the answer is not as simple as you might expect. You can close an Activity with finish() and finishActivity(), finishActivityFromChild(), and finishFromChild(). These

[android-developers] Re: License Verification Library: getting error NOT_MARKET_MANAGED

2010-08-04 Thread BoD
All right I'm sorry I didn't see this has been addressed before. The problem was that the version code of the calling app has to be greater than or equal to the one that is published. I had incremented it as part of my test, that's why it didn't work. Thanks, BoD On Aug 4, 5:59 pm, BoD wrote: >

Re: [android-developers] what is the difference between notifyDataSetChanged() and notifyDataSetInvalidated() ?

2010-08-04 Thread Romain Guy
notifyDataSetInvalidated() means that the data inside the adapter is no longer valid. This will cause ListView to stop populating. There should seldom be any reason to use it. On Wed, Aug 4, 2010 at 1:16 PM, Sohan badaya wrote: > Hi All, > > I have a doubt that what is the difference between > ad

[android-developers] what is the difference between notifyDataSetChanged() and notifyDataSetInvalidated() ?

2010-08-04 Thread Sohan badaya
Hi All, I have a doubt that what is the difference between adapter.notifyDataSetChanged(); adapter.notifyDataSetInvalidated(); because when i used both one by one, both worked exactly same. Please let me know what is the exact difference between these two. Thanks, Sohan Badaya -- You received

[android-developers] Re: AndroidTestCase fails with dependency on third project

2010-08-04 Thread A. Elk
I'm a bit confused here. You say that the tests run successfully in the emulator, correct? Is this under Eclipse? It looks as if you're getting class resolution errors in the Loader. I'm not sure why this is happening, but I would guess that the class loader is seeing the library classes in your t

[android-developers] Value passed from Javascript to Java through JavaScriptInterface not working

2010-08-04 Thread Anamika
Pl. Hep, Why below code is throwing nullPointer exception in last line (when accessing javaInterface.mValue) This line through NullPointer, so basically it is not being set. even though the javascript is correct and has been verified using FireBug that it returns expected string. ..

RE: [android-developers] Re: New to android finally leaving Windows !!!

2010-08-04 Thread Tommy
I realize that you can push apps to the phone but you shouldn't have to, that is the point of my rant. Why should a user have to go out of the way to figure out how to use ADB to do this. -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.

[android-developers] How to dump all thread stacks?

2010-08-04 Thread tomei.ninge...@gmail.com
Hello, We have a service that seem to get deadlocked very occasionally in the field. It's not possible to hook up to a debugger. We can detect the deadlock situation programmatically. Is it possible to do this from within Java code? if (ohIamDeadlocked()) { Thread.something.dumpSt

[android-developers] Problem with reading contacts on Samsung Galaxy Europa

2010-08-04 Thread Alok Kulkarni
Hi , i am using startActivityForResult(intent,PICK_CONTACT); Its working on Android 1.5 to 2.1 except for the 2.1 device Samsung Europa..On that device , i am not able to read the contacts, its returning empty result. here is the link i referred for the code http://www.droidnova.com/use-intents-to-

[android-developers] Re: New to android finally leaving Windows !!!

2010-08-04 Thread String
On Aug 4, 6:41 pm, "Tommy" wrote: > BUT AT&T had to go in and fiddle with everything totally locking down their > android phones just like an IphoneWhats the point? Unless you feel like > rooting the phone which will void your warranty you will not be able to > download whatever apps you want

Re: [android-developers] Android Market Abusive developers...

2010-08-04 Thread TreKing
On Wed, Aug 4, 2010 at 11:54 AM, { Devdroid } wrote: > So we can only hope that once Google become profitable company one day > Google's not a profitable company? On Wed, Aug 4, 2010 at 12:03 PM, Moto wrote: > Maybe starting a petition to this issue would help? Starting a petition to get Goo

[android-developers] Re: Video streaming from Android

2010-08-04 Thread Ivar Refsdal
On Aug 3, 11:56 am, RFuente wrote: > By the way, in case you know a little more of ffmpeg... > > If I set the received file  - which is truncated, no moov atom - as > the input for ffmpeg (command line), it actually does decodevideobut > it is unable to find the audio track (even with -map option)

[android-developers] Re: Testing a service

2010-08-04 Thread Jeroen Kransen
Hi, take a look at ServiceTestCase: http://developer.android.com/reference/android/test/ServiceTestCase.html You won't need to dive into the instrumentation details, just create a test project based on your Android project. Your tests will go into the ServiceTestCase above. Run as Android JUnit T

[android-developers] How to access user installed CA certs

2010-08-04 Thread Toby
I've been struggling to get my application to consume user installed identity CA certs from a p12 file on an SD card. I can't seem to figure out how to access these certs once installed using the Secure Credential Storage (Location & Security > Install from SD card). I've tried the approach recom

[android-developers] Re: My game runs much slower if i DO specify *any* min SDK version in Manifest.xml

2010-08-04 Thread Greg
Can someone please comment on my issue dealing with Bitmaps, a surfaceview, and multiple screen support? http://groups.google.com/group/android-developers/browse_thread/thread/758589d7f81a41d1 I am struggling getting things to show up scaled appropriately and am a little overwhelmed by the number

[android-developers] Re: AndroidTestCase fails with dependency on third project

2010-08-04 Thread Streets Of Boston
I assume you're developing under Eclipse. I assument that the 3rd party library in your regular (i.e. non-test) Android project is mentioned in your projects build-path. I had a similar issue until i properly exported this 3rd party library dependency: Your project --> Properties --> Java Build

[android-developers] A general purpose development phone

2010-08-04 Thread Chris Stewart
I'm considering buying a device to use exclusively for development. I don't want service on the device. I'm curious about a few things: * Can I just buy any Android phone on eBay and use it as a development phone (apps only, not OS dev)? Do I need to specifically look for unlocked phones? * Giv

Re: [android-developers] Re: New to android finally leaving Windows !!!

2010-08-04 Thread Mark Murphy
On Wed, Aug 4, 2010 at 2:40 PM, A Curious Developer wrote: > Can we use *any* Android-based phone for testing and debugging? Any that has the Android Market on it should be safe. > That is, can we download, run, and debug our applications from the > Eclipse environment? See above. > Can we do

[android-developers] Re: New to android finally leaving Windows !!!

2010-08-04 Thread A Curious Developer
> Can we use *any* Android-based phone for testing and debugging? > That is, can we download, run, and debug our applications from the > Eclipse environment? The "Dev Guide" actually answers this one as "yes": "You can use any Android-powered device as an environment for running, debugging, and te

[android-developers] Re: New to android finally leaving Windows !!!

2010-08-04 Thread A Curious Developer
> You can also buy a developer > device:http://android.brightstarcorp.com/index.htm. > Honestly though, the dev phone 2, while unlocked (and perfect for > AT&T) is a bit pricey for the hardware you get. The N1 is a better > option IMO:http://www.google.com/phone(there is an AT&T version, > while t

Re: [android-developers] Get around the inability to alias columns coming from ContactsContract in 2.2

2010-08-04 Thread Dmitri Plotnikov
That feature was never part of the public API, it is no longer needed for the system itself and therefore is no longer supported. Sorry. Cheers, - Dmitri On Wed, Aug 4, 2010 at 7:28 AM, Adam wrote: > All, > > I'm trying to combine contacts from ContactsContract together with > another source o

[android-developers] Re: Calling a MapActivity from another activity

2010-08-04 Thread JR
I got this error and it was caused from the: Being missing from my Manifest.xml, it needs to be within the tag. I agree it is odd to get a NoClassDefFoundError... but there it is! On Jul 29, 12:45 am, Steve Howard wrote: > On Mon, Jul 26, 2010 at 10:44 AM, Pravin Parulekar wrote: > > >

[android-developers] Re: HTC EVO RTSP issues... Anyone experience issues in this area?

2010-08-04 Thread Devon Graham
I am getting the same issues under 2.2 with the HTC EVO. Let's hope that it doesn't take HTC too long to figure this out and issue a fix. On Aug 3, 11:03 pm, Moto wrote: > So yeah MediaPlayer RTRSP for the HTC EVO is not as good... :( > > On Aug 3, 10:44 pm, r01carlsonr wrote: > > > > > Looks li

[android-developers] How can I get the EditText information from Inputmethod?

2010-08-04 Thread android-newbie
hello, i'm making a soft-keyboard. but some problems are encountered. i need editor's maxLength information, but.. EditorInfo has not 'android:maxLength' information. how can i solve this problem? please help. thanks -- You received this message because you are subscribed to the Google Groups

[android-developers] Android 3D Application Pinch Zoom Pan Rotate

2010-08-04 Thread eagerToKnow
How to do Android 3D Application Pinch Zoom Pan Rotate?? can any one give me code for the same written inside ontouchEvent method -- 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@google

[android-developers] how to tether 3G mobile on android programmatically using Android SDK

2010-08-04 Thread rajendar are
Hi, please provide me a sample application or source code for connecting the 3G programmatically on Archos 5 internet tablet? -- 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@googlegro

[android-developers] Dynamic add view to scrollview problem

2010-08-04 Thread paolo
Hi, i have a simple activity with a linearlayout and a scrollview. Dynamically i add a tablerow with one textview and a button into scrollview. But when i launch app scrollview doesn't contain all tablerow... infact the first row that i see is "this is a text - 3 -" Rows from 1 to 2 are cut off fro

[android-developers] Displaying parameterized text in AlertDialog

2010-08-04 Thread livinberlin
Hi everyone, I have a problem with AlertDialogs that seems to be simple, but which puzzles me for quite a while now. I'd like to show the user an AlertDialog with varying messages (for example, "Number of files: "). I tried different approaches, but none worked for me. When using managed dialogs,

[android-developers] Testing a service

2010-08-04 Thread nikki
Hi group, Do anyone have idea about testing a service using instrumentation framework. -- 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,

[android-developers] Internal Storage

2010-08-04 Thread Dosa
I am writing a app that reads a file from the internal storage on startup. I have followed the guildelines here: http://developer.android.com/guide/topics/data/data-storage.html#filesInternal It sucessfully works on the emulator, and I can find the file my app created under DDMS > data > data > com

[android-developers] Get around the inability to alias columns coming from ContactsContract in 2.2

2010-08-04 Thread Adam
All, I'm trying to combine contacts from ContactsContract together with another source of contacts for my app, without adding them to the contact database. Using column name aliases has worked up until I installed Froyo on my droid last night. Looking in the android source, I noticed that this occ

[android-developers] MediaPlayer getCurrentPosition problems on Android 2.2

2010-08-04 Thread Femi Omojola
Looking for some guidance on MediaPlayer issues on Android 2.2. I've confirmed that the below code works on Android 1.5 (an ADP1). I'm playing back an MP3 file using a MediaPlayer instance and using a ProgressBar to track the progress. The method that updates the progress bar is invoked from a Hand

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

2010-08-04 Thread Daniele Donnarumma
Hi. I'm an android newbie. I have downloaded the SDK revision 6. I'm at office. I'm back a proxy server I have installed (squid) in other pc in the local network. When I try to go using firefox, to the url "https://dl-ssl.google.com/ android/repository/repository.xml" i can see correctly the xml

[android-developers] Looking for Android developers

2010-08-04 Thread neosono
Spanish company are looking for Android developers for collaborate on a project that starts immediately. We constantly develop projects and our idea is to establish a ongoing collaboration. Spanish language is appreciated. For further information please contact to operati...@neosono.com Empresa es

[android-developers] Internal Storage

2010-08-04 Thread Dosa
I am writing a app that reads a file from the internal storage on startup. I have followed the guildelines here: http://developer.android.com/guide/topics/data/data-storage.html#filesInternal It sucessfully works on the emulator, and I can find the file my app created under DDMS > data > data > com

[android-developers] Android developers needed

2010-08-04 Thread larsig
The project is a mobile wallet and a marketplace client. If you are interested in joining up, please contact me :) -- 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

[android-developers] Testing a service

2010-08-04 Thread nikki
hi group I am new to android and was trying my hands on instrumentation framework. I searched a lot but haven't found any help on how to test a service. Can anybody help me on how to test a service. -- You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] Progress bar update problems

2010-08-04 Thread Femi Omojola
Looking for some guidance: I have a ProgressBar I'm using to track the progress of a MediaPlayer instance that works in one location but fails in the other. The specific failure is that all attempts to change the displayed result (setProgress/setMax) appear to be ignored: the progress bar ALWAYS di

[android-developers] ISIM development

2010-08-04 Thread Bijith kalpathur
HI all, I have a doubt regarding ISIM implementation as now i'm working in ISIM development. In our code USIM is already implemented. QUES: 1.when i am switching between USIM to ISIM do i need to terminate USIM appln? 2.if I terminated the USIM appln and in between ISIM session if i need to acces

[android-developers] Re: horizontal scrolling in GridView control

2010-08-04 Thread Abilash
I also has the same issue On Jul 16, 3:32 pm, Namrata wrote: > I had the same issue, I am using gallery instead ofgridfor this. > > On Jul 16, 3:17 pm, CMF wrote: > > > > > i have the same question, anybody know the answer? > > > On Jun 23, 3:39 am, dharmveer wrote: > > > > Hi, > > > > Instead

Re: [android-developers] My game runs much slower if i DO specify *any* min SDK version in Manifest.xml

2010-08-04 Thread YoungJik Lee
ㄷ TechHolic 2010. 8. 3. 오후 10:20에 "mrqzzz" 님이 작성: ...and if i don't specify any min SDK version, it runs smooth. I get average 30 fps vs. 12 fps. I am using Canvas to render and a JBox jar for physics. Tested and re-tested on a Motorola Milestone with Android 2.1 update 1. Using latest Eclips

[android-developers] Re: Delete Call Log entry issue

2010-08-04 Thread Aakash Patel
I have to agree with Mike on this issue. On Aug 4, 1:23 pm, Mike dg wrote: > Try just repeatedly deleting everything in the log regardless of the > state. A service that does this every 5 seconds should be very fast > and good. > > On Aug 4, 1:25 pm, Donald wrote: > > > > > hi guys, > > > i have

[android-developers] Re: Delete Call Log entry issue

2010-08-04 Thread Mike dg
Try just repeatedly deleting everything in the log regardless of the state. A service that does this every 5 seconds should be very fast and good. On Aug 4, 1:25 pm, Donald wrote: > hi guys, > > i have a application which will listen to incoming calls. so in the > TelephonyManager.CALL_STATE_IDL

Re: [android-developers] Strange out of memory issue on Nexus One

2010-08-04 Thread Romain Guy
The amount of RAM your phone has doesn't matter. One a WVGA device, the maximum amount of memory you can use in your app is 24 MB. You are using too much memory (or leaking memory) in yoru app. On Wed, Aug 4, 2010 at 11:14 AM, Alex Xin wrote: > Hi, All > I'm now facing a very strange out of memor

[android-developers] Strange out of memory issue on Nexus One

2010-08-04 Thread Alex Xin
Hi, All I'm now facing a very strange out of memory issue on Nexus One. I have a user leaves a comment in market said that my app always got force closed on his Nexus One, then I try to contact that user and ask for the logcat. Here's the logcat: E/AndroidRuntime( 4016): FATAL EXCEPTION: main E/

[android-developers] Re: How to test OpenGL?

2010-08-04 Thread SChaser
On Aug 3, 10:06 pm, Robert Green wrote: > Have you tried different values of gl.glLineWidthx()?  0x1 is 1 in > hex, which, given in fixed converted to float = 0.1 = super, > super, super tiny.  I'd start with 65536 (0x if you really like > using hex to represent FP) and see how it does. >

[android-developers] Re: My game runs much slower if i DO specify *any* min SDK version in Manifest.xml

2010-08-04 Thread Robert Green
Compatibility mode means that Android tries to scale the output to be 480x320 or the closest thing to it. My first games run in compatibility mode, which puts the resolution at something like 587x320 on a droid. When you turn anydensity on, you get native resolution on the droid which is 854x480

Re: [android-developers] Re: Android preprocessor, //#ifdef...

2010-08-04 Thread Leigh McRae
On 8/4/2010 1:02 PM, Bob Kerns wrote: Mine's pretty long, too. But you missed the point. I wasn't just citing an opinion. I was citing the rationale for why C++ strove to minimize dependence on the pre-processor, from a list of faults of the C language they wanted to address. Me too! So

  1   2   3   >