[android-developers] Re: Home Button

2011-10-08 Thread Zsolt Vasvari
Yes you'll have to reboot your phone.  This isn't a serious security issue (no access to private data or otherwise elevated permissions), but is definitely something we don't want applications to be able to do. Well, it can be a Denial of Service attack, basically preventing the user from

Re: [android-developers] Re: Home Button

2011-10-08 Thread Romain Guy
Remember that you can always boot in safe mode (by keeping the home key pressed during boot.) In safe mode, none of the user installed apps will be enabled/launched. On Fri, Oct 7, 2011 at 11:42 PM, Zsolt Vasvari zvasv...@gmail.com wrote: Yes you'll have to reboot your phone. This isn't a

Re: [android-developers] data persistence from onDestroy to onCreate

2011-10-08 Thread TreKing
On Wed, Oct 5, 2011 at 1:54 PM, King Salamon msalamon.comcast@gmail.com wrote: Can anyone please offer a detailed coding example showing how to keep textView after a configuration change-such as a screen rotation? It is doubtful you're going to get a detailed coding example. I would

Re: [android-developers] Re: textView Clears on Rotation

2011-10-08 Thread TreKing
On Fri, Oct 7, 2011 at 3:59 PM, Studio LFP studio@gmail.com wrote: Add this to your activity tag in the AndroidManifest.xml android:configChanges=orientation|keyboardHidden That will fix you up That will hide the issue until the app is destroyed / recreated via some other means - like

[android-developers] ExpandableListView And Fragment

2011-10-08 Thread Akhilesh Mani
Hi, Please suggest me how to use ExpandableListView and Fragments in same layout. If possible please give me right link or example. Regards Mani. -- 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: Home Button

2011-10-08 Thread Mark Murphy
On Sat, Oct 8, 2011 at 3:00 AM, Romain Guy romain...@android.com wrote: Remember that you can always boot in safe mode (by keeping the home key pressed during boot.) In safe mode, none of the user installed apps will be enabled/launched. Out of curiosity, is there a standard safe mode rule for

[android-developers] Regarding retrieving date and time from cell tower

2011-10-08 Thread sourabh sahu
Is there any way to get date and time from cell tower in android programmatically. Thanks, Sourabh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

[android-developers] unreasonable NullPointerException in onDestroy()

2011-10-08 Thread DraganA
I'm puzzled as to why I'm getting Null pointer exception in the construct below, knowing the Activity life cycle, it shouldn't happen. Could the clue be in TabActivity?? public class Main extends TabActivity { private ListString list; public void onCreate(Bundle savedInstanceState) {

[android-developers] Re: unreasonable NullPointerException in onDestroy()

2011-10-08 Thread Goodwin
I have run these code. no error. On Oct 8, 4:34 pm, DraganA dand...@gmail.com wrote: I'm puzzled as to why I'm getting Null pointer exception in the construct below, knowing the Activity life cycle, it shouldn't happen. Could the clue be in TabActivity?? public class Main extends

[android-developers] Re: HTC and LG haven't implemented Android in the right way

2011-10-08 Thread MobileVisuals
How do you mean that I should put brightness level in the textures? I have already enabled transparency with gl.glEnable(GL10.GL_BLEND); gl.glBlendFunc(GL10.GL_SRC_ALPHA, GL10.GL_ONE_MINUS_SRC_ALPHA); gl.glColor4f(1f, 1f, 1f, 0.25f); I see that the transparency have effect, but it doesn't work

Re: [android-developers] Re: inqury

2011-10-08 Thread Rahul Soni
On Thu, Sep 29, 2011 at 6:57 PM, SumiGhosh sumighos...@gmail.com wrote: On Sep 29, 10:16 am, Rahul Soni rax.m...@gmail.com wrote: Hi Please tell me that in which programming language the programs developed and the source to learn about the programming language -- Rahul Soni

[android-developers] Re: unreasonable NullPointerException in onDestroy()

2011-10-08 Thread DraganA
I have run it too before I released my app, but still got an error report through Developers console. On Oct 8, 10:03 am, Goodwin purerain2...@163.com wrote: I have run these code. no error. On Oct 8, 4:34 pm, DraganA dand...@gmail.com wrote: I'm puzzled as to why I'm getting Null

[android-developers] Gettting Defferent Distance When Using the Google Map and User defined Function

2011-10-08 Thread Chirag Raval
I want to get the Distance between two latitude and longitude in meter / km . So i am using the below function . It gives me the different result than the google Map. Can you help me to solve my problem ? i dont understand What is the Problem ? Code private double distance(double lat1, double

[android-developers] Gettting Defferent Distance When Using the Google Map and User defined Function

2011-10-08 Thread Chirag Raval
I want to get the Distance between two latitude and longitude in meter / km . So i am using the below function . It gives me the different result than the google Map. Can you help me to solve my problem ? i dont understand What is the Problem ? Code float[] results = {0};

Re: [android-developers] Gettting Defferent Distance When Using the Google Map and User defined Function

2011-10-08 Thread Michael Banzon
How do you get the result using google maps? Could the case be that google maps simply gives you the travel distance by car/train/foot?? On Sat, Oct 8, 2011 at 12:19 PM, Chirag Raval chirag.android.develo...@gmail.com wrote: I want to get the Distance between two latitude and longitude in meter

[android-developers] Can check authority or situation whether installed as system app or market app?

2011-10-08 Thread Build account
Hello. Is there any way to check apk-self the situation or authority whether an apk installed as an system app(mean built with entire platform) or just installed from the market. I assume the package manager may provider something, is'n it? getPreferredActivities or some other preferxxx method

Re: [android-developers] Gettting Defferent Distance When Using the Google Map and User defined Function

2011-10-08 Thread Chirag Raval
yes, i think it gives the result travel distance by car. i want the travel distance . how can i get travel distance ? On Sat, Oct 8, 2011 at 3:53 PM, Michael Banzon mich...@banzon.dk wrote: How do you get the result using google maps? Could the case be that google maps simply gives you the

Re: [android-developers] Can check authority or situation whether installed as system app or market app?

2011-10-08 Thread Kostya Vasilyev
https://groups.google.com/forum/#!topic/android-developers/0J0UF-MrBLY https://groups.google.com/forum/#%21topic/android-developers/0J0UF-MrBLY 08.10.2011 14:26, Build account пишет: Hello. Is there any way to check apk-self the situation or authority whether an apk installed as an system

[android-developers] PopupWindow out of screen when size is unspecified

2011-10-08 Thread Raffaele Sgarro
Most examples out there specify exactly the width and the height of the popup window. I want them to be WRAP_CONTENT - since the content is dinamically determined- so in the constructor I set -2 for both width and height and show it via showAsDropDown(View anchor) Doing this, the popup is

[android-developers] Android NDK C++ 'wstring' support

2011-10-08 Thread Ankit Shah
Hi, I have source code/lib written in C++ - now i would like to compile and use the same in Android NDK project (NDK 6). I am able to compile most of the C++ files except std::wstring based functionality. In Application.mk when i specify APP_STL: = stlport_static then it compiles

[android-developers] Re: Samsung Galaxy S2 (2.3.4) and Arduino ADK

2011-10-08 Thread hudvin
just checked I have 2.6.35.7 on XXKI3 firmware. On 4 окт, 09:44, Jason Engelman shitsca...@yahoo.com wrote: You should get USB Accessory Connected, if your device has the demokit code running. On Oct 2, 12:40 am, hudvin hud...@gmail.com wrote: I have 2.3.4. But nothing happens when

[android-developers] Re: Update my Application

2011-10-08 Thread lbendlin
If you only need to read from the database on the device then you should use an autoincrement primary key field. You can then find the largest id on the device and fetch anything from the server above that etc . On Oct 7, 9:30 pm, Ubiracy Santos ubiracy@gmail.com wrote: I have a web

[android-developers] Update that is not signed appropriately

2011-10-08 Thread Jean-François Geyelin
Some users are reporting me that they can't update the application because the application is not signed appropriately. 1/ I tried jarsigner on the new apk, and it returns jar verified. 2/ I installed a old version of my apk with adb, and successfully updated to the latest version using the

[android-developers] Widget refresh rate

2011-10-08 Thread A. Purohit
Hi all, I read that widget is refreshed after 30mins and there is almost no meaning of refresh rate specified in XML file. To overcome this, we have to use AlarmManager if we want to make refresh rate 30mins! Is this still valid or this was true till Android 1.5 only? Thanks, -A --

Re: [android-developers] Update that is not signed appropriately

2011-10-08 Thread Nikolay Elenkov
On Sat, Oct 8, 2011 at 10:29 PM, Jean-François Geyelin jfgeye...@gmail.com wrote: My questions are: When you upload an update to the android market, does it check if the update is correctly signed ? It does parse your apk, and checks if it is signed with a debug certificate. It probably

Re: [android-developers] Widget refresh rate

2011-10-08 Thread Satya Komatineni
A, My understanding is that if your refresh rate is above 30 mins, then it will impact accordingly. The recommendation is to put it no quicker than 30 mins and I believe starting somewhere around 2.0 this was enforced by either making it 30 mins at least. Bottom line appears to be place this

[android-developers] video conference apps

2011-10-08 Thread Anoop C
hai, I looking for video conferecing apps in android 2.1. Currently i installed skype, fringe. Both of them is not working(In fring call is connecting, but can't take in other end. In skype connecting call no video response). So which is the working video conference apps for Android 2.1. *

[android-developers] Re: Update my Application

2011-10-08 Thread Ubiracy Santos
for example http://code.google.com/intl/pt-BR/android/c2dm/ it works for that? -- 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

Re: [android-developers] Update that is not signed appropriately

2011-10-08 Thread Jean-François Geyelin
Thanks for this very complete answer. The fingerprints are the same. It seems you were right: apparently all the problems are (for a change) because of Amazon: currently, the only user that replied said that he had the Amazon Appstore installed, and that he might have installed my app with it.

[android-developers] Re: Update that is not signed appropriately

2011-10-08 Thread Thomas
I had a similar problem and in my case it turned out to be a browser problem. My app would not upload even though it was jar verified, etc. It wouldn't upload with a recent version of Firefox. Someone suggested using IE8 and then the very same app would upload correctly. Additional info: It

[android-developers] Re: Widget refresh rate

2011-10-08 Thread Amit
Thanks Satya. My app needs refresh rate 30mins. Thanks, -A On Oct 8, 7:31 pm, Satya Komatineni satya.komatin...@gmail.com wrote: A, My understanding is that if your refresh rate is above 30 mins, then it will impact accordingly. The recommendation is to put it no quicker than 30 mins and I

[android-developers] Re: Graphical anomaly with hints disappearing. Can anyone explain?

2011-10-08 Thread darrinps
I have tried it out on a 2.2 device (Samsung Galaxy) and using the 2.3 emulator. Same thing on both. What is odd though is that is shows up in the preview just fine! I know, you would think that there is something shifting it in the code but the just isn't. This is very frustrating. On Oct 7,

[android-developers] Database cursor as null

2011-10-08 Thread decode
I have a list view which shows some data pulled out from database. I am using a helper class to hold the cursor. When clicked on the listitem, we launch another actvity which shows more data about the selected item and can be swiped to left/right to see other items. but, sometimes the cursor

[android-developers] Re: Graphical anomaly with hints disappearing. Can anyone explain?

2011-10-08 Thread Studio LFP
There is definitely something wrong in the code. The first time I tested was on a Samsung Galaxy Tab (2.2) and I just tested it again on the Xperia Play (2.3.2) and it worked just fine. If you want to post the XML that contains the layout, that would be helpful. Steven Studio LFP

Re: [android-developers] Re: Graphical anomaly with hints disappearing. Can anyone explain?

2011-10-08 Thread Kostya Vasilyev
FWIW: I just tried it on an HTC Incredible S (official firmware, 2.3.3) and got the same result as the OP: Setting android:gravity=right made android:hint disappear. Previews as rendered by a special library, which, AFAIK, does not use the same exact code as a real runtime (device or

Re: [android-developers] Re: Graphical anomaly with hints disappearing. Can anyone explain?

2011-10-08 Thread Studio LFP
I tested the following code: EditText android:id=@+id/etMessage android:layout_width=fill_parent android:layout_height=fill_parent android:layout_weight=1 android:hint=Compose text message... android:maxLines=3 android:capitalize=sentences android:autoText=true

[android-developers] Can we 'include' a xml into another preference xml by file? and by jar(another package)?

2011-10-08 Thread Build account
Hello. I'm looking for any hint about below. Please advice me bit.. 1. Can we include a xml layout file from another JAR package? Like include layout=@com.Test.TestJar.layout/layout02 / ??? Is this possible? 2. Can we include a xml preference file from another JAR package? Is it

[android-developers] Re: unreasonable NullPointerException in onDestroy()

2011-10-08 Thread Studio LFP
Based on that, you shouldn't get a crash, but obviously that's not the full code you are using. Are you changing that variable at any other point in the code? Steven Studio LFP http://www.studio-lfp.com On Saturday, October 8, 2011 3:34:15 AM UTC-5, DraganA wrote: I'm puzzled as to why I'm

[android-developers] Re: ExpandableListView And Fragment

2011-10-08 Thread Studio LFP
You should be able to use any widget in a Fragment just like you do in an Activity. Check this part out: http://developer.android.com/guide/topics/fundamentals/fragments.html#UI You design an XML file the same way for an Activity and a Fragment. Steven Studio LFP http://www.studio-lfp.com On

[android-developers] Re: unreasonable NullPointerException in onDestroy()

2011-10-08 Thread DraganA
That's the problem, the list is created in onCreate() method and is not reassigned or set to null anywhere. I forgot to say, the null pointer happens in onDestroy() method in list.clear() line. From that I can only deduce that onDestroy() is called before onCreate() On Oct 8, 5:42 pm, Studio LFP

Re: [android-developers] Re: textView Clears on Rotation

2011-10-08 Thread Studio LFP
*TreKing,* This is true, but he didn't ask about that. He just asked about a way for an EditText to keep the text it has on a rotate. The easiest and fastest way to solve that particular problem is the configChanges XML attribute. You'll note that I said their may be a need for other options

[android-developers] sending email automatically

2011-10-08 Thread Palike
Hi, at first sorry for my English. I need to make app that will automatically send a file from the SD card. I thought that I will do it through email. I write the code to send email import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle;

Re: [android-developers] Re: unreasonable NullPointerException in onDestroy()

2011-10-08 Thread Kristopher Micinski
That won't happen unless your user is doing something stupid, how many of these have you had reported? (Could this happen if someone was using instrumentation on your app?) OnDestroy won't be called before onCreate, at least using the plan old unmodded Android system. Kris On Sat, Oct 8, 2011

[android-developers] Re: unreasonable NullPointerException in onDestroy()

2011-10-08 Thread Studio LFP
Without code samples, I don't think anyone is going to be able to help you find your issue. I use this all the time and the only time I have seen it not work was when I made a mistake somewhere else in the code. I do usually do a null check on things in the onDestory before I use them because

Re: [android-developers] Re: unreasonable NullPointerException in onDestroy()

2011-10-08 Thread Kostya Vasilyev
Calling finish() from onCreate still results in onDestroy getting called. So if your onCreate calls finish() and returns -- before you initialize the list -- perhaps as part of displaying the license agreement, or something else along those lines -- then in onDestroy the list will still be

[android-developers] Flash On Flash Off without the camera

2011-10-08 Thread Android2ee
Hello, There is a guy who contact me about the Android FlashLight, he wants to set it on and off without having to use the camera. His code: public static booleanFlashOff() { import android.hardware.Camera; import android.hardware.Camera.Parameters; Camera mCamera; Parameters mParameters;

[android-developers] Android Benchmark

2011-10-08 Thread ehsan azimzadeh
Hi Is there any android benchmark? I want JAVA source not .apk or any other formats. Thanks Ehsan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

[android-developers] working with tabs (tabhost)

2011-10-08 Thread Kristoffer
Hello. Iam not sure this is possible to do but here is what i need to do. Iam now creating two tabs one for the main page and one for the settings. Lets call them main.java and setting.java When i change a thing on the setting.java page then i need to show a different intent (main1.java) when

Re: [android-developers] Avoiding POT rule for Opengl Textures: Overlapp a transparent POT bitmap with non POT bitmap?

2011-10-08 Thread Christopher Van Kirk
Have you consulted with the KETTLE on this? On 10/7/2011 6:37 PM, saex wrote: i need to load non POT bitmaps into my opengl es app for android. What i need is to overlap my non POT bitmap into another bitmap with POT size. I need to overlap the non POT bitmap in the center of the POT bitmap.

Re: [android-developers] sending email automatically

2011-10-08 Thread Michael Banzon
Look at SMTP. On Sat, Oct 8, 2011 at 7:11 PM, Palike palo...@centrum.sk wrote: Hi, at first sorry for my English. I need to make app that will automatically send a file from the SD card. I thought that I will do it through email. I write the code to send email import android.app.Activity;

Re: [android-developers] Re: textView Clears on Rotation

2011-10-08 Thread TreKing
On Sat, Oct 8, 2011 at 12:00 PM, Studio LFP studio@gmail.com wrote: *TreKing,* This is true, but he didn't ask about that. LOL - so since he didn't ask for for a method that covers the case I mentioned, it's OK to give him a limited solution? He just asked about a way for an EditText

[android-developers] BitmapFactory.decodeResource() zero width/height

2011-10-08 Thread Greg Donald
I am loading a bitmap and then creating a new scaled version like this: Bitmap bm = BitmapFactory.decodeResource( getResources(), R.drawable.grid ); Matrix matrix = new Matrix(); matrix.postScale( (float) getSize() / bm.getWidth(), (float) getSize() / bm.getHeight() ); Bitmap b =

Re: [android-developers] Re: textView Clears on Rotation

2011-10-08 Thread Studio LFP
*TreKing,* If you choose to ignore a well documented feature given to us by the Android team, that's your prerogative. As for the rest of us, we'll decide when we prefer to use one feature over another. *King Salamon*, As stated previously, regardless of which way you choose to do it

Re: [android-developers] Re: textView Clears on Rotation

2011-10-08 Thread TreKing
On Sat, Oct 8, 2011 at 4:02 PM, Studio LFP studio@gmail.com wrote: *TreKing,* If you choose to ignore a well documented feature given to us by the Android team, that's your prerogative. As for the rest of us, we'll decide when we prefer to use one feature over another. Which well

Re: [android-developers] Re: textView Clears on Rotation

2011-10-08 Thread Romain Guy
*TreKing,* If you choose to ignore a well documented feature given to us by the Android team, that's your prerogative. As for the rest of us, we'll decide when we prefer to use one feature over another. He makes a good point. Solving this issue by requesting to handle orientation changes

Re: [android-developers] Re: textView Clears on Rotation

2011-10-08 Thread Kostya Vasilyev
The user changing the language is a config change (likely rare, except for developers testing localization, but still). Possibly more commonplace, docking (and undocking), is a config change. Back to the original topic: Andorid automatically saves and restores those views that have an ID. If

Re: [android-developers] Android Benchmark

2011-10-08 Thread Damien Cooke
Not sure what you are trying to benchmark, but if it is network based, you should look at FABAN written by some bright people at Sun a few years ago. Damien On 09/10/2011, at 5:10 AM, ehsan azimzadeh wrote: Hi Is there any android benchmark? I want JAVA source not .apk or any other

[android-developers] Re: unreasonable NullPointerException in onDestroy()

2011-10-08 Thread DraganA
My bad, I just realised I do call finish in onCreate and return before the variable is initialised. Kostya explained most of it. Thanks. On Oct 8, 6:30 pm, Kostya Vasilyev kmans...@gmail.com wrote: Calling finish() from onCreate still results in onDestroy getting called. So if your onCreate

Re: [android-developers] Re: unreasonable NullPointerException in onDestroy()

2011-10-08 Thread Kristopher Micinski
If you download the source tree (if it ever comes back up again), I think you might find an interesting read in the code that starts up an application, I think ActivityThread. It's not too much code, mostly calling instrumentation in the right places, and provides a nice read for any systems

Re: [android-developers] Re: unreasonable NullPointerException in onDestroy()

2011-10-08 Thread Kristopher Micinski
I should have been more clear about distinguishing between Activity and ``app'' here..., but I think you get the idea :-) kris On Sat, Oct 8, 2011 at 6:37 PM, Kristopher Micinski krismicin...@gmail.com wrote: If you download the source tree (if it ever comes back up again), I think you might

Re: [android-developers] Re: textView Clears on Rotation

2011-10-08 Thread Studio LFP
*TreKing, Kostya, Romain Guy,* I do understand what you guys are saying, so I am listening, but it seems to be a contradiction since it seems most of the internal applications use it, including quite a few that Google themselves send with the devices. Maybe they aren't, but based on the speed

Re: [android-developers] Re: textView Clears on Rotation

2011-10-08 Thread TreKing
On Sat, Oct 8, 2011 at 5:41 PM, Studio LFP studio@gmail.com wrote: I do understand what you guys are saying, so I am listening, but it seems to be a contradiction since it seems most of the internal applications use it, including quite a few that Google themselves send with the devices.

[android-developers] Adding an image to the left of ExpandableList arrow icon

2011-10-08 Thread dashman
How can one add an image to the left of ExpandableList arrow icon - ala the built-in call-log page. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

[android-developers] BitmapFactory.decodeStream() returning null when trying to load image from SD card

2011-10-08 Thread clark
I'm currently working on a Live Wallpaper that uses OpenGL and ran into a problem with decodeStream() always returning null. I've had no problem when working with images in my assets folder, but I am adding an option to load an image from the SD card. I get file information from the gallery and

Re: [android-developers] sending email automatically

2011-10-08 Thread lbendlin
to extend on that - look into including your own SMTP client. -- 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: Database cursor as null

2011-10-08 Thread lbendlin
is your cursor declared in the application or in the activity? As you already realised there is no real need to hold on to the cursor. All you need is the index of the table line for which you want to show the field data in the second activity. -- You received this message because you are

Re: [android-developers] Re: textView Clears on Rotation

2011-10-08 Thread Studio LFP
Thanks for the link there. I've read that a couple of times and understand the uses. Is there a set of documentation that tells what is automatically saved off if you don't use the configChanges option? I know a little by catching it here and there on these groups, but I haven't located a full

[android-developers] Re: Android NDK C++ 'wstring' support

2011-10-08 Thread JP
STL is not supported by the NDK. Tons of discussions on this topic, web research Android NDK STL On Oct 8, 5:17 am, Ankit Shah iankits...@gmail.com wrote: Hi, I have source code/lib written in C++ - now i would like to compile and use the same in Android NDK project (NDK 6). I am able to

[android-developers] Re: how to get current sampling rate and pitch from audio

2011-10-08 Thread Ganesh
Hi Sourabh, In AudioFlinger, you can get information related to the sampling rate by using AudioFlinger::sampleRate method. For a complete list of supported parameters, please refer to AudioFlinger.cpp. Hope this helps. Ganesh On Oct 6, 10:35 am, sourabh sahu souruit...@gmail.com wrote: Hi

[android-developers] Re: activity launches with wrong layout orientation

2011-10-08 Thread Goodwin
I never find this issue. maybe you could supply more code. On Oct 7, 8:50 pm, Simon simon.wilkin...@gmail.com wrote: Hi, I have an activity that I have two layouts defined for: one for landscape and one for portrait.  So in my layout folder I have activity.xml and activity_landscape.xml.  

[android-developers] Re: Database cursor as null

2011-10-08 Thread decode
The data is quite huge, Like 10,000+ rows. cursor is declared in a helper class ... a public class. I am closing the cursor in onDestroy of the class extending Application. There is a null check before launching the second activity. But, in second activity it is null. Doesnt happen always and

[android-developers] Re: How to start activity without creating new one?

2011-10-08 Thread Goodwin
I think the Activity is destroyed. so, It calls onCreate() everytime. On Oct 6, 8:55 pm, Charley Smith sfaffila...@gmail.com wrote: I tried to set attribute android:launchMode=singleTask for calling Activity, but it still does not works as I expect I need that method onCreate(Bundle bundle)

[android-developers] Re: activity launches with wrong layout orientation

2011-10-08 Thread decode
you should have instead placed the layout files in layout and layout- land. I assume that you must be updating the layout in just onCreate and onConfigurationChanged method. But, you should also check for the configuration and update it in onResume. Its better to use the folders if there isnt

[android-developers] Re: textView Clears on Rotation

2011-10-08 Thread decode
Give an id to your textview. Android system should handle it... On Oct 9, 8:35 am, Studio LFP studio@gmail.com wrote: Thanks for the link there. I've read that a couple of times and understand the uses. Is there a set of documentation that tells what is automatically saved off if you

[android-developers] Video in WebView

2011-10-08 Thread Siva Prakash
Hi Im trying to load a video in WebView but it doesnt do that? Any settings need to be marked? -- 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] Removal of swipe unlock regd...

2011-10-08 Thread Gokul.C
Hi sourabh sahu, Iam working on beagleboard. So i could provide you the source for that only. http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/TI_Android_DevKit/TI_Android_GingerBread_2_3_DevKit_1_0/exports/TI_Android_GingerBread_2_3_Sources.tar.gz The above link is the download location

Re: [android-developers] working with tabs (tabhost)

2011-10-08 Thread Subin Sebastian
Hi Kristoffer, As I understand from your question, I think you need to set a different content for the main tab when you change a specific preference in the settings tab. If I'm not wrong the below tutorial will help you to do so.

Re: [android-developers] Video in WebView

2011-10-08 Thread Subin Sebastian
Hello Siva, I suggest you to put your code here for someone to find out why it doesn't do that. Regards. On 10/9/11, Siva Prakash siva.yuvan2...@gmail.com wrote: Hi Im trying to load a video in WebView but it doesnt do that? Any settings need to be marked? -- You received this message

[android-developers] call startActivityForResult from button

2011-10-08 Thread John
Here is another absolute newbie question. I seem to have a fundamental misunderstanding of how Android works. My problem is simple: I need to call startActivityForResult from the OnClick handler of a button on my main application. The result is needed by the application. My reasoning to solve

Re: [android-developers] Video in WebView

2011-10-08 Thread Siva Prakash
Thanks This code is working for normal web pages but not with video/audio private WebView myWebView; private ProgressDialog pd ; this.myWebView = (WebView) this.findViewById(R.id.webView); Bundle extras = getIntent().getExtras(); if(extras !=null ) { String strURL =