[android-developers] Re: ldd for android

2011-05-21 Thread Chris Stratton
On Friday, May 20, 2011 5:28:45 AM UTC-4, wasabee18 wrote: there is no ldd for android available in the ndk. is it available somewhere else ? It is useful when troubleshooting libraries. You should be able to get that information from readelf or objdump, which are supplied -- You

Re: [android-developers] How to create future SMS

2011-05-21 Thread Saurav
AFAIK, pending intents with alarm manager shud work, can u provide the code that u r using, there might be something wrong. Regards, Saurav Mukherjee. On Fri, May 20, 2011 at 9:57 AM, HariRam hariram1...@gmail.com wrote: Hi Guys, I am doing SMS application and i have a idea to integrate

[android-developers] Re: Comments/Ratings not showing up on Market

2011-05-21 Thread Zsolt Vasvari
Yes, same for me -- I even had the user blow away the cached Market data and still, he says he can see his own commnent, but nobody else can. As unbelievable as that sounds -- the Android Market team had managed to pull off the improbablity of introducing a bug where a comment only shows up for

[android-developers] Re: Comments/Ratings not showing up on Market

2011-05-21 Thread webmonkey
Maybe they are working on a comment rating system like Amazon? When they improve something, it usually breaks first, so it could be good sign ;-) On May 21, 8:39 am, Zsolt Vasvari zvasv...@gmail.com wrote: Yes, same for me -- I even had the user blow away the cached Market data and still, he

[android-developers] Re: How to get class file from APK.

2011-05-21 Thread p1r4t0s
Try: code.google.com/p/android-apktool/ On 20 mayo, 19:08, Justin Anderson magouyaw...@gmail.com wrote: You've already asked this question and it has been answered.  Please do not double-post. Thanks, Justin Anderson MagouyaWare Developerhttp://sites.google.com/site/magouyawareOn Wed, May

[android-developers] Re: Null Pointer Exception on accessing value of EditText

2011-05-21 Thread Ankur Kumar
Thanks for the help TreKing and Gaurav! On May 21, 12:14 am, gaurav gupta gaurav.gupta...@gmail.com wrote: First set any value in edittext then u can get value .    1.  EditText IPInput = (EditText) findViewById(R.id.ip); iPinput.setText(Value inserted successfully);                        

[android-developers] P2P on NFC

2011-05-21 Thread mduffy215
Has anyone been able to establish a P2P connection between an Android phone and an NFC reader/writer? The ACR122U NFC Reader from ACS has P2P capabilities (http:// www.acs.com.hk/index.php?pid=productid=ACR122U); however, I have only seen one post on another news group where someone attempted and

Re: [android-developers] Need to create Android toggle button in Iphone style

2011-05-21 Thread gaurav gupta
u can use two images like Iphone Ul. interchane them on its onclick. On Fri, May 20, 2011 at 12:28 AM, Balraj Singh balrajbalraj...@gmail.comwrote: Hi, I have a requirement to create a toggle button in Android but in Iphone style something as shown in link below:-

Re: [android-developers] Need to create Android toggle button in Iphone style

2011-05-21 Thread Robin Talwar
Going out for an interview at vinsol??? they expect you to make a custom button so do some RND on how to entend the view and create a custom view :) On Sat, May 21, 2011 at 2:27 PM, gaurav gupta gaurav.gupta...@gmail.comwrote: u can use two images like Iphone Ul. interchane them on its

Re: [android-developers] urgent help

2011-05-21 Thread neha jain
Treking If u have answer than plz send me the code or suggest me some sip development group. On Fri, May 20, 2011 at 9:33 PM, Robin Talwar r.o.b.i.n.abhis...@gmail.comwrote: Hey treking why dont you send the same code to her the one you send me when i was stuck in same trouble but somehow i

[android-developers] Performance gains using final Java construct

2011-05-21 Thread andrew
I was exploring performance recommendations on Android and read this page: http://developer.android.com/guide/practices/design/performance.html I note that it only partially covers use of the final Java construct (specifically for constants), which is covered in generic Java discussions on

Re: [android-developers] Appwidget RemoteViews copy

2011-05-21 Thread Filip Havlicek
And? What's the problem with combining the AsyncTask and toast+bail? 2011/5/20 Niall twom...@gmail.com I'm afraid it might take ten seconds. It depends on the connection to the Internet. Thanks for your thought, though. I used have it like that. But I migrated the updating to an AsyncTask

[android-developers] Re: FragmentPager component?

2011-05-21 Thread Stephen
Is any information available on the relative advantages/disadvantages/ differences between the mentioned FragmentPager and the Workspace widget in the IO2011 app (source here: http://code.google.com/p/iosched/source/browse/android/src/com/google/android/apps/iosched/ui/widget/Workspace.java )? I

Re: [android-developers] Stack overflow

2011-05-21 Thread Mark Murphy
On Fri, May 20, 2011 at 10:27 PM, Julius Spencer jul...@msa.co.nz wrote: After attending IO and talking to the engineers, I was told to put questions on stack overflow.  I was wondering - how do I get people to look at these? Based on the last set of stats I ran, 83% of questions posted on

Re: [android-developers] 9patch only stretchable

2011-05-21 Thread Mark Murphy
On Sat, May 21, 2011 at 1:54 AM, Ralph Bergmann ra...@dasralph.de wrote: Is a 9-patch only stretchable or is it also compressible? No, it is only stretchable, AFAIK. What happens when the 9-patch is too big? Rupture in the space-time continuum. Or, possibly, it is scaled down just like a

[android-developers] Problem with Dialog ID

2011-05-21 Thread luiX_
Hi, I was trying to have a class for generating a Dialog that is quite common in my app, the idea is to call this method from different classes onCreateDialog method, so I wrote this piece of code: public class DialogGenerator extends Activity { public static final int DIALOG = 33; public

[android-developers] Re: Problem with Dialog ID

2011-05-21 Thread luiX_
well... just figured it out :P I've just changed the create dialog method like this (in bold the parts changing): public Dialog create(*final Activity activity*, String title, String message, int icon, final int dialogIdCode) { AlertDialog.Builder builder = new AlertDialog.Builder(*activity*);

Re: [android-developers] Re: Problem with Dialog ID

2011-05-21 Thread Kostya Vasilyev
Your original code instantiated a subclass of Activity (DialogGenerator). Don't do this - Activity (and Service and other things) are instantiated and managed by Android. If you do, those objects won't be properly connected to the internals of Android, as you already discovered. I don't see

Re: [android-developers] Re: How to capture system warnings in application ?

2011-05-21 Thread Chris Stratton
On Friday, May 20, 2011 6:16:39 PM UTC-4, TreKing wrote: On Fri, May 20, 2011 at 4:43 PM, chcat vlya...@gmail.com wrote: OK. Asynchronous notification, like exception handler in application code to receive that warning from OS. The warning in the logcat just indicate that the app / system

Re: [android-developers] Re: PDF Reader in Android OS

2011-05-21 Thread DebUggEr
Khanh, Please search code.google.com for droid reader. It is full implementation for you. Of course if you are a beginner you will need someone to guide you how to understand it. Also, try to put more understanding to your questions. Sincerely, Jehandad -- You received this message because

Re: [android-developers] Re: How to capture system warnings in application ?

2011-05-21 Thread Dianne Hackborn
Also don't count on being able to do that in the future. Note that even though there is a permission, there is not actually a public API to read the logs, so any attempt to do so requires the use of private APIs that may not be supported in the future. Also since there have been continual issues

[android-developers] HELLO WORLD PROBLEM

2011-05-21 Thread Mustafa Elbehery
I was running the Helloworld tutorial, when I had a message on the emulator saying the application launcher (process.com.android.launcher) has stopped unexpectedly. please try again. any suggestions coz its my third day on the same problem and im getting crazy :D -- You received this message

[android-developers] HELLO WORLD PROBLEM

2011-05-21 Thread Mustafa Elbehery
I was running the Helloworld tutorial, when I had a message on the emulator saying the application launcher (process.com.android.launcher) has stopped unexpectedly. please try again. any suggestions coz its my third day on the same problem and im getting crazy :D -- You received this message

Re: [android-developers] HELLO WORLD PROBLEM

2011-05-21 Thread Mohammed Hossain Doula
What is your LogCat stating??? On Sat, May 21, 2011 at 11:38 PM, Mustafa Elbehery eng.m.beh...@gmail.comwrote: I was running the Helloworld tutorial, when I had a message on the emulator saying the application launcher (process.com.android.launcher) has stopped unexpectedly. please try

Re: [android-developers] urgent help

2011-05-21 Thread TreKing
On Fri, May 20, 2011 at 3:33 PM, Robin Talwar r.o.b.i.n.abhis...@gmail.comwrote: Hey treking why dont you send the same code to her the one you send me when i was stuck in same trouble but somehow i dont have that now :) You'll forgive if I don't recall for I post a lot in this group, but I

[android-developers] Save to SD

2011-05-21 Thread kypriakos
I am saving jpeg image on sdcard through an activity - about 1 MB takes literally close to an hour ... is that normal? Thanks -- 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] HELLO WORLD PROBLEM

2011-05-21 Thread Rakshith S Kumar
The problem might be with your AVD's (Android Virtual Device) skin. Try choosing a different on in the built- in column. It worked for me.. :) On Sat, May 21, 2011 at 11:08 PM, Mustafa Elbehery eng.m.beh...@gmail.comwrote: I was running the Helloworld tutorial, when I had a message on the

Re: [android-developers] Save to SD

2011-05-21 Thread Mark Murphy
On Sat, May 21, 2011 at 1:55 PM, kypriakos demet...@ece.neu.edu wrote: I am saving jpeg image on sdcard through an activity - about 1 MB takes literally close to an hour ... is that normal? No. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

[android-developers] Layouts in Jars?

2011-05-21 Thread Simon Platten
I have several applications that are very similiar in framework, but different in content. I would like to standardise these applications as much as possible. Is it possible to create a Jar that contains a base class activity and the layout resource. Then create applications that import that

Re: [android-developers] Layouts in Jars?

2011-05-21 Thread Mark Murphy
On Sat, May 21, 2011 at 2:13 PM, Simon Platten simonaplat...@googlemail.com wrote: I have several applications that are very similiar in framework, but different in content.  I would like to standardise these applications as much as possible.  Is it possible to create a Jar that contains a base

Re: [android-developers] urgent help

2011-05-21 Thread neha jain
Thanx 4 rply I can solve my problem.No need of ur code... On Sat, May 21, 2011 at 11:11 PM, TreKing treking...@gmail.com wrote: On Fri, May 20, 2011 at 3:33 PM, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: Hey treking why dont you send the same code to her the one you send me when i

[android-developers] Re: Java Guru needed -- compiler bug?

2011-05-21 Thread Streets Of Boston
I'm purely guessing here, but i may have to do with the fact that methods can be overridden and especially overloaded. -- 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

Re: [android-developers] Layouts in Jars?

2011-05-21 Thread Simon Platten
Thank you, I'll take a look On 21/05/2011 7:23 PM, Mark Murphy wrote: On Sat, May 21, 2011 at 2:13 PM, Simon Platten simonaplat...@googlemail.com wrote: I have several applications that are very similiar in framework, but different in content. I would like to standardise these applications

Re: [android-developers] Stack overflow

2011-05-21 Thread Julius Spencer
Wow, thank you everyone for the answers! I suspect the questions may be too niche which is why I'm not having much luck. Cheers, Julius. On 21/05/2011, at 10:51 PM, Mark Murphy wrote: On Fri, May 20, 2011 at 10:27 PM, Julius Spencer jul...@msa.co.nz wrote: After attending IO and talking

[android-developers] Context LocationManager

2011-05-21 Thread cellurl
Obviously, I don't fully context. Q: How do I get the second lm_distance variable to not be null below. Thanks for any leads! -cellurl package org.wikispeedia.com.example.android.simplewiktionary4; public class Translate extends Activity implements

Re: [android-developers] Context LocationManager

2011-05-21 Thread TreKing
On Sat, May 21, 2011 at 4:41 PM, cellurl gpscru...@gmail.com wrote: Q: How do I get the second lm_distance variable to not be null below. Q: Does that even compile? - TreKing

[android-developers] Re: Image Picker and Cropper

2011-05-21 Thread neuromit
yes it is. I guess I should have specified that. From my app I'd like to let the user pick an image and then crop it but I want to enforce a specific Width x Height ratio and I was wondering if there was something in the SDK to do this. On May 15, 9:24 pm, Nicholas Johnson

Re: [android-developers] Re: Image Picker and Cropper

2011-05-21 Thread Mark Murphy
Picking an image, yes. Cropping an image, no. There is some undocumented cropping activity somewhere (Gallery app?), but it does not work on all devices and, as noted, is not documented. And even that probably will not let you enforce a specific Width x Height ratio. Anything that specific would

[android-developers] OpenGL on Original Droid stutters

2011-05-21 Thread niko20
Hi I've been experimenting with the NDK san-angeles example in android- ndk-r5b for doing OpenGL. However, I've trimmed out all code in the sample and instead changed it to simply display one texture mapped cube that rotates (to learn OpenGL ES). I have a OpenGL window of 480x320. I do a simple

[android-developers] Re: Context LocationManager

2011-05-21 Thread cellurl
it doesn't single step well. Ok, spank me, then give me a hint. On May 21, 5:07 pm, TreKing treking...@gmail.com wrote: On Sat, May 21, 2011 at 4:41 PM, cellurl gpscru...@gmail.com wrote: Q: How do I get the second lm_distance variable to not be null below. Q: Does that even compile?

Re: [android-developers] Re: Context LocationManager

2011-05-21 Thread TreKing
On Sat, May 21, 2011 at 5:40 PM, cellurl gpscru...@gmail.com wrote: it doesn't single step well. I don't know what that means. Ok, spank me, then give me a hint. Why not just pass the location manager to the SpeedLimit constructor ... ?

[android-developers] Re: Context LocationManager

2011-05-21 Thread cellurl
Why not just pass the location manager to the SpeedLimit constructor ... ? I am trying to create a library that people will link to to get the speedlimit. It should do everything under the covers, if possible. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Context LocationManager

2011-05-21 Thread TreKing
On Sat, May 21, 2011 at 6:03 PM, cellurl gpscru...@gmail.com wrote: I am trying to create a library that people will link to to get the speedlimit. It should do everything under the covers, if possible. How is this any less under the covers, considering Speedlimit is already an inner class?

[android-developers] Socket on Android Mobile

2011-05-21 Thread ingy abbas
what if i want to connect my android mobile with my Pc server to be able that my mobile to send my data ( my current location ) !! the socket between mobile android and pc (SERVER) cant be happen any suggestion ?? its only work when using the android emulator -- You received this message because

[android-developers] Filter specific data from cursor before ListView. How?

2011-05-21 Thread Gabriel Simões
Hello, I´ve been searching on the web and here for information but couldn´t find anything related to this problem so I hope you can help me. I´m retrieving information from 2 diferent content providers that are related. Information from one content provider (songs list) should define the rules to

Re: [android-developers] Re: PDF Reader in Android OS

2011-05-21 Thread khanh_qhi™
Hi, My problem is that I want to read an ebook file(PDF extension), but not depend on and pdf viewer app(because it may be slow down program). So, I need an open source to view it, I think it will faster than I use on pdf viewer application. Can you show me how to solve this one? On Sat, May 21,

Re: [android-developers] Re: PDF Reader in Android OS

2011-05-21 Thread khanh_qhi™
To be specific, I need a lib to read pdf files and the output of each page will be an image stream. On Sun, May 22, 2011 at 7:55 AM, khanh_qhi™ khanhqh20...@gmail.com wrote: Hi, My problem is that I want to read an ebook file(PDF extension), but not depend on and pdf viewer app(because it may

Re: [android-developers] Re: PDF Reader in Android OS

2011-05-21 Thread Kristopher Micinski
People have already provided you with a multitude of answers here. And you said yourself, use something like pdfbox. If you haven't received answers so far that meet your needs, you probably will not. Also, you said: My problem is that I want to read an ebook file(PDF extension), but not

[android-developers] Re: ListView, onFling(horizontal), gesture issues

2011-05-21 Thread Doug
On May 18, 3:06 pm, Wall-E bashee...@gmail.com wrote: I'm also noticing that in my layout that I inflate inside the ListView, if I include a CheckBox, the behavior for the onClick for the ListView isn't working, meaning, usually when you click/touch the item in the ListView, it will be

Re: [android-developers] Re: FragmentPager component?

2011-05-21 Thread Dianne Hackborn
I wouldn't be the person to answer that, sorry. On Sat, May 21, 2011 at 3:37 AM, Stephen stephen.wil...@gmail.com wrote: Is any information available on the relative advantages/disadvantages/ differences between the mentioned FragmentPager and the Workspace widget in the IO2011 app (source

[android-developers] Re: User dictionary in Settings

2011-05-21 Thread Jaden Pak
Thanks a lot for your answer, Brill! As a smartphone tester, I just wanted to know physical database information, but user dictionary contents are only used through content provider as you said. I thought I could find out which is the real table for user dictionary just by checking some java

Re: [android-developers] 9patch only stretchable

2011-05-21 Thread Romain Guy
The behavior of 9-patch is undefined when shrunk. In practice you will see overlaps of the various sections of the 9patch. Don't do it :) On Sat, May 21, 2011 at 6:53 AM, Mark Murphy mmur...@commonsware.comwrote: On Sat, May 21, 2011 at 1:54 AM, Ralph Bergmann ra...@dasralph.de wrote: Is a

[android-developers] Re: MediaPlayer blocked(AudioFlinger write blocked) while playing animation

2011-05-21 Thread quill
Any suggestion? On May 20, 3:17 pm, quill quill...@163.com wrote: Hi all, I have a thread to play audio and animation together. It's a frame animation. The drawable resources are in sdcard. When I play the animation, I use a handler to send message to refresh images one by one. Here's my

[android-developers] Re: Comments/Ratings not showing up on Market

2011-05-21 Thread John Gaby
I have had this happen at least 3 times. A user told me that they has submitted a review, but I could not see it. I asked them about it and they send me a screen shot clearly showing the review, however, when I looked at the same page it simply was not there. There is something definitely fubar

[android-developers] Re: Context LocationManager

2011-05-21 Thread james pruett
Thanks for that. I don't know how to trigger events here? Any suggestions? -- SpeedlimitListener speedlimitListener; speedlimitListener = new SpeedlimitListener() { public void onSpeedLimitChanged(String speedlimit) { } };

Re: [android-developers] Re: Context LocationManager

2011-05-21 Thread TreKing
On Sat, May 21, 2011 at 10:21 PM, james pruett gpscru...@gmail.com wrote: I don't know how to trigger events here? Any suggestions? That would depend on what you're trying to do and I don't know what that is.

[android-developers] Re: Context LocationManager

2011-05-21 Thread cellurl
I want to create a library that people link to. It tells them when the speedlimit changes. I have it all working, just not the library part. It would have methods like: SpeedlimitListener(); requestSpeedlimitChanges( speedlimitListener ); In my mind, its very similar to LocationManager. In my

Re: [android-developers] Re: PDF Reader in Android OS

2011-05-21 Thread DebUggEr
Thats what droid reader and pdf readers do, they use c library in jni folder of their source. Can you show me how to solve this one? I believe you dont understand the full scale of this project. Its time taking and cant be done through emails or even skype. I also have a hint that you are

Re: [android-developers] Re: Context LocationManager

2011-05-21 Thread TreKing
On Sat, May 21, 2011 at 11:38 PM, cellurl gpscru...@gmail.com wrote: I have it all working, just not the library part. You will need to provide more information than just not the library part if you expect anyone to understand what you're having trouble with.