Re: [android-developers] Finding Specific Installed Applications at Run Time

2011-02-25 Thread Marcin Orlowski
On 25 February 2011 08:44, argongold argongol...@gmail.com wrote: Is there a better way , which is not  language dependent to get the specific applications . I haven't tried using the full package name. Package name is better but see the below note. Do you have better suggestion for it? Let

Re: [android-developers] Finding Specific Installed Applications at Run Time

2011-02-25 Thread Dianne Hackborn
Basically you can't do this in a way that will consistently work. On Thu, Feb 24, 2011 at 11:44 PM, argongold argongol...@gmail.com wrote: Hi, I am working on an application, for which I have to display icons of specific applications such as Email , Browser and Alarm Clock . Currently I

Re: [android-developers] Re: Activity without UI

2011-02-25 Thread Dianne Hackborn
In activity that doesn't UI should finish itself by the time it returns from onResume(). Leaving an activity running without UI will result in various kinds of undesirable behavior. Basically they should only be used to immediately return a result, or immediately launch another activity. On

Re: [android-developers] phone keypad intent?

2011-02-25 Thread Marcin Orlowski
On 23 February 2011 17:38, Kirk A kirk...@gmail.com wrote: In a fashion similar to IMAGE_CAPTURE returning an image from the camera, I would like to discover an intent to utilize the phone application's pleasant keypad and *return* the number entered (without dialing). I haven't found such an

Re: [android-developers] Re: Honeycomb + landscape + Mac = will not stay in landscape

2011-02-25 Thread Marcin Orlowski
On 23 February 2011 19:07, Stacy Young styoung.li...@gmail.com wrote: Hmm first post didn't hit the list ... It did. But this group sucks in terms of how it works. -- Regards, Marcin -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Maps GeoPoint: Accessing and changing data?

2011-02-25 Thread oldskool73
On Feb 25, 2:59 am, TreKing treking...@gmail.com wrote: On Thu, Feb 24, 2011 at 8:56 PM, SEWilco sewi...@gmail.com wrote: Can my app access GeoPoint data and change it? What data? Well seeing as a geopoint only contains a latlong what data do you think? I'm not finding a way to access

[android-developers] Finding Specific Installed Applications at Run Time

2011-02-25 Thread argongold
Hi, I am working on an application, for which I have to display icons of specific applications such as Email , Browser and Alarm Clock . Currently I have defined a String Array with the Title names of these applications as shown below. private final String[] firstAppNames = new String[] {

Re: [android-developers] Re: Why I get wrong hardware screen resolution.

2011-02-25 Thread xhui
It works, thanks very much! Is this a SDK bug in old version? It's quite strange. 2011/2/25 Kostya Vasilyev kmans...@gmail.com Set minSdkVersion to 4 or greater in the Manifest. 25.02.2011 10:31 пользователь xhui shirosh...@gmail.com написал: Is there any body knows? -- You received

[android-developers] Re: Eclipse 3.6.1 ADT Plugin install stuck half way

2011-02-25 Thread snpe
I suppose that you have a problem with some Eclipse mirrors. Try to start with Eclipse IDE for Java EE Developers (http://www.eclipse.org/ downloads/) instead of Eclipse classic. Eclipse IDE for Java EE Developers includes all ADT requirements and you wouldn't access to mirrors. Peco On Feb 24,

[android-developers] Calculating list view item height

2011-02-25 Thread Manish Garg
Hi, I want to set listview height in such a way that it doesn't display scrollbar. for it i am trying to find out listview items height, sum all of the list view items and set them as the height of the listView. My list is like accordian. It will be visible when i will click on a button and will

[android-developers] Re: BufferPercentage never reaches 100 %

2011-02-25 Thread giovanni
I'm having the same problem... -- 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] Database Issue

2011-02-25 Thread Brad Stintson
Yes. But none dealing with multiple tables was provided. On Fri, Feb 25, 2011 at 11:56 AM, Justin Anderson magouyaw...@gmail.comwrote: Have you looked at any of the documentation or samples for databases in Android? On Thu, Feb 24, 2011 at 8:31 AM, Brad Stintson geek.bin...@gmail.comwrote:

[android-developers] Re: adding search option

2011-02-25 Thread Indicator Veritatis
Please take the hint. No one is going to do your homework for you. And speaking of homework, in addition to everything Treking has recommended to you, you really need to read: http://www.catb.org/~esr/faqs/smart-questions.html On Feb 24, 7:02 pm, nischal nischal.gm...@gmail.com wrote: i have

[android-developers] Re: adding search option

2011-02-25 Thread Indicator Veritatis
What happened to let me google that for you?? On Feb 24, 7:59 pm, TreKing treking...@gmail.com wrote: On Thu, Feb 24, 2011 at 9:02 PM, nischal nischal.gm...@gmail.com wrote: i have successfully displayed google map in my android application. now i wish to add search box to that application

[android-developers] BluetoothSettings Force close problem

2011-02-25 Thread Suresh Pal
Hi Guys, Due to some issue, I am getting some exceptions which force closes BluetoothSettings screen. In the log dump I could not find any exceptions but the following stack trace is present there: DALVIK THREADS: main prio=5 tid=1 NATIVE | group=main sCount=1 dsCount=0 s=N obj=0x400208b8

[android-developers] Re: SDK 11 is the slowest yet

2011-02-25 Thread Indicator Veritatis
H-m-m-m. Interesting point. Emulating a 1Ghz CPU on a 2Ghz CPU is bound to be slow. But given that, I would be still be happy if the emulator were only 1/25th the speed of the emulated system (I have dealt with worse). It is still, after all, faster than waiting for a developer version;) On Feb

Re: [android-developers] Re: adding search option

2011-02-25 Thread Marcin Orlowski
On 25 February 2011 09:55, Indicator Veritatis mej1...@yahoo.com wrote: What happened to let me google that for you?? http://tinyurl.com/6fpm7st -- Regards, Marcin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] Re: what does WIN DEATH mean when running kill?

2011-02-25 Thread Kostya Vasilyev
Hiko, As far as I can tell, it's just an information message. The process that manages windows notices that a window disappeared (with the killed process), and cleans its data structures. Kind of like when a TCP/IP program notices that the connection is lost and cleans up. -- Kostya

[android-developers] Re: AVD disk performance problems

2011-02-25 Thread Linux777
I'm using AVD r10. But this problem reproduces on EVERY computer where Android SDK is using. It's because of error in QEMU, and this could be easily fixed. But in AVD this problem is not fixed and it's not clear how to fix it. Do you have this problem in your installation? If not - I do not

[android-developers] Re: How to turn on the sound in the Android Emulator?

2011-02-25 Thread ThaMe90
Maybe a little side question: what are the available backends to use on Windows? On 24 feb, 11:03, ThaMe90 theprophes...@gmail.com wrote: Hello all, I wonder how to turn on the sound in the Android Emulator? I've 2 headsets connected to my pc, but I can't seem to get sound on either of them

[android-developers] Re: Reflection API:List all classes in a package that extend a specific super class

2011-02-25 Thread donV
Hi! Did you ever solve this? I desperately need to list all classes in a package. -- 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,

Re: [android-developers] Re: BluetoothSettings Force close problem

2011-02-25 Thread Suresh Chandra Pal
Can you share that forum's link. On Fri, Feb 25, 2011 at 6:34 PM, Zsolt Vasvari zvasv...@gmail.com wrote: So please suggest me what should I return from here. If you have any other solution for this problem, please suggest that also. I suggest you go to the forum and post where Android

[android-developers] Re: BluetoothSettings Force close problem

2011-02-25 Thread Zsolt Vasvari
So please suggest me what should I return from here. If you have any other solution for this problem, please suggest that also. I suggest you go to the forum and post where Android porting is discussed. This forum is for SDK issues. -- You received this message because you are subscribed

[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-02-25 Thread Ajay
!ENTRY org.eclipse.core.resources 4 2 2011-02-25 15:07:29.445 !MESSAGE Problems occurred when invoking code from plug-in: org.eclipse.core.resources. !STACK 0 java.lang.NullPointerException at

Re: [android-developers] Re: Reflection API:List all classes in a package that extend a specific super class

2011-02-25 Thread Kostya Vasilyev
What for? Perhaps there is another solution? 25.02.2011 12:38 пользователь donV don...@gmail.com написал: Hi! Did you ever solve this? I desperately need to list all classes in a package. -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: how can i develop a mobile ticketing application?

2011-02-25 Thread zeynel
you got it wrong.i didnt want source code or anything like this.i want to know where i should start. is there any book,pdf,tutorial,anything 're referring source for these apps.i think i told wrong. i already know that noone give this to me if they had it. :) thanks Albert Einstein :) On 25

Re: [android-developers] Re: Reflection API:List all classes in a package that extend a specific super class

2011-02-25 Thread donV
Thank you for your reply! Very possibly there is another solution. The problem to be solved is that I want to run some test scripts stored as assets to test multiple activities. The test scripts need access to the activity to be tested. This is normally done by subclassing

[android-developers] Getting IllegalArgumentException exception when surface view get destroyed!!!

2011-02-25 Thread Pink
Hi, I have one surface view in one activity. I am using the surface of the srface view in my native code. But some times while moving out of the activity i am getting IllegalArgumentException. By the time surface view is getting destroyed, SufaceViewHolder call back is getting

Re: [android-developers] Re: SQLite and Collate UNICODE

2011-02-25 Thread Philip Warner
That's kind of sad; my reading of the 'Collate UNICODE' stuff suggested it was designed specifically to deal with this issue. Is this a bug, or WAI? On 25/02/2011 6:11 PM, Zsolt Vasvari wrote: If you want to do case insensirtive search you should perhaphs rewrite your statement as: select *

[android-developers] Re: Smooth OpenGL movement and animation tips.

2011-02-25 Thread RyanMcNally
I've not much to add, but at any rate: 1) As has been noted, GC is the enemy. String manipulation, boxing/ unboxing, using most collections other than ArrayList, Collections.sort(), Arrays.sort() - they all create garbage and you simply cannot use them on a per-frame basis. Happily the GC pauses

[android-developers] neckless view in android

2011-02-25 Thread focode
hi, I have to show neck-less view for my menu in android and on the movement of finger from left to right it should move to left to right and vice verse, to implement this i have used this tutorial http:// www.codeshogun.com/blog/2009/04/16/how-to-implement-swipe-action-in-android/ but the problem

Re: [android-developers] Re: how can i develop a mobile ticketing application?

2011-02-25 Thread Marcin Orlowski
On 25 February 2011 10:56, zeynel zeynelcos...@gmail.com wrote: you got it wrong read your post again then. .i didnt want source code or anything like this.i want to know where i should start. is there any book,pdf,tutorial,anything 're referring source for these apps.i think i told wrong. i

[android-developers] charset-problem?: some phonetic signs will not be displayed.

2011-02-25 Thread Ulrich Althöfer
I want to display some phonetic signs on the touchscreen-display. Some signs are displayed succesfully, e.g.: - [ә] = U+0259 or - [œ] = U+00E6 But some signs are not displayed, e.g.: - [ʃ] = U+0283 and - [ɔ] = U+0254 The problem appear with the emulator as well as with the original smartphone. I

[android-developers] Re: charset-problem?: some phonetic signs will not be displayed.

2011-02-25 Thread Alessandro Pellizzari
Il Fri, 25 Feb 2011 02:53:30 -0800, Ulrich Althöfer ha scritto: I want to display some phonetic signs on the touchscreen-display. Some signs are displayed succesfully, e.g.: - [ә] = U+0259 or - [œ] = U+00E6 But some signs are not displayed, e.g.: - [ʃ] = U+0283 and - [ɔ] = U+0254 The

[android-developers] AdapterView.OnItemSelectedListener.onItemSelected called with out of date position argument!

2011-02-25 Thread Thierry Legras
Hi, I have a strange behavior in a very specific case and wonder if the issue comes from my code or not. I have a TabActivity A with 2 tabs: - Tab 1 content is created as a view with a spinner in it - Tab 2 content is an activity B. I want at some point when Tab2 is selected to switch to Tab 1

[android-developers] Re: How to turn on the sound in the Android Emulator?

2011-02-25 Thread blindfold
You should be getting sound from the emulator by default on Windows 7, but maybe issue 14953 http://code.google.com/p/android/issues/detail?id=14953 affects you too? On Feb 24, 11:03 am, ThaMe90 theprophes...@gmail.com wrote: Hello all, I wonder how to turn on the sound in the Android Emulator?

[android-developers] Controlling Android init process / staged boot

2011-02-25 Thread ale
Hi, I am trying to achieve something like a controlled or 'staged' boot process, where I can make sure that a specific program or script is executed first in the init process and then the remainnig services are started. I was able to start my own services from the init script (init.rc) in

Re: [android-developers] Re: BluetoothSettings Force close problem

2011-02-25 Thread Gergely Juhász
http://source.android.com/community/index.html Choose the porting or the platform list maybe. On 25 February 2011 10:38, Suresh Chandra Pal sureshchandra...@gmail.com wrote: Can you share that forum's link. On Fri, Feb 25, 2011 at 6:34 PM, Zsolt Vasvari zvasv...@gmail.com wrote: So please

Re: [android-developers] Re: Reflection API:List all classes in a package that extend a specific super class

2011-02-25 Thread Kostya Vasilyev
Don, ActivityInstrumentationTestCase2 has a method, getInstrumentation(), which gives you an Instrumentation object instance that's used in the test. Instrumentation has getContext() which gives you your test package's context object, now you can access its resources (as opposed to

[android-developers] Re: SQLite and Collate UNICODE

2011-02-25 Thread DanH
That page says nothing about UNICODE doing case folding. I would interpret it as simply doing correct ordering for UTF8. On Feb 25, 12:56 am, Philip Warner p...@rhyme.com.au wrote: Yes, but Android have worked around this problem by doing what the SQLite people suggest. Namely making the

[android-developers] Re: Smooth OpenGL movement and animation tips.

2011-02-25 Thread Tom Cowan
Yeah perhaps I could of named the topic something else... But these tips/ideas are aimed specifically at game devs who will clearly be using OpenGL ES. Anyway RE 1, that's a very interesting take on it and yeah I definatley think that slowing the physics down if the frame rate drops sounds like a

Re: [android-developers] Problems with Calendar Provider queries

2011-02-25 Thread Marcin Orlowski
On 22 February 2011 23:59, Mark Murphy mmur...@commonsware.com wrote: I got problems dealing with Calendar Provider. There is no Calendar Provider in the Android SDK. Sorry Mark, but so what? If it's not part of SDK it does not exists? Like it or not calendar is used widely and like it or not

[android-developers] Re: How to turn on the sound in the Android Emulator?

2011-02-25 Thread ThaMe90
I don't think so... I use API level 8 to develop... So I doubt this is the issue... On 25 feb, 12:15, blindfold seeingwithso...@gmail.com wrote: You should be getting sound from the emulator by default on Windows 7, but maybe issue 14953http://code.google.com/p/android/issues/detail?id=14953

Re: [android-developers] Re: SDK or some tool to develop a VERY simple Android game?

2011-02-25 Thread Ryan S
My idea is mostly educational games with simple UIs. Will check out the three links on the page you sent me... any other tips and advise is also most welcome! Thanks! Ryan On Fri, Feb 25, 2011 at 8:32 AM, oldskool73 oldskoo...@gmail.com wrote: you probably won't be using the ui stuff much if

Re: [android-developers] SDK or some tool to develop a VERY simple Android game?

2011-02-25 Thread Ryan S
Thanks for replying! I have no knowledge of Python ;( Java or PHP yes... infact I started using Java again just to get into Android :(( On Fri, Feb 25, 2011 at 8:37 AM, Harsh J qwertyman...@gmail.com wrote: If Java isn't a strict requirement, perhaps you may want to try out the new Kivy MT

Re: [android-developers] Problems with Calendar Provider queries

2011-02-25 Thread Marcin Orlowski
On 23 February 2011 15:21, KT krzychu2...@gmail.com wrote: [Moderator, please try to shorten your lag. I am trying to post this message since 20th Feb] You posted it 4 times already. I got problems dealing with Calendar Provider. If I try to count  number of events at given day, the value I

[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-02-25 Thread Ajay
please any updates.. its critical :(( On Feb 25, 2:39 pm, Ajay a.aja...@gmail.com wrote: !ENTRY org.eclipse.core.resources 4 2 2011-02-25 15:07:29.445 !MESSAGE Problems occurred when invoking code from plug-in: org.eclipse.core.resources. !STACK 0 java.lang.NullPointerException         at

[android-developers] OT: IO ticket

2011-02-25 Thread Marcin Orlowski
Hi In case anyone of you lucky baigle eaters changed their mind and is not going to attend IO - let me know if you want to trade you ticket ;) -- Regards, Marcin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-02-25 Thread Ajay
deleted project... added again into workspace... repeated 3-4 times and issue resolved.. On Feb 25, 2:39 pm, Ajay a.aja...@gmail.com wrote: !ENTRY org.eclipse.core.resources 4 2 2011-02-25 15:07:29.445 !MESSAGE Problems occurred when invoking code from plug-in: org.eclipse.core.resources.

[android-developers] Differnce between Page Switcher and Page Flipper

2011-02-25 Thread yogendra G
Hi, Let me know the difference between Page Switcher and Page Flipper..?? Which is better one use in both of them.. Regards, Yogendra G -- 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: SQLite and Collate UNICODE

2011-02-25 Thread Grunthos
Read some other pages maybe ;-) But thanks for the comments. Elsewhere in the  Android docs it says the unicode collator is case-insensitive by default. the c source seems to be trying to setup a level 1 collatorbut... and as I said in my original post, the unicode collation *sorts* in a

Re: [android-developers] Differnce between Page Switcher and Page Flipper

2011-02-25 Thread Mark Murphy
There is no PageSwitcher or PageFlipper class in Android. Hence, you will want to ask your question of whoever wrote those classes, in whatever third party package you are referring to. If you are really referring to ViewSwitcher and ViewFlipper, ViewSwitcher has only two children, while

Re: [android-developers] Differnce between Page Switcher and Page Flipper

2011-02-25 Thread yogendra G
hi, Thanx for the reply i was lukn for tht view thing oly...And i believe function wise both il do same thing right... Regards, Yogendra.G On Fri, Feb 25, 2011 at 6:43 PM, Mark Murphy mmur...@commonsware.comwrote: There is no PageSwitcher or PageFlipper class in Android. Hence, you will want

[android-developers] Re: Access to data folder on Google Nexus S

2011-02-25 Thread Robert
Ok so there is no option to get there?? That's really strange. So is there any option to see SQLite database file of my application?? On Feb 24, 3:50 pm, Mark Murphy mmur...@commonsware.com wrote: On Thu, Feb 24, 2011 at 1:56 AM, Robert rmsz...@gmail.com wrote: can someone help me. I can't

Re: [android-developers] SDK or some tool to develop a VERY simple Android game?

2011-02-25 Thread Greg Donald
On Thu, Feb 24, 2011 at 4:16 PM, Ryan Stonn ryanst...@ryanstonn.com wrote: Oops! This got buried in my Inbox, sorry for my late reply. Can you give me some links that you think would help since I am coming from a plain java background? I use http://www.andengine.org/ for OpenGL stuff. --

Re: [android-developers] Problems with Calendar Provider queries

2011-02-25 Thread Mark Murphy
On Fri, Feb 25, 2011 at 6:42 AM, Marcin Orlowski webnet.andr...@gmail.com wrote: On 22 February 2011 23:59, Mark Murphy mmur...@commonsware.com wrote: I got problems dealing with Calendar Provider. There is no Calendar Provider in the Android SDK. Sorry Mark, but so what? If it's not part of

Re: [android-developers] Re: Access to data folder on Google Nexus S

2011-02-25 Thread Mark Murphy
On Fri, Feb 25, 2011 at 8:22 AM, Robert rmsz...@gmail.com wrote: Ok so there is no option to get there?? That's really strange. It is there for security reasons. So is there any option to see SQLite database file of my application?? On the emulator, you can access the /data partition through

Re: [android-developers] Getting Application Installation Status

2011-02-25 Thread Mark Murphy
On Wed, Feb 23, 2011 at 5:02 PM, sathya singaravelu sathyasingarav...@gmail.com wrote: Thanks for the reply.  But using this Package_added broadcast receiver, i can get only the successful install status for an app. If i want to get failure install status or want to know whether user selects

Re: [android-developers] Re: How to detect tablet devices

2011-02-25 Thread Mark Murphy
On Wed, Feb 23, 2011 at 12:47 PM, Carlo Codega sazi...@gmail.com wrote: Is there any numeric size about XLARGE screens? AFAIK there could be smartphone devices with xlarge screens, or not? I don't see any documentation which says that XLARGE screens are 6 inches Does xlarge refer to the

[android-developers] Android 2.3.3 on N1 - Slow bitmap blitting?

2011-02-25 Thread Ralf Schneider
Hi, I have updated my Nexus One (not rooted) to stock 2.3.3. Everything looks fresh and nice! But my app runs only half as fast as before! It is a fluid simulation ( https://market.android.com/details?id=com.gestaltgeber.hyperspacejellylite). The simulation and rendering is done in native code

[android-developers] Android 2.3: Music content providers for artists, albums and songs

2011-02-25 Thread Daniel
The activities ArtistAlbumBrowserActivity, AlbumBrowserActivity and TrackBrowserActivity cannot be started anymore by an Intent (e.g. using action.PICK and vnd.android.cursor.dir/album) since the attribute android:exported is set to false for those activities since Android 2.3 (see

[android-developers] Re: Service Lifecycle

2011-02-25 Thread Jake Colman
In my particular situation, I was using onCreate() to initialize state variables to their initial values. My expectation was that onCreate() is called just once for the lifetime of my app. Now that I know that Android can destroy my service if needed and cause it to be recreated, that form of

[android-developers] EditText behaving weirdly

2011-02-25 Thread Richard Marsh
I have a pretty weird situation. I have an expandable listview. When you click on the child item, a dialog opens up and you can edit some text to save. The dialog is created with a xml layout and using an inflater at runtime. I also populate the edit text field with a value. For some reason,

[android-developers] Re: Service Lifecycle

2011-02-25 Thread Jake Colman
So what would you recommend as a way to persist a number of primitives such as integers and booleans? I agree that this is not a preference but it is data that needs to be persisted and shared across activities and services within the app. IV == Indicator Veritatis mej1...@yahoo.com writes:

[android-developers] Re: Android 2.3.3 on N1 - Slow bitmap blitting?

2011-02-25 Thread Zsolt Vasvari
The Quadrant score has dropped by about 200 in 2.3.3 vs. 2.2 On Feb 25, 9:37 pm, Ralf Schneider li...@gestaltgeber.com wrote: Hi, I have updated my Nexus One (not rooted) to stock 2.3.3. Everything looks fresh and nice! But my app runs only half as fast as before! It is a fluid simulation

[android-developers] Focus is not coming on list in slidingDrawer

2011-02-25 Thread Manish Garg
Hi, In my application, I have created a tabactivity which contains slidingDrawer to display some dynamic messages. I am using listview for it. now focus is on my child activity when I am clicking on slidingDrawer, it is getting opened but focus is not coming on the list. -- You received this

Re: [android-developers] Re: Android 2.3.3 on N1 - Slow bitmap blitting?

2011-02-25 Thread Ralf Schneider
Ok, thanks for the info. But I recognized I have an even worse problem: The Market App is gone!!! If I click on the Market icon it tells me: Not installed on the device! Uhh! Thank you google! There are some other apps I can not start anymore. But the Market App is the biggest problem. I

Re: [android-developers] Re: adding search option

2011-02-25 Thread TreKing
On Fri, Feb 25, 2011 at 2:55 AM, Indicator Veritatis mej1...@yahoo.com wrote: What happened to let me google that for you?? I thought pointing him to the first post where I responded to the exact same question was more appropriate, in this case. On Fri, Feb 25, 2011 at 3:16 AM, Marcin

[android-developers] Re: Adobe Air for Andoid App - Trouble Bringing App to Foreground (actionscript 3)

2011-02-25 Thread RJM
Point taken. I'm not using NDK I'm using Adobe Flash Builder 4 to create an Air app which is then being packaged as an apk. The reason I've not been debugging on my phone is that I've been debugging on the PC through Flash Builder and up until now there has been no discrepancies between running

[android-developers] Re: AppWidget Not Surviving a Reboot

2011-02-25 Thread Jake Colman
Thanks but I'm good now. I added a BOOT_COMPLETED intent to the appwidget's intent filter and check for that event in onRecieve. All is good! ND == Nguyen Dat nguyenda...@gmail.com writes: ND Dear Jake ND ★I have 2 point concern so could you please give me some information: ND 1.

Re: [android-developers] Re: Android 2.3.3 on N1 - Slow bitmap blitting?

2011-02-25 Thread Ralf Schneider
It's like windows! A reboot solved the market problem! - But not the slow down... 2011/2/25 Ralf Schneider li...@gestaltgeber.com Ok, thanks for the info. But I recognized I have an even worse problem: The Market App is gone!!! If I click on the Market icon it tells me: Not installed on

[android-developers] Test Location in Emulator

2011-02-25 Thread Jake Colman
No, I am not asking how to send location updates to the emulator. Can I simulate conditions such as: 1) GPS and Network not available to provide location 2) GPS powered on/off 3) Network connection on/off 4) Providers are active but cannot return a fix I am also finding that my emulator often

Re: [android-developers] Re: Reflection API:List all classes in a package that extend a specific super class

2011-02-25 Thread donV
Thanks! This was very helpful! I have it running now. -- 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: SDK or some tool to develop a VERY simple Android game?

2011-02-25 Thread Justin Giles
On Fri, Feb 25, 2011 at 5:53 AM, Ryan S music...@gmail.com wrote: My idea is mostly educational games with simple UIs. Will check out the three links on the page you sent me... any other tips and advise is also most welcome! If it is educational games with simple UIs, I'd recommend

Re: [android-developers] Problems with Calendar Provider queries

2011-02-25 Thread Marcin Orlowski
Anyone needing to ask questions about an undocumented, unsupported API should not be using it. Calendar is not part of SDK as such situation lets Google change whatever they want and to not bother the others, but I dare to point that there significiant difference between undocumented and

[android-developers] Moto XOOM not loading xhdpi drawables

2011-02-25 Thread Mark Nuetzmann
Hi, I have an app that has default drawables in the drawable folder. I have both a drawable-hdpi and a drawable-xhdpi folder set up. When I launch my app on the XOOM the device seems to be picking up the default drawables and NOT the ones in the xhdpi folder. Has anyone come across this? My

Re: [android-developers] Moto XOOM not loading xhdpi drawables

2011-02-25 Thread Kostya Vasilyev
This is correct, as the XOOM is not xhdpi. It's an -xlarge, -mdpi device. -- Kostya 25.02.2011 17:53, Mark Nuetzmann пишет: Hi, I have an app that has default drawables in the drawable folder. I have both a drawable-hdpi and a drawable-xhdpi folder set up. When I launch my app on the XOOM

[android-developers] Re: Moto XOOM not loading xhdpi drawables

2011-02-25 Thread Mark Nuetzmann
wow. ok, that explains it. I cannot believe the flagship device for Moto would not be at least a hires device. thank you. On Feb 25, 8:59 am, Kostya Vasilyev kmans...@gmail.com wrote: This is correct, as the XOOM is not xhdpi. It's an -xlarge, -mdpi device. -- Kostya 25.02.2011 17:53,

Re: [android-developers] Re: Moto XOOM not loading xhdpi drawables

2011-02-25 Thread Kostya Vasilyev
Xoom's 160 dpi is still much higher than the typical desktop computer monitor (96 dpi). Keep in mind that display density (pixels / inch) is not the same as resolution (number of pixels) or screen size (number of inches). This might be useful:

Re: [android-developers] Re: Moto XOOM not loading xhdpi drawables

2011-02-25 Thread Mark Murphy
On Fri, Feb 25, 2011 at 10:19 AM, Mark Nuetzmann mark.nuetzm...@gmail.com wrote: wow.  ok, that explains it. I cannot believe the flagship device for Moto would not be at least a hires device. Why? The flagship tablet for Apple would be -mdpi in Android terminology. Now, there's a chance

Re: [android-developers] Re: Maps GeoPoint: Accessing and changing data?

2011-02-25 Thread TreKing
On Fri, Feb 25, 2011 at 2:18 AM, oldskool73 oldskoo...@gmail.com wrote: On Feb 25, 2:59 am, TreKing treking...@gmail.com wrote: On Thu, Feb 24, 2011 at 8:56 PM, SEWilco sewi...@gmail.com wrote: Can my app access GeoPoint data and change it? What data? Well seeing as a geopoint only

[android-developers] Re: Moto XOOM not loading xhdpi drawables

2011-02-25 Thread Mark Nuetzmann
Good point. I guess I have just been working with so many hires phone devices and the fact that the Samsung Galaxy tab is a hires device I just assumed the XOOM would be as well... but since the screen is so much larger it is not needed. My bad. On Feb 25, 9:27 am, Mark Murphy

Re: [android-developers] Re: Moto XOOM not loading xhdpi drawables

2011-02-25 Thread Marcin Orlowski
On 25 February 2011 16:19, Mark Nuetzmann mark.nuetzm...@gmail.com wrote: I cannot believe the flagship device for Moto would not be at least a hires device. Well, you thought you watch xhdpi, so it works :) Note density is not resolution and there's not point to artificially pump dpi up

[android-developers] Re: SQLite and Collate UNICODE

2011-02-25 Thread DanH
If the fields you're needing this attribute for aren't too large, the simplest approach is to write each field twice, once normally and once folded to upper case, using an algorithm you trust. Then search on the upper-case field. On Feb 25, 7:10 am, Grunthos p...@rhyme.com.au wrote: Read some

[android-developers] Re: Out of memory - despite being way under 16mb

2011-02-25 Thread android777
Can you post your code? It is easier to find what's happening in that way. On Feb 24, 2:42 pm, Sheado chad...@gmail.com wrote: Hello. I tried posting this earlier, but it didn't seem to stick (so sorry if it double posts). My app occasionally runs out of memory when loading bitmaps. I call

[android-developers] Java code limited to ~24Mb memory and NDK code has no limit?

2011-02-25 Thread spaceraiders
After writing Java apps for a while and being mindful of the heap memory limit (typically 16Mb or 24Mb), I was surprised to discover recently that NDK apps have no limit on how much memory they can allocate. I have a few queries: 1. Why was the decision made to not enforce the same limitations on

[android-developers] Do Alarms Trigger Upon Creation

2011-02-25 Thread Jake Colman
If I create an alarm on a repeat interval of, say, 60 minutes, will it trigger upon creation and then every 60 minutes thereafter or only trigger when the interval has elapsed? -- Jake Colman -- Android Tinkerer -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Bug in Honeycomb solves Bitmaps with XRGB_8888

2011-02-25 Thread webmonkey
I see the 'bug' is still there in the final HC SDK. It is not by design is it? On Jan 31, 5:39 pm, webmonkey webmonke...@gmail.com wrote: Just as I suspected there is a bug in Honeycomb that allows me to work around not having a setHasAlpha function. Using the new inMutable option in

Re: [android-developers] how to make sure that devices is connected after rebooting

2011-02-25 Thread TreKing
On Wed, Feb 23, 2011 at 11:32 PM, Abdul abdulbaquie...@gmail.com wrote: How to make sure that devices is connect after rebooting we are using two devices. Connected to what? one devics is working or taking command and seond device we are rebooting. What?

[android-developers] MediaPlayer issues in certain devices

2011-02-25 Thread DanielleM
Hello all: I've searched around and have not been able to find an answer to this problem: My application plays mp3 files and mp4 files in a variety of ways. The first way is that I have an mp3 stream that I'm streaming through a MediaPlayer object...the second way is that I'm navigating to either

Re: [android-developers] Do Alarms Trigger Upon Creation

2011-02-25 Thread Mark Murphy
It will trigger at the time you specify, then every period thereafter. On Fri, Feb 25, 2011 at 11:37 AM, Jake Colman col...@ppllc.com wrote: If I create an alarm on a repeat interval of, say, 60 minutes, will it trigger upon creation and then every 60 minutes thereafter or only trigger when

[android-developers] Do existing scheduled items on the AlarmManager get cancelled after an application update from the Marketplace?

2011-02-25 Thread Matt Quigley
Hi all. I was wondering what would happen in the following scenario: Your application schedules a service or any type of pending event on the AlarmManager. Let's say it repeats every 24 hours at noon. If an application update is available, and the user updates the application at 10 AM through

Re: [android-developers] Action Menu

2011-02-25 Thread David Williams
Thanks for the input. The signature and icon is not huge on my screen (only take up about 1/4 of the width). Also, the font looks perfectly normal to me, so not sure what you mean by more normal. Can you elaborate?

[android-developers] Re: Do Alarms Trigger Upon Creation

2011-02-25 Thread Matt Quigley
The AlarmManager setRepeating() methods include parameters for 1. when it starts, and 2. how often it repeats. http://developer.android.com/reference/android/app/AlarmManager.html On Feb 25, 11:37 am, Jake Colman col...@ppllc.com wrote: If I create an alarm on a repeat interval of, say, 60

Re: [android-developers] Java code limited to ~24Mb memory and NDK code has no limit?

2011-02-25 Thread Dianne Hackborn
On Fri, Feb 25, 2011 at 8:31 AM, spaceraiders spaceraid...@gmail.comwrote: 1. Why was the decision made to not enforce the same limitations on NDK code? It is much harder to enforce on native code. 2. What are the implications of rewriting apps that use the NDK to allocate, say, double

Re: [android-developers] Re: Moto XOOM not loading xhdpi drawables

2011-02-25 Thread Dianne Hackborn
The Xoom is quite a bit higher resolution than the Samsung Galaxy Tab or any other current Android phone. It is not higher density, because the screen itself is physically a lot larger. On Fri, Feb 25, 2011 at 7:41 AM, Mark Nuetzmann mark.nuetzm...@gmail.comwrote: Good point. I guess I have

Re: [android-developers] Out of memory - despite being way under 16mb

2011-02-25 Thread Dianne Hackborn
Memory fragmentation does not cause this; the Dalvik heap limit is enforced based on the actual active allocations. Note that bitmaps are NOT include in the Dalvik heap based on what ddms reports, but they are included in the heap limit, so most likely you have a lot of bitmap data. (In HC this

[android-developers] FileNotFoundException

2011-02-25 Thread b_t
Hi, I get the following exceptions (from my users) when I try to open a fileoutputstream: phone model: GT-I5800, android version: 2.1-update1, exception: java.io.FileNotFoundException: /sdcard/MYPATH/FILENAME at org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java: 244)

Re: [android-developers] Problems with Calendar Provider queries

2011-02-25 Thread Dianne Hackborn
The calendar provider has and will change, often significantly, between platform releases. And I would be willing to bet that some device manufacturers have changed it for their own use. You just can't on whatever you figure out to work on one device to work on other devices. Re: undocumented

[android-developers] NFC question: card emulation is not supported in the Android SDK yet, right?

2011-02-25 Thread davemac
I'm no NFC guru, but from what I can tell of the docs and the samples, there's no way to do card emulation on an Android device at this time, using the SDK. Is that correct? I see the published classes/methods for reading/writing tags, and for the Ndef push using P2P and the mysterious

  1   2   3   >