[android-developers] What are the filesize limitation imposed by DownloadManager

2011-08-07 Thread dan raaka
The maximum value seems to be defined at ./packages/providers/DownloadProvider/src/com/android/providers/downloads/StorageManager.java /** the max amount of space allowed to be taken up by the downloads data dir */ private static final long sMaxdownloadDataDirSize =

[android-developers] Re: Uploading apps on Android Market

2011-08-07 Thread Eric Wong (hdmp4.com)
On Aug 6, 11:20 pm, rich friedel rich.frie...@gmail.com wrote: I would hate to have to pay for a tiered data plan and have to update a 4GB app more than once/month! LOL, I would hate to see app download failed and then restart, etc when trying to download a 4GB app ;) I wonder if anyone would

[android-developers] Re: Comms with Intent

2011-08-07 Thread kypriakos
And in fact the onNewIntent (which still compiles if it is OnNewIntent!) is never called .. so something is not being set right. On Aug 7, 1:39 am, kypriakos demet...@ece.neu.edu wrote: Actually never mind that - I should have been using addFlags the second time and not setFlags on both flags.

Re: [android-developers] Re: Comms with Intent

2011-08-07 Thread Nikolay Elenkov
On Sun, Aug 7, 2011 at 4:20 PM, kypriakos demet...@ece.neu.edu wrote: And in fact the onNewIntent (which still compiles if it is OnNewIntent!) is never called .. so something is not being set right. Obviously. It will compile as OnNeWiNtEnT or anything you write. You need to override the

[android-developers] example of MergeCursor.

2011-08-07 Thread Andrei
Good afternoon. Please give an example of MergeCursor. I have 3 cursor: A, B, K How to join? I wrote MergeCursor mergeCursor = new MergeCursor (mCursors); What's next? Ps this example is seen (http://www.java2s.com/Open-Source/Android/ android-core/platform-cts/android/database/cts/

[android-developers] Re: .apk file is not getting downloaded from HTTPS site

2011-08-07 Thread dilu
My https certificate is a test certificate for one month from Verisign. I do get a warning while opening the page.I can open the normal html pages but not able to download the .apk files. On Aug 5, 10:48 pm, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Aug 6, 2011 2:06 AM, dilu

Re: [android-developers] Re: Comms with Intent

2011-08-07 Thread Kostya Vasilyev
May I also suggest using @Override. It doesn't change what the code means, but tells the compiler that you are overriding a method. The compiler then checks that this is actually the case. -- Kostya 07.08.2011 11:28, Nikolay Elenkov пишет: On Sun, Aug 7, 2011 at 4:20 PM,

[android-developers] Re: Why is onTouch called 2 times for every touch?

2011-08-07 Thread MobileVisuals
I tested on Android 2.2 and 2.1 on the emulator and it was the same thing here, 2 motion events with ACTION_DOWN are generated for each touch. I only have one mobile device to test on. It is Samsung Galaxy S and it works like it should here. On Aug 5, 10:57 am, Nikolay Elenkov

[android-developers] Intents

2011-08-07 Thread kypriakos
Hi all, I start an new intent on an activity: Intent intent = new Intent(); intent.seClass (..); intent.setFlags(...NEW_TASK); intent.addFlags(...SINGLE_TOP); startActivity(intent). In the target Activity I have the onNewIntent() that simply has code for doing some processing. I see the

[android-developers] Arrays and android

2011-08-07 Thread Tommy
Hi, I've been trying to create my first android app. Number of functions and the scripts complexity grow each time I try to finish it, but that is the way to learn how to develop an android app. I'm used to develop webpages using PHP and HTML. In my app I need an array that looks something like

Re: [android-developers] Arrays and android

2011-08-07 Thread Romain Guy
What you want is not an array but a map. Look at java.util.HashMap for instance. On Sun, Aug 7, 2011 at 2:21 AM, Tommy tommy.myrv...@gmail.com wrote: Hi, I've been trying to create my first android app. Number of functions and the scripts complexity grow each time I try to finish it, but

[android-developers] Widgets do not work on all devices!

2011-08-07 Thread guruk
Hi there, i have the Simulator to test, a Nexus ONE and a G1 on all my coded Widgets appear. but i get more and more users complain that on their devices the widgets do not appear even in their widget list. So do they come filtered or what? I can't purchase each and any device in the market to

Re: [android-developers] Re: 3rdParty application icon

2011-08-07 Thread Mark Murphy
On Sat, Aug 6, 2011 at 8:39 PM, John android...@gmail.com wrote: Thanks Mark, much appreciated, that works. Just to let you com.google.android.gallery3d is the package name, but for some reason simply calling setPackage() on the intent works for some packages but not others. That package name

Re: [android-developers] Intents

2011-08-07 Thread Mark Murphy
On Sun, Aug 7, 2011 at 4:25 AM, kypriakos demet...@ece.neu.edu wrote: I start an new intent on an activity: Intent intent = new Intent(); intent.seClass (..); intent.setFlags(...NEW_TASK); intent.addFlags(...SINGLE_TOP); startActivity(intent). In the target Activity I have the

Re: [android-developers] Is there a best (or worst) time to release apps?

2011-08-07 Thread Mark Murphy
On Sat, Aug 6, 2011 at 8:49 PM, Jim Graham spooky1...@gmail.com wrote: So basically, your answer is that there is no best timethat there is always someone around somewhere, and weekends vs weekends vs holidays become irrelevant?  Or did I read your response incorrectly? I'll be stunned if

[android-developers] Broadcast Receivers: Can they execute simultaneously or do they always execute consecutively?

2011-08-07 Thread Ali Chousein
Hi, I have a little confusion with broadcast receivers. I have a broadcast receiver which is triggered upon TIME_SET and TIMEZONE_CHANGED actions (the code is given below). What I was wondering is, can OnDateTimeChanged (see the code below) be triggered simultaneously (and its execution overlaps)

Re: [android-developers] Widgets do not work on all devices!

2011-08-07 Thread Nikolay Elenkov
On Sun, Aug 7, 2011 at 7:27 PM, guruk ilovesi...@gmail.com wrote: Hi there, i have the Simulator to test, a Nexus ONE and a G1 on all my coded Widgets appear. but i get more and more users complain that on their devices the widgets do not appear even in their widget list. So do they come

Re: [android-developers] Is there a best (or worst) time to release apps?

2011-08-07 Thread Nikolay Elenkov
On Sun, Aug 7, 2011 at 7:48 PM, Mark Murphy mmur...@commonsware.com wrote: On Sat, Aug 6, 2011 at 8:49 PM, Jim Graham spooky1...@gmail.com wrote: So basically, your answer is that there is no best timethat there is always someone around somewhere, and weekends vs weekends vs holidays

Re: [android-developers] Is there a best (or worst) time to release apps?

2011-08-07 Thread Nikolay Elenkov
On Sun, Aug 7, 2011 at 8:17 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Sun, Aug 7, 2011 at 7:48 PM, Mark Murphy mmur...@commonsware.com wrote: On Sat, Aug 6, 2011 at 8:49 PM, Jim Graham spooky1...@gmail.com wrote: So basically, your answer is that there is no best timethat

Re: [android-developers] Broadcast Receivers: Can they execute simultaneously or do they always execute consecutively?

2011-08-07 Thread Mark Murphy
On Sun, Aug 7, 2011 at 7:03 AM, Ali Chousein ali.chous...@gmail.com wrote: I have a little confusion with broadcast receivers. I have a broadcast receiver which is triggered upon TIME_SET and TIMEZONE_CHANGED actions (the code is given below). What I was wondering is, can OnDateTimeChanged

Re: [android-developers] Widgets do not work on all devices!

2011-08-07 Thread guruk
i thought about, ALSO i asked several users and they did say they did not moved to sd card! so its not that. they just installed the update of my app.. and all widgets gone :( -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Broadcast Receivers: Can they execute simultaneously or do they always execute consecutively?

2011-08-07 Thread Ali Chousein
Thank you Mark, that's great to know and it also simplifies things very much. -Ali -- 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: example of MergeCursor.

2011-08-07 Thread Andrei
My code don't work ( mergeCursor = new MergeCursor(mCursors); assertEquals(mCursors[0].getCount() + mCursors[1].getCount(), mergeCursor.getCount()); On Aug 7, 11:31 am, Andrei entre...@gmail.com wrote: Good afternoon. Please give an example of

Re: [android-developers] Re: Broadcast Receivers: Can they execute simultaneously or do they always execute consecutively?

2011-08-07 Thread Mark Murphy
On Sun, Aug 7, 2011 at 7:33 AM, Ali Chousein ali.chous...@gmail.com wrote: Thank you Mark, that's great to know and it also simplifies things very much. Note that there is no guarantee which order those two broadcasts will come in, though. -- Mark Murphy (a Commons Guy) http://commonsware.com

[android-developers] https://groups.google.com/d/topic/technology-technology/CH9VpoZFq60/discussion

2011-08-07 Thread monir 619
https://groups.google.com/d/topic/technology-technology/CH9VpoZFq60/discussion -- 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: I need a CamScanner like example

2011-08-07 Thread ricardocunha
So, I want image aligning, I think I will use an affine transformation, see this example: http://www.youtube.com/watch?v=R4wzxy_5TGUfeature=related On 6 ago, 21:27, rich friedel rich.frie...@gmail.com wrote: You did not ask for image aligning anything... you asked for something like

[android-developers] Is SQLite database in cache after first use?

2011-08-07 Thread CocoRambo
Hi, For a new application I try to make weekly data update by downloading directly an SQLite file generated in PHP. So when update is needed I: - Download the new SQLite file in ZIP (mydb.zip) - Extract to a temporary file (mydb.db) - Delete the old one (application.db via

[android-developers] Re: Broadcast Receivers: Can they execute simultaneously or do they always execute consecutively?

2011-08-07 Thread Ali Chousein
Thank you Mark, that's great to know and it also simplifies things very much. Note that there is no guarantee which order those two broadcasts will come in, though. Luckily in my case the order is not important. I'm developing an application and the correctness of it can be broken when the

Re: [android-developers] Is there a best (or worst) time to release apps?

2011-08-07 Thread Jim Graham
On Sun, Aug 07, 2011 at 08:17:14PM +0900, Nikolay Elenkov wrote: However, since there is no more a 'Just In' category (bucket?), it's not clear where your app will be shown. Actually, there is. It's just hidden so you can't find it. I found out when I was seeing a force close on the Market

Re: [android-developers] Is SQLite database in cache after first use?

2011-08-07 Thread Kostya Vasilyev
What's probably happening is that you are not closing the old database file, so the application continues to read from it, and not from the new one. This is entirely possible on Linux (and other Unixes): deleting an open file is allowed, the applications don't notice, and the actual file data

Re: [android-developers] Is there a best (or worst) time to release apps?

2011-08-07 Thread Kostya Vasilyev
It's also a good idea to check this page before releasing an update: http://www.google.com/support/androidmarket/developer/bin/static.py?page=known_issues.cs -- Kostya 2011/8/7 Jim Graham spooky1...@gmail.com: On Sun, Aug 07, 2011 at 08:17:14PM +0900, Nikolay Elenkov wrote: However, since

Re: [android-developers] Is there a best (or worst) time to release apps?

2011-08-07 Thread Nikolay Elenkov
On Sun, Aug 7, 2011 at 9:25 PM, Jim Graham spooky1...@gmail.com wrote: On Sun, Aug 07, 2011 at 08:17:14PM +0900, Nikolay Elenkov wrote: Scroll the list of Paid, Free, etc., to the right and you'll see Top New Paid and Top New Free (which is really all new paid and all new free, not just the

[android-developers] Re: multilanguage support on Developer Console

2011-08-07 Thread nadam
Just click the link for each language at the top of the Listing details. For instance, you can have a title of up to 30 characters for each language. Similar for the other text fields. Can't do the same for graphics though, so try to avoid text in graphics for multi language apps. On 4 Aug,

[android-developers] Re: Error reporting

2011-08-07 Thread nadam
http://stackoverflow.com/questions/5994026/failed-to-install-helloandroid-apk-on-device-emulator-5554 If that doesn't help and you're using Honeycomb for the emulator, try an earlier version of Android. On 4 Aug, 07:43, kalaiprabha prabhalingap...@gmail.com wrote: I'm getting this error message

Re: [android-developers] Is there a best (or worst) time to release apps?

2011-08-07 Thread Jim Graham
On Sun, Aug 07, 2011 at 09:42:09PM +0900, Nikolay Elenkov wrote: On Sun, Aug 7, 2011 at 9:25 PM, Jim Graham spooky1...@gmail.com wrote: On Sun, Aug 07, 2011 at 08:17:14PM +0900, Nikolay Elenkov wrote: AFAIK, 'Top Free/Paid' is a list of the apps released (not sure if updates) count in the

Re: [android-developers] Is SQLite database in cache after first use?

2011-08-07 Thread Kostya Vasilyev
07.08.2011 17:11, MARTIN Nicolas пишет: Thanks for your answer. A possibly complicated solution would be to close the old database file using SQLiteOpenHelper.close, and then open the new one. I also try using SQLiteOpenHelper.close (which is a synchronized method) and open the new

Re: [android-developers] Is SQLite database in cache after first use?

2011-08-07 Thread MARTIN Nicolas
Thanks for your answer. A possibly complicated solution would be to close the old database file using SQLiteOpenHelper.close, and then open the new one. I also try using SQLiteOpenHelper.close (which is a synchronized method) and open the new one but same problem... As for me, I would do this:

Re : Re: [android-developers] Is SQLite database in cache after first use?

2011-08-07 Thread CocoRambo
Well, something is not working :) Possibly something, somewhere, is keeping references to the old SQLiteDatabase object that in turn still references the old file. That is what I think but where between: Content provider | CursorLoader | CursorAdapter | something else... If your server

[android-developers] Clear draw popup overlay from mapview in android?

2011-08-07 Thread shubh
In my screen i have two button one is two show map and second one two show list . I am populating an popup on android map using onTap method of ItemizedOverlay class, and now if I press on second button to show list , popup message shows as it is, it not cancelled. pls let me know how can I

Re: Re : Re: [android-developers] Is SQLite database in cache after first use?

2011-08-07 Thread Kostya Vasilyev
07.08.2011 17:53, CocoRambo пишет: All case, I am really want to understand the actual behavior At this point, I would copy the source for SQLiteOpenHelper into the project (changing the package name, of course) and debug into its close and open... -- Kostya Vasilyev -- You received this

[android-developers] Clear draw popup overlay from mapview in android?

2011-08-07 Thread shubh
In my screen i have two button one is two show map and second one two show list . I am populating an popup on android map using onTap method of ItemizedOverlay class, and now if I press on second button to show list , popup message shows as it is, it not cancelled. pls let me know how can I

[android-developers] Re: Market is showing incompatible with phone, but developer console says it is compatible

2011-08-07 Thread Adam Ratana
I had to submit an update for it to be compatible. No permission or hardware requirements changes. He said this was the case for some other apps as well so it might be part of a wider market bug, there's currently an open issue for compatibility listings in the console. -- You received

[android-developers] How to create 3d effects on android application screen items

2011-08-07 Thread dhirendra
Hi, I am a beginner for animation on android. I have created android application with normal screens and various items in it. Now i would like to add 3d animation to the items (like on selection come to front on deletion poping out in some good way etc.) in some screens. What would be easier and

[android-developers] Re: I can't show random images in the ImageView

2011-08-07 Thread androidmediadeveloper
also, once you change the bitmap, you need to call invalidate() so onDraw is called again On Aug 6, 4:41 pm, Zwiebel hunzwie...@gmail.com wrote: Thanks I will try it! On aug. 6, 20:04, Kostya Vasilyev kmans...@gmail.com wrote: You are calling TextView.setText(int)

Re: [android-developers] Re: I can't show random images in the ImageView

2011-08-07 Thread Kostya Vasilyev
Nope. setImageURI / setImageDrawable / setImageResource in ImageView all call requestLayout() and invalidate(). 07.08.2011 19:28, androidmediadeveloper пишет: also, once you change the bitmap, you need to call invalidate() so onDraw is called again On Aug 6, 4:41 pm,

[android-developers] @TreKing: How would I go about implementing a market comment response like you do.

2011-08-07 Thread Raghav Sood
Hi, This question is kind of specifically to TreKing but other methods and responses are welcome. I have 11 apps on the market and plan to release a good amount more. As I am sure everyone here knows responding to the comments on the market itself is not an option, sadly. As some of us know as

[android-developers] Just in section

2011-08-07 Thread bob
I think the Android Market on my phone got updated, and I can't find the Just in section any more. Anyone know about this? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: Re : Re: Re : Re: [android-developers] Is SQLite database in cache after first use?

2011-08-07 Thread Kostya Vasilyev
It doesn't seem bad to me at all. Note that getLocalContentProvider is API level 5. If this was my code, I'd take advantage of the provider being local, and keep a reference to the database somewhere (in a static variable). The provider would use this static to access the database. In the

Re : Re: Re : Re: [android-developers] Is SQLite database in cache after first use?

2011-08-07 Thread CocoRambo
I finally find a solution but I am not proud of it... My mistake was that I called close() on the wrong SQLiteOpenHelper. So I add a public method to my ContentProvider to get his SQLiteOpenHelper... Next during update I do this: MyContentProvider cp = (MyContentProvider)

[android-developers] images overlay on layout

2011-08-07 Thread Eyal Berman
Hi, I trying to implement a image as background and put images on top of it. this is my layout. Code: FrameLayout android:id=@+id/my_ph xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=wrap_content android:layout_height=wrap_content ImageView

[android-developers] Jphfgyofjfjhghkloljgjkhilgxbcbghghghy

2011-08-07 Thread Manan wadhwa
Sent from my iPod -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

Re: [android-developers] Jphfgyofjfjhghkloljgjkhilgxbcbghghghy

2011-08-07 Thread Kumar Bibek
Your keyboard doesn't work :) *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Tue, Aug 2, 2011 at 11:30 PM, Manan wadhwa manan.wad...@gmail.comwrote: Sent from my iPod -- You received this message because you are subscribed to the Google

[android-developers] Hvjdhvnbkgzchlxcvgkfcsspllopgdzzzgj

2011-08-07 Thread Manan wadhwa
Sent from my iPod -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

[android-developers] Re: I can't show random images in the ImageView

2011-08-07 Thread Zwiebel
Thanks for all, I could make it now! Thanks for fast helps. On aug. 6, 22:23, Kostya Vasilyev kmans...@gmail.com wrote: Oh, and here is another one: nextInt(3) can be one of: 0, 1, 2. nextInt(3) +1 then becomes one of: 1, 2, 3. This: imageArr[rndInt] expects values 0, 1, 2 So, take

[android-developers] How Can I keep data between my activities?

2011-08-07 Thread Zwiebel
I have an activity what looks like this: public class s extends Activity{ private static final int REQUEST_CODE = 1; ImageView secret; public int counter; public int counter_foe; public TextView txt; public TextView counter_txt; ImageView

[android-developers] Re: How Can I keep data between my activities?

2011-08-07 Thread Zwiebel
I tried the following too: public class s extends Activity{ private static final int REQUEST_CODE = 1; ImageView secret; public int counter; public int counter_foe; public TextView txt; public TextView counter_txt; ImageView pic;

Re: [android-developers] @TreKing: How would I go about implementing a market comment response like you do.

2011-08-07 Thread TreKing
On Sun, Aug 7, 2011 at 10:39 AM, Raghav Sood raghavs...@gmail.com wrote: From what I can understand: The app reads some sort of feed from the blog that is used to respond to comments. The user is then notified about the response. Yup - that sums it up quite nicely. It's dirt simple - a poor

Re: [android-developers] Just in section

2011-08-07 Thread TreKing
On Sun, Aug 7, 2011 at 11:17 AM, bob b...@coolgroups.com wrote: I think the Android Market on my phone got updated, and I can't find the Just in section any more. Anyone know about this? http://www.google.com/support/forum/p/Android+Market/thread?tid=69c2808d745db504hl=en First hit on

Re: [android-developers] Clear draw popup overlay from mapview in android?

2011-08-07 Thread TreKing
On Sun, Aug 7, 2011 at 8:54 AM, shubh shubhampatn...@gmail.com wrote: pls let me know how can I dismiss this popup message dialog. Did you try http://developer.android.com/reference/android/app/Dialog.html#dismiss() ?

Re: [android-developers] How Can I keep data between my activities?

2011-08-07 Thread TreKing
On Sun, Aug 7, 2011 at 1:01 PM, Zwiebel hunzwie...@gmail.com wrote: My problem is the following: I want to keep my counter's and my counter_foe's content through the activity changes. I don't want them to be the default (0) texts. For example: If I clicked on the next button of mine

[android-developers] Re: Is there a callback that gets called right after onResume() ?

2011-08-07 Thread Jim
Guys, I was under the impression that measured dimensions were suggestions that could be overridden at the time drawing occurs. Therefore, overriding those classes would allow for additional information to be given to Android, but at draw time, you would need to getWidth and getHeight in order to

[android-developers] Re: onDraw() causing flicker when drawing new images

2011-08-07 Thread Doug
The logic for onDraw in any given View should be to draw the entire view every time it's called by the view hierarchy. Are you calling invalidate with a dirty region on your view to indicate only which portions of the view have changed from moment to moment? That should speed up rendering

[android-developers] Re: At what point does android know the exact key that was pressed?

2011-08-07 Thread Doug
On Aug 6, 12:07 pm, Anil anil.r...@gmail.com wrote: I built the android source and running it in the Eclipse debugger, am trying to understand where is the point in the calling sequence when it has all the information about the event. So I run the calculator and press key '1'. There is a

[android-developers] Re: inApp soundgeneration possible without heavy use of CPU ?

2011-08-07 Thread Doug
On Jul 31, 1:35 pm, Peter Pippinger pe...@pippinger.de wrote: So my question: is it possible to do some synthesizer-calculation in Java for the music with not to much CPU-consumption? Maybe you have some links (maybe also to some apps which are doing something like this)? I think if you do a

[android-developers] Re: How Can I keep data between my activities?

2011-08-07 Thread Zwiebel
So do you think, that if I'm try to do this in the s class, will it be good?: @Override public void onSaveInstanceState(Bundle savedInstanceState) { savedInstanceState.putInt(counter, counter); savedInstanceState.putInt(counter_foe, counter_foe); super.onSaveInstanceState(savedInstanceState);

[android-developers] Re: onDraw() causing flicker when drawing new images

2011-08-07 Thread Jeffrey
How would I go about doing that? I have no formal programming education and everything I know is based of examples I've seen, and I've never seen that done. On Aug 7, 2:56 pm, Doug beafd...@gmail.com wrote: The logic for onDraw in any given View should be to draw the entire view every time it's

[android-developers] Re: At what point does android know the exact key that was pressed?

2011-08-07 Thread Anil
You guessed correctly. I want to do a custom build. I work for an OEM and am trying to implement an idea - to log all inputs (keystrokes, text field input, browser tests including Javascript, plugging/ unplugging SD card etc.) by the testers to have a set of trails that would be useful. So I am

Re: [android-developers] Re: At what point does android know the exact key that was pressed?

2011-08-07 Thread Mark Murphy
On Sun, Aug 7, 2011 at 5:17 PM, Anil anil.r...@gmail.com wrote: You guessed correctly. I want to do a custom build. I work for an OEM and am trying to implement an idea - to log all inputs (keystrokes, text field input, browser tests including Javascript, plugging/ unplugging SD card etc.) by

[android-developers] Re: onDraw() causing flicker when drawing new images

2011-08-07 Thread Jeffrey
Okay, figured it out, syncing the touch event with the draw thread cleared it up. I am still interested in calling invalidate on dirty regions if it will increase performance though... On Aug 7, 3:59 pm, Jeffrey jeffisagen...@gmail.com wrote: How would I go about doing that? I have no formal

Re: [android-developers] Arrays and android

2011-08-07 Thread Nick Risaro
On Sun, Aug 7, 2011 at 6:24 AM, Romain Guy romain...@android.com wrote: What you want is not an array but a map. Look at java.util.HashMap for instance. What he needs is an object :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Intent

2011-08-07 Thread nadam
Check logcat to find the reason for force close. I think you need to add tel: in front of the phone number. On 6 Aug, 07:37, jagadeesh mjagadeeshb...@gmail.com wrote: Hi see the below code: Intent myintent=new Intent(Intent.ACTION_DIAL,Uri.parse(100));         startActivity(myintent); I

[android-developers] Re:

2011-08-07 Thread nadam
http://developer.android.com/guide/topics/ui/declaring-layout.html On 5 Aug, 19:52, adithya holla adithyaho...@gmail.com wrote: how to use android id effectively ?? everytime i use it the error flashes in eclipse saying id cannot be resolved -- You received this message because you are

Re: [android-developers] Re: How Can I keep data between my activities?

2011-08-07 Thread TreKing
On Sun, Aug 7, 2011 at 3:58 PM, Zwiebel hunzwie...@gmail.com wrote: So do you think, that if I'm try to do this in the s class, will it be good?: That is the general idea, yes. - TreKing

Re: [android-developers] Just in section

2011-08-07 Thread Jim Graham
On Sun, Aug 07, 2011 at 01:43:13PM -0500, TreKing wrote: I think the Android Market on my phone got updated, and I can't find the Just in section any more. Anyone know about this? http://www.google.com/support/forum/p/Android+Market/thread?tid=69c2808d745db504hl=en First hit on

[android-developers] Re: check wakelocked for each process

2011-08-07 Thread Hiko
Dear Kostya, Thank you very much for your information. I'll try. Regards, On Aug 5, 8:42 pm, Kostya Vasilyev kmans...@gmail.com wrote: In the adb shell, type dumpsys power. 05.08.2011 15:36, Hiko пишет: Hi, I would like to check/detect which process(s) are waklocked in the device.

[android-developers] Re: how to get the resource id of the set wallpaper

2011-08-07 Thread Hiko
Dear Hal, Right. That is what I want to ask. Regards, On Aug 6, 1:33 pm, Hal Harrison closeenough.bac...@gmail.com wrote: Are you asking: How can I get the id of my wallpaper graphic in my res/drawable folder into my program so I can do something with it? Hal Harrison. -- You received

[android-developers] Custom contextual menu options don't appear

2011-08-07 Thread Keith Wiley
I am getting bug reports from a very small number of users (two so far) that my custom contextual menu options don't appear and are therefore unavailable. This is in an app that has been around for several years and has an installed customer base of around 130,000. I have only had two such bug

[android-developers] question about other markets

2011-08-07 Thread Jim Graham
Just wonderingare any of the other markets worth posting paid apps to in addition to the google market? If so, any suggestions which one(s)? I'd like to get as much exposure (and maybe more reliability) as possible to maximize my chances of making enough to help out from month to month.

[android-developers] Standalone Java applications?

2011-08-07 Thread Bill Gatliff
Guys: I am aware that under carefully-controlled circumstances, we can use the NDK toolchain to produce standalone ASM/C/C++ applications for a compatible Android target. What if I want to do a standalone application written in Java for an Android target? It seems like I should be able to do

[android-developers] Re: Standalone Java applications?

2011-08-07 Thread Chris
Will you emulate swing? If so, I'll buy you a beer. -- 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] Standalone Java applications?

2011-08-07 Thread Nikolay Elenkov
On Mon, Aug 8, 2011 at 11:07 AM, Bill Gatliff b...@billgatliff.com wrote: What if I want to do a standalone application written in Java for an Android target? Assuming by 'standalone application' you mean a Java program with a main method, there is an dalvikvm command. If your class is in a

[android-developers] Re: question about other markets

2011-08-07 Thread Chrystian Vieyra
I think the only other big market is amazon app store. I am not a big fan of amazon app store, as amazon gets to set the app price, they take about two to three weeks to review the apps and they do not provide error reports. -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: question about other markets

2011-08-07 Thread TreKing
On Sun, Aug 7, 2011 at 9:53 PM, Chrystian Vieyra chrys.vie...@gmail.comwrote: they take about two to three weeks to review the apps In my experience it's been two to three *days*. Once I posted an update on Sunday and it was approved Monday. YMMV. and they do not provide error reports But

Re: [android-developers] Re: question about other markets

2011-08-07 Thread Jim Graham
On Sun, Aug 07, 2011 at 07:53:31PM -0700, Chrystian Vieyra wrote: I think the only other big market is amazon app store. I am not a big fan of amazon app store, as amazon gets to set the app price Ok, then ... three questions: 1) do I get to set a minimum price? 2) how much of [price]

Re: [android-developers] Re: question about other markets

2011-08-07 Thread Chrystian Vieyra
https://developer.amazon.com/help/faq.html -- 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: question about other markets

2011-08-07 Thread Jim Graham
On Sun, Aug 07, 2011 at 08:29:59PM -0700, Chrystian Vieyra wrote: https://developer.amazon.com/help/faq.html That'll work ... thanks. Later, --jim -- 73 DE N5IAL (/4)| There it was, right in the title bar: spooky1...@gmail.com| Microsoft Operations POS. Running FreeBSD 7.0

[android-developers] Re: example of MergeCursor.

2011-08-07 Thread Andrei
help me, please On Aug 7, 3:46 pm, Andrei entre...@gmail.com wrote: My code don't work (   mergeCursor = new MergeCursor(mCursors);                 assertEquals(mCursors[0].getCount() + mCursors[1].getCount(),                         mergeCursor.getCount()); On Aug 7, 11:31 am, Andrei

[android-developers] How to look and understand @ each of the Test Case in CTS : Please suggest

2011-08-07 Thread gsaipraneeth
-- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit

[android-developers] All apps + developer suddenly disappears from devices

2011-08-07 Thread Raghav Sood
Hi, I have 11 apps in the android market. Quite suddenly none of them can be found on my friends Dell XCD 35. The web version of the market states that it is incompatible. There is nothing in any of the apps that would cause them to be incompatible. Market bugs once more? Thanks -- Raghav Sood

Re: [android-developers] Re: Intent

2011-08-07 Thread jaggu
Hi where i need tel: in my code Thanks Jagadeesh On Mon, Aug 8, 2011 at 3:08 AM, nadam a...@anyro.se wrote: Check logcat to find the reason for force close. I think you need to add tel: in front of the phone number. On 6 Aug, 07:37, jagadeesh mjagadeeshb...@gmail.com wrote: Hi see the

[android-developers] Re: question about other markets

2011-08-07 Thread William Ferguson
I'd second TreKing's suggestion to use a separate bug reporting mechanism. ACRA handles the reporting mechanism well. And you can have it deliver the reports to BugSense which seems to do an excellent job of collating them. Wililam On Aug 8, 1:17 pm, Jim Graham spooky1...@gmail.com wrote: On

Re: [android-developers] Re: How to place two buttons side by side at the bottom of the android emulator to get the appropriate shape displayed by clicking on the appropriate buttons

2011-08-07 Thread Ratheesh Valamchuzhy
hi I didn't get your points correctly ... i hope you install android correctly and made the setup , do the following Create a new android project and copy the code make the xml file corresponding to the resources and try to run check the following The sources of the Android API are

Re: [android-developers] Re: map does not displaying in device

2011-08-07 Thread Ratheesh Valamchuzhy
hi TONEZ thanks for the guidence Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] http connection to display a webpage

2011-08-07 Thread Ratheesh Valamchuzhy
Hi Arun While sending an http request we cant get (display the webpage) we get a response such as xml or json , we need to parse the response and retrive th edata as needed. if u want to display the we page u can use webview. thanks -- You received this message because you are subscribed to

[android-developers] Current location in android

2011-08-07 Thread Ratheesh Valamchuzhy
Hi All i want to display the map in my android application and find the current location(place name) to display or mark in the map, i tried some sample most of them just viewing the map in app, not displaying the current place. plse help me -- -- ωιтн яєgαя∂ѕ Ratheesh **... -- You

[android-developers] Re: images overlay on layout

2011-08-07 Thread Dinko Chong
I don't know for what purpose you are using FrameLayout but RelativeLayout is terific you just need to define how your ImageButton layout to his parent , the later Item in XML file will cover the former one . for example : LinerLayout textView / Button / LinerLayout / if the 2 items

Re: [android-developers] Re: Intent

2011-08-07 Thread jaggu
Hi nadam Thanks its working fyn On Mon, Aug 8, 2011 at 3:08 AM, nadam a...@anyro.se wrote: Check logcat to find the reason for force close. I think you need to add tel: in front of the phone number. On 6 Aug, 07:37, jagadeesh mjagadeeshb...@gmail.com wrote: Hi see the below code: