[android-developers] Updating button background not working In Table Row

2011-08-22 Thread Ash
Hi All, I have a Table layout defined in my activity XML. Via code I add rows and buttons to this table layout. When I click on the button I wish to change the background color of the button, but it is not happening. The logic I have to update the background color works if I use Gridview in

[android-developers] Android development is very bad

2011-08-22 Thread Naveen
i think android development is very bad for android developer compare to xcode. xcode giving framework for each and every ap implementation. here i want to generate a codec interface facing issue, post to android community but not getting any response back by him. Thanks, -- You received

[android-developers] Re: developeing on a htc sensation

2011-08-22 Thread René
Hi. Now i have tried it a few times this morning. It seems like i dont have permisions for doing that. I both tried the adb push and install. I will try later on. René On 19 Aug., 19:34, Kristopher Micinski krismicin...@gmail.com wrote: Occasionally I've had to delete the program from my

[android-developers] Tutorials on Using RenderScript in a Live Wallpaper?

2011-08-22 Thread newbyca
are there any tutorials or source code examples on incorporating RenderScript into a live wallpaper? i've looked quite a bit and can't find anything ... or maybe i missed something obvious? -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Android development is very bad

2011-08-22 Thread Parvesh Malhotra
android development is bad for android developer? if a person is android developer then he already does android development.. or you mean bad health wise? like cigarette smoking is injurious ? On Aug 22, 11:22 am, Naveen kumarnaveen.si...@gmail.com wrote: i think android development is very bad

Re: [android-developers] Android development is very bad

2011-08-22 Thread Simon Platten
Whos him? On Mon, Aug 22, 2011 at 7:22 AM, Naveen kumarnaveen.si...@gmail.com wrote: i think android development is very bad for android developer compare to xcode. xcode giving framework for each and every ap implementation. here i want to generate a codec interface facing issue, post to

Re: [android-developers] Android development is very bad

2011-08-22 Thread NaveenShrivastva
On Mon, Aug 22, 2011 at 12:14 PM, Simon Platten simonaplat...@googlemail.com wrote: Whos him? On Mon, Aug 22, 2011 at 7:22 AM, Naveen kumarnaveen.si...@gmail.comwrote: i think android development is very bad for android developer compare to xcode. xcode giving framework for each and

Re: [android-developers] Android development is very bad

2011-08-22 Thread Miguel Morales
xcode sucks On Sun, Aug 21, 2011 at 11:44 PM, Simon Platten simonaplat...@googlemail.com wrote: Whos him? On Mon, Aug 22, 2011 at 7:22 AM, Naveen kumarnaveen.si...@gmail.com wrote: i think android development is very bad for android developer compare to xcode. xcode giving framework for

Re: [android-developers] Re: developeing on a htc sensation

2011-08-22 Thread Mark Ayers
sounds like somebody could use a root. On Aug 21, 2011 11:39 PM, René tan...@get2net.dk wrote: Hi. Now i have tried it a few times this morning. It seems like i dont have permisions for doing that. I both tried the adb push and install. I will try later on. René On 19 Aug., 19:34,

Re: [android-developers] Android development is very bad

2011-08-22 Thread NaveenShrivastva
Now i need help me codec interface in android can u able to help me then good else all os have many limitation On Mon, Aug 22, 2011 at 12:21 PM, Miguel Morales therevolti...@gmail.comwrote: xcode sucks On Sun, Aug 21, 2011 at 11:44 PM, Simon Platten simonaplat...@googlemail.com wrote: Whos

Re: [android-developers] Android development is very bad

2011-08-22 Thread NaveenShrivastva
08-22 12:32:46.969: ERROR/FFMpegMediaPlayer(4610): AV_LOG_WARNING: No accelerated colorspace conversion found from %s to %s. how to handle this error help me On Mon, Aug 22, 2011 at 12:26 PM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: Now i need help me codec interface in android

[android-developers] vertical scroll

2011-08-22 Thread vineeshkc
hi, how vertical scroll bar for TableLayout in android ?? -- 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

Re: [android-developers] vertical scroll

2011-08-22 Thread Ratheesh Valamchuzhy
Hi Vineesh U can use a scroll view , with set the property of scroll view height to fill parent ?xml version=1.0 encoding=utf-8? ScrollView android:id=@+id/widget31 android:layout_width=fill_parent android:layout_height=fill_parent android:background=#2F4F4F

Re: [android-developers] vertical scroll

2011-08-22 Thread Ratheesh Valamchuzhy
Also use the table layout property to android:scrollbars=vertical -- 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: Tutorials on Using RenderScript in a Live Wallpaper?

2011-08-22 Thread newbyca
for those interested, i came up with the following and it seems to work. for those that know way more about this than me, it'd be great to know if there's a better way or if i'm doing anything truly awful :) tia// class

Re: [android-developers] Re: Tutorials on Using RenderScript in a Live Wallpaper?

2011-08-22 Thread Romain Guy
It's a little bit more complicated, you are not catching all possible cases (for instance when the surface is resized.) You should look at the how we did it for the standard live wallpapers:

Re: [android-developers] How do I can make resolution independent game?

2011-08-22 Thread Appaholics
Use 9-patch images to have them scaled properly. As for the rest of it use a game engine. They do most of the work for you. I use http://www.andengine.org but you can use any other you like. Try Googling Android game engine. Thanks On Sun, Aug 21, 2011 at 10:12 PM, Zwiebel hunzwie...@gmail.com

Re: [android-developers] Re: developeing on a htc sensation

2011-08-22 Thread Appaholics
Just uninstall it from your phone settings. and then re install it. On Mon, Aug 22, 2011 at 12:27 PM, Mark Ayers markthe...@gmail.com wrote: sounds like somebody could use a root. On Aug 21, 2011 11:39 PM, René tan...@get2net.dk wrote: Hi. Now i have tried it a few times this morning.

[android-developers] Re: Tutorials on Using RenderScript in a Live Wallpaper?

2011-08-22 Thread newbyca
awesome, that's what i was looking for. tx! On Aug 22, 3:19 am, Romain Guy romain...@android.com wrote: It's a little bit more complicated, you are not catching all possible cases (for instance when the surface is resized.) You should look at the how we did it for the standard live wallpapers:

[android-developers] Re: Android development is very bad

2011-08-22 Thread martypantsROK
Apparently we suck at answering questions. Sorry. Maybe if the question you asked was understandable (i.e. You suck at asking questions) you might get some help. On Aug 22, 3:22 pm, Naveen kumarnaveen.si...@gmail.com wrote: i think android development is very bad for android developer

Re: [android-developers] Re: Android development is very bad

2011-08-22 Thread NaveenShrivastva
i want to create video codec plz help me, i have knowledge of JNI lib implementation in android . On Mon, Aug 22, 2011 at 1:24 PM, martypantsROK martyg...@gmail.com wrote: Apparently we suck at answering questions. Sorry. Maybe if the question you asked was understandable (i.e. You suck

Re: [android-developers] Re: Android development is very bad

2011-08-22 Thread NaveenShrivastva
how to handle not found accelerated colorspace conversion android video play On Mon, Aug 22, 2011 at 2:02 PM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: i want to create video codec plz help me, i have knowledge of JNI lib implementation in android . On Mon, Aug 22, 2011 at 1:24

Re: [android-developers] Re: Android development is very bad

2011-08-22 Thread Appaholics
http://tinyurl.com/3mqcq8s On Mon, Aug 22, 2011 at 2:02 PM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: i want to create video codec plz help me, i have knowledge of JNI lib implementation in android . On Mon, Aug 22, 2011 at 1:24 PM, martypantsROK martyg...@gmail.comwrote:

[android-developers] need help on take snapshot and save

2011-08-22 Thread sktniran
Hi friends, i want to take snapshot and save it in database in android.i dont have any idea about this. i need some information related to this. can anyone please help to start this application? Thanks. -- You received this message because you are subscribed to the Google Groups

[android-developers] Deployment to Android devices from Windows and Mac

2011-08-22 Thread Rathna Kumara Premadasa
Hi all, I want to know what are the using technologies for deploy Android Application to the Android device from Windows or MAC.Please give ma any kind of reference or details to identify that mechanism. Exactly i want to know about deploying michanism. thanks, -- *Rathna Kumara Premadasa* Sri

Re: [android-developers] Re: Android development is very bad

2011-08-22 Thread Mark Murphy
On Mon, Aug 22, 2011 at 4:32 AM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: i want to create video codec plz help me, i have knowledge of JNI lib implementation in android . That requires custom firmware, which is not the subject of this list. Please find a list on

Re: [android-developers] need help on take snapshot and save

2011-08-22 Thread Appaholics
Snapshot of the screen or through the camera? You will need to provide a lot more information. On Mon, Aug 22, 2011 at 3:15 PM, sktniran sktniranjanad...@gmail.comwrote: Hi friends, i want to take snapshot and save it in database in android.i dont have any idea about this. i need some

Re: [android-developers] Re: Android development is very bad

2011-08-22 Thread NaveenShrivastva
On Mon, Aug 22, 2011 at 3:39 PM, Mark Murphy mmur...@commonsware.comwrote: On Mon, Aug 22, 2011 at 4:32 AM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: i want to create video codec plz help me, i have knowledge of JNI lib implementation in android . That requires custom

Re: [android-developers] Re: Android development is very bad

2011-08-22 Thread Appaholics
If you want instantaneous help then employ someone as a teacher. People contribute their own time freely on these lists and are under no obligation to help you. On Mon, Aug 22, 2011 at 3:44 PM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: On Mon, Aug 22, 2011 at 3:39 PM, Mark Murphy

[android-developers] Re: need help on take snapshot and save

2011-08-22 Thread sktniran
oh sorry.. i want to take snapshot from camera and save it in sqllite db. thanks On Aug 22, 3:12 pm, Appaholics raghavs...@appaholics.in wrote: Snapshot of the screen or through the camera? You will need to provide a lot more information. On Mon, Aug 22, 2011 at 3:15 PM, sktniran

Re: [android-developers] Re: Android development is very bad

2011-08-22 Thread NaveenShrivastva
i am not getting teacher which gives me actual way for codec implementation for android. all suffering from this issue. On Mon, Aug 22, 2011 at 3:52 PM, Appaholics raghavs...@appaholics.inwrote: If you want instantaneous help then employ someone as a teacher. People contribute their own time

Re: [android-developers] Re: Android development is very bad

2011-08-22 Thread Mark Murphy
On Mon, Aug 22, 2011 at 6:54 AM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: i am not getting teacher which gives me actual way for codec implementation for android. all suffering from this issue. If you work for a device manufacturer or wireless carrier, they will have better ways of

Re: [android-developers] Re: need help on take snapshot and save

2011-08-22 Thread Appaholics
http://tinyurl.com/3tsnd6n On Mon, Aug 22, 2011 at 4:23 PM, sktniran sktniranjanad...@gmail.comwrote: oh sorry.. i want to take snapshot from camera and save it in sqllite db. thanks On Aug 22, 3:12 pm, Appaholics raghavs...@appaholics.in wrote: Snapshot of the screen or through the

[android-developers] Re: Deployment to Android devices from Windows and Mac

2011-08-22 Thread Rathna Kumara Premadasa
Hi, Please help me someone who know about this.. Rathna Kumara Premadasa Sri Lanka. -- 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

Re: [android-developers] Re: Deployment to Android devices from Windows and Mac

2011-08-22 Thread Appaholics
Send the apk to the device via the market, email, bluetooth etc. Install it. Your app has now been deployed. On Mon, Aug 22, 2011 at 4:46 PM, Rathna Kumara Premadasa rathnakumar...@gmail.com wrote: Hi, Please help me someone who know about this.. Rathna Kumara Premadasa Sri Lanka.

Re: [android-developers] Re: Android development is very bad

2011-08-22 Thread Jim Graham
On Mon, Aug 22, 2011 at 04:24:06PM +0530, NaveenShrivastva wrote: On Mon, Aug 22, 2011 at 3:52 PM, Appaholics raghavs...@appaholics.inwrote: If you want instantaneous help then employ someone as a teacher. People contribute their own time freely on these lists and are under no obligation

Re: [android-developers] Re: Deployment to Android devices from Windows and Mac

2011-08-22 Thread Rathna Kumara Premadasa
Thanks for your reply, But I'm asking what is the technology used to deploy application to device in Android.Some thin call, whats the API or something like that.Because i want to develop android application using my own developing environment and deploy it to android device.Exactly i want to

[android-developers] Question about Button

2011-08-22 Thread Ash
Hi All, Wondering if anyone can advice me on the following. I wish to create a button which will allow me to have: 1. a color when the button is disabled 2. a color when the button is enabled but idle 3. a color when the button is enabled and pressed 4. a border which will change color upon some

[android-developers] Only audio, no video

2011-08-22 Thread Naveen
I managed to compile the debug Branch and I could play videos, but I get no video - only audio is working. The libraries are loaded and also no other errors in LogCat, except AV_LOG_WARNING: No accelerated colorspace conversion found from %s to %s, but I think that's ok. -- You received this

[android-developers] Attach more than one picture JavaMail?

2011-08-22 Thread Duygu Kahraman
Hi all; In my project i am using Javamail and i attached 1 image .i am using this code (http://www.jondev.net/articles/ Sending_Emails_without_User_Intervention_%28no_Intents%29_in_Android). But i want to attach more pictures to mail. Can anybody help me?i some googling but i see some html

Re: [android-developers] Re: Deployment to Android devices from Windows and Mac

2011-08-22 Thread Appaholics
You will develop it using the NDK and/or SDK and deploy it through the Android Market, Amazon Appstore or your own website. On Mon, Aug 22, 2011 at 5:10 PM, Rathna Kumara Premadasa rathnakumar...@gmail.com wrote: Thanks for your reply, But I'm asking what is the technology used to deploy

Re: [android-developers] Only audio, no video

2011-08-22 Thread Appaholics
Use an Android firmware list for questions relating to the frimware. http://source.android.क http://source.android.xn--11bॉम On Mon, Aug 22, 2011 at 5:30 PM, Naveen kumarnaveen.si...@gmail.com wrote: I managed to compile the debug Branch and I could play videos, but I get no video - only

Re: [android-developers] Question about Button

2011-08-22 Thread Ratheesh Valamchuzhy
Hi add one more image with border color(as u want ) and redraw it at a specific event thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

Re: [android-developers] Attach more than one picture JavaMail?

2011-08-22 Thread Daniel Drozdzewski
On 22 August 2011 13:03, Duygu Kahraman duygu.kahram...@gmail.com wrote: Hi all; In my project i am using Javamail and i attached 1 image .i am using this code (http://www.jondev.net/articles/ Sending_Emails_without_User_Intervention_%28no_Intents%29_in_Android). But i want to attach more

Re: [android-developers] Re: Deployment to Android devices from Windows and Mac

2011-08-22 Thread Rathna Kumara Premadasa
Hi, Thanks dear, I've create my own developing enviorment using Android NDK and SDK in Eclipse creating several eclipse plugins but i was not able to deploy my app to Android device to debug it. i want to run application on the device when i Run my project. I'm asking do u know about the

Re: [android-developers] Re: Deployment to Android devices from Windows and Mac

2011-08-22 Thread Appaholics
http://www.appaholics.in/using-a-hardware-device-for-debugging/ On Mon, Aug 22, 2011 at 6:06 PM, Rathna Kumara Premadasa rathnakumar...@gmail.com wrote: Hi, Thanks dear, I've create my own developing enviorment using Android NDK and SDK in Eclipse creating several eclipse plugins but i

[android-developers] Calendar Widget

2011-08-22 Thread Daniel Rindt
Hello everyone, i am looking for a calendar view, like used in android 3.x with ability to translate it. Thanks for all suggestions Daniel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] vertical scroll

2011-08-22 Thread vineeshkc
thanks Ratheesh Valamchuzhy for your reply actually am looking horizontal scrolling i find out the problem by using android:oriantation=horizontal in the attribute On Mon, Aug 22, 2011 at 12:39 PM, Ratheesh Valamchuzhy android...@gmail.com wrote: Also use

[android-developers] Re: Android development is very bad

2011-08-22 Thread nexbug
Yep, you are probably right. It's a good idea then for you to stick with what you like then. Some peope (me personally) like developing without being spoonfed or hand-held. Not everyones cup of tea ;-) Either ways, I doubt if complaining here is going to help. Good luck. On Aug 21, 11:22 pm,

Re: [android-developers] Re: Android development is very bad

2011-08-22 Thread NaveenShrivastva
Thanks all , i am trying but not getting success. On Mon, Aug 22, 2011 at 6:46 PM, nexbug gsuku...@gmail.com wrote: Yep, you are probably right. It's a good idea then for you to stick with what you like then. Some peope (me personally) like developing without being spoonfed or hand-held.

[android-developers] Re: Android development is very bad

2011-08-22 Thread IcedNet
You will get more snark than help here, both because of the language barrier, your attitude and because, most likely, no one here can help you... The majority of Android apps do not push the envelope, nor do the majority of android devs... If you enjoy the xcode gives me everything environment,

[android-developers] Adding markers to a video recording you take.

2011-08-22 Thread darrinps
I looked through the API for the Android Mediarecorder and didn't see any way to do this, but I was hoping maybe I missed something. In short, what I want to do is allow the user to click a button on the screen and have an application insert a marker of sorts into the video stream as they are

[android-developers] ListView measurering causes constant getView(..) requests, slowing down the device

2011-08-22 Thread p.sturm
The issue described here was encountered on 3.0 as well as 3.1 on an Acer Iconia A500. The following layout is used in a Fragment (not ListFragment). Somehow it causes a ListView, added to fragment_swipeview_lr_leftview_body (and fragment_swipeview_lr_rightview_body respectively), to be measured

Re: [android-developers] Re: developeing on a htc sensation

2011-08-22 Thread Kristopher Micinski
On Mon, Aug 22, 2011 at 3:28 AM, Appaholics raghavs...@appaholics.in wrote: Just uninstall it from your phone settings. and then re install it. Agreed, I feel like not being able to uninstall an application from your phone would be a much more serious security flaw than many other apps could

[android-developers] Layout, Canvas questions

2011-08-22 Thread Daniel Rindt
Hello, I have tried asking elsewhere but got no replies so I am now trying here. 1. I want to write an appliction with a LinearLayout containing a Canvas and a Button. When the button is pressed a circle is drawn centered on the canvas, and when the button is pressed again it disappears. 2. Is

Re: [android-developers] Re: Deployment to Android devices from Windows and Mac

2011-08-22 Thread Rathna Kumara Premadasa
@Appaholics Thanks a lot of I'll follow that. thanks -- *Rathna Kumara Premadasa* Sri Lanka. -- 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

[android-developers] Re: Layout, Canvas questions

2011-08-22 Thread Chris
LinearLayout layout = new LinearLayout(this); Panel panel = new Panel(this); Button button = new Button(this); layout.addView(panel); layout.addView(button); setContentView(panel); You're creating a LL, adding the panel and button to it, but setting the

Re: [android-developers] Re: Deployment to Android devices from Windows and Mac

2011-08-22 Thread Kristopher Micinski
http://developer.android.com/guide/developing/device.html http://developer.android.com/guide/developing/index.html We would be remiss were we not to point you to those links as well. You're saying you wrote your own plugin for eclipse to do android development without using the sdk plugin for

[android-developers] Native SIP Client Device Support List?

2011-08-22 Thread Shaun Clark
So we're finding out a lot of Gingerbread devices don't seem to be supported with the native client, which kind of makes it less useful. Is there a list of currently supported devices or perhaps a plan to support roughly all Gingerbread devices in the future? In the meantime is there another SIP

[android-developers] Re: Sudden location issues

2011-08-22 Thread lbendlin
So maybe the power cycling does the trick all by itself... BTW, GPS accuracy is generally better than 12 m. It can go down all the way to 1.5m, but 5m is a good bet. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] Handling Loader exceptions

2011-08-22 Thread Dianne Hackborn
The first thing to mention is that I deprecated onRetainNonConfigurationInstance() because the new fragment APIs are much easier to deal with than that old method. If you are currently using onRetainNonConfigurationInstance() and that is working well for you, there is no need to move off it. (In

[android-developers] Re: using MapView to display wallstreet

2011-08-22 Thread guich
Hi, Sorry, i just gave an example of what i need. Based on the sample that someone provides, i can change it to meet the needs. Actually, i want to search for a location in any street, i just gave the example of Wall street to make easier for one to provide a sample. :-) cheers guich --

Re: [android-developers] Re: getOrientation() madness

2011-08-22 Thread Greg Donald
On Sun, Aug 21, 2011 at 7:48 PM, Dianne Hackborn hack...@android.com wrote: Because we are sometimes dumb.  That is why it is deprecated and replaced with a method named getRotation() in current versions of the platform. A nice person spent a long time harassing me about this change because

[android-developers] Re: Sudden location issues

2011-08-22 Thread John Coryat
BTW, GPS accuracy is generally better than 12 m. It can go down all the way to 1.5m, but 5m is a good bet. WAAS is accurate to that level but I don't believe the GPS in the average Android device is WAAS capable. I may be wrong there. -John Coryat -- You received this message because

[android-developers] Right way to animate children inside a viewgroup?

2011-08-22 Thread Arpit Mathur
I am building a custom viewgroup that arranges a bunch of children in a particular layout. On a particular trigger (lets say an external button press), The children animate to new positions. The way I tried doing it was by starting a Timer and on each timer update, computing new positions and

[android-developers] Re: DexClassLoader and DexFile Leaking File Handles

2011-08-22 Thread Matt
I'd try to avoid copying and deleting the file each time, at least if it's the same file.   In the stress test it's the same file, but in the real world it will be a new jar file every time, corresponding to updates to the plugin. It's interesting to think about how the activity lifecycle

[android-developers] market links not launching market

2011-08-22 Thread Raziel23x
I try adding a market link to my application webview and when the link is clicked iget page not found instead of the market launching. Do I need a special permission or do I need a special link other then market://details?id=xxx.. -- You received this message because you are subscribed

[android-developers] Re: market links not launching market

2011-08-22 Thread Raziel23x
To clareafy it is on a webpage a href=market://details? id=xxx../a Do I still need to create a intent for this to workor am I just doing something wrong -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Downloading Files Directly in Webview without it opening the browser

2011-08-22 Thread Raziel23x
The files on on a webpage that I want the applcation to handle not it launching the web browser -- 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] Android location object time property stale ?

2011-08-22 Thread Davy
I'm trying to understand how to interpret the time property from the Android location object : http://developer.android.com/reference/android/location/Location.html#getTime() Here's the thing, when I call the location manager (using the GPS provider), I receive location fixes (I query them

[android-developers] Re: getOrientation() madness

2011-08-22 Thread Roger
First, I recommend you try to figure out the screen by getting the DisplayMetrics instead. Don't use the orientation/rotation. The device implementer gets to decide what the rotation means, so the screen rotation is fundamentally divorced from the concept of landscape or portrait (yep, I've seen

[android-developers] Access to gyroscope under Froyo?

2011-08-22 Thread Johannes Mario Ringheim
I am considering the LG Optimus 2X as my next phone. One of the most important things I'm after is the gyroscope sensor. Appearently the Optimus 2X is supposed to have one, but will it be available from the API when it is only running Froyo? AFAIK gyroscope support was not added before

[android-developers] Re: How do I can make resolution independent game?

2011-08-22 Thread Zwiebel
Thanks for the help! On aug. 22, 07:20, Appaholics raghavs...@appaholics.in wrote: Use 9-patch images to have them scaled properly. As for the rest of it use a game engine. They do most of the work for you. I usehttp://www.andengine.orgbut you can use any other you like. Try Googling Android

[android-developers] Giving licenses as present.

2011-08-22 Thread sblantipodi
Hi, is it possible to give a free license of our apps to some users? I mean, can I let some people to download freely our paied apps? Is there a way to do that? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] how to retrieve images from a sql database?

2011-08-22 Thread Abhi
Hi I have a database of low res images that I am trying to use for one of my applications. What I would like to do is to retrieve the images one by one and display them in a slideshow. I was told that images are stored as byte arrays in sql database. I am new to sql and looking for some direction

Re: [android-developers] Re: Downloading Files Directly in Webview without it opening the browser

2011-08-22 Thread Nick Risaro
On Mon, Aug 22, 2011 at 4:48 PM, Raziel23x raziel...@gmail.com wrote: The files on on a webpage that I want the applcation to handle not it launching the web browser The files are on a FTP server or on a HTTP server? If the server is an FTP server you can connect to the server, list the

[android-developers] Re: how to retrieve images from a sql database?

2011-08-22 Thread lbendlin
generally with mobile databases like SQLite it may be easier to keep the images in the RAW resource folder and only maintain the (string) pointers in the database. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] How I can place an AdMob ad?

2011-08-22 Thread Zwiebel
I have an activity what in I don't use an XML. I have only an activity within I what to place an ad. I don't use layouts like linear layout or relative layout. My program scale him automatically, so if I put in an ad, will it scale itself, to don't be in ad? How can I add an ad to it? -- You

Re: [android-developers] Re: Downloading Files Directly in Webview without it opening the browser

2011-08-22 Thread Miguel Morales
You have to return false on shouldOverrideUrlLoading. That will prevent the browser from initiating the download. You have to move the code from onLoadResource there, and return false if you detect the video link. The onDownloadStart() is irrelevant if you are going to be handling the downloading

Re: [android-developers] Re: Downloading Files Directly in Webview without it opening the browser

2011-08-22 Thread Miguel Morales
Actually, it's the other way. You should return true on shouldOverride, but only when you've detected that your video link was clicked. At the moment, you are returning true, but loading the url to the webview yourself which defeats the purpose. On Mon, Aug 22, 2011 at 1:21 PM, Miguel Morales

Re: [android-developers] Re: Downloading Files Directly in Webview without it opening the browser

2011-08-22 Thread Miguel Morales
Also, there are many other mistakes in your code. Don't download the file in the UI thread, see: http://developer.android.com/resources/articles/painless-threading.html Also, don't hardcode paths: http://developer.android.com/guide/topics/data/data-storage.html On Mon, Aug 22, 2011 at 1:26 PM,

[android-developers] Re: Giving licenses as present.

2011-08-22 Thread Adam Ratana
On Monday, August 22, 2011 4:01:01 PM UTC-4, sblantipodi wrote: Hi, is it possible to give a free license of our apps to some users? I mean, can I let some people to download freely our paied apps? Is there a way to do that? If I remember correctly this was asked during one of the

Re: [android-developers] Re: getOrientation() madness

2011-08-22 Thread Dianne Hackborn
On Mon, Aug 22, 2011 at 10:40 AM, Greg Donald gdon...@gmail.com wrote: From where I sit Android is becoming really hard to keep up with. I have a ton of 2.1 users still so I need to stay with API version 7. The current API is 13, that's almost double the version I need to stay at. I can't

Re: [android-developers] Re: market links not launching market

2011-08-22 Thread Jim Graham
On Mon, Aug 22, 2011 at 12:45:49PM -0700, Raziel23x wrote: To clareafy it is on a webpage a href=market://details? id=xxx../a Do I still need to create a intent for this to workor am I just doing something wrong Thanks for posting the added informtion---that allows a quick

[android-developers] Re: market links not launching market

2011-08-22 Thread Adam Ratana
On Monday, August 22, 2011 3:45:49 PM UTC-4, Raziel23x wrote: To clareafy it is on a webpage a href=market://details? id=xxx../a Do I still need to create a intent for this to workor am I just doing something wrong try: http://market.android.com/details?id=your package name

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2011-08-22 Thread Bill Napier
We re-factored a bunch of code to take a lot of the MonkeyRunner source and make it available as a library, specifically for people doing project similar to what you're doing. You should probably stop depending on the monkeyrunner.jar and start depending on chimpchat.jar (the new java library

[android-developers] Re: how to retrieve images from a sql database?

2011-08-22 Thread Abhi
Well, that's an option I don't have at the moment. I have a pre- existing sql database that has to go into the application. On Aug 22, 4:09 pm, lbendlin l...@bendlin.us wrote: generally with mobile databases like SQLite it may be easier to keep the images in the RAW resource folder and only

Re: [android-developers] Re: market links not launching market

2011-08-22 Thread Jim Graham
On Mon, Aug 22, 2011 at 01:39:35PM -0700, Adam Ratana wrote: this will trigger a chooser where the user can choose to use the web , or the market app Ah, yes, thanks---I forgot to include that in my instructions in my previous e-mail. When you scan a barcode link to the market, as Adam

[android-developers] Re: how to retrieve images from a sql database?

2011-08-22 Thread lbendlin
SQL what? SQLite on device, or something else server based? -- 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: Bug in connectivityManager?

2011-08-22 Thread Lee
It would be nice if the documentation at least described that it can return null On Aug 16, 1:17 pm, darrinps darri...@gmail.com wrote: Does anyone know why when you advance your phone's date, say three months, into the future that the connectivityManager.getActiveNetworkInfo() returns null?

[android-developers] SQLite: Tables not created onCreate without any error

2011-08-22 Thread Nico Balestra
Ok guys.. I've tried and tried in the hope not to be forced to bother you. but I have to :) I'm trying to do a simple thing.. creating a DB when my activity first starts: @Override public void onCreate(Bundle savedInstanceState) { currenciesDB = new CurrenciesDB(this);

[android-developers] news app

2011-08-22 Thread bob
Ok, let's say you are working on a news app. So, you have a ListView with some article titles. Then, when an article is clicked you have a TextView that replaces the ListView. What is the best way to do this? I'm thinking of having the ListView and TextView on top of each other in an

[android-developers] Re: how to retrieve images from a sql database?

2011-08-22 Thread Drezden
What you're looking for in SQLite is called a BLOB (Binary Large Object) but this is usually NOT recommended, the better approach would be to add the images to your MediaStore and then store the file path in your SQLite database. Then you can retrieve the images as needed from the resource path

[android-developers] Re: SQLite: Tables not created onCreate without any error

2011-08-22 Thread Drezden
If possible post a complete class file for your database helper, it's really hard to know what's happening when you show random parts from all of your classes. On Aug 22, 4:07 pm, Nico Balestra nicobales...@gmail.com wrote: Ok guys.. I've tried and tried in the hope not to be forced to bother

[android-developers] Re: need help on take snapshot and save

2011-08-22 Thread Drezden
Another user asked the same question, your best option is probably to capture the image path in your onActivityResult from the camera and save this path to the database. Then you can restore this bitmap later by loading it through the BitmapFactory using decodeStream. On Aug 22, 4:45 am,

Re: [android-developers] news app

2011-08-22 Thread Miguel Morales
Seems like editing the item should be an activity. On Mon, Aug 22, 2011 at 2:30 PM, bob b...@coolgroups.com wrote: Ok, let's say you are working on a news app. So, you have a ListView with some article titles. Then, when an article is clicked you have a TextView that replaces the ListView.

Re: [android-developers] Re: SQLite: Tables not created onCreate without any error

2011-08-22 Thread Nico Balestra
Ok, sorry.. I didn't want to be too verbose.. This is the first part of the openHandler (the one which is in charge of opening the db and creating it).. public class CurrencyStorageHelper extends SQLiteOpenHelper { private static final String TAG = CurrencyStorageHelper; private static final int

Re: [android-developers] Question about Button

2011-08-22 Thread Ash
OK. Will create another image. How do I then apply this image at code level. Are you able to give me an example? Appreciate your help. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Question about Button

2011-08-22 Thread Drezden
You can create a selector xml file and place resource references for all the different states within it, then use the selector.xml file as your button background. Here is a push-button example ?xml version=1.0 encoding=utf-8? selector xmlns:android=http://schemas.android.com/apk/res/android;

[android-developers] Re: Giving licenses as present.

2011-08-22 Thread sblantipodi
what a raw market. On Aug 22, 10:33 pm, Adam Ratana adam.rat...@gmail.com wrote: On Monday, August 22, 2011 4:01:01 PM UTC-4, sblantipodi wrote: Hi, is it possible to give a free license of our apps to some users? I mean, can I let some people to download freely our paied apps? Is

  1   2   >