[android-developers] Re: How to remove XML child having same name

2011-06-28 Thread Zsolt Vasvari
Thank you kumar, I Hope android developers knows Java well. What does Java have to do with XML and DOM -- 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

[android-developers] Re: how to get phone number through other method

2011-06-28 Thread Ellen
thanks for your reply! I have set the permission for READ_PHONE_STATE. it couldn't get the phone number, because the Internet Operator didn't store this info to SIM card, and TelephonyManager.getLine1Number() seems only could read phone number from the SIM card :( So, any other ideas? On

[android-developers] Re: how to get phone number

2011-06-28 Thread Ellen
hello, anybody here .. On 6月26日, 下午1时56分, Ellen ellen...@hotmail.com wrote: Dear Android Experts, I'm trying togetthe SIMnumberby TelephonyManager.getLine1Number(), permision has been set READ_PHONE_STATE. As many thread discussed before, it couldn't work in a real device due to the

[android-developers] Re: Android application blocked by Market for Motorola Xoom

2011-06-28 Thread laminina
I'm also able to install your package in my Xoom. Something that brings to my mind is which ROM version does the Xoom you have is currently using. Another thing you can do, is download the android system info on that Xoom and check the system features available, just to see if it matches with all

[android-developers] Re: how to get phone number

2011-06-28 Thread Zsolt Vasvari
Creating more threads won't get you an answer faster -- quite the opposite. On Jun 28, 2:14 pm, Ellen ellen...@hotmail.com wrote: hello, anybody here .. On 6月26日, 下午1时56分, Ellen ellen...@hotmail.com wrote: Dear Android Experts, I'm trying togetthe SIMnumberby

[android-developers] Android Honeycomb 3.1 webclient with flash content - not working :-(

2011-06-28 Thread MarkG123
I am trying to embed a webclient in my app, and the page has flash content, i'm pretty sure it's loading the flash, but it's not displaying it. Anyone know the problem? public class FlashTestActivity extends Activity { final Activity activity = this; /** Called when the activity is first

[android-developers] Re: Recommendations on Screenshot formats?

2011-06-28 Thread MarcoAndroid
Yeah I used to do this too, using DDMS, no problems with weird cropping. With my recent new app I uploaded Galaxy S2 screenshots 480x800, showing the cropping problem. Maybe that's the difference: DDMS vs real phone... On 28 jun, 01:14, rich friedel rich.frie...@gmail.com wrote: I just take

[android-developers] Re: Screenshots that are uploaded to the marketplace are cropped.

2011-06-28 Thread MarcoAndroid
In case you haven't seen this thread yet: http://groups.google.com/group/android-developers/browse_thread/thread/9fa04470b4b61beb/ff1d27cd8e77d0be -- 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: ListView is no clickable

2011-06-28 Thread Ali Chousein
Manish, A very basic question, but did you by change forget to put @Override before the declaration of setOnItemClickListener? -- Ali Chousein Geo-Filtered Assistant http://geo-filtered-assistant.blogspot.com/ -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: how to get phone number through other method

2011-06-28 Thread JAlexoid (Aleksandr Panzin)
In a lot of cases it's impossible to get the phone number. My phone certainly does not report any phone number (Nexus S) On Jun 28, 9:12 am, Ellen ellen...@hotmail.com wrote: thanks for your reply! I have set the permission for READ_PHONE_STATE. it couldn't get the phone number, because the

[android-developers] Re: ListView is no clickable

2011-06-28 Thread Zsolt Vasvari
Basic Java Tip #129: @Override is an annotation for the compiler -- it has no effect on how the code is executed. I am 100% sure it's because of those missing attributes. I've wrestled with the same problem before. On Jun 28, 3:38 pm, Ali Chousein ali.chous...@gmail.com wrote: Manish, A

Re: [android-developers] Re: Android application blocked by Market for Motorola Xoom

2011-06-28 Thread Carlos Silva
On Tue, Jun 28, 2011 at 06:22, laminina jennys.jen...@gmail.com wrote: I'm also able to install your package in my Xoom. Something that brings to my mind is which ROM version does the Xoom you have is currently using. I have the stock 3.1 with root and changed kernel. -- You received this

[android-developers] Re: Android apps in php

2011-06-28 Thread JAlexoid (Aleksandr Panzin)
Looky here! http://www.phpforandroid.net/ I guess some people are just too lazy or stupid, or both to google php android and click on the very first result On Jun 27, 3:10 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Jun 27, 2011 at 8:07 AM, JAlexoid (Aleksandr Panzin)

[android-developers] Re: how to get phone number through other method

2011-06-28 Thread Zsolt Vasvari
Exactly. The phone # is not used for routing calls, so it's not at all surprising that the phone doesn't know its own number. On Jun 28, 3:56 pm, JAlexoid (Aleksandr Panzin) jalex...@gmail.com wrote: In a lot of cases it's impossible to get the phone number. My phone certainly does not report

[android-developers] Re: Android apps in php

2011-06-28 Thread Zsolt Vasvari
I don't think Goolge Search works in India. That's the only explanation. On Jun 28, 4:06 pm, JAlexoid (Aleksandr Panzin) jalex...@gmail.com wrote: Looky here!http://www.phpforandroid.net/ I guess some people are just too lazy or stupid, or both to google php android and click on the very

Re: [android-developers] Re: Android apps in php

2011-06-28 Thread Kostya Vasilyev
Huh? http://www.google.co.in/ And it's not like Google is the only way to search the Internet... Entering android php here: http://in.yahoo.com/ ... returns phpforandroid.net as the second result. -- Kostya 2011/6/28 Zsolt Vasvari zvasv...@gmail.com I don't think Goolge Search works in

Re: [android-developers] Re: Bluetooth Serial Port Question

2011-06-28 Thread wu mark
Dear Gis : I had copied the code from the URL that you shared( http://developer.android.com/resources/samples/BluetoothChat/index.html) But In my eclipse there are 2 error. 1.import android.app.ActionBar in the BluetoothChat.java can't be resolved. 2.DeviceListActivity.java can't find the

Re: [android-developers] Re: socket connect through a bluetooth issue

2011-06-28 Thread wu mark
Dear Indicator Veritatis : Thanks for your reply. I had coed 2 android API to pass the data from a BT Client to BT Server through the Bluetooth. It works. Now I want to pass the data from the BT client to a non-android server (for example, windows 7 server). So I try to use the

[android-developers] Re: Change grandient color for a shape programmatically

2011-06-28 Thread Paolo
Hi SofB thanks for your answer. I did it, but the problem is here. From ShapeDrawable object I don't figure out how to set the gradient color in the shape. Maybe I miss something, please give me a tip. http://developer.android.com/reference/android/graphics/drawable/ShapeDrawable.html On 27 Giu,

Re: [android-developers] Re: Looking for Android language translation partners

2011-06-28 Thread Rocky
We can do? let me details rkj...@hotmail.com On Tue, Jun 28, 2011 at 7:35 AM, Indicator Veritatis mej1...@yahoo.comwrote: I see the app is also getting rather poor ratings. I am sure this has nothing to do with the bad translations, but is due to poor performance of the app. Why would a dog

[android-developers] Re: Change grandient color for a shape programmatically

2011-06-28 Thread Paolo
Exactly! It seems the only way is to create a new GradientDrawable using the constructor programmatically. GradientDrawable(GradientDrawable.Orientation orientation, int[] colors) Do you think this is the only way? :| On 28 Giu, 10:47, Kostya Vasilyev kmans...@gmail.com wrote: How about

Re: [android-developers] Re: Change grandient color for a shape programmatically

2011-06-28 Thread Kostya Vasilyev
How about GradientDrawable instead? http://developer.android.com/reference/android/graphics/drawable/GradientDrawable.html ( I don't see any methods to set gradient colors, though ) -- Kostya 28.06.2011 12:40, Paolo пишет: Hi SofB thanks for your answer. I did it, but the problem is here.

[android-developers] Re: Change grandient color for a shape programmatically

2011-06-28 Thread Zsolt Vasvari
You set it in the consructor: GradientDrawable(GradientDrawable.Orientation orientation, int[] colors) On Jun 28, 4:47 pm, Kostya Vasilyev kmans...@gmail.com wrote: How about GradientDrawable instead? http://developer.android.com/reference/android/graphics/drawable/Grad... ( I don't see

[android-developers] Re: Change grandient color for a shape programmatically

2011-06-28 Thread Zsolt Vasvari
Do you think this is the only way? :| Yes, what's wrong with it? -- 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: Log file on device

2011-06-28 Thread EdwardComb
okay. so.. -d mean we dump everything in one shot to log.txt? thank's for the really helpful info! -- 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

Re: [android-developers] Re: Log file on device

2011-06-28 Thread Nikolay Elenkov
On Tue, Jun 28, 2011 at 6:04 PM, EdwardComb dzn.aie...@gmail.com wrote: okay. so.. -d mean we dump everything in one shot to log.txt? Yes. You can filter the output by specifying additional options to adb if you don't need everything. -- You received this message because you are subscribed to

[android-developers] Android emulator and real smartphone behaviour are different in lifecycle of activity

2011-06-28 Thread Zanarotti Michele
I written a game one months ago with andengine, wich extends the Activity class. I had no particular problem with emulation and running the activity. Now i'm developing a new game, based on the copy/pasted code from the first, but actually is more complex. However The activity lifecycle

[android-developers] How to disable transparent textures for one object?

2011-06-28 Thread MobileVisuals
One object should be displayed in front of 2 objects with transparent textures. The object in front should not be transparent, but I can not disable transparent textures for that object. I try with gl.glColor4f(0.7f, 0.7f, 0.7f, 1f); and gl.glDisable(GL10.GL_BLEND); This has however no effect

[android-developers] Re: Change grandient color for a shape programmatically

2011-06-28 Thread skink
Paolo wrote: Hi SofB thanks for your answer. I did it, but the problem is here. From ShapeDrawable object I don't figure out how to set the gradient color in the shape. Maybe I miss something, please give me a tip.

Re: [android-developers] Re: Android apps in php

2011-06-28 Thread Marcin Orlowski
On 28 June 2011 10:18, Kostya Vasilyev kmans...@gmail.com wrote: Huh? sarcasm is what you just missed :) Regards, Marcin Orlowski *Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy... *Date In Tray* http://bit.ly/dateintraypro - current date at glance... WebnetMobile on

Re: [android-developers] Re: NFC send Url p2p

2011-06-28 Thread Michael Roland
Hallo, Stringurl= http://example.com;; byte[] payload =url.getBytes(); NdefRecord ndefRecord = new NdefRecord(NdefRecord.TNF_ABSOLUTE_URI, NdefRecord.RTD_URI, new byte[0], payload); this works, however I am not sure whether it completely follows the NDEF spec. You are correct. This

[android-developers] Re: NFC Secure Element

2011-06-28 Thread Michael Roland
Hallo Dominik, What would be the use-case which requires access to the emulated Mifare card from within an android application? Or asked another way round: What could be done additionally compared to NDEF Push? Have a look at my reply a while ago in this thread:

[android-developers] battery status check

2011-06-28 Thread kaushik p
Hi all , Can we write a program to check if the phone is being charged or not ? For example , I keep my phone charging in some room at my house and i need to check if the phone is getting charged with out going near it .To get that information can i send a message to this cell phone from other

[android-developers] Re: Recommendations on Screenshot formats?

2011-06-28 Thread MarcoAndroid
Yup it's now a day later, images are looking fine now on my N1 in the market. So 320x480 seems the way to go. On 27 jun, 21:12, MarcoAndroid marco...@gmail.com wrote: Actually, just noticed that my screenshots of uploaded 480x800 format look in my phone'smarketexactly the same as the previews

Re: [android-developers] battery status check

2011-06-28 Thread Mystic Prowler
Juts asking, why is that when Android phones are charging or discharging, it shows in 10% intervals and below 20% it goes down to 5% intervals. Can it be changed to 1% intervals for more accuracy? On Tue, Jun 28, 2011 at 6:51 AM, kaushik p kaushiks...@gmail.com wrote: Hi all , Can we write a

Re: [android-developers] battery status check

2011-06-28 Thread Mark Murphy
See ACTION_BATTERY_CHANGED. On Tue, Jun 28, 2011 at 6:51 AM, kaushik p kaushiks...@gmail.com wrote: Hi all , Can we write a program to check if the phone is being charged or not ? For example , I keep my phone charging in some room at my house and i need to check if the phone is getting

Re: [android-developers] battery status check

2011-06-28 Thread Mark Murphy
On Tue, Jun 28, 2011 at 7:00 AM, Mystic Prowler coolmar...@gmail.com wrote: Juts asking, why is that when Android phones are charging or discharging, it shows in 10% intervals and below 20% it goes down to 5% intervals. Can it be changed to 1% intervals for more accuracy? That is up to the

[android-developers] sample pvrtc application.

2011-06-28 Thread Manu
hi i want to write a openGl application which uses the GLES2 ext which i couldnot find in the sdk(2.3.3). how can i use the constants openGl parameters defined in GLES2ext. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Install % not updating?

2011-06-28 Thread michael
I also have this problem. Active installs have not been updated for a week now, so active install ratio has dropped by 5%. As a result, the ranking of the app went from a stable 125 to 180+, and I am seeing a significant drop in downloads. Sigh... /Michael. On Jun 28, 4:10 am, Adam Ratana

[android-developers] Is it possible to create pdf files in android using 3rd party library

2011-06-28 Thread ABS
Hi All, I am new in android development, i am working on one application where i have to create pdf files through source code, Is it possible to use iText library in andoid? If someone have solution for my problem please let me know. Thanks in advance -- You received this

[android-developers] Re: ListView is no clickable

2011-06-28 Thread Manish Garg
Thanks a lot Zsolt. It works. i have used android:focusable=false , I didnt get why you have also suggested android:clickable=false. We want to that check box shoud get checked/unchecked. Will making it unclickable not make it disable or user will not be able to check it. On Jun 28, 3:58 am,

[android-developers] Browser - Orientation Change on Google home page - Focus is lost

2011-06-28 Thread Neha
Hi, I am working on Android Gingerbreead Platform. I am facing a particular issue with Google Homepage. This is related to screen orientation and context menu functioning. When I long press on some specific links on Google Homepage, for eg: iGoogle, a context menu opens. Now if I rotate the

[android-developers] Re: Install % not updating?

2011-06-28 Thread John Coryat
As a result, the ranking of the app went from a stable 125 to 180+ Since everyone has the same problem, I doubt it has affected your position. There must be another issue, like total downloads or something else that's causing your drop. -John Coryat -- You received this message because you

[android-developers] Fail to install Apk on device

2011-06-28 Thread Ankit Kasliwal
Hello Everyone please any one tell how i install apk file on my device. when i install apk file it should show me a message Application not install . please any one help me or how i install application directly on my device connecting with USB. Thanks in advance -- Thanks and Regards,

[android-developers] Switching b/w WiFi 3G

2011-06-28 Thread Ajay
Hi, I have an app that uses sockets in JNI and also HTTP connections in Java. I have been observing that I have connectivity issues in my app whenever I switch from WiFi to 3G or vice versa. At the same time, I am able to browse the Internet using the browser. Is there anything that the app needs

[android-developers] Re: Install % not updating?

2011-06-28 Thread blindfold
Sometime during the first week of May, my active installs count suddenly dropped by 40% (with no bugs or updates on my side to explain this) while download counts (total installs) kept growing normally. Now that was not as bad as the recent 100% drop in active installs count until the June 24

Re: [android-developers] Fail to install Apk on device

2011-06-28 Thread Shashidhar
What does the logcat say On Tue, Jun 28, 2011 at 6:07 PM, Ankit Kasliwal kasliwalankit2...@gmail.com wrote: Hello Everyone please any one tell how i install apk file on my device. when i install apk file it should show me a message Application not install . please any one help me or

Re: [android-developers] Fail to install Apk on device

2011-06-28 Thread Ankit Kasliwal
Shashidhar i m try to install apk on device on emulator. On Tue, Jun 28, 2011 at 6:20 PM, Shashidhar shashi.zep...@gmail.com wrote: What does the logcat say On Tue, Jun 28, 2011 at 6:07 PM, Ankit Kasliwal kasliwalankit2...@gmail.com wrote: Hello Everyone please any one tell how i

Re: [android-developers] Switching b/w WiFi 3G

2011-06-28 Thread Mark Murphy
You will need to reconnect if your socket connection is dropped due to a change in connectivity, as your IP address will be different. On Tue, Jun 28, 2011 at 8:41 AM, Ajay aja...@gmail.com wrote: Hi, I have an app that uses sockets in JNI and also HTTP connections in Java. I have been

[android-developers] Re: Is it possible to create pdf files in android using 3rd party library

2011-06-28 Thread nothing
Hi, I think that the iText library doesn't work in android. Besides, the performance probably would be unsatisfactory. Probably the best solution would be for you to have a server to which you could send the data you want to transform to pdf and having the server returning the pdf to your android

[android-developers] Slight mod of open source app results in screen scaling problem

2011-06-28 Thread Raghav Sood
Hi all, I am building a game. I am using Jason's Amazed as the base for this. In my game you have multiple batches of 10 levels, each 'themed' in a different way. As of now my game is more or less a copy paste of Jason's. I just added a screen orientation portrait statement, changed the level

[android-developers] Re: Is it possible to create pdf files in android using 3rd party library

2011-06-28 Thread ABS
Are u sure iText lib doesn't work on android,Actually i tried to use it but unable to use Document class in android. On Jun 28, 6:09 pm, nothing nsantos.pess...@gmail.com wrote: Hi, I think that the iText library doesn't work in android. Besides, the performance probably would be

[android-developers] Re: Bluetooth Serial Port Question

2011-06-28 Thread Si
Hi Mark, I assume you have set Eclipse up correctly for developing Android Apps - have you used it for a different application already? If you have it set-up correctly then you should also have the Android SDK on your PC. Try starting a new project using the SDK examples: In Eclipse File - New

Re: [android-developers] battery status check

2011-06-28 Thread Mystic Prowler
Well, i have a Motorola Droid X running 2.3.3, and it does that no matter what OS it has. Is there a way to change it a hack? On Tue, Jun 28, 2011 at 7:13 AM, Mark Murphy mmur...@commonsware.comwrote: On Tue, Jun 28, 2011 at 7:00 AM, Mystic Prowler coolmar...@gmail.com wrote: Juts

Re: [android-developers] Slight mod of open source app results in screen scaling problem

2011-06-28 Thread Kostya Vasilyev
Most likely, you need to add targetSdk=4 (or greater) to the manifest. http://developer.android.com/guide/practices/screens-support-1.5.html#strategies -- Kostya 28.06.2011 17:11, Raghav Sood пишет: Hi all, I am building a game. I am using Jason's Amazed as the base for this. In my game you

Re: [android-developers] Fail to install Apk on device

2011-06-28 Thread Ankit Kasliwal
Hey hi i am able to install application on device directly to device but now one more problem occur when i click open cam button over my HTC Wildfire it give me error message to force close application any one help me. On Tue, Jun 28, 2011 at 6:26 PM, Ankit Kasliwal kasliwalankit2...@gmail.com

[android-developers] Cam not open on click of button

2011-06-28 Thread Ankit Kasliwal
Hey hi i am able to install application on device directly to device but now one more problem occur when i click open cam button over my HTC Wildfire it give me error message to force close application any one help me. -- Thanks and Regards, Ankit Kasliwal kasliwalankit2...@gmail.com

Re: [android-developers] battery status check

2011-06-28 Thread Mark Murphy
On Tue, Jun 28, 2011 at 9:32 AM, Mystic Prowler coolmar...@gmail.com wrote: Well, i have a Motorola Droid X running 2.3.3, and it does that no matter what OS it has. I feel reasonably confident that it only has Android. It's possible somebody ported Meego to run on it, but I doubt it. Is

Re: [android-developers] Fail to install Apk on device

2011-06-28 Thread Raghav Sood
What error message? On 6/28/11, Ankit Kasliwal kasliwalankit2...@gmail.com wrote: Hey hi i am able to install application on device directly to device but now one more problem occur when i click open cam button over my HTC Wildfire it give me error message to force close application any one

Re: [android-developers] Cam not open on click of button

2011-06-28 Thread Raghav Sood
Logcat output? On 6/28/11, Ankit Kasliwal kasliwalankit2...@gmail.com wrote: Hey hi i am able to install application on device directly to device but now one more problem occur when i click open cam button over my HTC Wildfire it give me error message to force close application any one help

[android-developers] setOnclickListener(this); gives me a Force Close

2011-06-28 Thread gaara
Hi group, why when i use my_button.setOnClickListener(this) ; with this refers to my current Activity ,i got an error of Force close, what's the difference on having the listener directly on the button and the listener on the activity then override the onClick method; Peace, Gaara -- You

Re: [android-developers] Cam not open on click of button

2011-06-28 Thread Ankit Kasliwal
Hi Raghav i am try to use camera over my HTC wildfire device not emulator. so how i read logcat. On Tue, Jun 28, 2011 at 7:20 PM, Raghav Sood raghavs...@gmail.com wrote: Logcat output? On 6/28/11, Ankit Kasliwal kasliwalankit2...@gmail.com wrote: Hey hi i am able to install application on

[android-developers] Re: Comments and Contacting Users

2011-06-28 Thread Krischik Martin
On 28 Jun., 05:25, Adam Ratana adam.rat...@gmail.com wrote: market is in language X.  My app is fairly new and has high ratings, but there is one 1 star comment (the only one) in German, and that's the only review in German. I have a German account. I could test the app and give you are fair

Re: [android-developers] Slight mod of open source app results in screen scaling problem

2011-06-28 Thread Raghav Sood
I added android:targetSdkVersion=7 to the manifest but no change took place. Any more ideas? On 6/28/11, Kostya Vasilyev kmans...@gmail.com wrote: Most likely, you need to add targetSdk=4 (or greater) to the manifest.

Re: [android-developers] Slight mod of open source app results in screen scaling problem

2011-06-28 Thread Kostya Vasilyev
Do you have a supports-screens tag in the manifest? Add logging calls to your game view's onSizeChanged to see the width and height. -- Kostya 28.06.2011 18:00, Raghav Sood пишет: I added android:targetSdkVersion=7 to the manifest but no change took place. Any more ideas? On 6/28/11,

[android-developers] Camera not open

2011-06-28 Thread Ankit Kasliwal
only says application not open camera activity force close application i set uses-feature android:name=android. hardware.camera / in my manifest file is it right or in Capital is right uses-feature android:name=android.hardware.CAMERA / -- Thanks and Regards, Ankit Kasliwal

Re: [android-developers] Camera not open

2011-06-28 Thread Raghav Sood
You just need to select it from the list that comes. Again, What does the LogCat say? And could you stop starting a new thread for each reply? On Tue, Jun 28, 2011 at 7:36 PM, Ankit Kasliwal kasliwalankit2...@gmail.com wrote: only says application not open camera activity force close

[android-developers] Full screen account setup activity

2011-06-28 Thread Pepijn Van Eeckhoudt
When I add a new email account via the 'Accounts Sync' settings screen a full screen activity appears that takes you through the account configuration process. If I do the same thing for my own custom account type, the content view of my account setup activity is displayed in a small dialog

Re: [android-developers] setOnclickListener(this); gives me a Force Close

2011-06-28 Thread Mark Murphy
Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine LogCat and view the stack trace associated with your force close. On Tue, Jun 28, 2011 at 9:51 AM, gaara amellal.kamili...@gmail.com wrote: Hi group, why when i use my_button.setOnClickListener(this) ; with this refers to my

Re: [android-developers] Camera not open

2011-06-28 Thread Ankit Kasliwal
Raghav my application run successfully on my laptop but when i install this application on my mobile device it give me that msg application force close when i click a cam button which i provide in my application. so how i saw LogCat. On Tue, Jun 28, 2011 at 7:44 PM, Raghav Sood

Re: [android-developers] Camera not open

2011-06-28 Thread Raghav Sood
Your device has a log in it. Either connect it to the computer to debug or use LogCollector app to retrieve the log. You can download it from the market. On Tue, Jun 28, 2011 at 7:52 PM, Ankit Kasliwal kasliwalankit2...@gmail.com wrote: Raghav my application run successfully on my laptop but

[android-developers] Re: setOnclickListener(this); gives me a Force Close

2011-06-28 Thread gaara
that is an extract of my LogCat, Peace, Gaara 06-28 14:30:18.682: WARN/dalvikvm(479): threadid=1: thread exiting with uncaught exception (group=0x40015560) 06-28 14:30:18.732: ERROR/AndroidRuntime(479): FATAL EXCEPTION: main 06-28 14:30:18.732: ERROR/AndroidRuntime(479):

[android-developers] Help Please

2011-06-28 Thread Diogo Salaberri
Hi.. I have a problem, whe I start my aplication the launcher activity is called HOME, and that HOME automatically call other activity called LOGIN. Now, I have to finish this aplication when I click on default back button overwriting onKeyDown. The problem is, how can I do this, a simple finish

Re: [android-developers] Re: setOnclickListener(this); gives me a Force Close

2011-06-28 Thread Mark Murphy
On Tue, Jun 28, 2011 at 10:32 AM, gaara amellal.kamili...@gmail.com wrote: that is an extract of my LogCat, Here's the relevant part: 06-28 14:30:18.732: ERROR/AndroidRuntime(479): Caused by: java.lang.NullPointerException 06-28 14:30:18.732: ERROR/AndroidRuntime(479): at

Re: [android-developers] ANR Reason: keyDispatchingTimedOut when drawing overlay on map?

2011-06-28 Thread Boozel
Can you give me some more information on how to use this? do i run it after the ANR? 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] Slight mod of open source app results in screen scaling problem

2011-06-28 Thread Daniel Drozdzewski
On Tue, Jun 28, 2011 at 2:11 PM, Raghav Sood raghavs...@gmail.com wrote: Hi all, I am building a game. I am using Jason's Amazed as the base for this. In my game you have multiple batches of 10 levels, each 'themed' in a different way. As of now my game is more or less a copy paste of

[android-developers] Re: Is it possible to create pdf files in android using 3rd party library

2011-06-28 Thread nothing
The only info i have is this: http://www.lowagie.com/itext-android-prototype The iText developer managed to port it to android but he didn't release any code. Altough he said that the port is a project for this year, he didn't releasy any news since the 2010 post above. Maybe you could try to

Re: [android-developers] Slight mod of open source app results in screen scaling problem

2011-06-28 Thread Raghav Sood
My app requires 2.1 because I don't have any sdk lower than that installed so I used that. The app size has increased because I added some images and the airpush and acra jars. The permissions are for acra and airpush only. The app requires no permissions. On Tue, Jun 28, 2011 at 8:26 PM, Daniel

[android-developers] Re: setOnclickListener(this); gives me a Force Close

2011-06-28 Thread gaara
And what's that's means in this case !!! Peace, Gaara On Jun 28, 2:37 pm, Mark Murphy mmur...@commonsware.com wrote: On Tue, Jun 28, 2011 at 10:32 AM, gaara amellal.kamili...@gmail.com wrote: that is an extract of my LogCat, Here's the relevant part: 06-28 14:30:18.732:

Re: [android-developers] Re: setOnclickListener(this); gives me a Force Close

2011-06-28 Thread Raghav Sood
It looks like you are not familiar with Java. NullPointerException means that you have a reference to something that does not exist. My advice: Learn some Java first then do this. On Tue, Jun 28, 2011 at 8:32 PM, gaara amellal.kamili...@gmail.com wrote: And what's that's means in this case !!!

Re: [android-developers] Re: setOnclickListener(this); gives me a Force Close

2011-06-28 Thread Mark Murphy
On Tue, Jun 28, 2011 at 11:02 AM, gaara amellal.kamili...@gmail.com wrote: And what's that's means in this case !!! If you do not know what a NullPointerException is, please stop Android development for a while and learn Java programming outside of Android. There are plenty of free resources

[android-developers] Re: setOnclickListener(this); gives me a Force Close

2011-06-28 Thread gaara
oww my question is not what that means but if it could be related to Android that's what i want to know even if thanks for the remarque On Jun 28, 2:37 pm, Mark Murphy mmur...@commonsware.com wrote: On Tue, Jun 28, 2011 at 10:32 AM, gaara amellal.kamili...@gmail.com wrote: that is an extract

Re: [android-developers] Re: setOnclickListener(this); gives me a Force Close

2011-06-28 Thread Kostya Vasilyev
Any case really - whenever there is a crash, check the logcat, then look for Caused by, which usually points to code within the application. 28.06.2011 19:02, gaara пишет: And what's that's means in this case !!! Peace, Gaara -- Kostya Vasilyev -- You received this message because you are

Re: [android-developers] Re: setOnclickListener(this); gives me a Force Close

2011-06-28 Thread Mark Murphy
On Tue, Jun 28, 2011 at 11:09 AM, gaara amellal.kamili...@gmail.com wrote: oww my question is not what that means but if it could be related to Android that's what i want to know even if thanks for the remarque For example, you will get a NullPointerException if you try using a widget retrieved

[android-developers] Re: setOnclickListener(this); gives me a Force Close

2011-06-28 Thread gaara
Ok thanks!!! Peace, Gaara On Jun 28, 3:10 pm, Kostya Vasilyev kmans...@gmail.com wrote: Any case really - whenever there is a crash, check the logcat, then look for Caused by, which usually points to code within the application. 28.06.2011 19:02, gaara пишет: And what's that's means in

Re: [android-developers] Re: setOnclickListener(this); gives me a Force Close

2011-06-28 Thread Kostya Vasilyev
No, it's not related to Android, there is a bug in *your* code. package com.example.android; class AnotherOne extends Activity { @Override public void onCreate(Bundle savedInstanceState) { // line 43: someObject is null someObject.someMethod(); } } --

Re: [android-developers] Help Please

2011-06-28 Thread TreKing
On Tue, Jun 28, 2011 at 9:32 AM, Diogo Salaberri caxix...@gmail.com wrote: Now, I have to finish this aplication when I click on default back button overwriting onKeyDown. That is the default behavior - you don't have to do anything. Also, Help Please is an absolutely useless title for a

[android-developers] How get button event in Notification panel?

2011-06-28 Thread shubh
Hi friends , any one have idea how to get button event from Notification panel. I able to add button in notification panel , but i want two different event , one for panel and another one for added button, pls suggest me how can i do this. -- You received this message because you are

[android-developers] Finishing Activities

2011-06-28 Thread Diogo Salaberri
Hi.. I have a problem, whe I start my aplication the launcher activity is called HOME, and that HOME automatically call other activity called LOGIN. Now, I have to finish this aplication when I click on default back button overwriting onKeyDown. The problem is, how can I do this, a simple finish

[android-developers] Re: setOnclickListener(this); gives me a Force Close

2011-06-28 Thread gaara
Solved (((thanks to Raghav Sood XD))) Peace, Gaara On Jun 28, 3:10 pm, Kostya Vasilyev kmans...@gmail.com wrote: Any case really - whenever there is a crash, check the logcat, then look for Caused by, which usually points to code within the application. 28.06.2011 19:02, gaara пишет: And

Re: [android-developers] ANR Reason: keyDispatchingTimedOut when drawing overlay on map?

2011-06-28 Thread Dianne Hackborn
When the ANR happens all of the process's stacks are written to this file, with the process being accused of the ANR first. All this is doing is dumping the file so you can look at it. So you just want to look at it some time after the ANR, before another ANR happens. On Tue, Jun 28, 2011 at

Re: [android-developers] How get button event in Notification panel?

2011-06-28 Thread Mark Murphy
On Tue, Jun 28, 2011 at 11:47 AM, shubh shubhampatn...@gmail.com wrote: any one have idea how to get button event from Notification panel. You can't, at least on Android 1.x and 2.x, AFAIK. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

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

2011-06-28 Thread Karthikeyan R
Hi Bill, Thank you so much for pointing me to those links. It helps me a lot and now I can able use monkey runner from java. This group is rocking . . . Thanks --Karthik On Jun 28, 2:19 am, Bill Napier nap...@android.com wrote: MonkeyRunner actually has a small example of doing this in it's

Re: [android-developers] battery status check

2011-06-28 Thread Dianne Hackborn
This has nothing to do with Android, it is Motorola's driver and/or hardware. I argued with them about this whole 10% increment thing on the Droid. Sad to see they are still doing it. On Tue, Jun 28, 2011 at 6:32 AM, Mystic Prowler coolmar...@gmail.comwrote: Well, i have a Motorola Droid X

[android-developers] Expandable List and GetChildCount

2011-06-28 Thread juliagrig
I have an ExpandableListView where some groups has no children, and I did getChildrenCount(groupPosition) . My purpose is not to display the indicator in the groups with no children. I did if( getChildrenCount( groupPosition )==0) {

[android-developers] Expandable List and GetChildCount

2011-06-28 Thread juliagrig
I have an ExpandableListView where some groups has no children, and I did getChildrenCount(groupPosition) . My purpose is not to display the indicator in the groups with no children. I did if( getChildrenCount( groupPosition )==0) {

Re: [android-developers] Drawing

2011-06-28 Thread New Developer
Okay I had re-written some of this onDraw just handles drawing and canvas operations, ONLY lines is a Vector Vectorlinelines; @Override protected void onDraw(Canvas canvas) { canvas.drawBitmap(mBitmap , matrix , mPaint); String result; if (lines != null) {

[android-developers] how to read and store logcat statement parallelly in android

2011-06-28 Thread zameer mohammed
0 down vote favoritehttp://stackoverflow.com/questions/6503077/how-to-read-and-store-logs-parallelly-in-android# I have a requirement to collect logs generated by the other application from my application parallel. the scenario is something like this: Let say my app is 'A' and I want to

Re: [android-developers] Expandable List and GetChildCount

2011-06-28 Thread Kostya Vasilyev
You can make a state-list drawable with state_empty=true, and specify it as the groupIndicator for the expandable list view (in XML or code). The default indicator ( res/drawable/expander_group.xml under the sdk's data directory ) only handles state_expanded. As for the crash, it's not clear

Re: [android-developers] Drawing

2011-06-28 Thread New Developer
Is there a way to take the canvas and save it as a bitmap perhaps ? On Jun 28, 2011, at 1:31 PM, New Developer wrote: Okay I had re-written some of this onDraw just handles drawing and canvas operations, ONLY lines is a Vector Vectorlinelines; @Override protected void

  1   2   >