[android-developers] Re: Getting RGB data from Android bitmap

2010-05-17 Thread Naveen
Any help pls. on my query? On May 15, 6:04 pm, Naveen naveen...@gmail.com wrote: Hi! I need help on couple of issues Basically I want to capture webpage from webview and get raster data of the bitmap. To do so what I did is         WebView m_browser;   Picture picture =

[android-developers] Re: Layout Problem

2010-05-17 Thread Anthoni
I'll add an example of this sort of layout to my to-do list to add to the book. As I mentioned to somebody else earlier today, it's a long to-do list... Sounds good. One more thing wanted to ask, regarding Layouts and Themes. I have my Application (in the AndroidManifest.xml) set to the theme

Re: [android-developers] Android Engineer - Sunnyvale, CA (Silicon Valley)

2010-05-17 Thread a a
Application On May 8, 2010 12:18 PM, Danny! dparri...@strategi.biz wrote: Android Engineer - Sunnyvale, CA Architect, design and develop application software for Android devices. - Work on our device management core product and applications. - Develop commercial grade software, which can be

Re: [android-developers] Re: Layout Problem

2010-05-17 Thread Romain Guy
Every activity can have its own theme. Just use android:theme on the activity / tag in your AndroidManifest. On Sun, May 16, 2010 at 11:12 PM, Anthoni anthoni.gard...@gmail.com wrote: I'll add an example of this sort of layout to my to-do list to add to the book. As I mentioned to somebody else

[android-developers] INSTALL_FAILED_UPDATE_INCOMPATIBLE.. plss help

2010-05-17 Thread grace
Hi, I am getting this INSTALL_FAILED_UPDATE_INCOMPATIBLE message when i try to install my app on to the device.. i have searched enough on this..and found out that emulator -wipe- data and then install the app will help solving the above problem, but i doubt that this emulator -wipe-data will

[android-developers] Accessing internet in my application being behind proxy

2010-05-17 Thread Explore Android
Hi, I am trying to connect to internet through android emulator being behind proxy. I am using Android 1.6 SDK. I set my proxy details going to Home Screen-Menu Key-Settings- Wireless controls-Mobile networks-Access Point Names After entering the proxy settings I opened the browser app, then it

[android-developers] Re: Why does Android 2.1 kill my service?

2010-05-17 Thread mort
So I did: - add android:process=:remote in the manifest You should not need that, and it may well be the source of your difficulty. Sorry for the late reply, didn't notice it at first... If I remove android:process=:remote and leave the app, music will stop eiter immediately or after the

[android-developers] Re: Restricting Softkeyboard Kyes for EditText

2010-05-17 Thread grace
Hi , i have tried the same on g1 phone and it worked fine for me.. the soft keyboard is able to show the number keys instead of regular alphabets and the input accepts only the numbers in the specified digit string so probably u may checkout on which version you app is working on.. On May 16,

[android-developers] Re: Sending scores to the internet

2010-05-17 Thread Junde (Scoreloop)
Hi guys, This global high scores thing can be much easier, and free :) I'd like to introduce you to Scoreloop (www.Scoreloop.com), we're a cross-platform mobile social gaming enabler. We just launched our Android Social Gaming SDK. We have an advanced version with player challenges and coins, as

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

2010-05-17 Thread bera
I also received response on May 7,and get the order number. But the Fedex had returned the shipment on May 6... Unfortunately,no answer after May 9... On 5月17日, 上午11时22分, Join findhe...@gmail.com wrote: Bera, I sent my problem on May 3,and google responsed on May 7. FYI,here is the reply:

[android-developers] Re: Getting RGB data from Android bitmap

2010-05-17 Thread skink
On May 17, 4:12 am, Naveen naveen...@gmail.com wrote: Any help pls. on my query? if your image is too big create smaller one, for example two times smaller:    WebView browser;    Picture p = browser.capturePicture();    Bitmap  b = Bitmap.createBitmap( p.getWidth() / 2, p.getHeight() /

[android-developers] Re: Layout Problem

2010-05-17 Thread Anthoni
On May 17, 7:16 am, Romain Guy romain...@android.com wrote: Every activity can have its own theme. Just use android:theme on the activity / tag in your AndroidManifest. Hi Romain, Thanks for that, but I am actually wanting to switch the theme off so it's just normal. Would it be enough to just

[android-developers] Can I have a scrolling element inside another?

2010-05-17 Thread mongd
Hello, I think I already have the answer, but I just want to make sure if mine is correct: 'NO'. As far as I understood, when I put a scrolling element inside another, the child scrolling element can't be scrolled. I don't know why, and I think this should be reported as a bug of Android if this

[android-developers] Re: Layout Problem

2010-05-17 Thread Anthoni
Thanks for that, but I am actually wanting to switch the theme off so it's just normal. Would it be enough to just tell it to render the default android theme but I do not know how to do that. Found it, I just set my theme in the activity to @android:style/ Theme.NoTitleBar.Fullscreen and that

Re: [android-developers] Can I have a scrolling element inside another?

2010-05-17 Thread Romain Guy
No you can't and it's not a bug. It's on purpose because with a touch screen nested scrollable elements can be very awkward/difficult to use. When I tried to build a screen with a EditText inside of a ScrollView where the EditText extends as I type more(sure it has its limit, so once it

[android-developers] Re: Can I have a scrolling element inside another?

2010-05-17 Thread mongd
Thank you Romain! You saved me =D!! On May 17, 4:52 pm, Romain Guy romain...@android.com wrote: No you can't and it's not a bug. It's on purpose because with a touch screen nested scrollable elements can be very awkward/difficult to use. When I tried to build a screen with a EditText inside

[android-developers] Re: why launch is cancelled

2010-05-17 Thread grace
try restarting your adb device and then try launching your app again.. that should work. On May 15, 7:58 pm, Muhammad Shair Ali mshair@googlemail.com wrote: Hello, Can some one tell me ,why launch is cancelled [2010-05-15 07:56:22 - Helloandroid] Device API version is 7 (Android 2.1)

[android-developers] Re: Changing LandScape to Potrait mode

2010-05-17 Thread grace
because the width and height values differ int he landscape and potrait.. the positioning of widgets on screen will differ.. so if you are changing the orientation ,then you can have different layouts for each orientation and set the same for respective orientations. On May 15, 4:42 pm, Karteek

[android-developers] How to implement the type-to-search UI as in the built-in contacts app

2010-05-17 Thread Kaka
In the built-in Contacts app, when you press a key to input a character in the contact list view, it will show a transparent and floating dialog about what you input. It will also filter the underlying contacts using the keyword you input. This is quite different with using quick search box. How

Re: [android-developers] How to set text size and color in CheckBoxPreference

2010-05-17 Thread subrat kumar panda
Hello laloka, you want to reset the text size and color in settings. i have only changed the background color text color to white black, opposite to the default one. so here is the code you may try.don't know abt the text size. specify android:theme=@android:style/Theme.Light in the manifest

[android-developers] Cursor and rowId

2010-05-17 Thread oriharel
how do get the row ID from a Cursor? -- 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: How to detect orientation change in home screen widget?

2010-05-17 Thread SREEHARI
Hi, I think u can try the following code snippet. WindowManager wm; Display ds; public boolean port; public void checkOrientation() { wm = getWindowManager(); ds=wm.getDefaultDisplay(); } @Override public

Re: [android-developers] Cursor and rowId

2010-05-17 Thread Mark Murphy
oriharel wrote: how do get the row ID from a Cursor? That will be the value of your _ID column. If you do not have an _ID column in your result set, you cannot get the row ID from the Cursor. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

Re: [android-developers] Re: Why does Android 2.1 kill my service?

2010-05-17 Thread Mark Murphy
mort wrote: Music players were the most common example for remote services even on Google's SDK site. Got a link for that handy? How is it possible to enable playing while the app's in background without a remote service? Simple: don't use a remote service. For example, the Music app that

Re: [android-developers] INSTALL_FAILED_UPDATE_INCOMPATIBLE.. plss help

2010-05-17 Thread Mark Murphy
grace wrote: Hi, I am getting this INSTALL_FAILED_UPDATE_INCOMPATIBLE message when i try to install my app on to the device.. i have searched enough on this..and found out that emulator -wipe- data and then install the app will help solving the above problem, but i doubt that this

[android-developers] Buttons looking weird when they are too small

2010-05-17 Thread Divick Kishore
Hi, I am having a weired problem when I my Buttons are too small. I see an additional rectangle / boundary around my button and the shape of button is also really weird. Please find the attached image to see what I mean. Please let me know if I need to provide any additional detail, but I am

[android-developers] Re: PNG quality in WebView based app

2010-05-17 Thread Yahel
Sorry I didn't see your answer. Actually I believe every provider in the world does that when with a smaller connection than 3g. It took me a day or so before I could understand what was going on :s But in the end it was a good thing. I wrote a php script that actually takes the screen display

Re: [android-developers] Emulator Internet Connectivity Problem

2010-05-17 Thread Ali Murtaza
Thanks But i think it is firewall problem because browser showing nothing. Please tell me how i solve it On Sun, May 16, 2010 at 10:18 PM, Mark Murphy mmur...@commonsware.comwrote: Ali Murtaza wrote: But when i click on button to send request it return null. I would recommend more detail

Re: [android-developers] Emulator Internet Connectivity Problem

2010-05-17 Thread Mark Murphy
Ali Murtaza wrote: Thanks But i think it is firewall problem because browser showing nothing. Please tell me how i solve it That would be a fine question to ask whoever set up your firewall. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

Re: [android-developers] Buttons looking weird when they are too small

2010-05-17 Thread skink
Divick Kishore wrote: Hi, I am having a weired problem when I my Buttons are too small. I see an additional rectangle / boundary around my button and the shape of button is also really weird. Please find the attached image to see what I mean. Please let me know if I need to provide

[android-developers] Re: INSTALL_FAILED_UPDATE_INCOMPATIBLE.. plss help

2010-05-17 Thread grace
hi, Thanks for ur reply.. i followed the steps in that discussion and it worked out for me... On May 17, 2:45 pm, Mark Murphy mmur...@commonsware.com wrote: grace wrote: Hi, I am getting this INSTALL_FAILED_UPDATE_INCOMPATIBLE message when i try to install my app on to the device.. i

[android-developers] Layered input methods?

2010-05-17 Thread Raymond Ingles
I'd like to create an input method that only alters the behavior of the *hardware* keyboard, and leaves any software keyboards alone. I've looked over the docs and there doesn't seem to be an obvious way to do this; *is* there a way to layer input methods like that? Thanks for any suggestions

[android-developers] Is there any way to send key strokes to other applications launched from a test application

2010-05-17 Thread pradeep
Hi , Can anyone please look at the error that I got while trying to install a test application and provide inputs. My aim was to launch Contacts application from a test application and send keypresses to it . I have tried the following approach: - Create a dummy application with the same name

[android-developers] Re: Buttons looking weird when they are too small

2010-05-17 Thread Divkis
Hi pskunk, add: b.setBackgroundResource(id) where id is a resource idefining your custom Button background drawable see btn_default.xml in your sdk installation pskunk Can't I use the standard/ default background for the buttons such that it automatically stretches and fits with the

[android-developers] Re: Internet data request done via ContentProvider?

2010-05-17 Thread Moto
Hi Mark! Thanks for your kind response, and I'm very sorry about misspelling your last name... :( Your idea to use a service is great! I'll start looking into that... Thanks again, -Moto! On May 15, 9:39 am, Mark Murphy mmur...@commonsware.com wrote: Moto wrote: Mark Murfy if you get a

[android-developers] Re: Cursor and rowId

2010-05-17 Thread Federico Paolinelli
And, as far as I know, and _id column in a query result is needed in order to get cursor work. I spent a lot of time working on a raw_query call before learning this. Federico On 17 Mag, 11:29, Mark Murphy mmur...@commonsware.com wrote: oriharel wrote: how do get the row ID from a Cursor?

[android-developers] Re: Send Data to a running app

2010-05-17 Thread Ne0
That sounds like it will do the job, thanks for your input. Ne0 On 15 May, 18:04, Mike dg vinb...@gmail.com wrote: You can set single instance for an activity to ensure more than one won't exist. And in the activity's onNewIntent handle the new intent. On May 15, 11:50 am, Ne0

[android-developers] Rotation slows when media player is playing

2010-05-17 Thread kavitha b
Hi All, I have an application where i play music from media player continuously. I am rotating an ImageView object with RotationAnimation simultaneously while background music is playing. Before music starts playing,the rotation is fine,,but when mediaplayer starts playing music rotation

Re: [android-developers] Re: Cursor and rowId

2010-05-17 Thread Mark Murphy
Federico Paolinelli wrote: And, as far as I know, and _id column in a query result is needed in order to get cursor work. I spent a lot of time working on a raw_query call before learning this. Actually, a Cursor does not need _ID, but CursorAdapter does. -- Mark Murphy (a Commons Guy)

[android-developers] Re: Buttons looking weird when they are too small

2010-05-17 Thread skink
On May 17, 10:45 am, Divkis divick.kish...@gmail.com wrote: Can't I use the standard/ default background for the buttons such that it automatically stretches and fits with the text? I think I am still missing something. yes, you can, but as you wrote they have additional spacing/margins

[android-developers] Rotation slows when media player is playing

2010-05-17 Thread kavitha b
Hi All, I have an application where i play music from media player continuously. I am rotating an ImageView object with RotationAnimation simultaneously while background music is playing. Before music starts playing,the rotation is fine,,but when mediaplayer starts playing music rotation

[android-developers] Re: Cursor and rowId

2010-05-17 Thread Federico Paolinelli
On 17 Mag, 15:26, Mark Murphy mmur...@commonsware.com wrote: Federico Paolinelli wrote: And, as far as I know, and _id column in a query result is needed in order to get cursor work. I spent a lot of time working on a raw_query call before learning this. Actually, a Cursor does not need

[android-developers] Seeding program phone already on someone else plan?

2010-05-17 Thread dpackham
I received my Droid from Google as a developer but when I try to activate it Verizon says its already part of someone else plan and that I cannot activate it. useless phone to me. and to anyone else. any ideas? Google? Dave P -- You received this message because you are subscribed to the

[android-developers] Re: Rotation slows when media player is playing

2010-05-17 Thread Yahel
Unfortunately, animations were not added to Android to make thing moves continuously, but more to add some transition effects between states and things like that. They are not really good performance wise. Beside the media player is like a resource hog, so much so, that I had to disable music

Re: [android-developers] How to implement the type-to-search UI as in the built-in contacts app

2010-05-17 Thread TreKing
On Mon, May 17, 2010 at 4:12 AM, Kaka clipse.z...@gmail.com wrote: How to implement this? Start here: http://developer.android.com/intl/fr/reference/android/widget/AbsListView.html#attr_android:textFilterEnabled

[android-developers] Moto Droid: widget updates on orientation change

2010-05-17 Thread Kostya Vasilyev
Hi, I am updating a widget project for Moto Milestone / Droid. Found something strange: When I slide out the keyboard, and the screen changes orientation, my widget is redrawn, and Android even uses the layout file from layout-land. So far so good. However, the widget is not notified in

Re: [android-developers] How to hide the status bar when using WebView?

2010-05-17 Thread Ashok Jeevan
Hi, Thanks Mark, for your clarification. The status bar needs to be hidden when I am browsing a web page(the page which I am viewing has to be full screen). Since I am using WebView, this is not possible. Are there any other solutions? Ashok Jeevan +91 9895401278 On Sun, May 16, 2010 at

[android-developers] Dependency issue : Undefined class

2010-05-17 Thread Xavier Bigand
Hi, I had create two Android project with ecplise. The main project is called Dracula3 part1 and the second is TeEngine. I had just put TeEngine as dependency in Dracula3/Properties/Project References. But it doesn't work, I am getting an error when running, there is no problem when building.

[android-developers] Can't open dex cache '/data/dalvik-cache/sys...@app@myapp....@classes.dex': No such file or directory

2010-05-17 Thread Abhi
Hi I get the following errors when I try running my app and it force closes. Any ideas what might be causing it? E/dalvikvm( 1159): Can't open dex cache '/data/dalvik-cache/ sys...@app@Video rtp@classes.dex': No such file or directory I/dalvikvm( 1159): Unable to open or create cache for

Re: [android-developers] How to hide the status bar when using WebView?

2010-05-17 Thread Mark Murphy
Ashok Jeevan wrote: Thanks Mark, for your clarification. The status bar needs to be hidden when I am browsing a web page(the page which I am viewing has to be full screen). Since I am using WebView, this is not possible. No, it IS possible if you are using WebView. However, you are

Re: [android-developers] JetPlayer help

2010-05-17 Thread Justin Giles
Well, again, to answer my own question I ran some tests and it looks like the behavior is as it is described, you CAN queue segments after the jetplayer starts playing. The caveat is that queueing a segment takes time and if the existing segments finish before the one you are queuing is done

[android-developers] Application Crash Reporting made easy - needs testers

2010-05-17 Thread Kevin Gaudin
Hello, I would like to introduce you to a library called ACRA (Application Crash Reporting for Android). http://acra.googlecode.com The goal of this library is to provide android applications developers with a tool to let their applications send them crash reports the easiest possible way. One

[android-developers] Re: Application Crash Reporting made easy - needs testers

2010-05-17 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Thanks Kevin this should be useful On May 17, 11:39 am, Kevin Gaudin kevin.gau...@gmail.com wrote: Hello, I would like to introduce you to a library called ACRA (Application Crash Reporting for Android).http://acra.googlecode.com The goal of this library is to provide android applications

[android-developers] Re: Application Crash Reporting made easy - needs testers

2010-05-17 Thread appforce.org
That's cool! I've implemented similar one that sends the reports gzip- ed as e-mail attachment. On May 17, 7:39 pm, Kevin Gaudin kevin.gau...@gmail.com wrote: Hello, I would like to introduce you to a library called ACRA (Application Crash Reporting for Android).http://acra.googlecode.com

[android-developers] NewsRob 3.9 Beta

2010-05-17 Thread Mariano Kamp
NewsRob 3.9: apk http://claudia-und-mariano.net/newsrob390.apk - Images that are wider than the current screen are downsized proportionally so that they fit. This happens for the feed view and the simplified web view. It should work with different screen resolutions, magnifications and

[android-developers] Re: NewsRob 3.9 Beta

2010-05-17 Thread Mariano Kamp
So sorry, I am an idiot. Wrong list. Again, very sorry ;- On Mon, May 17, 2010 at 8:25 PM, Mariano Kamp mariano.k...@gmail.comwrote: NewsRob 3.9: apk http://claudia-und-mariano.net/newsrob390.apk - Images that are wider than the current screen are downsized proportionally so that they

[android-developers] AutoCompleteTextView not working?

2010-05-17 Thread Tommy
Hey everyone, I have an AutoCompleteTextView and what I would like it to do is to show up above the text box it is attached to because it gets covered up by the virtual keyboard when typing. I am trying to set dropDownVerticalOffset=25px but I get an error: No resource identifier found for

[android-developers] Handler: UI gets updated all at once at the end

2010-05-17 Thread pac
I'm using AudioRecord in a separate class, and I have it read a buffer in a loop and callback to the main activity with the buffer. The activity processes the buffer and calculates a number that I want to update the UI with (I'm using animation to move a button). What I'm finding is that first

[android-developers] Re: Issue with setBuiltInZoomControls on HTC Incredible

2010-05-17 Thread Achanta
Even I have a very similar issue with all the webviews in our app. None of the webviews display properly . *They initially zoom in on loading and does not let me zoom out. I cannot even scroll vertically or horizontally. *When I click on a link it always selects another link that is way below the

[android-developers] Re: Issue with setBuiltInZoomControls on HTC Incredible

2010-05-17 Thread Achanta
Even I have a very similar issue with all the webviews in our app. None of the webviews display properly . *They initially zoom in on loading and does not let me zoom out. I cannot even scroll vertically or horizontally. *When I click on a link it always selects another link that is way below the

[android-developers] About to release first app to market.

2010-05-17 Thread Leigh McRae
Hello, I was wondering what people do to limit the phones that can purchase my app on Android Market. I image I can limit this to some extent by using the API levels in the manifest but can I limit my app to just Droid/Milestone? I have only tested the app on these phones so I can't be sure

[android-developers] Bitmap Mutability Inconsistency

2010-05-17 Thread polyclefsoftware
I encountered a situation where there's an inconsistency in how different configurations are handling bitmap mutability. I create my bitmap by decoding it from resources, such as: Bitmap myBitmap = BitmapFactory.decodeResource(myActivity.getResources(), R.drawable.mybitmap); Then I call

[android-developers] Re: Application Crash Reporting made easy - needs testers

2010-05-17 Thread Yahel
Excellent job !! Can we use v2 in our devs or are you going to sell it for a fee ? What licence do you release it under ? Superb use of google docs for a google framework :D Yahel On 17 mai, 18:39, Kevin Gaudin kevin.gau...@gmail.com wrote: Hello, I would like to introduce you to a library

[android-developers] Re: Application losing SharedPreferences and Sqlite database on Droid

2010-05-17 Thread luoster
I just got this on a G1, so its definitely not Droid exclusive... On Mar 30, 11:22 am, Matt (preinvent) m...@preinvent.com wrote: On Mar 24, 4:40 pm, Doug dougforp...@gmail.com wrote: This problem happened to one of my users just today - he has a Droid. I asked if anything weird had

[android-developers] Re: Android 2.1 SQL Server

2010-05-17 Thread Nerdrow
You don't mean MS SQL Server, do you? As far as I'm aware there's no ODBC/JDBC driver (at least none that are public supported). Android uses SQLite, there's a few examples in the SDK, it's pretty straight- forward. On May 11, 6:46 am, Mark vbreneg...@sbcglobal.net wrote: Hello everyone,

[android-developers] Re: Application Crash Reporting made easy - needs testers

2010-05-17 Thread String
On May 17, 8:39 pm, Yahel kaye...@gmail.com wrote: What licence do you release it under ? The project says it's Apache-licensed. Unless they're planning a change of license for v2, we should be OK. String -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Image viewer widget with zooming capability

2010-05-17 Thread Nerdrow
Check the source for the Eclair Gallery app, I think the class is ImageViewTouch or something like that. I used it a while back to make a pinch-zoomable, scrollable ImageView-like widget. No standard SDK widgets that can do it right now, though. On May 12, 9:20 am, Gyan gnanesh@gmail.com

[android-developers] Re: Image viewer widget with zooming capability

2010-05-17 Thread skink
On May 12, 1:59 pm, Patrick patrick.manges...@gmail.com wrote: Hallo! I want to show the user of my app an image and the user should be able of zooming and scrolling in it. Do you know an out of the box widget or library that I can use to realize this? Thanks Patrick try:

[android-developers] Re: Application losing SharedPreferences and Sqlite database on Droid

2010-05-17 Thread tobias429
I got several reports from users that my application had lost the preferences. This is more than a year ago when the G1 was most prevalent... I switched to saving preferences in a file instead, and complaints stopped. Check the following threads for similar reports:

[android-developers] FANCY_REFERENCE_SUBCLASS

2010-05-17 Thread Keith Preston
Is there a reason why FANCY_REFERENCE_SUBCLASS doesn't seem to be defined by default?Is there anyway from the java level to check and see if it was defined by the system you are running on?A few of my programs seem to leak if enqueue isn't called properly. Keith Preston -- You received

[android-developers] Re: Android AMF client library : Android RTMP client library

2010-05-17 Thread hyc
In the meantime, you could just use rtmpdump's librtmp; it's been running on Android since last year. http://rtmpdump.mplayerhq.hu/ http://forum.xda-developers.com/showthread.php?p=5253967 It still lacks complete AMF3 support but it provides enough to handle most streaming purposes. Push too.

[android-developers] Removing an view from ImageSwitcher doesn't work..

2010-05-17 Thread dillipk
Hello, I am trying to remove a view from ImageSwitcher.. it doesn't seem to be working.. mSwitcher.removeViewAt(pos1); Am I missing something? Thanks, -DK -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Memory leaks in activities and views

2010-05-17 Thread ls02
We found there are very nasty memory and resource leaks in activities and views that we don't know how to handle. I have test app that basically starts activity A, that immediately starts activity B and B starts A and so forth in infinite loop. Each activity displays its own bitmap in image view.

[android-developers] Fwd: Library to convert an rtmp stream to rtsp?

2010-05-17 Thread hyc
You can now do this with ffmpeg+ffserver. http://forum.xda-developers.com/showthread.php?p=5253967 https://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2010-May/088706.html I don't think it's practical to run this on the G1 itself, unless the codecs and frame sizes are already compatible. E.g., if

Re: [android-developers] Memory leaks in activities and views

2010-05-17 Thread Romain Guy
There must be something else going on in your app. All standard apps rely on onDestroy() being called and certainly do not do all you mentioned in your message. Be very careful with what you do with the Context. An Activity is a Context and you might be leaking it without knowing it. What you are

[android-developers] AVD Manager

2010-05-17 Thread Mark
Hello everyone, I am new to android development. Why is it that the screen looks great on a test avd but when I deploy the app to my Droid everything is off and really small? Thanks -Mark -- You received this message because you are subscribed to the

RE: [android-developers] Re: Android 2.1 SQL Server

2010-05-17 Thread Mark
Yea, I do mean MS SQL Server. And cant find any help with it. The problem is I need to be able to connect and show data from tables in it. -Mark -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Nerdrow Sent: Monday,

Re: [android-developers] Re: Android 2.1 SQL Server

2010-05-17 Thread Mark Murphy
Mark wrote: Yea, I do mean MS SQL Server. And cant find any help with it. The problem is I need to be able to connect and show data from tables in it. You are best served by writing a Web service (REST-style recommended) and accessing it that way. -- Mark Murphy (a Commons Guy)

Re: [android-developers] AVD Manager

2010-05-17 Thread Mark Murphy
Mark wrote: Hello everyone, I am new to android development. Why is it that the screen looks great on a test avd but when I deploy the app to my Droid everything is off and really small? If your test AVD was HVGA resolution, you may need to tweak some of your techniques

Re: [android-developers] AVD Manager

2010-05-17 Thread Adrian Vintu
See here http://developer.android.com/guide/practices/screens_support.html and here http://www.adrianvintu.com/blogengine/post/Force-Locale-on-Android.aspx BR, Adrian Vintu http://adrianvintu.com On Tue, May 18, 2010 at 12:32 AM, Mark vbreneg...@sbcglobal.net wrote: Hello everyone,

RE: [android-developers] Re: Android 2.1 SQL Server

2010-05-17 Thread Mark
Any examples out there on getting the service to android. I found one but it didn't work with a simple hello world web service -Mark -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Mark Murphy Sent: Monday, May 17,

Re: [android-developers] Re: Android 2.1 SQL Server

2010-05-17 Thread Mark Murphy
Mark wrote: Any examples out there on getting the service to android. I found one but it didn't work with a simple hello world web service I am not quite certain what you are asking, so here's a firehose... Android offers two HTTP access options. One is the standard Java HttpUrlConnection and

RE: [android-developers] Re: Android 2.1 SQL Server

2010-05-17 Thread Mark
Thanks A LOT!!! That should help -Mark -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Mark Murphy Sent: Monday, May 17, 2010 5:56 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re:

Re: [android-developers] About to release first app to market.

2010-05-17 Thread Leigh McRae
bump I am starting to wonder if my game is just expected to work on all devices. Leigh On 5/17/2010 3:36 PM, Leigh McRae wrote: Hello, I was wondering what people do to limit the phones that can purchase my app on Android Market. I image I can limit this to some extent by using the API

[android-developers] How can I associate a file with a task?

2010-05-17 Thread Bob Lee
My activity can be reused in multiple tasks concurrently. It stores a photo associated with the task in a file. If the task is abandoned, how can I know to delete the photo? Currently, I'm planning on keeping a fixed size queue of photos and deleting the eldest photo when the max size is reached.

[android-developers] Re: Memory leaks in activities and views

2010-05-17 Thread blcooley
On May 17, 5:20 pm, ls02 agal...@audible.com wrote: We found there are very nasty memory and resource leaks in activities and views that we don't know how to handle. I have test app that basically starts activity A, that immediately starts activity B and B starts A and so forth in infinite

[android-developers] anddev.org - brand new shiny forum version!

2010-05-17 Thread plusminus
Hi fellow Androids, anddev.org has been out there serving an Android developers needs for over 2½ years now. This morning I decided to port the forum to the latest major release of the forum-engine. Said. Done. http://www.anddev.org/ In the same procedure I applied a new theme to the new

[android-developers] Re: Memory leaks in activities and views

2010-05-17 Thread ls02
My understanding there is no way to start another activity reusing existing activity instance. Both startActivity and startActivityForResult create a new activity instance. The sample app I describes shows very common scenario to my opinion. An app can have several activities that can start one

[android-developers] Re: Memory leaks in activities and views

2010-05-17 Thread ls02
There is nothing special in my sample app. It is bare born simple app that consits of may be 50 lines of code and two classes. If you wish, I can send you source code, you can see for yourself. Again, there is no static or non-static members in any of the classes. On May 17, 6:26 pm, Romain Guy

[android-developers] HTC kernel source... where's the mic sampling rate hidden?

2010-05-17 Thread BobG
I have a dev phone 2... I guess its mostly an HTC dream, or maybe a sapphire... I dled the kernal source from htc to see if I could find out what the mic sampling rates are. There are directories for alpha, arm, mips, x86, drivers for every device in the world, whether they are in the phone or

[android-developers] Re: Application Crash Reporting made easy - needs testers

2010-05-17 Thread Kevin Gaudin
It is and will stay published as an open source project under Apache license. So you are free to use it in any app, free or not, open source or not. Please test it and let us know your feedback/issues ! ;-) Kevin On 17 mai, 22:18, String sterling.ud...@googlemail.com wrote: On May 17, 8:39 

[android-developers] How to have one ContentProvider call another ContentProvider (ContentProvider chaining?)

2010-05-17 Thread Biosopher
I have a ContentProvider class that I want to securely expose to 3rd party apps using Android's read/write permissions in the provider tag of the manifest. I prefer to have two content providers though: my main provider and an externally accessible provider would access the main provider for

[android-developers] Re: Memory leaks in activities and views

2010-05-17 Thread blcooley
If you need information from B to be fed back to A, then start B by calling startActivityForResult. Then, when B exits, call setResult, and A will be on top of the Activity stack and its onActivityResult will fire. If you don't need information from B, then you can start B using startActivity. A

[android-developers] Re: Memory leaks in activities and views

2010-05-17 Thread ls02
The activity stack in my real app is not hard coded. A can start B, or C which can start D and D can start A or B or C depending on user selection or other flow. And this happens rather frequently. Each of them in reality should exist in only one instance and the activity should be shown or

[android-developers] ContentProvider: multiple read/write permissions

2010-05-17 Thread Biosopher
I need to ship my content provider with multiple read/write permissions. Can I simply enter the permissions as a comma separated list as below? provider android:name=.HelloProvider android:authorities=com.android.HelloPlugin android:writePermission=xxx, yyy, zzz android:readPermission=xxx, yyy,

[android-developers] AccountManager - confirmCredentials

2010-05-17 Thread mr.winky
Anyone with experience with this API? I did some searching through the google code docs, and code search with not much luck for what I'm looking to do. I want to provide an alternate authentication mechanism for my app in case the user forgets the password they set using one of the registered

[android-developers] change wallpaper

2010-05-17 Thread pramod.deore
Hi everybody, I am developing one application in that I want to change wallpaper. But I don't know how to do that. please help 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] image encoding

2010-05-17 Thread pramod.deore
Hi, In my application I want to encode image in Base64 format and send it to server. If image is too big then I am encoding in parts (say read first 100 kb of image encode it) and send it to server then after that read next 100kb of image and send it to server. It is possible on server to

[android-developers] Re: Accessing internet in my application being behind proxy

2010-05-17 Thread prachi
Hey hi For ur application to connect to internet you need to use one permission in ur manu\ifest file:- uses-permission android:name=android.permission.INTERNET / I hope this will work... On May 17, 11:49 am, Explore Android stetest...@googlemail.com wrote: Hi, I am trying to

[android-developers] Re: Accessing internet in my application being behind proxy

2010-05-17 Thread prachi
hi u need to include one permission in manifest file:- uses-permission android:name=android.permission.INTERNET / On May 17, 11:49 am, Explore Android stetest...@googlemail.com wrote: Hi, I am trying to connect to internet through android emulator being behind proxy. I am using Android

  1   2   >