[android-developers] Re: a receiver for outgoing sms and email?

2009-06-12 Thread aayush
Interesting feature request. What is the use case for such a requirement? I am asking for my understanding. Why do you need to be notified when the sms or email is sent out? On Jun 12, 5:18 am, Seer gilligan.ch...@gmail.com wrote: Guys there is a issue raised for this now.  Please add your

[android-developers] graphics speciall effects

2009-06-12 Thread doubleslash
When you turn on the phone, after the G1 screen, there's a black screen with the word Android in blue, and a glossy shine running across it. Can you tell me how imitate that effect? Maybe point me in the right direction, like what classes to look at? Thanks

[android-developers] Re: a receiver for outgoing sms and email?

2009-06-12 Thread Seer
It is not just about notification but the ability to cancel or modify as well. To give you a bit of background a similar feature already exists for outgoing calls. It allows you to intercept the outgoing call and auto insert say a calling card number and dial codes for outgoing calls or maybe

[android-developers] How to backup email databases?

2009-06-12 Thread Francesco Pace
Hi guys, I need to backup email databases, but I don't know URI (ex: content://) to connect my java application at db. Someone can help me? Another question, I use sqlite3 for study email's tables and schemas, but name of file db is : 54a58dd5-9e67-4b0f-ab24-4.etc .db Why? Can I

[android-developers] Re: Using the touchscreen and trackball with the GLSurfaceView

2009-06-12 Thread MrSnowflake
20 ms would be 4ms too long for 60fps :). 16ms would be better, that's the time the device has to perform the rendering for a target of 60fps. On Jun 10, 7:20 pm, Streets Of Boston flyingdutc...@gmail.com wrote: I actually do use the Thread.sleep as a hack (i don't like it, but it works...)

[android-developers] Re: npapi plugin failed to load in android webview

2009-06-12 Thread David Turner
On Fri, Jun 12, 2009 at 5:09 AM, MIND GAME lovekhanna04...@gmail.comwrote: can anybody sugest me a way test npapi pluguns in android browser. I don't know, but maybe you could try answering the questions I sent you previously to help you debug the issue? Just maybe... On Jun 11, 4:09 pm,

[android-developers] Re: npapi plugin failed to load in android webview

2009-06-12 Thread David Turner
On Fri, Jun 12, 2009 at 5:09 AM, MIND GAME lovekhanna04...@gmail.comwrote: can anybody sugest me a way test npapi pluguns in android browser. I don't know, but maybe you could try answering the questions I sent you previously to help you debug the issue? Just maybe... On Jun 11, 4:09 pm,

[android-developers] make logcat flow through printk

2009-06-12 Thread sen wang
this is the kernel patch. --~--~-~--~~~---~--~~ 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] make logcat flow through printk

2009-06-12 Thread sen wang
this is the patch that make the messages from logcat flow into kernel and printk. --~--~-~--~~~---~--~~ 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] Theme.Translucent.NoTitleBar - No config changes...!?

2009-06-12 Thread btm...@gmail.com
If I switch the theme of my activity (which has android:configChanges=keyboardHidden|orientation) from Theme.Black.NoTitleBar to Theme.Translucent.TitleBar, I no longer get any config changes and when I rotate my G1 with auto orientation on nothing happens. 06-12 02:11:29.189:

[android-developers] incomingNumber - contact name - What is the right way?

2009-06-12 Thread code_android_festival_way
Hello. I am using a PhoneStateListener to determine the incomingNumber for a phone call. What is the right way to get the corresponding contact name? I have tried: http://paste.pocoo.org/show/LuRcRJZImQvEgSpE1uzV/ ( I have also used People.NUMBER_KEY) But I'm always getting a cursor with the

[android-developers] Screen not updating when calling ResourceCursorTreeAdapter.notifyDataSetChanged()

2009-06-12 Thread sebster
Hi, I have a ResourceCursorTreeAdapter which queries data from my database. When I change the underlying data (i.e., delete a group), and then do myAdapter.notifyDataSetChanged() the screen does not update. However when I first do myAdapter.getCursor().requery(), the screen *does* update.

[android-developers] UnknowHost when connected in WIFI

2009-06-12 Thread sylpheo
Hi, I send files to ftp server in my application. Internet permission is set : uses-permission android:name=android.permission.INTERNET/ It works quite fine when connected with 3G/3G+. Sometimes, not very often, I get a SocketException no route to host or unknow host exception when trying to

[android-developers] Re: Has the android.app package been removed from 1.5_r2

2009-06-12 Thread Mark Murphy
Daniel wrote: I get this error when compiling. Can anyone else replicate it? It happens when importing android.app.ProgressDialog on 1.5-r2 [javac] /home/doubleagent/Programming/ANDROID/KYMesonetSiteMap/src/org/ kymesonet/kymesonetsitemap/KYMesonetSiteMap.java:16: package andriod.app

[android-developers] Re: incomingNumber - contact name - What is the right way?

2009-06-12 Thread so_is
I would like to add something. I have recognized that the column NUMBER_KEY doesn't get updated at all. So I'd like to ask if there is another way to get normalized phone numbers? On 12 Jun., 11:25, code_android_festival_way festival.s...@googlemail.com wrote: Hello. I am using a

[android-developers] Re: Ability to quit/disable an app after trial period?

2009-06-12 Thread Androman
With System.exit() you can exit android app even if it is not recommended still it can be very useful. Method onRestore() is called allways when your activity is about to be shown and here you do something... Connect your app with your server where you will record phones IMEI and application

[android-developers] Re: fullscreen doesn't hide Status Bar in Android SDK 1.5 R2

2009-06-12 Thread sylpheo
hi, this works fine too (in activity): requestWindowFeature(Window.FEATURE_NO_TITLE); --~--~-~--~~~---~--~~ 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: fullscreen doesn't hide Status Bar in Android SDK 1.5 R2

2009-06-12 Thread sylpheo
sorry, not for status bar :) just title --~--~-~--~~~---~--~~ 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

[android-developers] Re: How to change default google.com page in android browser

2009-06-12 Thread Android Users
Can this change of home page be done through code? --~--~-~--~~~---~--~~ 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] Re: fullscreen doesn't hide Status Bar in Android SDK 1.5 R2

2009-06-12 Thread Shyam Dasgupta
Thanks for that response, Mark. Did you try with a custom fullscreen theme in Android 1.5? Yes, if you directly use @android:style/ Theme.NoTitleBar.Fullscreen as the theme for your Activity, you get a fullscreen. But to tailor it to your needs, you'd need a custom theme. If you look at the

[android-developers] Re: fullscreen doesn't hide Status Bar in Android SDK 1.5 R2

2009-06-12 Thread Mark Murphy
Shyam Dasgupta wrote: Did you try with a custom fullscreen theme in Android 1.5? Custom? No. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~~

[android-developers] Re: fullscreen doesn't hide Status Bar in Android SDK 1.5 R2

2009-06-12 Thread Shyam Dasgupta
right, the title bar can be hidden both by setting flags or using a custom theme with [item name=android:windowNoTitletrue/item] but the status bar is acting differently in 1.5, atleast in my case. On Jun 12, 5:05 pm, sylpheo pierre.lecoin...@gmail.com wrote: sorry, not for status bar :) just

[android-developers] Can i set a different Browser Homepage through code?

2009-06-12 Thread Android Users
Hi all, Can i set a different Browser Homepage through code? If so then how? Need info about this urgently. Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: fullscreen doesn't hide Status Bar in Android SDK 1.5 R2

2009-06-12 Thread Desu Vinod Kumar
hi requestWindowFeature(Window.FEATURE_NO_TITLE); by calling these we can hide the title bar i On Fri, Jun 12, 2009 at 5:41 PM, Shyam Dasgupta shyam.dasgu...@gmail.comwrote: right, the title bar can be hidden both by setting flags or using a custom theme with [item

[android-developers] Re: fullscreen doesn't hide Status Bar in Android SDK 1.5 R2

2009-06-12 Thread Shyam Dasgupta
Please do me a favor - let me know if you can make a custom fullscreen theme work in Android 1.5. Just wanted to know if I am the only lone person with this issue. On Jun 12, 5:10 pm, Mark Murphy mmur...@commonsware.com wrote: Shyam Dasgupta wrote: Did you try with a custom fullscreen

[android-developers] connecting internet through Android Emulator

2009-06-12 Thread Shrinivas
Hi, Does anybody know how to connect internet from Android Emulator browser? 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] Re: fullscreen doesn't hide Status Bar in Android SDK 1.5 R2

2009-06-12 Thread Desu Vinod Kumar
or getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN); this.requestWindowFeature(Window.FEATURE_NO_TITLE); like this On Fri, Jun 12, 2009 at 5:47 PM, Desu Vinod Kumar vinny.s...@gmail.comwrote: hi

[android-developers] Re: fullscreen doesn't hide Status Bar in Android SDK 1.5 R2

2009-06-12 Thread Shyam Dasgupta
hi desu, you got it wrong. its about hiding the status bar, and not the title bar. On Jun 12, 5:17 pm, Desu Vinod Kumar vinny.s...@gmail.com wrote: hi requestWindowFeature(Window.FEATURE_NO_TITLE); by calling these we can hide the title bar i On Fri, Jun 12, 2009 at 5:41 PM, Shyam

[android-developers] The certificate that signed this apk is not valid until the future. Create a new certificate

2009-06-12 Thread Imran
Hi all Urgent Help Needed..!!! When i am trying to upload my Application it is giving the following Error...Can any one tell what it means... i have signed my application with 50 Years validity Please Help me Out..!!! Cheers Imran

[android-developers] Re: a receiver for outgoing sms and email?

2009-06-12 Thread aayush bhatnagar
Outgoing calls cannot be equated with this. 1. Dial codes (also known as feature codes in telecom) usually prefix the actual phone number when entered by the user. Complex digit analysis takes place at the GSM MSC which then routes the call to the IN platform (that provides value added services

[android-developers] Re: Google Checkout Payment Decline Won't Let Customer Repurchase App

2009-06-12 Thread Chris @ Froogloid
Google, it's been 50 hours and still no response. This appears to be a reoccuring issues as I just had another customer report the SAME EXACT issue. Please review and let me know how to handle this. Chris On Jun 9, 9:57 pm, Chris @ Froogloid chris.fag...@gmail.com wrote: Greetings ~ in the

[android-developers] Re: Google Checkout Payment Decline Won't Let Customer Repurchase App

2009-06-12 Thread Mark Murphy
Chris @ Froogloid wrote: Google, it's been 50 hours and still no response. This appears to be a reoccuring issues as I just had another customer report the SAME EXACT issue. Please review and let me know how to handle this. I assume you are also posting this someplace that might get you

[android-developers] Re: a receiver for outgoing sms and email?

2009-06-12 Thread aayush
What you can do, is to write a light weight client, that gives the user a choice..either send the sms using your android app, or send the sms over the operator's network. Based on the user's input, you can take necessary action. Unconditional interception of all outgoing SMS messages, i think is

[android-developers] Re: Google Checkout Payment Decline Won't Let Customer Repurchase App

2009-06-12 Thread David Turner
I believe you're in the wrong forum, this is for people developing Android applications, and it is very unlikely that anyone working on Market reads this on a regular basis. Try the following instead: http://www.google.com/support/forum/p/Android+Market On Fri, Jun 12, 2009 at 2:54 PM, Chris @

[android-developers] Re: TextView always loses focus after orientation change

2009-06-12 Thread matthias
anyone? --~--~-~--~~~---~--~~ 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: fullscreen doesn't hide Status Bar in Android SDK 1.5 R2

2009-06-12 Thread Shyam Dasgupta
hello developers.. anybody out there who can tell me why a custom fullscreen theme doesn't hide the status bar in 1.5 when the same theme goes fullscreen in 1.1? Is this a bug, or has there been any changes in 1.5..? Atleast the docs don't mention any change regarding this On Jun 12,

[android-developers] Re: UnknowHost when connected in WIFI

2009-06-12 Thread sylpheo
any idea ? --~--~-~--~~~---~--~~ 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: Using the touchscreen and trackball with the GLSurfaceView

2009-06-12 Thread Streets Of Boston
20ms is fine. The sleep for 20ms is not in the rendering-thread. The sleep for 20ms is in the UI thread receiving touch and trackball events. But, of course, if your user-input needs to be updated more than 50 times a second, then 20ms is too long. On Jun 12, 4:09 am, MrSnowflake

[android-developers] Re: Using the touchscreen and trackball with the GLSurfaceView

2009-06-12 Thread Streets Of Boston
Question: Does your app need to receive touch and trackball events at the same time? I.e. the user needs to use two fingers (even 2 hands)? If so, you may want to revise your user-interaction. I have not seen any app yet that forces the user to use two hands. On Jun 11, 1:56 pm, MrChaz

[android-developers] Emulator Listening Socket Fail

2009-06-12 Thread scs sek
I am creating a server client application and testing it the following way: Server (Port 1234) on emulator adb forward tcp: tcp:1234 network redirection localhost () to emulator (1234) Client 127.0.0.1 (Port ) on localhost Here the application is running successfully. Now I am

[android-developers] Re: How to reference native android drawable in the layout XML ?

2009-06-12 Thread Odessa Silverberg
android:icon=@android:drawbale/example_drawable http://developer.android.com/guide/topics/resources/available-resources.html On Jun 11, 8:54 pm, Agus agus.sant...@gmail.com wrote: Dear all android developers, How to reference native android drawable in the layout XML ? Regards, Agus.

[android-developers] widget cell 2*1, width is 160 but takes 3*1 cells

2009-06-12 Thread Hastala
Hi all, I want to create a widget takes 2*1 cells. I set the width to 160 and height to 100. Then it takes 3*2 cells. Why? I change it to 80 and 50, then it takes 2*1 cells. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Image Capture

2009-06-12 Thread hanged_man
i've written a class to capture an image and save it to the SD card, if you wish to take a look at it, PM me and id be more than willing to send you the source code --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Using the touchscreen and trackball with the GLSurfaceView

2009-06-12 Thread MrChaz
The trackball is for movement and the touchscreen is for firing. Worked pretty well using the canvas but it seems that it just isn't possible with the GLSurfaceView as even discarding the touch events seems to choke the trackball events somehow. On Jun 12, 3:19 pm, Streets Of Boston

[android-developers] Re: Ability to quit/disable an app after trial period?

2009-06-12 Thread Odessa Silverberg
On Jun 10, 9:48 pm, Slater easwar.satras...@gmail.com wrote: - Currently there is no mechanism built into android that allows an app to be closed.  I see that you can close the main acitivity, but the user can always press the back button and go back into the app. - After trial period, the

[android-developers] Bug? LocationMasfClient / GPS keeps sending updates even after locationmanager.removeupdates?

2009-06-12 Thread chrispix
Ok, I am using GPS on Google maps, and this is my onPause. Am I missing something? GPS keeps sending LocationMasfClient getNetworkLocation(): Returning cache location with accuracy 1319.0 Then eventually it does : GPSLocationProvider state: DISCONNECTED apnName: null reason: null. Am I missing

[android-developers] Re: Ability to quit/disable an app after trial period?

2009-06-12 Thread chrispix
We did the database IMEI implementation. Check out a2b trial. Its pretty slick b/c you can update counts from the server, extend, or make into full versions remotely. Chris. On Jun 10, 2:48 pm, Slater easwar.satras...@gmail.com wrote: I am planning to release a trial version of my app and am

[android-developers] Best way : Inflate xml or create view

2009-06-12 Thread Tom
I would like to know which way is the best and why between : - inflate a view from xml - create the view directly I'm talking about performance. Best regards Tom --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Listening to Double Taps in MapView

2009-06-12 Thread Georgy
Hello, I was able to listen to user touches or taps on the screen in a MapView and trigger a dialog giving the user some feedback. I need to implement the same concept but with double tap to trigger another dialog. I looked around and couldn't find much... I wrote this function: public void

[android-developers] How can I instantiate android.R.layout.simple_list_item_1 in Custom ListAdapter?

2009-06-12 Thread Max Salley
I'm making a custom listview and I would like to use the standard textview shown in the tutorial to display the text items (defined in android.R.layout.simple_list_item_1). How do I instantiate it? The best I can figure is using View.inflate in the ListAdapter's getView method, but this throws

[android-developers] Intel® Core™2 Quad Processo r Q9400 or Intel® Core™2 Duo Processor E8400 with Inte l® Q45 Express Chipset

2009-06-12 Thread whatn...@gmail.com
Featuring 45nm process technology and based on Intel(R) Core(tm) microarchitecture, the Intel(R) Core(tm)2 Quad Processor Q9400Δ and Intel(R) Core(tm)2 Duo Processor E8400Δ provide advancements in simultaneous computing for multi-threaded applications and multi-tasking environments for more

[android-developers] Intel® Core™2 Quad Processo r Q9400 or Intel® Core™2 Duo Processor E8400 with Inte l® Q45 Express Chipset

2009-06-12 Thread whatn...@gmail.com
Featuring 45nm process technology and based on Intel(R) Core(tm) microarchitecture, the Intel(R) Core(tm)2 Quad Processor Q9400Δ and Intel(R) Core(tm)2 Duo Processor E8400Δ provide advancements in simultaneous computing for multi-threaded applications and multi-tasking environments for more

[android-developers] Re: Listening to Double Taps in MapView

2009-06-12 Thread Keith Wiley
If I'm understanding you correctly, you *named* your handler method setOnDoubleTapListener(). That's not right. That's the callback setup method you call, passing it the object that you want called back to in the event of a double tap. The callback method is then some other name. In your

[android-developers] Re: Listening to Double Taps in MapView

2009-06-12 Thread Georgy
still it doesn't get the double taps... On Jun 12, 12:57 pm, Keith Wiley kbwi...@gmail.com wrote: If I'm understanding you correctly, you *named* your handler method setOnDoubleTapListener().  That's not right.  That's the callback setup method you call, passing it the object that you want

[android-developers] Re: connecting internet through Android Emulator

2009-06-12 Thread Roman
When your development system is connected to the internet the browser in the emulator should be able to access the internet without any problems. You might want to check whether the data interfaces are correctly set up on your emulator (use netstat, ifconfig and ping). For example try to ping

[android-developers] RelativeLayout breaks the paradigm of ViewGroup with onMeasure and onLayout

2009-06-12 Thread Matt
According to http://developer.android.com/guide/topics/ui/custom-components.html: onMeasure(int, int) Called to determine the size requirements for this view and all of its children. onLayout(boolean, int, int, int, int) Called when this view should assign a size and position to all of

[android-developers] Re: RelativeLayout breaks the paradigm of ViewGroup with onMeasure and onLayout

2009-06-12 Thread Romain Guy
RelativeLayout does exactly what the documentation says it should be doing. The size and position is are assigned in onLayout(). Here is the code: @Override protected void onLayout(boolean changed, int l, int t, int r, int b) { // The layout has actually already been performed

[android-developers] Where can I find the source code of camcorder application on g1 phone?

2009-06-12 Thread cindy
Where can I find the source code of camcorder application on g1 phone? Thanks! Cindy --~--~-~--~~~---~--~~ 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: How to tell when application exits?

2009-06-12 Thread Doug
I was actually referring to the android.app.Application object http://developer.android.com/reference/android/app/Application.html Obviously there are no guarantees, but this might be a better way for Max to *try* to determine whether the application is shutting down or an Activity is merely

[android-developers] Importing Data from Excel

2009-06-12 Thread Georgy
Greetings, anyone know how I could import existing data from an excel file into android? Is there anyway to import it into SQLlite? thanks, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: Importing Data from Excel

2009-06-12 Thread Mark Murphy
Georgy wrote: anyone know how I could import existing data from an excel file into android? Is there anyway to import it into SQLlite? There is no on-device Excel parser, and the ones I have used are all rather pudgy and so probably would not work well on a device. Off-device, there are

Re: 回复: [android-developers] Re: Probl em with setTheme() method

2009-06-12 Thread Benny
style name=Theme.MyDialog parent=android:style/Theme.Dialog item name=android:backgroundDimAmount0/item item name=android:windowNoTitletrue/item /style works for me ... greet On Apr 18, 4:24 pm, agirardello andrea.girarde...@gmail.com wrote: I have the very

[android-developers] Question on MMS-supported media types

2009-06-12 Thread Joes
I found some media types are not supported by MMS evenif they are alreday supported by platform. For example, user can not attach bmp file to MMS. The MMS supported mediatypes are listed in frame/base/core/java/com/ google/android/mms/ContentType.java , I modied this file ,added the bmp

[android-developers] linearlayout does not allow vertical scroll after adding dynamic edittexts

2009-06-12 Thread TheBeefiest
I have a simple form ?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:layout_height=fill_parent LinearLayout android:layout_width=wrap_content

[android-developers] Typos in 1.5 r2 DevGuideGraphics timestamp 02 Jun 2009 12:17

2009-06-12 Thread Dennis
From the url http://developer.android.com/guide/topics/graphics/index.html In the Consider your Options section: Option b, drawing to a Canvas, is better when you're application needs ... has the wrong homonym. you're should be your, as in Option b, drawing to a Canvas, is better when

[android-developers] Re: When I try to use DefaultHttpClient to access https server via proxy, an IllegalArgumentException will be thrown, why?

2009-06-12 Thread Mark Doliner
Hi Aaron, I ran into this problem, too. It looks like someone has filed an issue about it in the Android bug tracker: http://code.google.com/p/android/issues/detail?id=2690 -Mark On Apr 19, 7:27 pm, aaron adogwitha...@gmail.com wrote: Detail Descriptioin: 1. When I use the same code to

[android-developers] How to achieve transparency for a new activity

2009-06-12 Thread Peeyush
Hi all, I wanted to keep by background transparent when I open new activity on half of the screen. I coded like this, style name=Mytheme item name=android:windowBackground@android:color/transparent/ item item name=android:windowFrame@null/item item

[android-developers] Emulator won't work

2009-06-12 Thread Dagvadorj Galbadrakh
When I start an AVD with emulator, emulator says the following emulator: emulator window was out of view and was recentred And then when I try to install an application to the running emulator, it says error: device offline and returns. Would somebody please help me? I'd be appreciated.

[android-developers] How to use the LevelListDrawable class

2009-06-12 Thread bmul
Hi, I am trying to use the LevelListDrawable class in order to control a sequence of images for a timer. The problem that I am having is that the setLevel() method is having no effect on the displayed image. The only image that is displayed in the UI is the first image in the list. According

[android-developers] Why did Google Groups not post my comments?

2009-06-12 Thread Dennis
I posted a detailed comment about typos in Android documentation several hours ago. My post is nowhere to be seen. Why did Google Groups hose my post? Maybe Google doesn't care that their Android documentation contains typos. --~--~-~--~~~---~--~~ You received

[android-developers] Emulator won't work. emulator window was out of view and was recentred

2009-06-12 Thread Dagvadorj Galbadrakh
When I start an AVD with emulator, emulator says the following emulator: emulator window was out of view and was recentred And then when I try to install an application to the running emulator, it says error: device offline and returns. Would somebody please help me? I'd be appreciated.

[android-developers] Re: Animated window transitions in Android 1.5

2009-06-12 Thread David Golightly
Oh, got it - the setting is on the device, not in the application. The idea is to let the user turn on/off animations as desired. On May 12, 9:56 am, Dianne Hackborn hack...@android.com wrote: You generally don't -- let the system use its standard one. On Tue, May 12, 2009 at 7:07 AM, poncz

[android-developers] Re: Google Login Service not working on SDK 1.5

2009-06-12 Thread a195763
Hi, Has anyone known the solution about this? Can you pls tell me how to get the Google Login service working? I need to sync the contacts. My email : a19...@motorola.com On May 29, 3:36 pm, Arun achoudhary2...@gmail.com wrote: Hi All, I have the same issue. I tried several approaches of

[android-developers] Re: Socket timeout not working?

2009-06-12 Thread marcomoel...@googlemail.com
hi, I have the same problem, but it worked with: socket = new Socket(); SocketAddress adr = new InetSocketAddress(host,port); socket.connect(adr, 1000); // s = new Socket(host, port); //

[android-developers] Listeners cause unexpected stop??

2009-06-12 Thread psik187
I have a very simple android application started and any time i add any sort of a listener to anything, the android emulator tells me my application has stopped, before it even does anything... public class StatTracker extends Activity { ArrayAdapterRecord aa; ArrayListRecord

[android-developers] Re: Animated window transitions in Android 1.5

2009-06-12 Thread David Golightly
So, I have a project where no animations are being performed - how do we get the system to use its standard one? i.e., where is that setting located? On May 12, 9:56 am, Dianne Hackborn hack...@android.com wrote: You generally don't -- let the system use its standard one. On Tue, May 12,

[android-developers] Showing only certain images with ACTION_VIEW

2009-06-12 Thread qian
I'm trying to implement a functionality that can be done in one of two ways. Our application creates finds that each have multiple images attached to them. These images are shown in a gallery, and when one is clicked, the picture is then shown in an enlarged gallery like the gallery application.

[android-developers] Re: Blogging Tool

2009-06-12 Thread Sounds_of_Science
I've been reading over http://developer.android.com/guide/topics/fundamentals.html to better understand how the Android language works. Unfortunately I can't find a cohesive way to study making games. I read this blog here: http://www.rbgrn.net/content/54-getting-started-android-game-development

[android-developers] Localice Android applications and base system

2009-06-12 Thread Francisco Dieguez
Hi, I'm new at this platform and I have bought my HTC Magic. The initial the platform is amazing. At my region there are many cooficial languages, Spanish, Galician and others, but the Galician translation isn't included at the base system. Is there and standarized method to translate the base

[android-developers] Re: Socket timeout not working?

2009-06-12 Thread marcomoel...@googlemail.com
server = new Socket(); SocketAddress adr = new InetSocketAddress(host,port); server.connect(adr, 3000); On 6 Jun., 20:58, JP joachim.pfeif...@gmail.com wrote: I am not familiar with the implementation of the stack, but what you could try is to

[android-developers] contentobserber for my database

2009-06-12 Thread aj127005
Hi, i tried to create a contentobserver for database,but when the tables changed, it did not work in my activity. is the Uri wrong? here is a mycode: public static final String AUTHORITY = com.app.provider.myapp; public static final Uri CONTENT_URI=

[android-developers] Where is GLSurfaceView?

2009-06-12 Thread mattelacchiato
Hi, i want to start programming in OpenGL on Android, but Eclipse can't find the GLSurfaceView. I'm using the 1.5 SDK. Do I have to set specific entries in the build path? Greetings, Matthias --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: fullscreen doesn't hide Status Bar in Android SDK 1.5 R2

2009-06-12 Thread peeyush varshney
HI, I am also facing probs with transparent theme.. i tried my theme to keep my activity background transparent.. ?xml version=1.0 encoding=utf-8? resources style name=Mytheme item name=android:windowBackground@android:color/transparent/item item name=android:windowFrame@null/item

[android-developers] No WiFi, no internet?

2009-06-12 Thread Dagvadorj Galbadrakh
I am using android emulator on Eclipse on a desktop PC, where no WiFi is available. But I have Ethernet connection and I am connected to the Internet. In the emulator, I can not access Internet through the built-in Browser application. Does this mean that when I write an app using internet on

[android-developers] Duplicate processes triggered from ongoing notification

2009-06-12 Thread Delta Foxtrot
I added a notification for an ongoing process, however when this is clicked on it triggers a duplicate process and when you exit the duplicated process the original copy is re-run by the operating system. The app I'm working on doesn't use the main activity window, except to trigger one of 2

[android-developers] Re: Ability to quit/disable an app after trial period?

2009-06-12 Thread Delta Foxtrot
2009/6/12 Androman amirs...@gmail.com With System.exit() you can exit android app even if it is not recommended still it can be very useful. Method onRestore() is called allways when your activity is about to be shown and here you do something... Connect your app with your server where you

[android-developers] Passing data from intent caller to intent receiver?

2009-06-12 Thread perak
Having used a dozen GUI toolkits (from Xt to Qt, Java Awt/Swt/Swing, Qtopia, etc) I really find it difficult to get used to Android. I guess there should be a Java GUI (or traditional Desktop GUI) to Android GUI transition guide :) Suppose I have the MainView Activity class which explicitly

[android-developers] Re: Has the android.app package been removed from 1.5_r2

2009-06-12 Thread peeyush varshney
Hi, How we can update the timer widget when seek bar position has changed.. On Fri, Jun 12, 2009 at 3:51 PM, Mark Murphy mmur...@commonsware.comwrote: Daniel wrote: I get this error when compiling. Can anyone else replicate it? It happens when importing

[android-developers] Preference Summary Length

2009-06-12 Thread NDev
Hi All, I am using Preferences in one screen for application specific data. I am using Summary tag for preference and I am observing that it is not displaying the whole text of the summary. It is displaying around 70 chars.. Does any one know any limitation of Summary tag? Is there any

[android-developers] Re: Problem with MapActivity on the 1.5 release

2009-06-12 Thread keiko11245
I'm not sure but the first line of your error is : 05-22 15:13:36.723: ERROR/AndroidRuntime(445): java.lang.NoClassDefFoundError: main.ViewContactActivity Are you sure you have add your Activity ViewContactActivity in your AndroidManifest.xml ? On 28 mai, 16:38, mobilekid

[android-developers] How to force hierarchy change to PreferenceActivity?

2009-06-12 Thread yoshitaka tokusho
I have a PreferenceActivity building screen hierarchy from code, and I need to force display hierarchy change dynamically when one of SharedPreference value changed. I know this might be a kind of easy quesiton, but I couldn't find answer anywhere in documentations or discussion. My

[android-developers] Closing virtual keyboard from code

2009-06-12 Thread avgee
Unfortunately stuff like android keyboard close didn't bring up any solutions for closing the virtual keyboard by code. Can someone perhaps help me? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Any Android Developers looking for Jobs?

2009-06-12 Thread Robin P
Dear Android Developer, if you are looking for an exciting opportunity to use your skills to make commercial softwares for a leading Telecom/ Mobile company, please contact me ASAP. This is a year long contract opportunity in Texas. Email me your resume at robin.sysm...@gmail.com .

[android-developers] Spinner OnItemSelectedListener - Differentiating between user selection and initialization

2009-06-12 Thread Kerry
I've seen this question posted here before but I haven't seen any answers to this problem yet. Any help would be appreciated. I've implemented a spinner with an OnItemSelectedListener event handler. When I initialize the spinner AND when a user makes a selection the even handler gets called.

[android-developers] Re: Ubuntu Jaunty and adb not playing well together

2009-06-12 Thread Tom
Try running adb as root ./adb kill-server;./adb devices If you then see the dev phone you could ; chown root.root adb;chmod 4777 adb This will run adb as root automagically. Tom On Apr 16, 5:56 am, Zigurd zigurd.medni...@gmail.com wrote: Trying to get an Ubuntu Jaunty system to talk to a dev

[android-developers] Getting my app in the featured section

2009-06-12 Thread Paul Burrowes
Hello I have an app which I think could be in the featured section of the Android Market and was wondering the best way to proceed. The application is Scan2PDF Mobile which uses your phone's camera to scan documents and make PDF files which can be saved or emailed from the phone. The pages are

[android-developers] Re: connecting internet through Android Emulator

2009-06-12 Thread Dagvadorj Galbadrakh
I have the same problem. Is it because my PC doesn't have WiFi? I don't understand for now. On Fri, Jun 12, 2009 at 3:02 PM, Shrinivas sinu.go...@gmail.com wrote: Hi, Does anybody know how to connect internet from Android Emulator browser? Thanks -- Dagvadorj GALBADRAKH

[android-developers] Re: linearlayout does not allow vertical scroll after adding dynamic edittexts

2009-06-12 Thread Romain Guy
No, you need to put your LinearLayout (with a height of wrap_content) inside a ScrollView. On Thu, Jun 11, 2009 at 8:59 PM, TheBeefiestgeriatricdancepa...@gmail.com wrote: I have a simple form ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/

[android-developers] Re: Typos in 1.5 r2 DevGuideGraphics timestamp 02 Jun 2009 12:17

2009-06-12 Thread Romain Guy
Hi, Thanks! Could you please file a bug at http://b.android.com? On Thu, Jun 11, 2009 at 5:46 PM, Dennisspecklesan...@gmail.com wrote: From the url http://developer.android.com/guide/topics/graphics/index.html In the Consider your Options section:   Option b, drawing to a Canvas, is

[android-developers] Re: No WiFi, no internet?

2009-06-12 Thread Mark Murphy
Dagvadorj Galbadrakh wrote: I am using android emulator on Eclipse on a desktop PC, where no WiFi is available. But I have Ethernet connection and I am connected to the Internet. In the emulator, I can not access Internet through the built-in Browser application. Does this mean that when I

  1   2   >