[android-developers] Re: Website for your app, how important do you feel it is?

2010-08-08 Thread Marcus Wolschon
On 8 Aug., 04:33, Brad bradfull...@gmail.com wrote: So I'm scaling back my website and focusing more on Facebook for now - we'll see how it goes. So what about all the people NOT on facebook? No matter how that thing is growing, the complementary group is still the majority. Oh and why oh

[android-developers] Request different IME for TextEditField

2010-08-08 Thread Marcus Wolschon
Hello, Background: In Vespucci (editor for OpenStreetMap) I have input-fields for key+value. Many people use Swype but that one is broken with AutoCompleteTextFields as it only transmits finished words to the TextField and not the individual characters. Thus the list of autocompletion-results is

Re: [android-developers] Re: Website for your app, how important do you feel it is?

2010-08-08 Thread TreKing
On Sat, Aug 7, 2010 at 9:33 PM, Brad bradfull...@gmail.com wrote: Oh and why oh why oh why can't someone at Google bump up the 325 char limit? It would probably take all of 5 keystrokes to change this. I would pay good money to learn the logic that went into determining this as the

[android-developers] Custom View

2010-08-08 Thread pawan nimje
Hi all, I want to create a custom view.In which i want to have a background image,2 buttons,1 textview. Can anybody tell me how to start with. Thanks -- 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] Custom View

2010-08-08 Thread Martins Streņģis
why you just dont create a xml file which has those properties ? :) -- 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

Re: [android-developers] Re: Website for your app, how important do you feel it is?

2010-08-08 Thread Core Form
If you always say its a security update then any User would be foolish not to get the update ;) :D Down side of that is Users would think you've got a track record of consistent security flaws, might think you're Adobe and not to be trusted :( On Sun, Aug 8, 2010 at 5:18 PM, TreKing

[android-developers] LVL Feedback

2010-08-08 Thread Pent
LVL has been in use for around 48 hours with my modest several thousand users and I havn't had a single case of 'couldn't validate' so it's looking good, fingers crossed. Thanks Googlers! I don't believe that in itself it's in any way 'secure' but it at least means that each update has to be

Re: [android-developers] Error after publishing

2010-08-08 Thread TreKing
On Sat, Aug 7, 2010 at 5:22 PM, HIRAK hirak1...@gmail.com wrote: Could somebody please help me? I'm sorry, but how exactly do you expect people to help you? That stack trace you posted shows nothing other than the obvious fact that you have a NullPointer somewhere. We know nothing about your

Re: [android-developers] Integrating orkut in android application

2010-08-08 Thread Jenus Dong
Project like facebook or twitter would be found in code.google.com, you could find some hint from that place. Try it, wish it could be helpful to you. On Sat, Aug 7, 2010 at 1:29 PM, Amit amitmishr...@gmail.com wrote: Hi all, I am developing an application in which i m planning to provide a

Re: [android-developers] unable to playback dumped h264 stream

2010-08-08 Thread Jenus Dong
It is a suggestion to give a answer from the other google group, that is 'ffplay'. From your description, I dont get it is about to android platform problem. Do you try the code different platform? On Sat, Aug 7, 2010 at 5:14 PM, paul linto linto.andr...@gmail.com wrote: Hi All, Can you

Re: [android-developers] Can't make restartPackage() / killBackgroundProcesses() to work

2010-08-08 Thread Fabrizio Giudici
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/7/10 19:59 , Dianne Hackborn wrote: Sorry you can't do this. Apps now can only kill processes of other apps that are in the background. Too bad. This makes functional testing more complex and longer than it should... :-( But why doesn't it

[android-developers] Rendering artifacts in OpenGL

2010-08-08 Thread Warren
I am doing some very basic drawing of triangles in OpenGL, but I am seeing strange rendering errors. When I draw a textured square (two triangles) part of the square is missing or the texture is stretched or corrupted. When I draw a square with no texture, part of the square is missing sometimes.

Re: [android-developers] unable to playback dumped h264 stream

2010-08-08 Thread paul linto
yeah .. i understand that it is not a problem specific with android platform..but still would like to know if anybody had faced a similar issue before ...I have not tried this on any other platform On Sun, Aug 8, 2010 at 7:40 PM, Jenus Dong jenus.ne...@gmail.com wrote: It is a suggestion to

[android-developers] Re: How to know the home launcher app packagename through programming?

2010-08-08 Thread manoj
Hi Mark, could you please alobrate it? I have used the following code. but didn't get the result. Intent i = new Intent(); i.setAction(Intent.ACTION_MAIN); i.addCategory(Intent.CATEGORY_HOME); PackageManager pm = this.getPackageManager(); ResolveInfo ri =

Re: [android-developers] Re: How to know the home launcher app packagename through programming?

2010-08-08 Thread Mark Murphy
Please define didn't get the result. On Sun, Aug 8, 2010 at 9:57 AM, manoj manojkumar.m...@gmail.com wrote: Hi Mark, could you please alobrate it? I have used the following code. but didn't get the result. Intent i = new Intent();        i.setAction(Intent.ACTION_MAIN);        

[android-developers] Re: How to know the home launcher app packagename through programming?

2010-08-08 Thread manoj
I mean the package name of the launcher. finally got it. ActivityInfo ai = ri.activityInfo; ai.packageName will give the package name. Thanks for the help. On Aug 8, 7:11 pm, Mark Murphy mmur...@commonsware.com wrote: Please define didn't get the result. On Sun, Aug 8, 2010 at 9:57 AM,

Re: [android-developers] Ant Build increment Version number

2010-08-08 Thread Leigh McRae
Use the ant task replaceregexp to find and replace the values in AndroidManifest.xml. Also there is an ant task to maintain a build number, I forget the name. On 8/7/2010 11:05 AM, samspade79 wrote: Hi, Does anyone know a way I can have my ant build automatically increment the version

[android-developers] LVL and Settings.Secure.ANDROID_ID - how secure?

2010-08-08 Thread Nyll
Hi, I am integrating the new Android Licensing scheme and was wondering how secure licensing would be if I just use Settings.Secure.ANDROID_ID as a unique device ID. The sample app uses this, but suggests using more IDs as this is a single point of attack. However, the Licensing docs seems to

Re: [android-developers] LVL and Settings.Secure.ANDROID_ID - how secure?

2010-08-08 Thread Mark Murphy
On Sun, Aug 8, 2010 at 11:20 AM, Nyll codingcave...@gmail.com wrote: But there are some posts on the internet showing it is (was?) possible to spoof ANDROID_ID. Is this still the case?  If so, for anybody, or just root users? AFAIK, root users can still modify the database where ANDROID_ID

Re: [android-developers] Re: Website for your app, how important do you feel it is?

2010-08-08 Thread Shane Isbell
On Sat, Aug 7, 2010 at 11:27 PM, Marcus Wolschon marcus.wolsc...@googlemail.com wrote: On 8 Aug., 04:33, Brad bradfull...@gmail.com wrote: So I'm scaling back my website and focusing more on Facebook for now - we'll see how it goes. So what about all the people NOT on facebook? No

[android-developers] when video duration or date_modified attribute available through content provider

2010-08-08 Thread Tabman
I'm having some trouble accessing attributes like DURATION and DATE_MODIFIED of video and image. My app access these attributes for both type of data but if I take a picture or shoot a video the related attributes are not immediately available through content provider e.g. for DURATION for that

[android-developers] SensorManager stop working after sometimes

2010-08-08 Thread diptendu das
Hi all, in my game i use SensorListener for CAR movement according to phone tilting but stop responding after some time. my code is public void onSensorChanged(int sensor, float[] values) { if (sensor == SensorManager.SENSOR_ACCELEROMETER ) { x =

[android-developers] native c++ api

2010-08-08 Thread jsm
Can google provide a native c++ api to develop for Android, not the NDK which uses Java/JNI to invoke c++ classes? Its primarily for performance related requirement. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: OpenGL dropping triangles

2010-08-08 Thread Indicator Veritatis
What do you get with no texturing? On Aug 7, 7:53 am, Warren warrenba...@gmail.com wrote: I am doing some very basic drawing of triangles in OpenGL, but I am seeing strange rendering errors. When I draw a textured square (two triangles) part of the square is missing or the texture is stretched

[android-developers] low quality background in 1.1

2010-08-08 Thread coy
Hi, why does the background becomes low quality in the emulator? thanks, COY. -- 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

[android-developers] Re: LVL and Settings.Secure.ANDROID_ID - how secure?

2010-08-08 Thread Pent
I was wondering about the use of ANDROID_ID anyway: A 64-bit number (as a hex string) that is randomly generated on the device's first boot and should remain constant for the lifetime of the device. (The value may change if a factory reset is performed on the device.) 'should' and 'may'

[android-developers] Re: SensorManager stop working after sometimes

2010-08-08 Thread RichardC
Anything in LogCat? On Aug 8, 4:53 pm, diptendu das diptendu...@gmail.com wrote: Hi all, in my game i use SensorListener for CAR  movement according to phone tilting  but stop responding after some time. my code is  public void onSensorChanged(int sensor, float[] values) {             if

[android-developers] adding a splash screen to an APK

2010-08-08 Thread Avtar Khalsa
Hi guys I am a bit new to android development, and am trying to implement a splash screen on top of an existing APK. The idea would be that the APK still runs exactly the same as before, but before it does, a splash screen displaying the developer's logo comes up for a few seconds. I know this

[android-developers] Populating custom layout from xml resource.

2010-08-08 Thread gnugu
Hello, I have created a custom list item layout just like in this article http://developer.android.com/resources/articles/layout-tricks-efficiency.html. Each list item has icon, title and summary. I would like to declare an xml resource that would provide data for that list. Just like you use

[android-developers] Being a Productive Android User on the go

2010-08-08 Thread Umar
Here are my requirements for truly drinking and living the Android coolade: * Use laptop or netbook or mini-book running Android * Prefer real keyboard rather than touch sensitive keyboard (not requiring tablet PC) * Android-based laptop device should have a driver that easily recognizes Clear 4G

[android-developers] Re: adding a splash screen to an APK

2010-08-08 Thread Maps.Huge.Info (Maps API Guru)
Try using a theme. You can specify that in the manifest: application android:icon=@drawable/icon android:label=@string/ app_name android:theme=@style/Theme.Standard Then in your theme: ?xml version=1.0 encoding=utf-8? resources style name=Theme.Standard parent=android:Theme.Light

Re: [android-developers] Re: SensorManager stop working after sometimes

2010-08-08 Thread diptendu das
As i don't know how to test in emulator..i test it on phone and printed the value of x in the screen. initially the value changes but after sometimes value becomes 0; where as my onTouchEvent is working fine. On Sun, Aug 8, 2010 at 10:23 PM, RichardC richard.crit...@googlemail.comwrote:

[android-developers] Re: SensorManager stop working after sometimes

2010-08-08 Thread RichardC
You can get a logcat from your phone, it's no different from testing on the emulator. If you are developing in Eclipse change to the Debug (or DDMS) perspective as soon as you have launched your application. If you are not using Eclipse then run DDMS from the android/tools directory before you

[android-developers] Re: LVL returns LICENSED with anonymous accounts...

2010-08-08 Thread sblantipodi
this answered all my questions, If an app is in draft (never published), then we send LICENSED for all requests for that app. On Aug 7, 1:26 am, Trevor Johns tjo...@google.com wrote: If an app is not published AND not draft, then you'll get ERROR_NOT_MARKET_MANAGED. If an app is in draft

[android-developers] Re: LVL - live test

2010-08-08 Thread sblantipodi
Excellent, I'm hitting my head on the desk for a while, and the answer are so simple, please fix the documentation. On Aug 7, 12:31 am, Trevor Johns tjo...@google.com wrote: Hi everyone, I think the issue that people are seeing here (and as far as I can tell, the one Richard was experiencing)

[android-developers] Re: Android Market Licensing: Now Available!

2010-08-08 Thread mp6800
Perhaps, but you didn't answer my question. Anybody else? Also, in the included sample app, the license check is triggered during onCreate. This means that when I click Buy App, go to the market, then immediately hit the back button, it goes back to the app and doesn't check again (at least not

[android-developers] Re: LVL Feedback

2010-08-08 Thread Joseph Earl
p.s. bit more advance notice next time would be great... Agreed. Things should get better in the future as the platform matures though. -- 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: adding a splash screen to an APK

2010-08-08 Thread Joseph Earl
You could create a new application which displays a splash screen and then loads the desired activity from your original application (as you suggest above). Make sure to finish() the splash screen activity once you have started your desired activity. On Aug 8, 6:46 pm, Avtar Khalsa

[android-developers] Re: LVL and Settings.Secure.ANDROID_ID - how secure?

2010-08-08 Thread Joseph Earl
'should' and 'may' concerned me too much to use it. If what you want is a constant ID for the life-time of the device then you are correct - this is not the ID you are looking for; in this case use the IMEI. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: adding a splash screen to an APK

2010-08-08 Thread Avtar Khalsa
Thanks for the replies. If I make a new application, and only have the .APK file of the original application, can I bundle that with the splash screen application that I am making? Or would they need to be installed separately? On Aug 8, 5:29 pm, Joseph Earl joseph.w.e...@gmail.com wrote: You

[android-developers] Re: native c++ api

2010-08-08 Thread Joseph Earl
I don't think this will happen. You'd have to recompile your ENTIRE application for each device. On Aug 8, 5:02 pm, jsm mamm...@gmail.com wrote: Can google provide a native c++ api to develop for Android, not the NDK which uses Java/JNI to invoke c++ classes? Its primarily for performance

[android-developers] Re: LVL returns LICENSED with anonymous accounts...

2010-08-08 Thread Mark Carter
I'm wondering if it would be better for all draft (never published) apps to follow the rules set up in the Dev Console (rather than just returning LICENSED)? Because: 1. Its more intuitive to the dev (as can be seen from this thread) 2. It gives the dev more control - he can test an app fully

[android-developers] Re: Request different IME for TextEditField

2010-08-08 Thread Joseph Earl
Do you mean there is a problem with the Swype IME when Swyping, or when just tapping the individual keys like a normal keyboard? Is it possible to force the usage of another keyboard (e.g. one the user selected in m app's preferences) for the text-fields in my app to restore user-experience?

[android-developers] androidconnector and androidpublisher

2010-08-08 Thread r a f t
hello, has anyone have experience with androidconnector.com or androidpublisher.com? they offer to sell applications in market on behalf of developers who don't have the right to sell in market. from androidconnector.com's faq section: AndroidConnector links to your Android Developer account so

[android-developers] Re: Populating custom layout from xml resource.

2010-08-08 Thread Joseph Earl
Create a custom layout with an ImageView and two TextViews. On Aug 8, 7:07 pm, gnugu rho...@gmail.com wrote: Hello, I have created a custom list item layout just like in this articlehttp://developer.android.com/resources/articles/layout-tricks-efficie Each list item has icon, title and

[android-developers] Re: adding a splash screen to an APK

2010-08-08 Thread Joseph Earl
It would be possible to include the original .apk in your new application. However the original .apk will not be installed when your new application is - it will stay packaged, so your new application would have to take care of installing the original .apk via the package manager when launched (if

[android-developers] Re: LVL returns LICENSED with anonymous accounts...

2010-08-08 Thread sblantipodi
Mark you are obviously right, returning always licensed has no sense, is no useful and doesn't give any help to developers. I think that this behaviour is just lazyness from the google developer side. On Aug 8, 11:40 pm, Mark Carter mjc1...@googlemail.com wrote: I'm wondering if it would be

Re: [android-developers] androidconnector and androidpublisher

2010-08-08 Thread Shane Isbell
I'm pretty sure that these companies are on shaky ground in regards to international and domestic taxes/royalties. If it were that easy, Google wouldn't be blocking such developers from uploading to the Android Market. On Sun, Aug 8, 2010 at 2:52 PM, r a f t hakan.erya...@gmail.com wrote:

Re: [android-developers] Re: Does all Android Devices support Map API

2010-08-08 Thread Jonas Petersson
Hi again Nithin, Sorry, for the somewhat late response On 08/07/2010 07:36 AM, Nithin wrote: Sony's first release (X3) have lot of bugs. [...] So, X3 have lot of bugs and your application won't work properly in X3. Maybe because of that your application is rejected. I am not sure any other

[android-developers] Re: low quality background in 1.1

2010-08-08 Thread coy
when I'm editing the layout, the background is all right. But in the emulator it gets low quality. Whyyy? Soes anyone know why? Thanks, coy. On 8 ago, 13:37, coy cawe...@gmail.com wrote: Hi, why does the background becomes low quality in the emulator? thanks, COY. -- You received this

[android-developers] HTML 5 Camera access

2010-08-08 Thread m
I could have sworn I saw this demoed at Google IO this year. 1) In Google Buzz, a new post is written. 2) There is a button to add a photo taken from the camera 3) The native camera app is launched and the user takes a picture. 4) Taken back to the browser where the photo is attached to the Buzz

Re: [android-developers] HTML 5 Camera access

2010-08-08 Thread Mark Murphy
I was under the impression that Google was waiting on more standardization, such as the stuff coming out of the W3C Device APIs and Policy Working Group: http://www.w3.org/TR/html-media-capture/ http://www.w3.org/2009/dap/ On Sun, Aug 8, 2010 at 7:29 PM, m phillip...@gmail.com wrote: I could

[android-developers] Re: Populating custom layout from xml resource.

2010-08-08 Thread gnugu
Joseph, as I stated in my original post I already have created custom layout with and ImageView and two TextViews. The question at hand is: How do I populate a ListView, that has a custom list item as defined above, from XML resource? I.e.: Having a custom layout with ImageView and two

[android-developers] Thanks, worked perfectly

2010-08-08 Thread Peter Webb
Thankyou. Solved the problem. Strange the demo program got this wrong as well ... Peter Webb On Aug 8, 4:01 am, Dianne Hackborn hack...@android.com wrote: The live wallpaper picker doesn't show icons; it shows thumbnails declared by the wallpaper in its wallpaper meta-data XML:

[android-developers] Re: androidconnector and androidpublisher

2010-08-08 Thread r a f t
So what will be your advise for developers who can't sell legally at market? Besides alternative markets like SlideME. On Aug 9, 1:40 am, Shane Isbell shane.isb...@gmail.com wrote: I'm pretty sure that these companies are on shaky ground in regards to international and domestic taxes/royalties.

Re: [android-developers] Re: Populating custom layout from xml resource.

2010-08-08 Thread Mark Murphy
On Sun, Aug 8, 2010 at 8:00 PM, gnugu rho...@gmail.com wrote: as I stated in my original post I already have created custom layout with and ImageView and two TextViews. The question at hand is: How do I populate a ListView, that has a custom list item as defined above, from XML resource?

Re: [android-developers] Re: androidconnector and androidpublisher

2010-08-08 Thread Shane Isbell
On Sun, Aug 8, 2010 at 5:35 PM, r a f t hakan.erya...@gmail.com wrote: So what will be your advise for developers who can't sell legally at market? Besides alternative markets like SlideME. I'm not saying you shouldn't use these services, I'm just saying I don't think these companies put any

[android-developers] How to catch the event when sleep button is pressed?

2010-08-08 Thread KwangWon
I would like to write an application which shutdown (finish()) itself when the sleep button is pressed. Any hint? Thanks, -- 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: Does all Android Devices support Map API

2010-08-08 Thread Alex Xin
Are there any ways that we can install Google API and apps on those devices? On Mon, Aug 9, 2010 at 6:47 AM, Jonas Petersson jonas.peters...@xms.sewrote: Hi again Nithin, Sorry, for the somewhat late response On 08/07/2010 07:36 AM, Nithin wrote: Sony's first release (X3) have lot of

Re: [android-developers] How to catch the event when sleep button is pressed?

2010-08-08 Thread Mark Murphy
On Sun, Aug 8, 2010 at 9:16 PM, KwangWon ury...@gmail.com wrote: I would like to write an application which shutdown (finish()) itself when the sleep button is pressed. Any hint? Thanks, If by sleep button you mean power button, you can try watching for the KEYCODE_POWER KeyEvent. I haven't

[android-developers] Re: Does all Android Devices support Map API

2010-08-08 Thread Nithin
Are you saying this X3 was ever actually properly released? It is my understanding that X3 (aka Rachael) was only every used internally and by the time it was actually released it was called X10. I am not sure about that. Anyway I have X3 as well as X10. On Aug 9, 3:47 am, Jonas Petersson

Re: [android-developers] low quality background in 1.1

2010-08-08 Thread Dianne Hackborn
The emulator's screen is 16bpp. Also are you talking about *Android* 1.1? Because if so, that version is obsolete. On Sun, Aug 8, 2010 at 9:37 AM, coy cawe...@gmail.com wrote: Hi, why does the background becomes low quality in the emulator? thanks, COY. -- You received this message

Re: [android-developers] How to catch the event when sleep button is pressed?

2010-08-08 Thread Dianne Hackborn
Application's can receive the power key, since we don't want them to be able to keep the user from turning off their device. :} ACTION_SCREEN_OFF will always be sent, though note it can only be received by use of registerReceiver() -- it will not be sent to receivers declared in the manifest. On

Re: [android-developers] Request different IME for TextEditField

2010-08-08 Thread Dianne Hackborn
Applications explicitly can not do this, for security reasons. Sorry. On Sat, Aug 7, 2010 at 11:35 PM, Marcus Wolschon marcus.wolsc...@googlemail.com wrote: Hello, Background: In Vespucci (editor for OpenStreetMap) I have input-fields for key+value. Many people use Swype but that one is

Re: [android-developers] LVL and Settings.Secure.ANDROID_ID - how secure?

2010-08-08 Thread Dianne Hackborn
Root users can do basically anything. :) And definitely once you can run your system image (which on most devices is also available once you have root), it would be relatively trivial to return whatever you want IMEI to applications as well. Like the other Settings.Secure things, ANDROID_ID can

Re: [android-developers] Can't make restartPackage() / killBackgroundProcesses() to work

2010-08-08 Thread Dianne Hackborn
Well if you need it, write your own code to do it. They are your apps, right? You can have a way for them to interact to have one ask the other to kill itself -- send a broadcast to it, have a service to bind to to send a command to it, or heck even just have an instrumentation test case that

[android-developers] Re: start AlertDialog from AppWidgetProvider

2010-08-08 Thread Stephen
I see facebook widget can start dialog at anytime. Is it also configure activity? If I use the following to my widget. Intent newReleaseIntent = new Intent(AppWidgetManager.ACTION_APPWIDGET_CONFIGURE); newReleaseIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId);

Re: [android-developers] Re: LOCK_PATTERN_ENABLED on API 8 (Froyo)

2010-08-08 Thread Dianne Hackborn
The DevicePolicyManager returns information about the policies that admins have requested. The user just setting it to something is not a policy being enforced by an admin. Admins use this to determine whether the currently set password meets the requirements they have requested:

Re: [android-developers] LVL and Settings.Secure.ANDROID_ID - how secure?

2010-08-08 Thread Dianne Hackborn
One other thing -- you can't assume that all devices will have IMEIs. If a device doesn't have a phone radio, there is no IMEI for it. On Sun, Aug 8, 2010 at 6:56 PM, Dianne Hackborn hack...@android.com wrote: Root users can do basically anything. :) And definitely once you can run your

[android-developers] Re: Having problems referencing a library project from an application

2010-08-08 Thread samspade79
A common problem (a bug in the SDK) is that your library app cannot contain things like _ or -. On Aug 7, 9:23 pm, Christopher Perry mr.christopher.pe...@gmail.com wrote: I've been trying to do this now for 2 whole days, and am about to give up. I followed the instructions here:

[android-developers] Re: AutoCompleteTextView with autoText

2010-08-08 Thread Peter
On Jun 17, 2:23 pm, creativepragmatic creativepragma...@gmail.com wrote: Thank you for your help Bhavesh. My question might have been vague. What I am trying to do is get the auto correct text to show above the soft keyboard in addition to the auto complete options. It always shows in

[android-developers] how can I check my app stopped by which home key or other apps

2010-08-08 Thread optimusgeek
Hello~ 1. As android application life cycle, when I press home key my app will be stopped. onPause()-onStop() 2. Also If an another app comes to front like an incoming call, my app will be stopped. onPause()-onStop() I want to do something differently in each case. but both cases go to onStop()

[android-developers] Confused about Timezones and Sqlite3

2010-08-08 Thread Bara
Hello all, I'm a bit confused as to how to handle different timezones when saving datetimes to the local database in Android. When I do a SELECT DateTime('now') in the sqlite3 database created by Android, it says 2010-08-09 03:07:19 but my current time is actually 2010-08-08 23:07:19 (eg: 4

Re: [android-developers] how can I check my app stopped by which home key or other apps

2010-08-08 Thread TreKing
On Sun, Aug 8, 2010 at 9:49 PM, optimusgeek choongb...@gmail.com wrote: Is there any way to find out? What difference does it make how your app is stopped? - TreKing

[android-developers] category name

2010-08-08 Thread shakeel
I have a category name in intent-filter . how can I get category name ?. Please help Thanks regards Shakeel -- 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

[android-developers] Re: Confused about Timezones and Sqlite3

2010-08-08 Thread Sarwar Erfan
select DATETIME('NOW') returns UTC or Coordinated Universal Time select datetime('now','localtime') returns the current time. Regards Sarwar Erfan On Aug 9, 9:08 am, Bara bara.kath...@gmail.com wrote: Hello all, I'm a bit confused as to how to handle different timezones when saving

[android-developers] Re: how can I check my app stopped by which home key or other apps

2010-08-08 Thread optimusgeek
I mean I want to do something when my app going to be stopped.(not destroyed) and the situations are two cases as I mentioned. #1 pressing home key #2 another app comes to front like an incoming call. both cases have same process onPause() - onStop() so I cannot put some codes in onPause or onStop

[android-developers] Re: Confused about Timezones and Sqlite3

2010-08-08 Thread Sarwar Erfan
In my previous reply, by 'current time' I meant your local time (your time zone seems to be GMT-4) So, when you are getting UTC (GMT) using select DATETIME('NOW') -- it is 4 hours advanced. To get the time in your own timezone (the timezone set in the device), you need to use the extra parameter

[android-developers] Services doubt

2010-08-08 Thread Sohan badaya
Hi All, I have a doubt in services that if we have a remote service and it is started by more than one application then if any one of application tries to stop service what will happen - will service be closed? If yes than how other applications will get data from service. Thanks, Sohan Badaya

Re: [android-developers] Re: how can I check my app stopped by which home key or other apps

2010-08-08 Thread Frank Weiss
Can you try to use the correct terminology. The onstop method is for an activity. If you can get that, maybe you can try to answer treking's question. On Aug 8, 2010 8:59 PM, optimusgeek choongb...@gmail.com wrote: I mean I want to do something when my app going to be stopped.(not destroyed) and

[android-developers] screen design

2010-08-08 Thread A N K ! T
i am developing some UI screens.. but i am not getting ..should i make screens for all resolutions or some keywords like things are there by which i can make UI so that it can support all resolutions. guide me.. thanks -- A N K ! T.. -- You received this message because you are