[android-developers] Re: Debugging on a real device

2010-09-17 Thread KANTESH BABANNAVAR
u can try ./adb kill-server after that ./adb start-server. Make sure that u have ebabled the USB Debugging in settings- applications-Development. On Sep 17, 10:27 am, John Gaby jg...@gabysoft.com wrote: I have gotten to to the point where I need to test my application on a real Android

[android-developers] Re: Browser: Keyboard disappears.

2010-09-17 Thread KANTESH BABANNAVAR
Please somebody help me to solve this.. On Aug 31, 2:57 pm, KANTESH BABANNAVAR kantesh...@gmail.com wrote: Hi Androidians,          This is a magic happening with browser. When i touch the URL field  in the browser, a fake tittle bar comes up and it is a so called search dialog, and start

[android-developers] Re: Debugging on a real device

2010-09-17 Thread Kumar Bibek
Run the adb command, to see if your adb sees your device. adb devices -Kumar Bibek http://techdroid.kbeanie.com On Sep 17, 11:03 am, KANTESH BABANNAVAR kantesh...@gmail.com wrote: u can try ./adb kill-server after that ./adb start-server. Make sure that u have ebabled the USB Debugging in

[android-developers] My response to Oracle's complaint ...

2010-09-17 Thread Richard Schilling
http://avaj-mavaj.blogspot.com/2010/09/accused.html Richard Schilling -- 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] Re: Chilling news: Oracle sues Google over Android

2010-09-17 Thread Richard Schilling
Oracle seems to be doing more than just suing Google. It appears to me that Oracle has postured itself to call any *user* of Android to be an infringer of patent and copyright: http://avaj-mavaj.blogspot.com/2010/09/accused.html Richard On Aug 13, 1:38 pm, François Masurel fm2...@mably.com

[android-developers] Re: install android hello alert into BlackBerry Mobile

2010-09-17 Thread Kumar Bibek
Blockberry On Sep 16, 11:22 am, bharani kumar bharanikumariyer...@gmail.com wrote: Hi , I did very simple alert program in android, i want to install this application into my blockberry and need to test that application working fine or not , -- Regards

[android-developers] Re: How to watermark the camera picture?

2010-09-17 Thread santosh kumar
can you please post the code snippet to convert a logo into watermark On Aug 30, 8:11 pm, Rootko roo...@gmail.com wrote: Thanks for pointing me into the right direction, it worked :D Rudo On Aug 30, 11:16 am, Yahel kaye...@gmail.com wrote: to take a picture using the camera (already

[android-developers] Re: Display pdf file using webview

2010-09-17 Thread Kumar Bibek
Does desktop browsers support displaying PDFs without additional plugins??? No. So, you cannot display PDFs on a WebView till, it supports such a feature is available. As of now, there's no such thing. And the WebView you are seeing when you open the file after downloading it, it's not a web

[android-developers] Re: How to reverse ListView scrolling behavior?

2010-09-17 Thread Kumar Bibek
WHY??? It's a touch phone, and not your desktop browser. I have seen a few phones though, which have this weird behaviour, but its odd. -Kumar Bibek http://techdroid.kbeanie.com On Sep 17, 7:07 am, Moto medicalsou...@gmail.com wrote: I have been trying now for a few hours to

Re: [android-developers] Re: install android hello alert into BlackBerry Mobile

2010-09-17 Thread Kostya Vasilyev
Yeah, that's the version for the construction market. Comes with a 50-lb bag of mortar and a trowel. To the OP: Blackberry does not run Android, and so you can't install Android application on a Blackberry. -- Kostya 17.09.2010 10:42, Kumar Bibek пишет: Blockberry On Sep

[android-developers] Re: Question about NDK

2010-09-17 Thread FrankG
Hi Paolo, IMHO port the source to android, build a shared lib and provide NDK- JNI-Wrapper Classes for your lib, so that any app developer has not to handle the JNI Details. And usage example are always a big help, i.e. a sample App, which uses your lib. Good luck ! Frank On 16 Sep.,

Re: [android-developers] Re: AppWidget design pattern with SQLite database

2010-09-17 Thread Kostya Vasilyev
Zsolt, 17.09.2010 2:33, Zsolt Vasvari пишет: Ok thanks, see below for my comments. On Sep 16, 6:15 pm, Kostya Vasilyevkmans...@gmail.com wrote: OnUpdate runs on the UI thread. I can see two ways to solve the concurrency issue: - Use a service for updating the widget, consider using an

[android-developers] Re: Listbox displayed only as combobox in webview

2010-09-17 Thread Kumar Bibek
This code will give you a combo box. And if you look at listboxes on websites on the emulator browser, it is the expected behaviour. These are the differences when developing for a desktop and a phone. -Kumar Bibek http://techdroid.kbeanie.com On Sep 16, 8:31 am, vbabu75 vbab...@gmail.com wrote:

[android-developers] Re: Problem with the picasa api

2010-09-17 Thread Kumar Bibek
You haven't added any picasa libraries. All the dependencies are mentioned on the official documentation. Go and have a look. -Kumar Bibek http://techdroid.kbeanie.com On Sep 16, 10:58 pm, kit ankit.mes...@gmail.com wrote: Hey I am new to android development. I am trying to use the picasa api

[android-developers] Re: android Java code for form action

2010-09-17 Thread Indicator Veritatis
Well, actually, I could figure it out. But you have the right idea. His expression of the request was so poor, he should not be encouraged to expect help. Besides: what he is proposing is a bad idea anyway. He really, -really- needs to study two sources in order to come up with a good way to

Re: [android-developers] Re: How to calculate distance between to city (dynamically)

2010-09-17 Thread Shashidhar
Doesn't the method of Location class implement the same formula??? On Fri, Sep 17, 2010 at 11:21 AM, Rocky rkjhaw1...@gmail.com wrote: thanks man On Fri, Sep 17, 2010 at 11:12 AM, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: The Haversine formula computes distance between two

[android-developers] Re: How to install the .apk file into blackberry

2010-09-17 Thread Indicator Veritatis
That is absolutely correct. BlackBerry phones are not Android phones. They do not understand APK files, nor is there any practical way to translate them to COD files. Now if the OP had been thinking of running JME files, that could be done. BlackBerry does support JME (MIDP 2.0, CLDC 1.2). But

[android-developers] Mechanism to ensure request comes from my app

2010-09-17 Thread William Ferguson
If I have my app fetching content from my server, what mechanism should I use on my server to ensure that its my app making the request? Is there any way that I can sign the request to using my app's signature to show its come from my app and not from a stolen version or copycat? I suspect the

[android-developers] Re: Debugging on a real device

2010-09-17 Thread metal mikey
I think you're looking for the 'Run Configuration...' option under 'Run Application', then uncheck any avd that is checked and press 'apply' button. If your phone has USB Debugging on, and is connected to your PC, then eclipse should run the application on your device rather than the emulator.

[android-developers] GPRS Problem

2010-09-17 Thread mayank bisht
I have android HTC mobile os version - 1.6 . I have GPRS setting in my mobile. I can access internet through mobile. But in my programme to findout my current latitude and longitude i checked the gps enabled it shows false.Can anyone help me why it is so ? My code is below LocationManager

[android-developers] Converting Bitmap to ASCII

2010-09-17 Thread perumal316
Hi All, I have a picture taken using the phone's camera and in bitmap format. I want to send it over HTTP usinf Http post in ASCII. Any idea how to do it? Thanks In Advance, Perumal -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Animating the ExpandableListView

2010-09-17 Thread Kumar Bibek
Hi All, Is it possible to animate the expanding and collapsing of the groups in a ExpandableListView. I could not find any examples anywhere. Kumar Bibek http://techdroid.kbeanie.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Decode video raw data

2010-09-17 Thread caxton
Dear Sir, It's my fault to ask ffmpeg installation steps here. I have try many times on Andrond 2.x but failed. It seems a lots people like me who can't port ffmpeg to Android successfully. So, I wonder that there might be a way to decode video raw data instead ffmpeg. Or, there is a general way

Re: [android-developers] Re: Getting platform files from command line

2010-09-17 Thread Dan Roberts
Thanks Chris, The sdk offline install google search term helped a lot, and I found the information I wanted. I'm probably one of few people who cares about this, but I wrote a little quick-n-dirty script to automate grabbing and parsing the repository script, and pulling in the package.

[android-developers] Re: GPRS Problem

2010-09-17 Thread Kumar Bibek
Confused with GPRS and GPS?? before using the GPS, you would have to enable it in settings. -Kumar Bibek http://techrdroid.kbeanie.com On Sep 17, 12:20 pm, mayank bisht mayank.and...@gmail.com wrote: I have android HTC mobile os version - 1.6 . I have GPRS setting in my mobile. I can access

[android-developers] Re: Customizing a RadioGroup

2010-09-17 Thread Neilz
I'm sorry but I really don't understand what you mean by this. Put a WebView in what layout? Here's a basic radio: RadioButton android:id=@+id/radio_option android:layout_width=wrap_content android:layout_height=wrap_content android:text=I want this text to appear

[android-developers] Re: Debugging on a real device

2010-09-17 Thread Jez
Goto the RUN menu in Eclipse, and choose:- Run Configurations. Then On the Target (TAB) - choose:- Deployment Target Selection Mode - Manual. If that does'nt work - then Eclipse is not recognising that you have an Android attached. Regards J.C. On Sep 17, 6:27 am, John Gaby

[android-developers] Re: IllegalStateException with ExpandableListActivity and SimpleCursorTreeAdapter

2010-09-17 Thread Kumar Bibek
On the very first line... Adapter that exposes data from a Cursor to a ListView widget. The Cursor must include a column named _id or this class will not work. Here. http://developer.android.com/reference/android/widget/CursorAdapter.html -Kumar Bibek http://techdroid.kbeanie.com On Aug 30,

Re: [android-developers] Re: Maintaining Aspect Ratio of Background Image

2010-09-17 Thread Thierry Legras
Thanks Bret. Will do something like that. I hope Android will have more options to define a background with multiplication of terminals and upcoming pads. Thierry. 2010/9/17 Bret Foreman bret.fore...@gmail.com I made a landscape and a portrait version of my background image and designed

[android-developers] Re: Customizing a RadioGroup

2010-09-17 Thread Kumar Bibek
If you have a text that is HTML, you can set the text to a RadioButton like this. RadioButton.setText(Html.from(htmlString)); Try this out, this should work. -Kumar Bibek http://techdroid.kbeanie.com On Sep 17, 1:20 pm, Neilz neilhorn...@gmail.com wrote: I'm sorry but I really don't

[android-developers] Re: Maintaining Aspect Ratio of Background Image

2010-09-17 Thread Kumar Bibek
Well, if your background image is simple enough, may be with a text, pr picture at the center, easily separated from the remaining background, you can actually achieve a certain level of flexibility by making it a 9 patch png. In such a case, you can have just one image, that caters to all the

[android-developers] Re: ContentProvider blank screen

2010-09-17 Thread netlander
Thanks for your prompt answer Brion, Managed to put the time consuming portion of the code in an AsyncTask inside the ContentProvider. It seems to be doing the job, my main activity is not hanging. Now I have two questions which I need to answer: (1) Is this a correct usage of the API? i.e. is

[android-developers] Re: Custom Account / Sync adapter: inability to edit contacts?

2010-09-17 Thread Jens
You will most likely not see a fix for either 2.1 or 2.2 for this issue. Keep your fingers crossed for 3.0? On 15 Sep, 09:59, BoD bodl...@gmail.com wrote: Thank you so much, that confirms what I was afraid of. Starred it; hope this will be taken care of soon. Until then, making a custom

[android-developers] Call prerecorded message

2010-09-17 Thread Andrei Craciun
Hi all, I want to make an application that should dial a number and play a prerecorded message on the call... Can you please give me a clue if this can be done? Regards, Andrei -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Adding Contacts in Custom account 2.2

2010-09-17 Thread Jens
There's an old issue filed for this bug: http://code.google.com/p/android/issues/detail?id=5988 You can either supply your own contact editor and supply activities for editing and adding contacts to your account or wait for a fix from Google. The first option results in a very shabby user

[android-developers] Re: How to reverse ListView scrolling behavior?

2010-09-17 Thread Indicator Veritatis
The most important tip anyone can give you is GIVE UP! It is a bad idea, since it would put your pseudo-ListView at odds with the entire rest of the Android UI. On Sep 16, 7:07 pm, Moto medicalsou...@gmail.com wrote: I have been trying now for a few hours to reverse the scrolling of behavior of

[android-developers] How can i access the /data/data/my_project_name/files/my_file.txt on a real android device

2010-09-17 Thread Lidia
Hello to all, I wrote a file o the phone from my application in the following path: /data/data/my_project_name/files/my_file.txt If i run the application in emulator, i can see my file created in this path. but if i run the application on a real device, i can't see this file. Using DDMS from the

[android-developers] store remote images in android apps resource folder

2010-09-17 Thread aswani kumar tholeti
hi Folks, is there any way for us to store remote image in apk resource folder.i developed one application for showing list of images.user have interaction with the images.now i done this by place image before packaging.now i want to supply image from remote server. can you please help me

[android-developers] Re: Using Multiple Viewports in OpenGL|ES

2010-09-17 Thread Indicator Veritatis
That might work, but he might find some unexpected results with clipping and blending, since anything outside the current viewport at the time of rendering will be clipped, and neither will blending occur outside it. In fact, as I read the glViewport() man page, there can be only one viewport per

[android-developers] webview javascript injection

2010-09-17 Thread Marco Alexander Schmitz
hi, I'd like to call a JavaScript function out of Java. Well, the following source code works fine for me (http:// whyandroid.com/android/206-using-webviews.html): /** * This is not called on the UI thread. Post a runnable to invoke * loadUrl on the UI thread. */ public void

[android-developers] Re: Customizing a RadioGroup

2010-09-17 Thread Neilz
Unfortunately I'm using a lot of tags that, as far as I know, this won't support. The reason I'm using WebView is that I need javascript calls, links with OnClick() etc. I don't think that's supported by that method? On Sep 17, 9:39 am, Kumar Bibek coomar@gmail.com wrote: If you have a text

[android-developers] Home screen widget graphics

2010-09-17 Thread Filip Havlicek
Hi everyone, I took a look at the home screen widget design recently and I tried to deploy a simple widget with 4x1 portrait background provided in Widget Design Guidelines ( http://developer.android.com/guide/practices/ui_guidelines/widget_design.html). I tried it in HVGA emulator (screen size

[android-developers] Re: How can i access the /data/data/my_project_name/files/my_file.txt on a real android device

2010-09-17 Thread KANTESH BABANNAVAR
d- type of file rwx - permissions for root rwx - permissions for group --x - permissions for you/your app As per this your cant operate with the file I think. On Sep 17, 2:10 pm, Lidia lidyp...@yahoo.com wrote: Hello to all, I wrote a file o the phone from my application in the following

[android-developers] how to get the data from ListView

2010-09-17 Thread RKJ (Android developer)
Hi All, I want to get the value of List item from the previous intent. Example - screen1 - List View List Item 1 List Item 2 List Item 3 --- click on this ListView item, I'm moving to another intent, say screen 2

Re: [android-developers] Re: Customizing a RadioGroup

2010-09-17 Thread YuviDroid
Then try out what Mark suggested: set an empty text on the RadioButton, and on its side put a WebView. I haven't tried this myself, but it should be something like this: LinearLayout orientation=horizontal ... RadioButton android:text= ... / WebView

Re: [android-developers] How can i access the /data/data/my_project_name/files/my_file.txt on a real android device

2010-09-17 Thread YuviDroid
You need a rooted phone to access that folder from DDMS. You can still access your file through your application though. On Fri, Sep 17, 2010 at 11:10 AM, Lidia lidyp...@yahoo.com wrote: Hello to all, I wrote a file o the phone from my application in the following path:

[android-developers] Re: Customizing a RadioGroup

2010-09-17 Thread Kumar Bibek
Then, probably, you can Have a WebView, not on the side. This WebView would be your base layout. The Dump any html code into this WebView, and let the WebView have a RadioGroup as it's child. -Kumar Bibek http://techdroid.kbeanie.com On Sep 17, 3:02 pm, YuviDroid yuvidr...@gmail.com wrote: Then

[android-developers] Re: how to get the data from ListView

2010-09-17 Thread Kumar Bibek
Pass the values with the Intent, and extract them. Do you mean, that you want the ListView item as a View??? Then try, ListView.getChildAt(index), you will get the View, but you cannot pass this view via Intents. Think static, though it's not a good idea. -Kumar Bibek

[android-developers] Re: Home screen widget graphics

2010-09-17 Thread Kumar Bibek
If you have graphics that are simple, it's better you get them converted into 9-patch png. Else, I think, design your graphics for the largest resolution. You can also use, drawable-mdpi, drawable-ldpi, drawable-hdpi folders to stuff in graphics for different screen resolutions. -Kumar Bibek

Re: [android-developers] How can i access the /data/data/my_project_name/files/my_file.txt on a real android device

2010-09-17 Thread Lidia G
It's true, from the application i can retrieve the data from my file created. I am just curios to see the content of the file directly from the real android phone. Thank you all for your advices. Lidia --- On Fri, 9/17/10, YuviDroid yuvidr...@gmail.com wrote: From: YuviDroid

[android-developers] Re: Can't find my posts :(

2010-09-17 Thread IcedNet
Check your profile...? On Sep 16, 4:47 pm, Moto medicalsou...@gmail.com wrote: I have had this problem a couple times where I post something and I can never find it again... One time I lucked out because my post was still open on my other computers browser... Anyone have this issues?  I'm a

[android-developers] Developing for Galaxy tab(any tab resolution devices)

2010-09-17 Thread Rahul
Hi, I want to how to develop and test apps for the Galaxy tab. I mean like the Android simulator, can we test the tab apps on a simulator? Is there a way to download simulator for the tab or should we tweak the existing simulator? -- You received this message because you are subscribed to the

Re: [android-developers] Call prerecorded message

2010-09-17 Thread Mark Murphy
That is not really possible. Android SDK applications have no way of injecting audio into the call stream. It might sorta kinda work in speakerphone mode. On Fri, Sep 17, 2010 at 4:56 AM, Andrei Craciun avcrac...@gmail.com wrote: Hi all, I want to make an application that should dial a number

Re: [android-developers] Can't find my posts :(

2010-09-17 Thread Christian Buchner
This won't happen to you if you become member of this group with a Google Mail account. Create a filter rule to tag each incoming post with a label android-developers and set it for immediate archival so it doesn't clutter your inbox. Now you can access all android-developers postings by clicking

[android-developers] Re: How to reverse ListView scrolling behavior?

2010-09-17 Thread Moto
Guys, I appreciate your concern but come on, really? You have no idea what I'm trying to do here. This behavior is not intended for regular phone usage. I'm experimenting with different behaviors. I really apreciate if you would help me out and not jump into conclussions :) Thanks! -Moto

[android-developers] Northern Sami - bug in Market language detection?

2010-09-17 Thread { Devdroid }
Hi, We released app with Swedish translation (values-se) but Market says: Localized to: default, Northern Sami, Polish which, to my understanding does not look correct as swedish is not in the same language Norther Sami. http://en.wikipedia.org/wiki/Northern_Sami_language -- You received

Re: [android-developers] Call prerecorded message

2010-09-17 Thread Andrei Craciun
Thank you Mark for the quick answer... Regards, Andrei 2010/9/17 Mark Murphy mmur...@commonsware.com That is not really possible. Android SDK applications have no way of injecting audio into the call stream. It might sorta kinda work in speakerphone mode. On Fri, Sep 17, 2010 at 4:56 AM,

[android-developers] MediaPlayer RTSP Timeout

2010-09-17 Thread Yadnesh
Hi All, I am developing a MediaPlayer application. I have some questions about timeout of MediaPlayer in case of live stream data not received. I am using the MediaPlayer to play live stream over RTP. RTSP is used to connect to the live stream. Video and audio is fine in normal case. In case

Re: [android-developers] Re: How to reverse ListView scrolling behavior?

2010-09-17 Thread amjath sharief
Any feature which is user friendly should be there in any device, whether its desktop or mobile that shouldn't matter. Hence just comment if the feature requested by Moto is user friendly or not. If the answer is yes, then that should be there, how weired someone feels. If the answer is no, then

[android-developers] Re: OpenGL lockups in 2.2

2010-09-17 Thread String
It's not all OpenGL implementations, that's for sure. I have 2 apps with OpenGL live wallpapers; one has had the lockup problem, the other hasn't. Architecturally, they're very similar - I based the later one off the earlier. It was by pursuing the differences (like changing textures mid-stream,

[android-developers] Re: How to reverse ListView scrolling behavior?

2010-09-17 Thread Kumar Bibek
It's not the way a touch phone user would expect the scrolling to happen. So, as far as I am concerned, it's not user friendly. -Kumar Bibek http://techdroid.kbeanie.com On Sep 17, 4:39 pm, amjath sharief amjathsharief.techsa...@gmail.com wrote: Any feature which is user friendly should be

[android-developers] Re: How to reverse ListView scrolling behavior?

2010-09-17 Thread Kumar Bibek
Guys, I appreciate your concern but come on, really? You have no idea what I'm trying to do here. This behavior is not intended for regular phone usage. I'm experimenting with different behaviors. I really apreciate if you would help me out and not jump into conclussions :)

[android-developers] Re: How can i access the /data/data/my_project_name/files/my_file.txt on a real android device

2010-09-17 Thread Rutton
From my unix/linux knowledge, I have to correct this: $ adb shell ls -ls /sdcard/bash_profile 32 -rwxrwxr-x1 1000 1015 157 Sep 15 14:13 /sdcard/ bash_profile - type of file is right - its empty for normal files, d for directory and the leftmost rwx is permission of owner

[android-developers] Re: How can i access the /data/data/my_project_name/files/my_file.txt on a real android device

2010-09-17 Thread Rutton
From my unix/linux knowledge, I have to correct this: $ adb shell ls -ls /sdcard/bash_profile 32 -rwxrwxr-x1 1000 1015 157 Sep 15 14:13 /sdcard/ bash_profile - type of file is file - its empty for normal files, d for directory and some other values (see man ls) the leftmost

Re: [android-developers] Developing for Galaxy tab(any tab resolution devices)

2010-09-17 Thread Christian Buchner
I want to how to develop and test apps for the Galaxy tab. I mean like the Android simulator, can we test the tab apps on a simulator? Is there a way to download simulator for the tab or should we tweak the existing simulator? Create your own AVD image with 1024x600 screen resolution and

Re: [android-developers] Re: How to install the .apk file into blackberry

2010-09-17 Thread Prakash Iyer
I would dispute your last statement - Android is not a JME platform. Any Java based app has really no chance of running as is on a JME platform. In fact as any one who has done serious JME programming will tell you, an interesting JME program has a decent probability of not working as intended

[android-developers] how to access phone book

2010-09-17 Thread mishra
hello all I am trying to access the phone number but not success , I can access name and id from the original phone book to my application but not phone number the code of accessing the name and id is.. package org.mobilesoftphone.ui; import android.app.Activity; import

[android-developers] how to access phone book

2010-09-17 Thread mishra
hello all I am trying to access the phone number but not success , I can access name and id from the original phone book to my application but not phone number the code of accessing the name and id is.. package org.mobilesoftphone.ui; import android.app.Activity; import

Re: [android-developers] Re: install android hello alert into BlackBerry Mobile

2010-09-17 Thread Prakash Iyer
OP, If you do a search you will find a way to run Android apps on Block/BlackBerry. Involves taking the battery out using cables etc. I haven't done it yet but I am sure, lots of people here would love to hear results;-) On Fri, Sep 17, 2010 at 2:51 AM, Kostya Vasilyev kmans...@gmail.com wrote:

[android-developers] Re: Debugging on a real device

2010-09-17 Thread authorwjf
John, Don't fret this is a very common issue using Motrola's droid USB driver under Windows. It doesn't seem there are any plans to fix it. In this thread I step someone through manually helping Windows along. It suspect it will get you up and running.

Re: [android-developers] how to access phone book

2010-09-17 Thread Prakash Iyer
Please read the SDK documentation. There is in fact code to do exactly this. On Fri, Sep 17, 2010 at 8:22 AM, mishra ankush.mc...@gmail.com wrote: hello all I am trying to access the phone number but not success , I can access name and id from the original phone book to my application

Re: [android-developers] Re: Browser: Keyboard disappears.

2010-09-17 Thread Prakash Iyer
Hmm, may be the OutOfResources exception has something to do with it? Just sayin'... On Fri, Sep 17, 2010 at 2:08 AM, KANTESH BABANNAVAR kantesh...@gmail.comwrote: Please somebody help me to solve this.. On Aug 31, 2:57 pm, KANTESH BABANNAVAR kantesh...@gmail.com wrote: Hi Androidians,

[android-developers] Screen flicker when swapping bitmaps to draw

2010-09-17 Thread EmilDiego
I am working on a Live Wallpaper app. Basically id downloads a bunch of different background images and then randomly picks one to display. They change every few minutes to another background. THe problem I an encountering is during the transitions. The bitmaps sometimes flickers when

[android-developers] Re: MyTouch 3G Slide test request

2010-09-17 Thread a1
Sorry for bumping but I'd really appreciate some help. -- Regards, Bart Janusz On 17 Wrz, 06:48, a1 arco...@gmail.com wrote: Hi, Does someone have or have access to this phone? After last update of my game I two comments and a email from a user stating that there are some freezes and

Re: [android-developers] Re: MyTouch 3G Slide test request

2010-09-17 Thread Mark Murphy
On Fri, Sep 17, 2010 at 8:41 AM, a1 arco...@gmail.com wrote: Sorry for bumping but I'd really appreciate some help There are a wide range of libraries available that will let you collect stack traces (Flurry, DroidDrop, etc.) or LogCat output (Android Log Collector). Integrate one of these into

[android-developers] Creating ImageView on the fly

2010-09-17 Thread Robert
Hello, I have a problem. I want to have several dynamicaly created 'pictures'. e.g. a cricle with some specific text in it (the text is created before, by the app and can't be predicted) ( That is the problem, as I figured out I cannot write on a bmp or drawable) I may have several of those

[android-developers] Re: ContentProvider blank screen

2010-09-17 Thread Brion Emde
That does not seem right to me, and I am not an expert on such things. More reasonable, in my opinion, would be to have a ContentProviderInitializer Service that is kicked off at the appropriate time. In my opinion, ContentProviders are complex enough without adding more complexity in that code.

[android-developers] Re: Customizing a RadioGroup

2010-09-17 Thread Neilz
Yes... this is kind of what I did. But... that breaks the RadioGroup, as the RadioButtons are not direct children anymore - it has a LinearLayout instead, so can't do anything with the radio buttons. So, I had to create my own class which extended RadioGroup, and implement my own handling of the

[android-developers] SurfaceHolder changed : Stops Video playback

2010-09-17 Thread abhay mulye
Hi all, i am developing the application which displays Video on the SurfaceHolder. When i run my video it plays well. But if i switch my application using Home key, go to some other application. Now if i come back by long Home key press to my application, my video does not get displayed but

[android-developers] Problem with HttpsURLConnection

2010-09-17 Thread Neilz
Hi all. I'm using the following code to connect to a server and retrieve some data: HttpsURLConnection con = (HttpsURLConnection)myurl.openConnection(); InputStream ins = con.getInputStream(); The code works, until I leave the app for a few minutes. Then when I return to it and make the next

[android-developers] Problem with HttpsURLConnection

2010-09-17 Thread Neilz
Hi all. I use the following code snippet to connect to a server and retrieve some data: HttpsURLConnection con = (HttpsURLConnection)myurl.openConnection(); InputStream ins = con.getInputStream(); The code mostly works fine. If I leave the app for a few minutes, and return to it and make another

[android-developers] Re: Am getting unexpected Error on execution

2010-09-17 Thread SREEHARI
Hi, Can u pls share the log details, where we can see the exceptions. REgards, SREEHARI. -- 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

[android-developers] Re: MyTouch 3G Slide test request

2010-09-17 Thread a1
There are a wide range of libraries available that will let you collect stack traces (Flurry, DroidDrop, etc.) or LogCat output (Android Log Collector). Integrate one of these into your application in the next update, so you can get more diagnostic information. I use stack trace collector,

[android-developers] Re: Problem with HttpsURLConnection

2010-09-17 Thread Neilz
Very odd, sorry about double post. Browser crashed the first time, and the message wasn't showing 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 To unsubscribe

[android-developers] Re: Debugging on a real device

2010-09-17 Thread John Gaby
That was the ticket, thanks. John Gaby On Sep 17, 1:20 am, Jez jeremy.a.co...@baesystems.com wrote: Goto the RUN menu in Eclipse, and choose:- Run Configurations. Then On the Target (TAB) - choose:- Deployment Target Selection Mode - Manual. If that does'nt work - then Eclipse is not

Re: [android-developers] Creating a Galaxy Tab AVD without waiting for Samsung's release?

2010-09-17 Thread dan raaka
in case of tab, it is really straight forward set ro.sf.lcd_density=240 -Dan On Tue, Sep 14, 2010 at 7:44 PM, grge grge.mon...@gmail.com wrote: This question is also for future devices, how do I create AVDs that report fake information, I can't make one that is 1024x600, 170density but

[android-developers] How to programatically refresh Gallery View?

2010-09-17 Thread Abhi
I want to programatically refresh Gallery every time I download a video from my application. It doesn't automatically show up in the gallery. Thanks, AB -- 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] Re: creating application shared libraries

2010-09-17 Thread guich
Hi, The library projects is useless, since the jar is included in the apk. Actually, if we write a native application, and from the native code we call the android api, it would be a kind of separate library (native apk with dumb intent + application apk). However, calling everything from

[android-developers] More AsyncTask - Simultaneous Downloads

2010-09-17 Thread Spidey
Sorry for double posting, but I haven't confirmed if the first message was received. I'm sending this one through google groups website, hope this reach the group. = Ok, so in a project I'm in, we are implementing a service to handle connection changes and downloads. The

Re: [android-developers] Re: How much money do you make?

2010-09-17 Thread TreKing
On Thu, Sep 16, 2010 at 5:22 PM, William Ferguson william.ferguson.au@ gmail.com wrote: Very droll. Perhaps =P But it's a good question. Yes, it would definitely be very interesting to see some stats from various developers. But it IS a fairly private / personal question not many people

Re: [android-developers] Re: How much money do you make?

2010-09-17 Thread Agus
Just go for paid apps if you want to make fast money, ads generate VERY little revenue unless you have 1.000.000 ads impressions/day On Fri, Sep 17, 2010 at 7:40 AM, TreKing treking...@gmail.com wrote: On Thu, Sep 16, 2010 at 5:22 PM, William Ferguson william.ferguson...@gmail.com wrote: Very

[android-developers] Re: Problems with rotated screens compared to accelerometer on Dell Streak

2010-09-17 Thread Lance Nanek
Isn't that method API level 8? The US Streak is Android 1.6, the UK one is Android 2.1 AFAIK, so neither would even have that method. That said, I think it just returns getOrientation() anyway. On the US Streak I have laying around, creating a new Android project and just dropping in some log

[android-developers] After onActivityResult event State Is Gone (Droid Phones)

2010-09-17 Thread GregAZ
I have a problem that's only affecting Droid phones. I end up not being able to access global variables after an onActivityResult event. While looking into this I came across: http://stackoverflow.com/questions/708012/android-how-to-declare-global-variables I follow those directions, but still

[android-developers] Re: How can i access the /data/data/my_project_name/files/my_file.txt on a real android device

2010-09-17 Thread Chris Stratton
You do not have permission to browse a listing (read) of the /data directory, but you do have permission to access it contents (execute for a directory). And you may have the r permission on the directories and files your app creates. So if you use something that lets you type in the full path,

[android-developers] Re: Apkbuilder problems with new android SDK tools revision 7

2010-09-17 Thread Claudio Veas
Thanks Lance, unfortunatelly this has passed to another problem. I did something similar to what you describe and at the moment the build is SUCCESSFULL, which we can be happy. But now we have another problem which makes us sad again. The problem is that when I install the apk file in the phone

[android-developers] Application-wide resources.. how to achieve?

2010-09-17 Thread Jason
Hi all, So I'm struggling a bit with what is probably a fairly basic concept.. Activity Lifecycle. I have read a bunch of thread on the topic, and I feel I understand well both the functionality, and rationale behind the lifecycle model implemented for Activities, but it raises a bit of a

Re: [android-developers] Custom OS Build

2010-09-17 Thread TreKing
On Wed, Sep 15, 2010 at 4:00 AM, Sammy pico...@gmail.com wrote: I was wondering what the feasibility would be for creating a custom Android build Feasibility: high. and deploying it on a currently available device on the market. Feasibility: not so high. There's a lot of business

[android-developers] Re: creating application shared libraries

2010-09-17 Thread Bret Foreman
How about if you wrap a Service around your library and access it either with Intents or Bind/AIDL? It's a bit of work to set up but very convenient once you have it going. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Application-wide resources.. how to achieve?

2010-09-17 Thread TreKing
On Fri, Sep 17, 2010 at 10:07 AM, Jason jason.poli...@gmail.com wrote: Is it possible to have data bound to the lifecycle of the entire application? http://developer.android.com/reference/android/app/Application.html

[android-developers] Re: Application-wide resources.. how to achieve?

2010-09-17 Thread Jason
lol.. RTFM Jason. Thanks man. On Sep 18, 1:12 am, TreKing treking...@gmail.com wrote: On Fri, Sep 17, 2010 at 10:07 AM, Jason jason.poli...@gmail.com wrote: Is it possible to have data bound to the lifecycle of the entire application?

  1   2   3   >