Re: [android-developers]

2010-11-02 Thread Rocky
Thax, you too, enjoy the Diwali, it give u ur family happiness and light... On Sun, Oct 31, 2010 at 1:52 AM, saurabh sinha saurs...@gmail.com wrote: WISH YOU HAPPY DIWALI TOO ALL ANDROID DEVELOPERS ENJOY THIS FESTIVAL -- You received this message because you are subscribed to the Google

[android-developers] Re: The operation timed out

2010-11-02 Thread pramod.deore
Actually when I tried to open browser and gives address for google.com then also emulator shows page can not be displayed. But on my computer net is working properly. I know all these code works perfectly before on emulator. But I don't understand what happen them now? Is there is any setting for

Re: [android-developers] Re: Detect weather a phone is rooted or not

2010-11-02 Thread Miguel Morales
See the section title 'Replacement for copy protection' at http://developer.android.com/guide/publishing/licensing.html and see if that fits your needs. On Mon, Nov 1, 2010 at 10:49 PM, Chris Stratton cs07...@gmail.com wrote: No.  It is impossible to tell in general.  At best you could look for

[android-developers] alignment of imagebuttons in the image background

2010-11-02 Thread Alok Upadhyay
Hii, I have three image buttons which i want to aligne center vertically.i have layout something like this: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent

[android-developers] Application restarts on orientation change

2010-11-02 Thread Renuka Deshpande
HI All, When I change orientation application restarts and I lost my current data.. I am using activity group which contain lots of activities when i change orientation application restarts from main activity. is it possible to avoid this application restart on orientation change? Anybody knows

Re: [android-developers] alignment of imagebuttons in the image background

2010-11-02 Thread Renuka Deshpande
set gravity of image button as center_horizontal and center_vertical On Tue, Nov 2, 2010 at 12:19 PM, Alok Upadhyay maddy.luck...@gmail.comwrote: Hii, I have three image buttons which i want to aligne center vertically.i have layout something like this: ?xml version=1.0 encoding=utf-8?

Re: [android-developers] Devices where install from unknown sources is not allowed.

2010-11-02 Thread Julie Andrews
On Mon, Nov 1, 2010 at 11:07 PM, MB manoj.bi...@gmail.com wrote: Hi, I would really appreciate if someone could point me to a list of devices/carriers where install from unknown sources is not allowed. For e.g. I can confirm that HTC Aria (offered by ATT) does not allow install from

Re: [android-developers] How can I create an aircraft-mounted-liked compass?

2010-11-02 Thread Julie Andrews
On Sun, Oct 31, 2010 at 11:43 PM, Frank Weiss fewe...@gmail.com wrote: Is the lower part of the gauge textual or a pretty image? What part are you having problems with? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Re: How different do the broadcast Intents need to be?

2010-11-02 Thread Mark Murphy
On Mon, Nov 1, 2010 at 9:29 PM, Bret Foreman bret.fore...@gmail.com wrote: Well, I ran a few experiments and haven't yet found a way to make this work. The problem is that I have a set of background threads that are updating various rows in an SQLite database. I also have a UI thread that

Re: [android-developers] Re: how to detect if a phone is running HTC sense UI

2010-11-02 Thread Tauno Talimaa
My reasons why I want to detect Sense UI (+ actually also other custom UI's) is that they have not implemented all of the nice shiny features that contact sync provides. They are not displaying the presence information in their default contacts app (People) and also are totally ignoring custom

Re: [android-developers] Re: Developing games for Galaxy Tab

2010-11-02 Thread Mark Murphy
2010/11/1 limtc thyech...@gmail.com: On 11月2日, 上午2时14分, Mark Murphy mmur...@commonsware.com wrote: That is a mistake. You should not be creating resources tied to a specific resolution. Your app will looks suck on any device for which you have not created such resources. Since Android runs on

Re: [android-developers] Re: Prevent Rooted phones to access sqlite db and preferences

2010-11-02 Thread Mark Murphy
Agreed. What is the benefit of putting the data in a database, then? If it is so private that you can't trust it to the on-board flash, don't write it to the on-board flash, and just keep it in RAM. You could also implement some sort of timeout, where you flush the cache in RAM after

Re: [android-developers] alignment of imagebuttons in the image background

2010-11-02 Thread alok upadhyay
Thank you very much!!! i solved this [?] On Tue, Nov 2, 2010 at 12:34 PM, Renuka Deshpande renukanil.deshpa...@gmail.com wrote: set gravity of image button as center_horizontal and center_vertical On Tue, Nov 2, 2010 at 12:19 PM, Alok Upadhyay maddy.luck...@gmail.comwrote: Hii, I have

Re: [android-developers] How to speed up a single simple SQLite INSERT?

2010-11-02 Thread Mark Murphy
In addition to the other tips, do the work in the background (e.g., AsyncTask), and 800ms may not be much of an issue. Bear in mind that you will never be able to completely rid yourself of occasional long delays with flash writes, as that is the nature of the beast. See Brad Fitzpatrick's

Re: [android-developers] Re: How different do the broadcast Intents need to be?

2010-11-02 Thread Dianne Hackborn
On Sun, Oct 31, 2010 at 12:01 AM, Doug beafd...@gmail.com wrote: To be fair, the javadoc for Intent.filterEquals() says nothing about if or when a broadcast intent would be dropped for any reason. Or do you think it's implied? That's because broadcasts aren't dropped. I don't know what

Re: [android-developers] Re: how to detect if a phone is running HTC sense UI

2010-11-02 Thread Dianne Hackborn
On Tue, Nov 2, 2010 at 12:31 AM, Tauno Talimaa tau...@gmail.com wrote: My reasons why I want to detect Sense UI (+ actually also other custom UI's) is that they have not implemented all of the nice shiny features that contact sync provides. They are not displaying the presence information in

[android-developers] Re: color banding. can't get over it :(

2010-11-02 Thread Hatch
Yes, Thank you for your replies. I have read the article but it doesn't explain why alpha enabled resource get's banded :( Is there a way to know exactly which RGB is used in the png ? BTW the dither option didn't work in the XML nor in the code. On Oct 30, 2:04 am, Lance Nanek

[android-developers] Splash screen | warning: Activity not started, its current task has been brought to the front

2010-11-02 Thread Alok Upadhyay
Hii, i want to display a splash screen followed by my trial.class.I am not getting any error but warning as: Warning: Activity not started, its current task has been brought to the front i have different-2 approches for this each time this warning is being displayed. public class Splash extends

[android-developers] How to unsign the signed apk file?

2010-11-02 Thread Nency Robert
HI All, I want to know How to unsign the signed apk file? Please help. Thnkx -- 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

[android-developers] Internet is not working on emulator

2010-11-02 Thread pramod.deore
Hi I am unable to connect to internet through emulator. Is it because of firewall? After removing firewall setting can I connect to internet through emulator? Or is there is any other way? Thanks -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Xperia X10 Mini Pro

2010-11-02 Thread Adam Goodchild
I dont know why it is different either, but for some strange reason it is. Sometimes the Toast Notifications just do not show up properly. They are either cut off (a single line usual notication is just cut short) or when they are pushed onto two lines the second line is horizontally cut in half.

[android-developers] Re: Application restarts on orientation change

2010-11-02 Thread pramod.deore
Hi, After changing orientation onCreate() method is called. If you don't want this then you can On Nov 2, 12:03 pm, Renuka Deshpande renukanil.deshpa...@gmail.com wrote: HI All, When I change orientation application restarts and I lost my current data.. I am using activity group which contain

[android-developers] Re: Application restarts on orientation change

2010-11-02 Thread pramod.deore
Hi, After changing orientation onCreate() method is called. If you don't want this then you can write following in manifest.xml file android:configChanges=orientation|keyboardHidden add this in your activity tag. On Nov 2, 2:06 pm, pramod.deore deore.pramo...@gmail.com wrote: Hi, After

Re: [android-developers] Internet is not working on emulator

2010-11-02 Thread Rocky
yes u can connect internet thr emulator, just clean the browser, and set the proxy, user id, password, port, thats it. On Tue, Nov 2, 2010 at 2:28 PM, pramod.deore deore.pramo...@gmail.comwrote: Hi I am unable to connect to internet through emulator. Is it because of firewall? After removing

[android-developers] Re: Internet is not working on emulator

2010-11-02 Thread pramod.deore
can you provide me the command to set all these things. Because I had tried it from here http://developer.android.com/guide/developing/tools/emulator.html but didn't succeed. On Nov 2, 2:09 pm, Rocky rkjhaw1...@gmail.com wrote: yes u can connect internet thr emulator, just clean the browser,

[android-developers] Creating Sliding Drawer in new look

2010-11-02 Thread RKJ (Android developer)
Hi all, I want to create a slider in this way button1button2button3 Is it possible. -- 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: Internet is not working on emulator

2010-11-02 Thread Rocky
go settings-wireless Networkd - Mobile Network -Access Point name -Telkia - set Proxy,port, user name, passowrd On Tue, Nov 2, 2010 at 2:43 PM, pramod.deore deore.pramo...@gmail.comwrote: can you provide me the command to set all these things. Because I had tried it from here

[android-developers] Re: Internet is not working on emulator

2010-11-02 Thread pramod.deore
Ok,Thanks Rocky, I tried it earlier using command prompt. But I didn't get what value should I supplied for proxy, user name and password. On Nov 2, 2:18 pm, Rocky rkjhaw1...@gmail.com wrote: go settings-wireless Networkd - Mobile Network -Access Point name -Telkia - set Proxy,port, user name,

[android-developers] WISH YOU HAPPY DIWALI

2010-11-02 Thread narasimha rao
hi, WISH YOU HAPPY DIWALI ALL MOBILE DEVELOPERS -- Thanks Regards, KVL Narasimha Rao. Contact No: +91 9912656178 -- 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] accsessing picasa using android

2010-11-02 Thread Marcin Orlowski
On 2 November 2010 03:15, Aqua 1841382...@gmail.com wrote: I am trying to access picasa from android , You may want to take a peek at JustPictures!'s source: http://code.google.com/p/justpictures/ -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] is there a limit for the lenght of a texview's text?

2010-11-02 Thread Paolo
Hi there! I've found a problem with textview when i have to show a long text in a textview into a scroolview. The text is over 4800 characters and when I have to show it the textview is empty. Nothing is showed. is there a limit for the lenght of a texview's text by default? any solution?

[android-developers] Re: Developing games for Galaxy Tab

2010-11-02 Thread MrChaz
I think he's talking about textures looking bad scaled up, there's not a lot you can do about that other than use higher quality source material On Nov 2, 7:36 am, Mark Murphy mmur...@commonsware.com wrote: 2010/11/1 limtc thyech...@gmail.com: On 11月2日, 上午2时14分, Mark Murphy

[android-developers] alignment issue in top left and top right

2010-11-02 Thread Alok Upadhyay
i am trying to align my two image buttons (back and next) at the top of an image background and trying like below xml code.But both the images are overlapping on top left corner. FrameLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical

[android-developers] Re: Adventures with LVL

2010-11-02 Thread bagelboy
How do you know when 26 hours has passed? Do you timestamp the first check or is there a way to establish when the app was installed? On Nov 1, 4:48 pm, Pent tas...@dinglisch.net wrote: (this is because I am not entirely sure what would happen if the user copied to SD card and then got a

Re: [android-developers] Re: Internet is not working on emulator

2010-11-02 Thread Rocky
check ur connection from IE-tools, use the proxy of same, On Tue, Nov 2, 2010 at 2:55 PM, pramod.deore deore.pramo...@gmail.comwrote: Ok,Thanks Rocky, I tried it earlier using command prompt. But I didn't get what value should I supplied for proxy, user name and password. On Nov 2, 2:18

Re: [android-developers] Splash screen | warning: Activity not started, its current task has been brought to the front

2010-11-02 Thread Kostya Vasilyev
Alok, Using a thread for this is wrong - calling UI methods is only allowed from the UI thread (main application thread, which is where onCreate and other callbacks is called). Do something like this instead: http://developer.android.com/resources/articles/timed-ui-updates.html private

[android-developers] ExpandableListView help

2010-11-02 Thread titleist
Hello, I'm trying to create a ExpandableListView in one activity. I've looked in apis demos, and I've created ExpandableListView. The problem is, that I need to have this ExpandableListView in activity that is already created, and not in a new one. I've used this code: /* * Copyright (C) 2007

Re: [android-developers] ExpandableListView help

2010-11-02 Thread Kumar Bibek
What do you mean by not in a new one . Go thru this sample. Hope it helps. http://techdroid.kbeanie.com/2010/09/expandablelistview-on-android.html On Tue, Nov 2, 2010 at 4:29 PM, titleist tadej.ore...@gmail.com wrote: Hello, I'm trying to create a ExpandableListView in one activity. I've

Re: [android-developers] alignment issue in top left and top right

2010-11-02 Thread Kostya Vasilyev
Alok, FrameLayout is not what you want to use in this case. http://developer.android.com/reference/android/widget/FrameLayout.html FrameLayout is designed to block out an area on the screen to display a single item. You can add multiple children to a FrameLayout, but all children are pegged

Re: [android-developers] Re: The operation timed out

2010-11-02 Thread Kostya Vasilyev
All Activity callbacks (onCreate, onStart, etc.) are called by Android on one thread - called the UI thread. To keep your application responsive, Android has a time limit for each of these callbacks. If you take longer than that, the user is shown the ANR (Application Not Responding) dialog.

Re: [android-developers] help with Handler class to update UI

2010-11-02 Thread Kostya Vasilyev
Fred, If you need a timed UI update, create a Runnable with code inside of run(), instantiate a Handler as a member variable of your Activity, and call post(), postDelayed(), or postAtTime() on the Handler object, passing the runnable as a parameter value.

Re: [android-developers] Re: error code 5: database is locked

2010-11-02 Thread Kostya Vasilyev
William, This: http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html#setLockingEnabled(boolean) suggests that thread-safe locking is enabled by default. Are you turning it off somewhere, perhaps? If not, I think you could try calling this method to explicitly

[android-developers] Align several Views horizontal and center them

2010-11-02 Thread Robert
Hello, I have an ImageView and a TextView which I want to have in one line and center it on the screen. Unfortunatelly with my code the Textview is not displayed but the Image is centered. LinearLayout xmlns:android=http://schemas.android.com/apk/ res/android

[android-developers] Re: Align several Views horizontal and center them

2010-11-02 Thread Kumar Bibek
You can use gravity for the wrapper layout of the views. LinearLayout - gravity center RelativeLayout --ImageView --TextView (below Imageview) /RelativeLayout /LinearLayout On Nov 2, 4:14 pm, Robert sebastianar...@hotmail.com wrote: Hello, I have an

Re: [android-developers] Align several Views horizontal and center them

2010-11-02 Thread Kostya Vasilyev
Your TextView and ImageView have exactly the same layout attributes, so they end up on top of one another. If you need them side-by-side, put them in a LinearLayout that has width=wrap_content, and then center that linear layout within its parent by using layout_gravity=center. Oh, and you

[android-developers] Re: Prevent Rooted phones to access sqlite db and preferences

2010-11-02 Thread DanH
Yeah, my first question would be why do you need a database? I've seen many folks here go through the trouble of building a database when a HashMap would be perfectly sufficient. On Oct 27, 7:13 pm, swgillan swgil...@gmail.com wrote: Hello, I have seen a few discussions on this, but I just

[android-developers] market question

2010-11-02 Thread n2v2rda2
i have uploaded app 1.5 version and 2.1 version to goolgle market in japen, xperia only search 1.5 galexy-s can search 1.5 and 2.1 if xperia os is 1.5 , which version can xperia find in market ? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] multiple layout in listview

2010-11-02 Thread лойк
My problem is quite simple. Though not sure if I can do anything about it yet. I want to handle a list of messages. When its me i use layout_right and when it's a friend layout_left. It works except because of recycling only first items will be rights. So my question is how could i recycle

Re: [android-developers] Re: how to detect if a phone is running HTC sense UI

2010-11-02 Thread Tauno Talimaa
I totally agree personally :) But it's still kind of a gray area for the OEM's. Some OEM's with whom I've had contact, say that the devices are totally compatible as a) They are not failing the CTS (of course as this is a visual thing and can't be tested automatically by CTS) b) Apps that use

[android-developers] Problem with updating sound in Widget

2010-11-02 Thread tina lincon
Hi all, I am currently trying to create a cuckoo clock widget in which I am facing problem with updating the pendulum sound each secondMy pendulum has to keep on ticking each second with sound effects integrated. I am doing update every second and I am able to play the sound using mPlay =

Re: [android-developers] multiple layout in listview

2010-11-02 Thread Kostya Vasilyev
If the difference is small (as seems to be in this case, at least for now), you can change view attributes in getView(). Just make sure to get both code paths, for when there is a recycled view and when there isn't. The general way to do this is to override getViewTypeCount and

[android-developers] Re: Java and Android phones?

2010-11-02 Thread michal.g...@gmail.com
If you have a J2ME app then you need to convert it to Android so that it can run on the Android platform. UpOnTek provides such a service. . On Oct 30, 5:56 pm, Carthaigh john...@gmail.com wrote: The Dalvik JVM is not Java and the Dalvik byte code is not the same as Java byte code. Are you

[android-developers] Are 3rd party app stores a good idea for free apps?

2010-11-02 Thread JRock
After publishing a free app to Android Market I have received numerous solicitations from 3rd party app stores to publish my app such as handster.com and mobango.com. To date, I have not pursued that and my app is only available on Android Market. I would love to hear some developer opinions

[android-developers] Re: Collecting my Market installation statistics

2010-11-02 Thread cellurl
I would use it. Another feature would be to not show all the dead-versions. -- 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

Re: [android-developers] Are 3rd party app stores a good idea for free apps?

2010-11-02 Thread Kostya Vasilyev
I submitted my free application to two sites a while back. Download numbers are far, far below what the application gets on Android Market. With the recently expanded list of countries that can sell / buy paid applications, I don't see these stores being significant. One possible exception

[android-developers] Intent-Activity

2010-11-02 Thread tanmay....@gmail.com
Is it possible to get the Activity from an Intent? -- 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: Google Maps API hidden maps and opengl

2010-11-02 Thread Adam Hammer
That is the entire error. 2 Line stack trace, I called the function and I get the Stub I've managed to get MapView working in a activity with Opengl and using offscreen rendering. It's actually performing very well. I'll go back and try in a LWP once I iron out all the activity bugs. On Nov 1,

[android-developers] Loading html file on view

2010-11-02 Thread Amit Mangal
Hi Every one I have one html file and i want to load that html file in view for loading png images i was doing android:background=@drawable/tips this in xml file but how to load html file in view ? Any body advise me thank you -- You received this message because you are subscribed to the

Re: [android-developers] Re: Developing games for Galaxy Tab

2010-11-02 Thread Mark Murphy
On Tue, Nov 2, 2010 at 5:46 AM, MrChaz mrchazmob...@gmail.com wrote: I think he's talking about textures looking bad scaled up, there's not a lot you can do about that other than use higher quality source material There is a big difference between having higher quality source material and

Re: [android-developers] Loading html file on view

2010-11-02 Thread Mark Murphy
You cannot load an HTML file in an arbitrary view. Use WebView to display HTML, or use Html.fromHtml() to create a SpannedString you can use with TextView (suitable for very basic HTML). On Tue, Nov 2, 2010 at 9:02 AM, Amit Mangal forum.amit.man...@gmail.com wrote: Hi Every one I have one html

Re: [android-developers] Loading html file on view

2010-11-02 Thread Amit Mangal
Means i should remove .xml file ? On Tue, Nov 2, 2010 at 6:05 AM, Mark Murphy mmur...@commonsware.com wrote: You cannot load an HTML file in an arbitrary view. Use WebView to display HTML, or use Html.fromHtml() to create a SpannedString you can use with TextView (suitable for very basic

[android-developers] Fill GridView with data from array

2010-11-02 Thread titleist
Hello, I have one question. How can i fill GridView with data from String array? My code for adapter is : ArrayAdapterString adapter2 = new ArrayAdapterString(this, android.R.layout.simple_list_item_1, tmpx); gridview.setAdapter(adapter2); where tmpx is array with strings. But my app crashes,

[android-developers] Re: Splash screen | warning: Activity not started, its current task has been brought to the front

2010-11-02 Thread tanmay....@gmail.com
Please close the currently open application on emulator On Nov 2, 1:21 pm, Alok Upadhyay maddy.luck...@gmail.com wrote: Hii, i want to display a splash screen followed by my trial.class.I am not getting any error but warning as: Warning: Activity not started, its current task has been

[android-developers] Re: Problem with updating sound in Widget

2010-11-02 Thread tina lincon
any1 knwng d answer??it wil be of great help. On Nov 2, 4:36 pm, tina lincon tina.theresalin...@wipro.com wrote: Hi all, I am currently trying to create a cuckoo clock widget in which I am facing problem with updating the pendulum sound each secondMy pendulum has to keep on ticking each

Re: [android-developers] Loading html file on view

2010-11-02 Thread Mark Murphy
What XML file? On Tue, Nov 2, 2010 at 9:11 AM, Amit Mangal forum.amit.man...@gmail.com wrote: Means i should remove .xml file ? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2

Re: [android-developers] Fill GridView with data from array

2010-11-02 Thread Mark Murphy
You have a NullPointerException on line 252 of page1.java, as indicated by your stack trace. On Tue, Nov 2, 2010 at 9:15 AM, titleist tadej.ore...@gmail.com wrote: Hello, I have one question. How can i fill GridView with data from String array? My code for adapter is : ArrayAdapterString

[android-developers] Re: Align several Views horizontal and center them

2010-11-02 Thread Robert
Thanks Kostya that is doing the trick! On Nov 2, 12:21 pm, Kostya Vasilyev kmans...@gmail.com wrote: Your TextView and ImageView have exactly the same layout attributes, so they end up on top of one another. If you need them side-by-side, put them in a LinearLayout that has

[android-developers] Switch Soft-Keyboard

2010-11-02 Thread Sanchiski
Is it possible to define which locate keyboard to popup for a specific EditText control. What I need to achieve is that depending on a a language checkbox when focusing a EditText popups a Cyrillic or latin soft-keyboard -- You received this message because you are subscribed to the Google

[android-developers] Re: How to unsign the signed apk file?

2010-11-02 Thread Chris Stratton
Open the apk as a zip file and remove the META-INF directory On Nov 2, 4:26 am, Nency Robert avayam...@gmail.com wrote: HI All, I want to know How to unsign the signed apk file? Please help. Thnkx -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Loading html file on view

2010-11-02 Thread Amit Mangal
lay out xml file where i want to load html page. html page just having 2 images and one link i want to display this html page only . html page i saved locally and images are also local. i just want to open this html page on view dont want to load this page from internet. On Tue, Nov 2, 2010 at

[android-developers] Download large file from network to SD card

2010-11-02 Thread Ferran Garriga Ollé
I'm trying to download a large .zip file from a web server but I have a weird behaviour, the description is: - I'm executing the code in the device emulator, API level 3 (version 1.5) with an SD card of 512MB. I start the device with Wipe data user - The length of the size from

Re: [android-developers] Loading html file on view

2010-11-02 Thread Amit Mangal
I want to load local html page on web view is this possible on android or not ? On Tue, Nov 2, 2010 at 6:54 AM, Amit Mangal forum.amit.man...@gmail.comwrote: lay out xml file where i want to load html page. html page just having 2 images and one link i want to display this html page only .

Re: [android-developers] Re: Splash screen | warning: Activity not started, its current task has been brought to the front

2010-11-02 Thread alok upadhyay
THANKS FOR REPLY!! I HAVE TRIED ALL CLOSING,CLEANING NO WORK. I THINK I HAVE TO WORK ON HANDLER APPROACH.. AS WELL WHILE WORKING ON PROJECT I AM IN NEED OF HOW TO USE LOG/LOGCAT/DDMS.ACTUALLY I AM VERY NEW ON ANDROID.CAN YOU PLEASE SEND SOME STEPS ON HOW TO USE LOGCAT.EVEN I CANT FIND SUCH

Re: [android-developers] Splash screen | warning: Activity not started, its current task has been brought to the front

2010-11-02 Thread alok upadhyay
Thanks! i am just going on handler tutorial and try what you have suggest.I also want to ask one thing: if i simply create a splash.java class and do some stuff like : not code but algorithm like this application end (time in ms)( my splash application) and then open new activity as:

Re: [android-developers] Re: Splash screen | warning: Activity not started, its current task has been brought to the front

2010-11-02 Thread Daniel Drozdzewski
Alok, Please watch out that CAPS LOCK and also please mind that generally splash screens are discouraged. Load the view as soon as possible and in AsyncTask do the long processing. Daniel On Tue, Nov 2, 2010 at 2:28 PM, alok upadhyay maddy.luck...@gmail.comwrote: THANKS FOR REPLY!! I

Re: [android-developers] com.android.internal.telephony.CommandException: GENERIC_FAILURE

2010-11-02 Thread TreKing
On Mon, Nov 1, 2010 at 7:46 PM, Sohan badaya sohan.bad...@gmail.com wrote: Please let me know why this exception comes. Maybe you should let us know what you're doing to generate this exception? -

[android-developers] How to use Webview.loadUrl(String url) when my html file is local

2010-11-02 Thread Amit Mangal
Hi Everyone, how do I open a a local html-page (named, for instance test.html) in a WebView? where should i keep this keep html page with images in project and how to use Webview.loadUrl(String url) ? Thanks in advance -- You received this message because you are subscribed to the Google

Re: [android-developers] I want to distinguish why onPause() is called

2010-11-02 Thread TreKing
On Sun, Oct 31, 2010 at 9:47 PM, Chungha Yun chun...@gmail.com wrote: but onSaveInstanceState() is always called. OTL. To add to what's been said, if onSaveInstanceState() is always called, you're probably working in a low-memory environment. My old G1 for example was pretty much guaranteed to

Re: [android-developers] reverse Geocoder (getFromLocation(lat, lnt) not reliable

2010-11-02 Thread TreKing
On Tue, Nov 2, 2010 at 12:36 AM, sunny menon1...@gmail.com wrote: any tips? Base on posts I've seen, I think people employ workarounds like wrapping the call in a try catch and trying to get a valid value 3 or so times, waiting a second or so between each attempt, to try to get a good value

Re: [android-developers] error to include slider in layout (how to include slider)

2010-11-02 Thread TreKing
Read the error and the documentation for SlidingDrawer carefully. They both tell you exactly what you're missing. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking

[android-developers] Re: How to use Webview.loadUrl(String url) when my html file is local

2010-11-02 Thread prunand
Have you tried simply passing the url as a file:// scheme? You could test it out by copying the files to the sdcard and giving it a go. If the test works, then you could copy the files from your application to the sdcard from your app. The context.getExternalFilesDir() is a handy way to get a

[android-developers] Re: how to detect if a phone is running HTC sense UI

2010-11-02 Thread Denis Souza
Given that the CallLog is I believe a public API, the manufacturer breaking it makes it not CTS compatible and they need to fix it.  You should very much treat this as a bug with HTC's device and push to have that fixed.  One thing you could do is file a bug in the bug tracker with sample code

[android-developers] Site for apps that help social and economic development

2010-11-02 Thread mobilegolfer
Hi, This is not a development question but concerns developers who might want to do well by doing good. We're looking for opinions on the best domain name (x.com) for a site that brings together sponsors and developers of apps that help low- income people better their lives. You can vote here:

Re: [android-developers] WISH YOU HAPPY DIWALI

2010-11-02 Thread subrat kumar panda
Thank You , Wish u Diwali 2 u also. On Tue, Nov 2, 2010 at 2:55 PM, narasimha rao knarasimha@gmail.com wrote: hi,         WISH YOU HAPPY DIWALI  ALL  MOBILE DEVELOPERS -- Thanks Regards, KVL Narasimha Rao. Contact No: +91 9912656178 -- You received this message because you are

[android-developers] Overlapping WebView + Adobe Flash content with another view?

2010-11-02 Thread Tero Saarni
I'm trying to put overlapping graphics on top of WebView that has Flash content loaded into it. It seems Adobe Flash does not obey z order as it renders on top of Hello world! text. Calling overlappingView.bringToFront() did not help either. Any ideas? I've tested with Android 2.2 on Samsung

[android-developers] Re: Classpath

2010-11-02 Thread JoeSchmoe
Is there an AVD specific Classpath? On Oct 19, 12:20 pm, snpe snp...@gmail.com wrote: WindowPreferencesJavaBuild PathClasspathvariables You can use preference filter in the Preferences dialog (the text field in left corner with text type filter text). Open WindowPreferences and type

[android-developers] Re: Detect weather a phone is rooted or not

2010-11-02 Thread Denis Souza
Maybe you can test for the presence of the su command. It would just be as simple as testing if the file /system/xbin/su exists but I'm not sure how reliable that would be. Another possibility is to check for the presence of /system/app/Superuser.apk, but I also don't know how reliable that would

[android-developers] HTC Development Phone 1

2010-11-02 Thread kypriakos
Hi all, I have an HTC dev phone but from what I can see on the HTC dev site (http://developer.htc.com/adp.html#overview) the latest version they list for flashing is 1.6. Anyone has any experience with these phones and whether a later (2.1 or 2.2) image can be found and flashed on them? Thanks

[android-developers] Android and Javascript or Ajax

2010-11-02 Thread kypriakos
I searched a bit more on this and it seems that when using the XMLHttpRequest-based client (ajax) on Android phones (via the native browser) the runtime sends first an OPTIONS request (preflight request) to the remote side before it will allow any GET or POST requests. Anyone knows how to avoid

Re: [android-developers] Download large file from network to SD card

2010-11-02 Thread Kostya Vasilyev
Hi, Are you doing this from the UI thread? I think you do. If so, you need to move your networking code to a worker thread. Two easy ways to do this are: AsyncTask and IntentService (and Mark Murphy's enhanced version of the latter, WakefulIntentService). Second, if you're not targeting

[android-developers] SharedIDs

2010-11-02 Thread kypriakos
Hi - regarding using SharedIDs between two separate apps (that I want to share each other's space) is there a particular range where these values can be in? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] Re: Splash screen | warning: Activity not started, its current task has been brought to the front

2010-11-02 Thread Kostya Vasilyev
A good way (IMHO) to see log messages is to run adb logcat as an entirely separate command, not related to Eclipse. Sometimes the simplest things are the best. -- Kostya 02.11.2010 17:28, alok upadhyay ?: THANKS FOR REPLY!! I HAVE TRIED ALL CLOSING,CLEANING NO WORK. I THINK I HAVE TO

Re: [android-developers] Splash screen | warning: Activity not started, its current task has been brought to the front

2010-11-02 Thread Kostya Vasilyev
Alok, I'm not sure what application end (time in ms)( my splash application) means. You can create an Intent for starting a new activity in one line, like this: Intent intent = new Intent(this, ActivityClassName.class); startActivity(intent); or even startActivity(new Intent(this,

[android-developers] Re: adjustResize with Landscape Mode.

2010-11-02 Thread Ram
Can i expect a reply from this post? On Oct 28, 11:57 am, Ram gv.ramkumar...@gmail.com wrote: Can any one from Android Team reply back  on this? Regards V. Ramkumar. On Oct 21, 4:09 pm, gv.ramkumar.75 gv.ramkumar...@gmail.com wrote: Yes i want to override that functionality. 1.

[android-developers] Re: Developing games for Galaxy Tab

2010-11-02 Thread Moss
To be able to create a resizeable layout in games. you normally use parts to define a button for example. Like a patch-9 image, which can be stretched horizontally and vertically. Apart from that for the UI it's better to use percentage values instead of absolute pixels (0.f .. 1.f). On Nov 2,

Re: [android-developers] Share Data with ACTION_SEND

2010-11-02 Thread Prajakta Shitole
Hi Mark, Thanks for your reply. I tried doing the below, but I am not sure how can i remove Facebook from the list that appears in the createChooser or the Dialog box: PackageManager pManager = getPackageManager(); Intent intent = new Intent(Intent.ACTION_SEND); intent.setType(text/plain);

Re: [android-developers] How to use Webview.loadUrl(String url) when my html file is local

2010-11-02 Thread TreKing
On Tue, Nov 2, 2010 at 9:55 AM, Amit Mangal forum.amit.man...@gmail.comwrote: how do I open a a local html-page (named, for instance test.html) in a WebView? where should i keep this keep html page with images in project and how to use Webview.loadUrl(String url) ?

Re: [android-developers] Application restarts on orientation change

2010-11-02 Thread TreKing
On Tue, Nov 2, 2010 at 2:03 AM, Renuka Deshpande renukanil.deshpa...@gmail.com wrote: is it possible to avoid this application restart on orientation change? Yes, but make sure you understand what you're doing before you go locking yourself to one orientation. It sounds like you need to

Re: [android-developers] Creating Sliding Drawer in new look

2010-11-02 Thread TreKing
On Tue, Nov 2, 2010 at 4:15 AM, RKJ (Android developer) rkjhaw1...@gmail.com wrote: Is it possible. Probably. Why don't you just try it? - TreKing

Re: [android-developers] is there a limit for the lenght of a texview's text?

2010-11-02 Thread TreKing
On Tue, Nov 2, 2010 at 4:39 AM, Paolo brand...@gmail.com wrote: I've found a problem with textview when i have to show a long text in a textview into a scroolview. The text is over 4800 characters and when I have to show it the textview is empty. Nothing is showed. Did you test with smaller

  1   2   3   >