[android-developers] Re: video dimensions

2012-12-23 Thread bob
I would say use Handbrake to convert them to 480x320. On Sunday, December 16, 2012 9:47:00 AM UTC-6, bob wrote: Anyone know what the preferred video size is for app videos? My videos must be too wide as there's lots of black space when I see them on play.google.com. -- You received

[android-developers] Re: layout problem

2012-12-23 Thread Piren
change the linearlayout to warp_content and put it in a RelativeLayout/Framelayout and use the proper centering field (centerInParent/layout_gravity) On Sunday, December 23, 2012 3:34:16 AM UTC+2, dashman wrote: I've got 3 View elements that i'd like to display at the center of the page -

[android-developers] Re: setting the opacity of an activity

2012-12-23 Thread Piren
actually, they are. you also need to change the background of the Theme of the activity... add these two to your activity theme: item name=android:windowBackground@android:color/transparent/item item name=android:windowIsTranslucenttrue/item On Sunday, December 23, 2012 2:52:09 AM

[android-developers] Re: ANR keyDispatchingTimedOut

2012-12-23 Thread Piren
just out of curiosity, are you accessing the internet on the UI thread here: at com.xoise.mancala.Mancala.checkUpdate(Mancala.java:186 ? On Thursday, September 16, 2010 3:32:01 AM UTC+3, Dan wrote: Hi all, I've got an application with an alarming number of users reporting force

[android-developers] Re: Gravity Center not working for Sanskrit Font

2012-12-23 Thread Piren
its not good that you hadn't assigned layoutParams to the view anyway... you should do that before you do any other changes, it might fix the issue. But if that won't work, I've had similar issues before, it seems like that on some specific layouts android just doesn't do alignments properly.

Re: [android-developers] Re: OnStop and OnDestroy aren`t invoked after calling finish()

2012-12-23 Thread Piren
documentation flaw? was android changed to no longer do that? i remember a presentation done by google mentioning this exact process as part of android's normal work... but that was years ago... can you point us to documentation stating otherwise? regarding onStop and onDestroy, under some

[android-developers] Re: Can two applications that run in the same process have different STATIC object values?

2012-12-23 Thread Lew
AndroidCompile wrote: I created two Android applications that share the same user Id (sharedUserId) as well as the same process. In the first app, on startup, I set a static int variable to 1 (it's default is 0). In the second app, I load (using reflection) the same class from the other

[android-developers] Re: video dimensions

2012-12-23 Thread Piren
did you just reply with a suggestion to yourself? :-O I know some people say that this list is rather barren, but that takes the cake hehe On Sunday, December 23, 2012 10:04:05 AM UTC+2, bob wrote: I would say use Handbrake to convert them to 480x320. On Sunday, December 16, 2012 9:47:00 AM

[android-developers] Re: Can two applications that run in the same process have different STATIC object values?

2012-12-23 Thread Chris Mawata
It has to do with class loaders is Java and not processes or applications. Java language: A class is identified by its fully qualified name Java Virtual Machine: A class object is identified by its fully qualified name and defining class loader Instances of classes loaded by the same

[android-developers] How i send data from intent service to Main activity?

2012-12-23 Thread Antonis Kanaris
Hello.I make an intent service for download data and store to a string.How i pass the data (string s inside my code) to main activity? i try this code... public class DownloadService extends IntentService { private int result = Activity.RESULT_CANCELED;public String s = ; public

[android-developers] Re: How i send data from intent service to Main activity?

2012-12-23 Thread Piren
http://mobile.tutsplus.com/tutorials/android/android-fundamentals-intentservice-basics/ On Sunday, December 23, 2012 1:27:54 PM UTC+2, Antonis Kanaris wrote: Hello.I make an intent service for download data and store to a string.How i pass the data (string s inside my code) to main activity?

[android-developers] Re: what does it mean? - java.lang.SecurityException: Unable to find app for caller android.app. ApplicationThreadProxy@42b3bcc0 (pid=28461) when publishing content providers

2012-12-23 Thread noslen
It looks like the error happens when parceling whatever data you're sending . Did you notice the read error? -- 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

Re: [android-developers] Re: OnStop and OnDestroy aren`t invoked after calling finish()

2012-12-23 Thread Mark Murphy
On Sun, Dec 23, 2012 at 4:08 AM, Piren gpi...@gmail.com wrote: documentation flaw? was android changed to no longer do that? I am not completely certain what aspect of my email your that is referring to. If you mean destroying activities to reclaim memory:

Re: [android-developers] How to create a Android Launcher ?

2012-12-23 Thread Mark Murphy
See the Home sample app in your Android SDK installation. On Sun, Dec 23, 2012 at 2:12 AM, mohammed Nuhail nuhail...@gmail.com wrote: I want to create launcher in android ? Can any one please help me with it ? -- You received this message because you are subscribed to the Google Groups

[android-developers] getting motorola droid hd to be recogmized by adb

2012-12-23 Thread dashman
i cannot get get motorola droid hd to be recogmized by adb. i've got motorola drivers installed and can get to see the sd card etc. but under adb devices nothing listed. help! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: getting motorola droid hd to be recogmized by adb

2012-12-23 Thread dashman
that's motorola razr hd. On Sunday, December 23, 2012 9:25:06 AM UTC-5, dashman wrote: i cannot get get motorola droid hd to be recogmized by adb. i've got motorola drivers installed and can get to see the sd card etc. but under adb devices nothing listed. help! -- You received this

Re: [android-developers] Re: OnStop and OnDestroy aren`t invoked after calling finish()

2012-12-23 Thread Piren
thats really pissy... they said the exact opposite in one of their original android video presentations. they had a whole part showing how activities are being dropped if the activity stack gets too big to maintain them all. On Sunday, December 23, 2012 2:29:15 PM UTC+2, Mark Murphy (a Commons

[android-developers] Re: getting motorola droid hd to be recogmized by adb

2012-12-23 Thread Piren
working fine here. find the device in your OS's devices manager and make sure the drivers for it were installed. sometimes all it takes is for you to select update. On Sunday, December 23, 2012 4:33:28 PM UTC+2, dashman wrote: that's motorola razr hd. On Sunday, December 23, 2012 9:25:06

[android-developers] Re: getting motorola droid hd to be recogmized by adb

2012-12-23 Thread dashman
loaded the driver from here and it works https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481 this driver is 31MB - seems overkill for just the ADB interface. if there's a better more compact/less bloat solution - looking to read about it. On Sunday, December 23, 2012

[android-developers] opening the keyboard

2012-12-23 Thread dashman
i open a dialog and give one input field the focus - but the keyboard does not open-up automatically. how can i do that... the input field already has the focus and want user to type right away. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: getting motorola droid hd to be recogmized by adb

2012-12-23 Thread Lew
dashman wrote: loaded the driver from here and it works https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481 this driver is 31MB - seems overkill for just the ADB interface. Based on what? Since seems is a weasel word for I assess, please give the basis for your

Re: [android-developers] Re: OnStop and OnDestroy aren`t invoked after calling finish()

2012-12-23 Thread Todd Grigsby
A lot of Google's Android presentations are online. Can you provide a link or recall the time period during which that presentation was given? On Dec 23, 2012 7:00 AM, Piren gpi...@gmail.com wrote: thats really pissy... they said the exact opposite in one of their original android video

[android-developers] App specific licensing keys fiasco- Impact on old apps/new releases (URGENT).

2012-12-23 Thread MB
Hi, My understanding was that for older apps, the licensing key would be the same as the older key for developer account. However what I am noticing is that in the new play.google.com the BASE64 encoded licensing key is different, even for the old apps. Can someone please clarify the

[android-developers] Android media recorder records only my voice

2012-12-23 Thread Kobi
When I try to record my phone calls. in some device it records only my voice. here is the code: private MediaRecorder recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.VOICE_CALL); recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);

Re: [android-developers] Re: OnStop and OnDestroy aren`t invoked after calling finish()

2012-12-23 Thread Latimerius
On Sat, Dec 22, 2012 at 8:06 PM, Mark Murphy mmur...@commonsware.comwrote: That is a documentation flaw. Android does not destroy this instance of the activity to save space, except by terminating the entire process. isFinishing() will distinguish multiple reasons for onPause() and onStop()

Re: [android-developers] How to make image tiles with white text overlays like Flipboard

2012-12-23 Thread TreKing
On Sat, Dec 22, 2012 at 2:02 PM, pawpaw17 georgefraz...@yahoo.com wrote: Can anyone suggest how do create UI elements like what is there on the Flipboard landing page? Don't assume anyone here either knows what the Flipboard landing page looks like nor is going to go look it up to help you.

[android-developers] Re: syncAdapterSettingsAction error

2012-12-23 Thread Dandre Allison
You know, I just ran into this as well, I'm using IntelliJ IDEA and API v17. I guess there might be a discrepancy in the documentation. There is even another way to define the Sync Adapter settings, which is done in the AndroidManifest.xml file. You take an Activity that defines the preferences

Re: [android-developers] Re: OnStop and OnDestroy aren`t invoked after calling finish()

2012-12-23 Thread Lew
latimerius wrote: Mark Murphy wrote: That is a documentation flaw. Android does not destroy this instance of the activity to save space, except by terminating the entire process. isFinishing() will distinguish multiple reasons for onPause() and onStop() being called (e.g., BACK will cause

[android-developers] hi friends

2012-12-23 Thread sree android
when i am working webservices,internet is mandatory.If without internet connection i would like to connect my app,at that scenario the TOAST message will display like YOUR APP HAS REQUIRE INTERNET CONNECTION .After display the message my app will exist or it will goes to network connection

[android-developers] XMLParsing

2012-12-23 Thread Sadhna Upadhyay
Hi Everybody, Can Some one tell me how to XML Parsing data from server.please help me. Thanks: Sadhana. -- 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] XMLParsing

2012-12-23 Thread Ibrahim Sada
Check this out it might help you... http://stackoverflow.com/questions/11632552/how-to-retrieve-data-from-server-in-oncreate-method-of-activity-in-android On 24 December 2012 12:21, Sadhna Upadhyay sadhna.braah...@gmail.comwrote: Hi Everybody, Can Some one tell me how to

[android-developers] How to perform multiple queries from different tables and show in single list view

2012-12-23 Thread Vijay Krishnan
Hi all, I have to query from different tables and show in single listview.How to do this? Regards, vijay.k -- 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] com.google.android.apps.docs crashed while sending MMS with a 600K picture attachment.

2012-12-23 Thread Franklin
Hi, When I send MMS with a 600K picture attachment, com.google.android.app.docs process crashed, here is log information: java.lang.RuntimeException: Unable to start receiver com.google.android.apps.docs.receivers.NetworkChangeReceiver: android.database.CursorWindowAllocationException: Cursor

[android-developers] Re: XMLParsing

2012-12-23 Thread Sourav Howlader
Hi Sadhana, If you are getting huge data from your server you can use SAX Parser 1. http://www.jondev.net/articles/Android_XML_SAX_Parser_Example 2. http://www.mysamplecode.com/2011/11/android-parse-xml-file-example-using.html If you are getting small data with very few tags, you can use

[android-developers] Re: How to perform multiple queries from different tables and show in single list view

2012-12-23 Thread skink
Vijay Krishnan wrote: Hi all, I have to query from different tables and show in single listview.How to do this? Regards, vijay.k http://stackoverflow.com/questions/3235746/listview-using-two-cursoradapters/7776252#7776252 pskink -- You received this message because you are

[android-developers] Re: layout problem

2012-12-23 Thread Sourav Howlader
Just mention android:gravity=center to your Root LinearLayout On Sunday, 23 December 2012 07:04:16 UTC+5:30, dashman wrote: I've got 3 View elements that i'd like to display at the center of the page - centered vertically and horizontally. for the life of me - i can't get it to work. i've

[android-developers] Re: layout problem

2012-12-23 Thread Sourav Howlader
Just mention android:gravity=center to your Root LinearLayout -- 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: Android media recorder records only my voice

2012-12-23 Thread bob
I don't know, but what happens if you use VOICE_DOWNLINK on those devices? On Sunday, December 23, 2012 2:09:15 PM UTC-6, Kobi wrote: When I try to record my phone calls. in some device it records only my voice. here is the code: private MediaRecorder recorder = new MediaRecorder();