Re: [android-developers] Ruby on Rails for Tablet Computers (Android OS)

2011-03-30 Thread Miguel Morales
Why not just host it on the internet instead of the device? Have you confirmed the device can act as a server with regular carriers? Will it only work in wifi mode? Don't you care about slowing down a user's tablet CPU just to run your web app? Don't you care to leave the devices vulnerable to

Re: [android-developers] Application crashing due to CheckBoxPreference error

2011-03-30 Thread TreKing
On Wed, Mar 30, 2011 at 3:11 PM, agrosner agros...@fordham.edu wrote: Everything goes well until the user clicks on the preference, disabling it to false, and then it crashes when I access the value in another class. Want to explain what then it crashes means, including a stacktrace? Or

[android-developers] References to Fragments and memory footprint

2011-03-30 Thread jotobjects
Is keeping a reference to fragment that has been removed an anti- pattern? If the Fragment is on the backstack it seems like I have observed that the system can GC fragments and create them later when needed. So if the Activity keeps a reference to a removed Fragment does it inhibit that GC?

[android-developers] Monkeyrunner not capturing screenshot correctly

2011-03-30 Thread lsim001
HI guys, I've been trying to use monkeyrunner to capture screenshot of my app. However the screenshot often end up being black or not captured correctly e.g. only part of the screen is captured or it has a partial overlay of the previous screen. Is there a way of stopping this from happening? I

Re: [android-developers] Ruby on Rails for Tablet Computers (Android OS)

2011-03-30 Thread Mark Murphy
On Wed, Mar 30, 2011 at 5:45 PM, Lee Farrell l33...@gmail.com wrote: I know, but I am writing a web app that can be accessed by a bunch of mobile devices and wanted to host it on an android device. As Ms. Hackborn indicates, that's not really what tablets are for. And even if it were, RoR is

[android-developers] Re: custom dialog frame - how to get a pointy triangle edge

2011-03-30 Thread Nick Longinow
Then that's what I'll do. Moving the triangle around randomly isn't very important. Thanks all. On Mar 29, 10:29 pm, Dianne Hackborn hack...@android.com wrote: No, use a 9-patch.  That said, if you want to actually position the triangle at different places in the border you probably will need

[android-developers] InputStream broken?

2011-03-30 Thread Nando
Hi, Been trying to use InputStream attached to a BT socket to read data from a SPP profile. But it doesn't work as expected, instead of waiting for the end of the data stream and receive it fully it breaks it in two or more chunks. To make it simple I picked the BluetoothChat sample from the SDK

Re: [android-developers] Re: ListView leaks memory II

2011-03-30 Thread Romain Guy
What exactly is leaking? What is the chain of references causing the leak? If what you are describing is true it would affect pretty much every Android application, which seems unlikely. On Wed, Mar 30, 2011 at 2:23 PM, Mark Murphy mmur...@commonsware.comwrote: On Wed, Mar 30, 2011 at 5:14 PM,

Re: [android-developers] Re: Secure Element - SmartMX

2011-03-30 Thread Robert O'Brien
Unless you have the keys to the SE to load an Applet you're out of luck. FWIW from hunting around, the best SE µSDCard solutions at the moment for developers is to get hold of one of the GD MSC Devkits https://www.cardsolutions-shop.com/shop/gi-de/article/3443. At least you'll know it will work

[android-developers] Re: ListView leaks memory II

2011-03-30 Thread ivan
When I use MAT to look at TmpTestActivity, I 1.) Open the OQL tab in MAT and type the following query select * from com.package name.TmpTestActivity and run the query 2.) I right click on one of the TmpTestActivity result rows and choose List Objecst - with incoming references ... the

[android-developers] Huawei Ascend

2011-03-30 Thread bob
Can someone tell me if the Huawei Ascend works for Android development? I got one, and I'm stuck here in Eclipse: http://i1190.photobucket.com/albums/z449/m75214/ascend-phone.png Any ideas? -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: Android 3.0-Tabhost

2011-03-30 Thread Zsolt Vasvari
I guess this appropriate to ask here: Has anyone converted their tabbed pre-3.0 app to the Action Bar paradigm while maintaining a fallback to the old style tabs? In other words, does anybody have an app that works on both 3.0 and pre-3.0 and appropriately selects tabs or the Action Bar? If so,

Re: [android-developers] Huawei Ascend

2011-03-30 Thread Mark Murphy
If that is Windows, make sure you have the proper device drivers: http://developer.android.com/sdk/oem-usb.html On Wed, Mar 30, 2011 at 7:03 PM, bob b...@coolgroups.com wrote: Can someone tell me if the Huawei Ascend works for Android development? I got one, and I'm stuck here in Eclipse:

Re: [android-developers] Re: Android 3.0-Tabhost

2011-03-30 Thread Mark Murphy
On Wed, Mar 30, 2011 at 7:09 PM, Zsolt Vasvari zvasv...@gmail.com wrote: I guess this appropriate to ask here: Has anyone converted their tabbed pre-3.0 app to the Action Bar paradigm while maintaining a fallback to the old style tabs?  In other words, does anybody have an app that works on

[android-developers] Re: Huawei Ascend

2011-03-30 Thread bob
Ok. I just had to turn on USB debugging in the phone setup on the actual device. It works now. On Mar 30, 6:09 pm, Mark Murphy mmur...@commonsware.com wrote: If that is Windows, make sure you have the proper device drivers: http://developer.android.com/sdk/oem-usb.html On Wed,

[android-developers] Re: ListView leaks memory II

2011-03-30 Thread ivan
I just ran the ApiDemos app (from SDK 7) in a stand alone emulator. I went to List1, then back, then to List2, then back, then back to List1, etc... then: 1.) I used adb shell ps to view the process id. 2.) I used adb kill -10 pid to kill the process and dump an hprof 3.) I pulled the hprof from

[android-developers] Re: Need Help to Develope my first Android Project.

2011-03-30 Thread Indicator Veritatis
It is also going to look really bad ad a collage;) On Mar 30, 2:13 pm, Miguel Morales therevolti...@gmail.com wrote: Why don't you just do it yourself?  I thought college was a place to learn to do things in the real world. You won't get help like this in the real world. On Wed, Mar 30, 2011

[android-developers] Re: My application web on Android

2011-03-30 Thread Indicator Veritatis
'Web app'? That sounds like Javascript. This Google Group is really for Java using the Android SDK. On Mar 30, 3:49 am, Pkey pke...@gmail.com wrote: Hi guys, i'm new in the Android world, and it's wonderfull!! I need any help or manual or guide to bring my web application on Android. But I

[android-developers] Re: Help me please

2011-03-30 Thread Indicator Veritatis
Now that is hard to believe -- unless ADB isn't even running. Check to make sure it is by opening a console/terminal window and typing 'adb devices'. It is, alas, common to have to stop and re-start the adb server to get logcat output to appear. Even when there are no bugs, the phone produces

[android-developers] Re: My application web on Android

2011-03-30 Thread JAlexoid (Aleksandr Panzin)
http://lmgtfy.com/?q=How+to+Mobile+Web+Site All your answers there ;) On 30 мар, 13:49, Pkey pke...@gmail.com wrote: Hi guys, i'm new in the Android world, and it's wonderfull!! I need any help or manual or guide to bring my web application on Android. But I don't know how to start with this

[android-developers] Re: Google maps Android function

2011-03-30 Thread Piyush Hari
Re: 3) I have a large list of addresses (540 pcs.) How to determine longitude mass and width (to refer to them on the map)? I am developing a map based application to allow pet owners to exchange pet sitting and I had similar questions before finding the solution. Try using the Google Service

Re: [android-developers] Re: ListView leaks memory II

2011-03-30 Thread Mark Murphy
On Wed, Mar 30, 2011 at 7:45 PM, ivan istas...@gmail.com wrote: I just ran the ApiDemos app (from SDK 7) in a stand alone emulator. I went to List1, then back, then to List2, then back, then back to List1, etc... then: 1.) I used adb shell ps to view the process id. 2.) I used adb kill -10

[android-developers] Re: Android sdk (s) not working

2011-03-30 Thread Indicator Veritatis
I wouldn't worry about the message about the latin keyboard. I see it from time to time too, and my programs work fine after getting past that. What you should worry about is that 'com.example.android.contactmanager', has stopped unexpectedly. message. When I see the like, I check the logcat

[android-developers] Re: Android dev phone

2011-03-30 Thread JAlexoid (Aleksandr Panzin)
It's a re-branded LG Optimus One. You can definitely do development on the device. Full specs for Optimus One are here http://www.gsmarena.com/lg_optimus_one_p500-3516.php On 30 мар, 20:59, bob b...@coolgroups.com wrote: Just to confirm - can I do Android dev on this phone?

Re: [android-developers] how to delete images files stored in Android phone gallery

2011-03-30 Thread TreKing
On Tue, Mar 29, 2011 at 7:54 AM, sourabh sourabh.zal...@gmail.com wrote: String selectedFilePath = content:/media/external/images/media/22; That is not a file path. - TreKing

Re: [android-developers] to display image

2011-03-30 Thread TreKing
On Tue, Mar 29, 2011 at 5:01 AM, yogeshkumar tiwari yogeshtiwari2...@gmail.com wrote: How to display images from drawable in listview. How to ask questions the smart wayhttp://www.catb.org/~esr/faqs/smart-questions.html Also, read the documentation.

Re: [android-developers] Failed to rename directory

2011-03-30 Thread TreKing
On Tue, Mar 29, 2011 at 6:51 AM, Mohammad Abu Hmead mohammad.ka...@gmail.com wrote: Please Help me, what i shall do? Google the error? I've read the tools don't like spaces in file paths ... -

[android-developers] Re: Disable a particular row in list view onCreate

2011-03-30 Thread lbendlin
Think about it from the user's perspective. They see a table row, and they expect to be able to interact with it. All you'll achieve is frustrating the users. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: sublist

2011-03-30 Thread Indicator Veritatis
TreKing's humor does not always survive translation from English to English;) But he had a valid point. The way you asked the question guarantees no better answer than that. Read the link he referred you to and practice the principles described there. Then you will get a better answer. And use the

[android-developers] Re: Vertical text

2011-03-30 Thread lbendlin
Why not just rotate the canvas for that view? -- 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: Failed to rename directory

2011-03-30 Thread lbendlin
run the update again. There are some circular dependencies that make it fail at times. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

[android-developers] Re: Monkeyrunner not capturing screenshot correctly

2011-03-30 Thread lbendlin
Are you taking the screenshots from the framebuffer? You may want to use a more higher level function that will only execute when the whole screen is blitted. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Mapview not touchable

2011-03-30 Thread lbendlin
did you set mMapView.setEnabled(true); mMapView.setClickable(true); ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

[android-developers] parsing only one tag from an XML file at a time

2011-03-30 Thread Siva Kannabiran
hi in my app i am parsing two xml files both stored in my projects resource folder. I have parsed both of my files. The first file must be viewed as a listed one and i have done it. My second xml file consists of a tag named as info. i am able to count the size ie number of tags named as info.

Re: [android-developers] Re: encryption and decryption DES

2011-03-30 Thread TreKing
On Tue, Mar 29, 2011 at 12:36 PM, jaafar zbeiba jaafarinformati...@gmail.com wrote: sorry I'm still a beginner so what's the solution ? Learn Java. No, seriously. - TreKing

Re: [android-developers] parsing only one tag from an XML file at a time

2011-03-30 Thread TreKing
On Wed, Mar 30, 2011 at 7:49 PM, Siva Kannabiran sivasanka...@gmail.comwrote: how to proceed this... if you can pls explain me with an example How to proceed with what? You posted a general description of what you're kind-a, sort-a trying to do with no clear explanation of what you're

Re: [android-developers] How implement live wallpaper?

2011-03-30 Thread a a
very very thanks, you are kinder then marcin orlowski, ^ __ ^ 2011/3/30 String sterling.ud...@googlemail.com: On Wednesday, March 30, 2011 10:55:19 AM UTC+1, harvey wrote: i am so sorry about disturb you, because i am a beginner android, sorry. Especially if you're a beginner, you should be

[android-developers] Draw event not moving bitmap

2011-03-30 Thread Noobs41bot
hey guys-- I am just getting started with some game development here and was messing around with some examples i found and some of the lunar lander stuff. but I am having trouble on updating the location of the bitmap (lander). its actually working but on my action move event after i update the

Re: [android-developers] Android Show Data from different SQLite Tables in ListActivity

2011-03-30 Thread lbendlin
alternatively, use your own logic during the listview cell rendering. Gives you more flexibility and you don't need to rename fields. -- 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: Video Call Recording Feature

2011-03-30 Thread Goodwin
hi Guna, How did you work for Voice call Recording? Could you help to share it ? Guna 写道: Hello all, I am working on Video Call Recording feature on 2.3, and wondering if this is possible with out any framework changes I mean as a stand alone application. Till now I have written the

Re: [android-developers] Finding ant_rules_r3.xml?

2011-03-30 Thread Xavier Ducrohet
As Mark said, the files have moved and were renamed. ant_rules_r#.xml used to be in the platform folder, but they are now in the tools folder under ant/ This is because we can now have a single rule file to compile against any platform. The custom Ant task setup (com.android.ant.SetupTask)

[android-developers] Re: WebView Animation Problem

2011-03-30 Thread Doug
It sounds like you need support from Phonegap directly. Doug On Mar 29, 2:10 pm, Anas Jaghoub anasjagh...@gmail.com wrote: Please help me to find a solution for my problem :) On Mar 28, 9:31 pm, Anas Jaghoub anasjagh...@gmail.com wrote: Hi there, Hope you are fine, Actually this is my

[android-developers] Re: Designing a barcode app which doesnt sign your life away

2011-03-30 Thread lbendlin
This is slightly off topic but here's a nice little story from Germany http://www.zeit.de/datenschutz/malte-spitz-data-retention -- 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: Android Mp3 Intent: Shazam does it, how do we?

2011-03-30 Thread Ari
Have you found a solution for this? -- 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] Memory management - is usage of direct arguments bad?

2011-03-30 Thread lbendlin
I am trying to become friends with MAT, and have a halfway meaningful conversation with it. I noticed that a lot of my direct argument strings seem to be dangling around, from code lines like return Database update complete; or publishProgress(Completing data import); Is that bad

Re: [android-developers] Re: Android Mp3 Intent: Shazam does it, how do we?

2011-03-30 Thread Rich Schiavi
Nope. Amazon must only provide access to certain people Aloha, Rich On Mar 30, 2011, at 3:11 PM, Ari a...@skyrockit.com wrote: Have you found a solution for this? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Android Eclipse plugin: setting background in wysiwyg didn't set background

2011-03-30 Thread David Karr
Is this the best place to ask about the Android Eclipse plugin? I just noticed that when I changed the background property of my main layout in the wysiwyg mode (Graphical Layout), it looks fine in the graphical mode, but it doesn't appear to have changed the actual layout file. The display

[android-developers] Re: Android Eclipse plugin: setting background in wysiwyg didn't set background

2011-03-30 Thread David Karr
Just so it's clear, I then manually added the property setting to the XML view and then ran on the emulator, and the background was changed. -- 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: Android Show Data from different SQLite Tables in ListActivity

2011-03-30 Thread Zsolt Vasvari
You can simply change the SQL statement to SELECT * FROM edition AS _id, magazine WHERE edition.magazine_id = magazine.magazineId provided that edition is what you want to use as the key On Mar 30, 1:59 am, marceo m.oer...@googlemail.com wrote: Hey, I got an ListActivity which gets its Data

[android-developers] Is there equivalent of java.awt on Android

2011-03-30 Thread Aman Bhardwaj
Basically I am trying to create a imagecomparison lib and was wondering if java.awt equivalent exists for android. Thanks, ~Aman -- 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] why no grep

2011-03-30 Thread Aman Bhardwaj
android shell lacks grep, any idea why? why google choose to leave grep out of android, i miss the awesomely useful grep I am hoping there was good reason for it, -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Application crashing due to CheckBoxPreference error

2011-03-30 Thread agrosner
03-30 21:53:29.054: ERROR/AndroidRuntime(270): java.lang.RuntimeException: Unable to create service com.wisdm.collector.CollectionService: java.lang.IllegalArgumentException 03-30 21:53:29.054: ERROR/AndroidRuntime(270): at android.app.ActivityThread.handleCreateService(ActivityThread.java:

Re: [android-developers] Re: Application crashing due to CheckBoxPreference error

2011-03-30 Thread TreKing
On Wed, Mar 30, 2011 at 10:37 PM, agrosner agros...@fordham.edu wrote: 03-30 21:53:29.054: ERROR/AndroidRuntime(270): Caused by: java.lang.IllegalArgumentException 03-30 21:53:29.054: ERROR/AndroidRuntime(270): at java.util.Timer.scheduleAtFixedRate(Timer.java:528) 03-30 21:53:29.054:

Re: [android-developers] Re: Vertical text

2011-03-30 Thread a a
the name of the vertical text is texture is it? 2011/3/31 lbendlin l...@bendlin.us: Why not just rotate the canvas for that view? -- 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] Re: Vertical text

2011-03-30 Thread Nasif Noorudeen
there is one vertivcal label view sample code there in google code On Thu, Mar 31, 2011 at 10:22 AM, a a harvey.a...@gmail.com wrote: the name of the vertical text is texture is it? 2011/3/31 lbendlin l...@bendlin.us: Why not just rotate the canvas for that view? -- You received this

[android-developers] Re: Is there equivalent of java.awt on Android

2011-03-30 Thread Zsolt Vasvari
No, it's impossible to create a user interface with an Android device. On Mar 31, 10:44 am, Aman Bhardwaj aman.bhard...@gmail.com wrote: Basically I am trying to create a imagecomparison lib and was wondering if java.awt equivalent exists for android. Thanks, ~Aman -- You received this

[android-developers] Re: Video Call Recording Feature

2011-03-30 Thread Guna
Please let me know whether Video Call Recording is possible on Android Phones any version On Mar 30, 9:26 am, Guna skarthikare...@gmail.com wrote: Hello all, I am working onVideoCallRecording feature on 2.3, and wondering if this is possible with out any framework changes I mean as a stand

[android-developers] Re: (Full) NFC support for Android (on a Nexus S, specifically)

2011-03-30 Thread nadam
It would be nice to get a hint on when card emulation will be added as an official feature of the SDK. It's already mentioned in the source code (NfcAdapter.java) but hidden with @hide. /** * Card Emulation mode Enables the manager to act as an NFC tag. Provided * that a Secure

<    1   2   3