Re: [android-developers] Organizing the res/drawable folder

2010-08-10 Thread { Devdroid }
On 10 August 2010 10:59, Neilz neilhorn...@gmail.com wrote: Hi all. My app has loads of images in the drawable folder, and I want to organize them into sub folders to make them more manageable. You can't. As other suggest, prefix your images if that would help (it should) -- You received this

Re: [android-developers] Re: Organizing the res/drawable folder

2010-08-10 Thread { Devdroid }
One other suggestion that might help would be to create one or more library projects Assuming you manage to make project to build correctly with libraries. -- 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]

2010-08-10 Thread { Devdroid }
On 10 August 2010 11:44, vineeshkc kcvine...@gmail.com wrote: I want database connection code using android database connectivity with SQLite. ok -- 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] Activity not showing unless GL onSurfaceCreated() is not completed?

2010-08-10 Thread { Devdroid }
Hi, We got an app which utilises OpenGL to do some drawings and due to noticeable setup time needed to set GL up we rearranged app startup logic. Currently we set all up in main activity onCreate(), including creating new GLRenderer object. Main activity now shows splash screen and waits for

Re: [android-developers] Re: Organizing the res/drawable folder

2010-08-10 Thread { Devdroid }
On 10 August 2010 13:55, String sterling.ud...@googlemail.com wrote: I've been using libraries since shortly after their release at IO10, and haven't had significant trouble with them. Occasionally I need to do a Project Clean in Eclipse to bring everything up to date, but that's not exactly

Re: [android-developers] active notifications

2010-08-10 Thread { Devdroid }
On 10 August 2010 16:50, Engin Arslan enginarsla...@gmail.com wrote: hi, I am currently working on project in which users downloads sth and program shows download progress as notification. I am trying not to download file that is already downloading. Download operatİons are operated  by

Re: [android-developers] How to use customview with home screen ?

2010-08-10 Thread { Devdroid }
On 10 August 2010 08:26, hardrock hardrock...@gmail.com wrote: However, I wonder to see the HTC's Animated Analog Clock Application. HTC widgets are not compatible with standard Home app. -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] how to get different device Version

2010-08-09 Thread { Devdroid }
On 9 August 2010 13:11, parag parag.shetgaon...@gmail.com wrote: how can i get the followinfg versions regarding an android device, http://developer.android.com/reference/android/os/Build.VERSION.html Build.MODEL, Build.DEVICE, Build.VERSION.RELEASE -- You received this message because you

Re: [android-developers] Market Quality Suggestion

2010-08-09 Thread { Devdroid }
That would most probably cause extra costs which Google would ask us to pay and, also I do not want Google to become our publisher. They shall focus on more required features - usable market comments so devs can respond there normal way, separate fields for changelog so we should not sacrifice

Re: [android-developers] To get Responce is date

2010-08-06 Thread { Devdroid }
On 5 August 2010 08:20, Ashish Panchiwala ashish.panchiwala...@gmail.com wrote: Hi,   One of my application need to know a new day is coming, that is, if the clock of phone changed from 23:59 to 00:00, my application will do some logic. I tried to  use android.intent.action.DATE_CHANGED, but

Re: [android-developers] Re: Eclipse library project problems

2010-08-06 Thread { Devdroid }
On 6 August 2010 01:30, sm1 sergemas...@gmail.com wrote: I have a similar problem: the library classes are not visible from the main project. [...] Tried all kinds of permutations for the last 2 weeks. Read the doc and the example many times. Read all the threads on the subject in this group.

Re: [android-developers] A general purpose development phone

2010-08-06 Thread { Devdroid }
On 5 August 2010 16:11, Chris Stewart cstewart...@gmail.com wrote: I've had some awkward issues with the emulator lately. I did not say it's perfect. We also spotted some crashes on device while the same code worked fine on emulator. But as a starting point it may be cheapest solution (unless

Re: [android-developers] Re: Problem in SimpleDateFormat MMM return month number

2010-08-06 Thread { Devdroid }
On 5 August 2010 14:53, DanH danhi...@ieee.org wrote: Has anyone tried doing Locale.setDefault to circumvent this problem? The problem is when you do not care what locale are set and simply want to use system-wide, not any particular one. Calling setDefault is same like passing locale to

Re: [android-developers] Re: Android Market Abusive developers...

2010-08-06 Thread { Devdroid }
On 6 August 2010 11:22, a1 arco...@gmail.com wrote: This will not change anything, the biggest problem with spam is that, well, they spam all categories, so adding additional category is pointless. I think that there should be a publisher fee for each app, this will stop spam for sure. That's

Re: [android-developers] Automatic boot

2010-08-06 Thread { Devdroid }
On 5 August 2010 17:15, Urizev uri...@gmail.com wrote:  I am trying to find out how set my phone to be boot automatically when a battery is inserted like a computer which turns on when power is back. Does anyone knows anything about it? Is it about the software or hardware? Mine boots (and

Re: [android-developers] Re: dateformatter

2010-08-05 Thread { Devdroid }
There's simillar thread Problem in SimpleDateFormat MMM return month number - we formerly suspected HTC Desire bug as users started to complain after update to Froyo, but I spotted the same problem on 1.5 emulator today so I start suspect is not the really the case. Format formatter = new

Re: [android-developers] how to convert screen coordinates to 3d coordinates

2010-08-05 Thread { Devdroid }
On 5 August 2010 12:30, akram akramwasim1...@gmail.com wrote: i'm created an application where it consists of 3d rotating cube I want to move the cube with respect to the drag on the screen In the on touch Listener I'm able to get the x,y coordinates but i don Know how to make those

Re: [android-developers] Android Market Abusive developers...

2010-08-05 Thread { Devdroid }
On 4 August 2010 21:22, TreKing treking...@gmail.com wrote: On Wed, Aug 4, 2010 at 11:54 AM, { Devdroid } webnet.andr...@gmail.com wrote: So we can only hope that once Google become profitable company one day Google's not a profitable company? it's called sarcasm -- You received

Re: [android-developers] A general purpose development phone

2010-08-05 Thread { Devdroid }
On 4 August 2010 21:01, Chris Stewart cstewart...@gmail.com wrote: I'm considering buying a device to use exclusively for development.  I don't want service on the device. No need for the device. You may use emulator (not 100% compatible but usually works...)  Do I need to specifically look

Re: [android-developers] Android Market Abusive developers...

2010-08-04 Thread { Devdroid }
On 4 August 2010 17:30, Moto medicalsou...@gmail.com wrote: I currently have an application that does something useful.  I'm currently overwhelmed by the amount of MATURE wallpaper apps being submitted BY ONE DEVELOPER!  Particularly ASIAN developers!  It's not just one developer doing this

Re: [android-developers] Re: Compiling and obfuscating by command line...

2010-08-04 Thread { Devdroid }
On 2 August 2010 16:22, dys denys.segu...@gmail.com wrote: For one of my applications I had to use progard (more to strip unused classes than really to obfuscate. I made a small bat script beginning after the initial compilation (still made in Eclipse) and calling AAPT, PROGARD, DX,

Re: [android-developers] Changing project build target

2010-08-03 Thread { Devdroid }
Let's say i'm changing the project build target from Android 1.6 to Android 2.2 and that the android:minSdkVersion attribute is changed accordingly. What will happen to my current users who don't have Android 2.2? Will they receive the update through No. that's what minSdkVersion is for.

Re: [android-developers] Problem in SimpleDateFormat MMM return month number

2010-08-03 Thread { Devdroid }
On 3 August 2010 00:05, Thierry Legras tleg...@gmail.com wrote: Could you find a solution to this problem? I have been reported same issue on HTC Desire 2.2 new update and also on some custom ROM. We got same problem on Desire, so it looks like device firmware issue. -- You received this

Re: [android-developers] Re: Using ? (question mark) and @ (at symbol) as values for a string resource

2010-08-02 Thread { Devdroid }
On 2 August 2010 09:52, Quintin Willison qwilli...@gmail.com wrote: But you'll get an error [Apostrophe not preceded by \ (in '?')]. I thought that this would work because the documentation states If you have an apostrophe or a quote in your string, you must either escape it or enclose the

Re: [android-developers] Closing the activity completely

2010-08-02 Thread { Devdroid }
I want to kill the activity completely on clicking the close button. Can I reuse the same function and will it have any major effect? Why can't you just finish() and let OS do its job? -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Re: Android preprocessor, //#ifdef...

2010-08-01 Thread { Devdroid }
Android ISN'T Java, it has no rights to be called java and if you not agree with it you should learn some basic java guidelines and understand what is java. Please stop whinning. If you do not like Android just drop it. Simple as that.Go develop for anything else and stay happy with

Re: [android-developers] Installation

2010-08-01 Thread { Devdroid }
On 31 July 2010 22:18, Muhammad bilal_hobn...@yahoo.com wrote: i have installed eclipse-jee-helios-win32-x86_64 .but i have not found Android Plug in. so can anybody tell which version of Eclipse i need to start Android Development Environment? This is all you need to read to get it all set

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

2010-08-01 Thread { Devdroid }
On 1 August 2010 07:32, Kai snowst...@gmail.com wrote: Hi, I need to detect if a phone is running HTC sense UI. is there a way to do it? Maybe just get list of installed packages and check if you sense is there? Still, one can have it installed but not use it so this is not the best solution.

Re: [android-developers] Two controls on a line?

2010-08-01 Thread { Devdroid }
So far I've only done samples with a LinearView and perhaps getting over confident I tried creating a RelativeLayout. Not only did it not work, the screen didn't show any controls! What about simple: LinearView (orientation: vertical) --- LinearView --- --- TextEdit --- --- TextEdit ---

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

2010-08-01 Thread { Devdroid }
Mark Murphy wrote on 2010-08-01 12:10: On Sun, Aug 1, 2010 at 6:09 AM, { Devdroid }webnet.andr...@gmail.com wrote: No you can't. Sense can be uninstalled. I am not aware that Sense can be uninstalled, since it is in firmware. You can't remove it if phone is not rooted as you got no write

Re: [android-developers] Re: Two controls on a line?

2010-08-01 Thread { Devdroid }
On 1 August 2010 13:08, Jez jeremyluk...@googlemail.com wrote: But I want two controls on a line and that doesn't do it. It does. Second LinearView is horizontal for that exact purpose so both TextEdits are next to each other. It may however look like it is not if you got long text there (or

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

2010-08-01 Thread { Devdroid }
I saw reference recently that suggested this did not work everywhere. I'm was thinking maybe Sense 2 (the current generation) vs. the original Sense. But it works on a HTC Hero (just tried it), so that's clearly not it. That's why I do not bother myself to detect sense but rahter allow users

Re: [android-developers] everything in gen folder deleted

2010-08-01 Thread { Devdroid }
On 30 July 2010 17:06, Mer meredit...@gmail.com wrote: Is there any way I can regenerate these files without having to copy everything into a new project? I did not delete these files, is there a reason they disappeared? gen project is as name indicates generated by eclipse and you shall

Re: [android-developers] Multiple concurrent versions of same app, filtered by minSdkVersion?

2010-08-01 Thread { Devdroid }
I have an app on Android Market right now with a minSdkVersion corresponding to Android 1.6. I'd like to make an update that is only visible to users of Android 2.2 and higher (there is a good reason for this, which I will explain below). So I have two questions: You shall make two separate

Re: [android-developers] Multiple concurrent versions of same app, filtered by minSdkVersion?

2010-08-01 Thread { Devdroid }
servers at first-run. However, this means that I must maintain external infrastructure, Regular vhost shall do + some code to fetch data over HTTP. Nothing more is required unless you want additional server logic. and it's also a bad experience for users who must download the app, then start

Re: [android-developers] Programmatically install free applications in android market

2010-08-01 Thread { Devdroid }
On 29 July 2010 23:13, tak tatsuya@gmail.com wrote: I'm sure that you all have already known AppBrain's Fast Web Installer which is able to programmatically install free applications in android market to the device. How could it be possible ? Anyone knows how ? or hints ? Not exactly

Re: [android-developers] Problem

2010-08-01 Thread { Devdroid }
On 30 July 2010 11:49, prateek tuli censor...@yahoo.co.in wrote: Hi, I want to create an application in android which at runtime calls an xml file from some path of the system.And make that contents of the xml file run in the same application.Could i get a feasible code because at runtime the

Re: [android-developers] Re: Adding custom column to contacts

2010-08-01 Thread { Devdroid }
On 31 July 2010 17:21, WindowsNT windows...@gmail.com wrote: Noone yet knows ? I wonder who had the idea to use sql stuff in contacts with URIs... You want to create custom collumn and put your own data in system contacts database? I doubt you can in any clean way (other ways would require

Re: [android-developers] Accessing resources from other packages

2010-08-01 Thread { Devdroid }
On 30 July 2010 00:43, Dianne Hackborn hack...@android.com wrote: Simplier does not always mean better. What if you post a notification for your app, using an icon from another app, and then the user goes and uninstalls the other app? Currently it would probably crash, but it's not unsolvable

Re: [android-developers] Accessing resources from other packages

2010-08-01 Thread { Devdroid }
On 1 August 2010 14:40, Mark Murphy mmur...@commonsware.com wrote: Bear in mind that notifications are not displayed by your process, and so the image has to be transportable across process boundaries. You are right, but we are taliking now about non existing feature so that could also be

Re: [android-developers] Re: Multiple concurrent versions of same app, filtered by minSdkVersion?

2010-08-01 Thread { Devdroid }
On 1 August 2010 19:25, Brian Rak seattlenice...@gmail.com wrote: Thanks for the reply. The problem with making separate apps is that existing customers will not be able to upgrade for free. And the code refactoring idea doesn't work, because the main point of the exercise is that I want the

Re: [android-developers] Understand the filesystem contents

2010-08-01 Thread { Devdroid }
On 30 July 2010 01:15, John Manko john.ma...@gmail.com wrote: Is there any documentation on the filesystem used for Android?  I'm talking about an explanation of the contents of /dev or /etc, and not YAFFS or whatever. Android is Linux based so look for Linux directory structure explanation

Re: [android-developers] Re: Shared library

2010-08-01 Thread { Devdroid }
2010/7/29 Kostya Vasilyev kmans...@gmail.com: Make the library interface be intent-based, and there you have it. Unfortunately in my particular case it is not going to work. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Eclipse library project problems

2010-08-01 Thread { Devdroid }
Hi, I tried to build test library and test app with latest ADT and Eclispe however Eclipse complains on each reference I made to library classes from my test app. This is what I did: 1. created Test Library Android project, marked it as Library (package name test.library.lib) 2. created Test

[android-developers] Launching Calendar in AgendaView

2010-08-01 Thread { Devdroid }
Hi, Is there working way of launching Calendar app in Agenda View beside setClassName(com.android.calendar,com.android.calendar.AgendaView); which seem to work on 2.1 but people on earlier versions report it does not and also Froyo reports Unable to find explicit activity class

Re: [android-developers] Launching Calendar in AgendaView

2010-08-01 Thread { Devdroid }
The Calendar application is not part of the Android SDK. Many apps is not. Your application may break on some devices that have replaced the Calendar. No it won't. It just won't launch Calendar which is not a big deal and far from breaking as we do not rely on calendar at all. Your

Re: [android-developers] Re: Shared library

2010-08-01 Thread { Devdroid }
The only thing a shared library helps for size is that if there is another app it can also use the same shared library so there isn't another copy... Using shared library would allow us to separate some modules and allow users to install core of the app + only these modules s/he needs, thus

Re: [android-developers] Using ? (question mark) and @ (at symbol) as values for a string resource

2010-08-01 Thread { Devdroid }
On 30 July 2010 14:11, Quintin Willison qwilli...@gmail.com wrote: Trying to be a good boy here (all strings being declared in resource values) but have hit upon a non-critical but annoying issue... Example from res/values/strings.xml: ?xml version=1.0 encoding=utf-8? resources  string

Re: [android-developers] Using ? (question mark) and @ (at symbol) as values for a string resource

2010-08-01 Thread { Devdroid }
On 30 July 2010 14:11, Quintin Willison qwilli...@gmail.com wrote: Trying to be a good boy here (all strings being declared in resource values) but have hit upon a non-critical but annoying issue... Example from res/values/strings.xml: ?xml version=1.0 encoding=utf-8? resources  string

[android-developers] Library development - Development requirements

2010-07-31 Thread { Devdroid }
Hi, Can anyone explaing what Table 1 (Minimum versions of SDK tools and plaforms on which you can develop library projects.)'s columns really mean. Table is here: http://developer.android.com/guide/developing/eclipse-adt.html#libraryProject I.e. component: Android 1.5 platform, minimum

[android-developers] Re: Library development - Development requirements

2010-07-31 Thread { Devdroid }
Can anyone explaing what Table 1 (Minimum versions of SDK tools and plaforms on which you can develop library projects.)'s columns really mean. Table is here: http://developer.android.com/guide/developing/eclipse-adt.html#libraryProject I.e. component: Android 1.5 platform, minimum

[android-developers] Library problems

2010-07-31 Thread { Devdroid }
Hi, I tried to build test library and test app howver Eclipse complains on each reference I made to library classes. This is what I did: 1. created Test Library Android project, marked it as Library (package name test.library.lib) 2. created Test App project (package test.library.app) and set it

Re: [android-developers] No plan to support Netbeans?

2010-07-29 Thread { Devdroid }
On 29 July 2010 12:34, sblantipodi perini.dav...@dpsoftware.org wrote: I know that Android isn't Java You know, you say? What about checking specs first: http://developer.android.com/guide/basics/what-is-android.html -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Nexus One for developers

2010-07-29 Thread { Devdroid }
But I'm looking for a Nexus to developers like Android Dev Phone 2 (HTC Magic) in Android Market (I'm a registered developer). It's available to you?  Thanks. There's just Dev Phone 2. So if by dev phone you mostly means lower price than SRP, then sorry - no good news as of now. As for other

[android-developers] Shared library

2010-07-29 Thread { Devdroid }
Hi is there a way to build shared library (written in Java so no NDK touched) that can be linked at runtime? I do not mean things like OpenIntent nor libraries linked at build time, but say separate apk one can get from market and all other apps can use it like it can be done on other platforms?

Re: [android-developers] Checking to See if I directory Exsits

2010-07-29 Thread { Devdroid }
On 29 July 2010 17:16, Justin justinbrett1...@gmail.com wrote: So how do I check to see if the directory exsits, and if it doesn't creates the directory? http://tinyurl.com/2cnd5o3 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Re: Shared library

2010-07-29 Thread { Devdroid }
On 29 July 2010 16:46, James Wang jameswangc...@gmail.com wrote: Platform library is a choice but I do not think it can be distributed by Market. Thanks, that's what I thought. Distribution is not a problem but I expect user won't be able to install such (unless rooted). Damn, all my attempts

Re: [android-developers] Accessing resources from other packages

2010-07-28 Thread { Devdroid }
On 28 July 2010 03:01, Dianne Hackborn hack...@android.com wrote: No that is working as intended.  Application resource identifiers are meaningless without being associated with their package name. Too bad. Unfortunately this is limiting us a bit and forces to inflate each apk with items (in

Re: [android-developers] Accessing resources from other packages

2010-07-28 Thread { Devdroid }
Allowing one application to impersonate another application's Notifications would be the design flaw. No it wouldn't if done right. That's why I wondered if sharedUserId affects resourcs as well If they are both yours, it would seem simpler just to have the Notification icon reside in each

[android-developers] Bug: ListPreference does not work with android:dialogMessage set

2010-07-28 Thread { Devdroid }
Hi, It looks that android:dialogMessage with ListPreference causes dialog malfunction. I got such case each time I use android:dialogMessage, dialog pops up empty (no entires, title and buttons are present). I checked on 1.5, 1.6, 2.0.1, 2.1-u1, 2.2 bug is present in every version. I checked

Re: [android-developers] Sharedpreference info get overwritten each time I did a version update?

2010-07-28 Thread { Devdroid }
On 28 July 2010 10:35, Mystique joven.ch...@gmail.com wrote: Hi, I wrote an application that write information to sharedpreference. I realize the information is overwritten each time i release a version update. Is this suppose to be the case or I can retain old sharedpreference? Can't

[android-developers] Using SharedPreferences.editor from OnSharedPreferenceChange listener

2010-07-28 Thread { Devdroid }
Is there a way to notify preferences that some values has changed (i.e. in OnSharedPreferenceChangeListener) so the prefs shall be re-read? It currently does not work as I wished and seems values are internally managed by prefs and commited onDestroy while I need to interact with them instantly

Re: [android-developers] API 1.5 to API 2.1

2010-07-28 Thread { Devdroid }
On 28 July 2010 09:33, Muhammad Ali zaandr...@gmail.com wrote: Hi All,    I am working on an application which targets the 1.5 to 2.2 sets, my problem is that I am using different resolution images with drawables-* folders and it is not supported by the API 1.5, suggest me what should I do?

Re: [android-developers] Create Screen Size Independent Android Applications

2010-07-28 Thread { Devdroid }
On 28 July 2010 09:21, Nivedita bhnivedit...@gmail.com wrote: How do I manage multi-screen resolutions in Android ? http://developer.android.com/guide/practices/screens_support.html I tried placing the buttons above the image view and it worked properly for HVGA and QVGA. Please let me

Re: [android-developers] Re: Using SharedPreferences.editor from OnSharedPreferenceChange listener

2010-07-28 Thread { Devdroid }
Thanks for all the answers. In meantime I realised I was modifing sharedprefs directly (and it probably worked) but since I was still on preferences activity all the values were in the prefs UI objects so instead of writting to prefs directly I shall rather update values in prefs UI objects. Did

Re: [android-developers] How to determine if the phone is powered by battery or by charger?

2010-07-28 Thread { Devdroid }
On 29 July 2010 00:06, Agus agus.sant...@gmail.com wrote: How to determine if the phone is powered by battery or by charger? http://developer.android.com/ got search. If you put battery there you will get closer to the answer. -- You received this message because you are subscribed to the

Re: [android-developers] How to use shared pref in different application.

2010-07-28 Thread { Devdroid }
On 28 July 2010 15:28, Sohan badaya sohan.bad...@gmail.com wrote: Hi, I want to know how we can use shared pref in different application. You want to share something among apps? Why not use SD card for that? -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] How to change target build on Android project?

2010-07-27 Thread { Devdroid }
On 27 July 2010 12:56, draf...@gmail.com draf...@gmail.com wrote: However this appears to have no affect and when I try it again the target build is set back at Android 1.5. Am I missing a step or something? It shall work this way (at least it did countless times here). Ensure you tap Apply

[android-developers] Accessing resources from other packages

2010-07-27 Thread { Devdroid }
Hi, I'd like to access resources from other packages installed. Is there any better practice than using getResources() combined with createPackageContext()? Another question is how to use resources from other packages in methods like Notification(int icon, CharSequence tickerText, long when),

[android-developers] Test

2010-07-27 Thread { Devdroid }
Test - apologize for this - but it looks I see all posts from this group but mine, so needed to ensure before I mail admins. -- 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] Accessing resources from other packages

2010-07-27 Thread { Devdroid }
Another question is how to use resources from other packages in methods like Notification(int icon, CharSequence tickerText, long when), where 1st argument is just resource id? You can't, AFAIK. Things that take a Context and a resource ID might be able to use your package context to get

[android-developers] BETA Tester Wanted

2009-12-18 Thread DevDroid
We are looking for people to help BETA test the FunMail app coming to the Android Market soon! Get a sneak peak at our app and help us find some bugz! Download the BETA at: http://funmail.com/android FunMail is a next-generation visual messaging platform. FunMail finds contextual relevant visual

<    1   2