Re: [android-developers] Re: blocking UI thread when Yes/No AlertDialog is displayed

2009-12-31 Thread TreKing
Now there are two option to start this handshake process, one either from UI thread i.e. starting from some onclick event listener. But I can't use this way, because I want to block thread until response is not provided(modal dialog). I still don't understand why do you feel it necessary to

[android-developers] Re: Can someone explain the correct way to use android:layout_toRightOf?

2009-12-31 Thread Chander Pechetty
Here's a partial layout for your case. Use the layout_below along with RightOf and the text for the minus button was +. If you don't use that, then all of them are to the right of the specified layout id , but not below the same parent as the id's parent. Button android:id =

[android-developers] Re: 1024x1024 OpenGL Texture

2009-12-31 Thread Emmanuel
Hum... Embarrassed... Euh... Ok... Sorry about that... I'm gonna learn my multiplication tables... On Dec 28, 3:50 am, Streets Of Boston flyingdutc...@gmail.com wrote: (1024 * 1024) pixels * (4 bytes/pixel) == 4 MByte, not 32MByte On Dec 27, 9:17 pm,Emmanuelemmanuel.ast...@gmail.com

[android-developers] Re: Crashed Service not restarting - TasKiller or Android issue ?

2009-12-31 Thread Derek
I can confirm that the problem does not come from TasKiller. I've uninstalled it and the problem is still here. I'm not able to reproduce it on emulator and it happens on real device no more than once a week so it's really difficult to reproduce. Any hint is welcome. Cheers. On Nov 27, 7:50 pm,

[android-developers] Re: Problem while sending unicode character via SMS

2009-12-31 Thread andu
To send the message I have used the following function: public boolean sendSMSMessage(String compiledContent, String DistinationAddress) { String receiverPhoneNumber = DistinationAddress; String messageCenterPhoneNumber = ; SmsManager smsMgr

Re: [android-developers] Re: blocking UI thread when Yes/No AlertDialog is displayed

2009-12-31 Thread swapnil kamble
Hi TreKing, Now there are two option to start this handshake process, one either from UI thread i.e. starting from some onclick event listener. But I can't use this way, because I want to block thread until response is not provided(modal dialog). I still don't understand why do you feel it

[android-developers] Re: LinearLayout with multiple TextViews

2009-12-31 Thread Sasikumar.S
You got any solution for this? If so pls mail that to me.. Same problem for me also... On Dec 30, 6:44 pm, legerb drim...@gmail.com wrote: I'm struggling with the following: I have a linear layout with horizontal orientation, which I'm adding text views dynamically (with WRAP_CONTENT

[android-developers] Copying database off device

2009-12-31 Thread Neilz
Hi. I need to view the contents of my app's database on my device. I have read you can copy the database off the phone using 'adb pull' but I really have no idea how to issue this command, or where to find the database on the phone. Any help here really appreciated. -- You received this

[android-developers] How to simulate service crash in emulator ?

2009-12-31 Thread Derek
Hi all, Does someone know how to simulate service crash in emulator ? 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

[android-developers] Re: When the new activity starts, the data of previous activity is gone.

2009-12-31 Thread android09
Hi netiger198610 and Lance Nanek, First of all thank you for reply me. Now i am coming to the point. Yes, netiger, i want exactly this thing, that whenever the new activity starts, the data should not go elsewhere it should be there when i press Previous button of my project(do not consider the

[android-developers] Re: When the new activity starts, the data of previous activity is gone.

2009-12-31 Thread Neilz
Well, surely you just need to populate the fields within the onCreate () methods? 1) Have an object in the Activity which holds the data that the user enters. (Populate them when the user moves to the next activity). 2) On the next Activity, if the user presses the 'Previous' button, pass in

[android-developers] Re: When the new activity starts, the data of previous activity is gone.

2009-12-31 Thread Neilz
In fact, even simpler... Just have an object in your activity which holds the data from the fields. Then everytime the activity loads, populate the fields from the onResume() method, if the object and the data exists. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] How to simulate service crash in emulator ?

2009-12-31 Thread Mark Murphy
Derek wrote: Does someone know how to simulate service crash in emulator ? Divide 1 by 0, to throw a RuntimeException. Or did you mean some other sort of crash? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Development Wiki:

Re: [android-developers] Re: blocking UI thread when Yes/No AlertDialog is displayed

2009-12-31 Thread Mark Murphy
swapnil kamble wrote: I have handshake process, where I have to provide an option to user whether to accept/reject and based on that user response I want to return a boolean value. That sounds like one AsyncTask, triggering a dialog in onPostExecute(), which then fires off a second AsyncTask

[android-developers] Shared User Ids

2009-12-31 Thread blau
Hi, So I'm trying to avoid releasing a new version of an app of mine, dgMoney. So I was planning on making a seperate app for my users to download that would provide backup and restore services for it by just copying the database file to an SD card and restoring from it. The problem is, dgMoney

[android-developers] Re: Copying database off device

2009-12-31 Thread Clark Hunter
Link to SDK Tools Info: http://developer.android.com/guide/developing/tools/index.html Rather than pulling db to workstation, just open a 'adb shell' and look at the db directly - see the sqlite3 section in the above tools link. If you need pull/push, see the tools adb section. On Dec 31, 5:56 

[android-developers] Re: When the new activity starts, the data of previous activity is gone.

2009-12-31 Thread android09
Hi Neilz, Thank you for reply me with the proper and useful idea. I tried to hold the first activity data but it gives error while loading the data. It is not allows me to get data back. Can you understand me by the code? How can i hold the first activity's data when i start another activity and

[android-developers] Re: Copying database off device

2009-12-31 Thread Neilz
Ah, I already tried that but it said I didn't have the right permissions? On Dec 31, 12:55 pm, Clark Hunter chbrigh...@gmail.com wrote: Link to SDK Tools Info:http://developer.android.com/guide/developing/tools/index.html Rather than pulling db to workstation, just open a 'adb shell' and

[android-developers] Re: com.android.camera replaced by com.motorola.camera

2009-12-31 Thread arnouf
Thanks Romain and Mark. My fault...yes you're right Romain, but what is the percentage of private API in Android ? Globally, in future, we can be sure that some application can't work correctly if each manufacturer do everything in their private API. Android can become the next J2ME ? My vision

[android-developers] Re: inflate layout crashes after animation

2009-12-31 Thread arnouf
Yes I know... I use this same file earlier to load my view (before launching animation). How can I help you to give you more information ? Best and thanks again ! On Dec 30, 7:28 pm, Romain Guy romain...@android.com wrote: Your stack trace does not contain the root cause. At the bottom of your

[android-developers] Re: com.android.camera replaced by com.motorola.camera

2009-12-31 Thread arnouf
Hi Mark, I did it before, but my client want use the default Video player... On Dec 30, 6:24 pm, Mark Murphy mmur...@commonsware.com wrote: arnoufwrote: Thanks Mark. Now it's working but the default browser is opened before to launch the camera viewer...Not terrible :( If the videoLink

[android-developers] Draw() filling memory instantly

2009-12-31 Thread Jeffrey
I'm working on a game and right now I'm using the Lunar Lander sample app as a template. The problem I'm encountering is running the draw method I have. In the Lunar Lander app they use this: run(){ while (mRun) synchronized(mHandler) DoDraw(); There is a little more to the code that I can't

[android-developers] Where can I get adds for my application?

2009-12-31 Thread Martin
Hi! I want to write a game for the Market. So where can I get adds for it to earn some money (a page like admob.com for example)? I am searching for an advertising page, where I do not need to do anything and earn the most money. The ad-page has to dynamically change the content of my ads in my

Re: [android-developers] Re: Copying database off device

2009-12-31 Thread Mark Murphy
Neilz wrote: Ah, I already tried that but it said I didn't have the right permissions? You can't readily get it off of your device. The emulator is far easier. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus

Re: [android-developers] Re: com.android.camera replaced by com.motorola.camera

2009-12-31 Thread Mark Murphy
arnouf wrote: I did it before, but my client want use the default Video player... Tell your client there is no default video player. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year -- You

[android-developers] How can I minimize the stuttering of the graphics?

2009-12-31 Thread Martin
Hi! How can I minimize the stuttering of my graphics? I am using MANY ImageView's in my program (and JUST ImageView's). I change their positions directly, when I need to change them without using onDraw to redraw everything. Is it ok, If I do not overwrite onDraw? I have in average 10 objects

[android-developers] Re: Transparent Button

2009-12-31 Thread Wouter
use this as your background for your button android:background=@android:color/transparent On Dec 31, 7:55 am, Fei Zhang getid...@gmail.com wrote: use a transparent image as background 2009/12/31 Sasikumar.S sasikumar.it1...@gmail.com Hi, How to make a button as transparent in

[android-developers] color animation

2009-12-31 Thread Greg Donald
How can I animate a color change? Like with AlphaAnimation there is fromAlpha and toAlpha, I need something like ColorAnimation that provides fromColor and toColor. Is there anything like that already? Thanks, -- Greg Donald http://destiney.com/ -- You received this message because you

[android-developers] Re: Null pointer exception

2009-12-31 Thread JasonMP
yes, Select.class is another one of my files. throughout my app there are a few different calls to it, all done the same way i.e. Intent i = new Intent(this, Select.class); startActivity(i); No where in Select.class do I make a call to start Select.class or Sheet.class. When its done it calls

[android-developers] Re: color animation

2009-12-31 Thread skink
On Dec 31, 3:48 pm, Greg Donald gdon...@gmail.com wrote: How can I animate a color change? Like with AlphaAnimation there is fromAlpha and toAlpha, I need something like ColorAnimation that provides fromColor and toColor.  Is there anything like that already? Thanks, -- Greg

Re: [android-developers] Re: color animation

2009-12-31 Thread Greg Donald
On Thu, Dec 31, 2009 at 9:01 AM, skink psk...@gmail.com wrote: On Dec 31, 3:48 pm, Greg Donald gdon...@gmail.com wrote: How can I animate a color change? Like with AlphaAnimation there is fromAlpha and toAlpha, I need something like ColorAnimation that provides fromColor and toColor.  Is

[android-developers] Re: How can I minimize the stuttering of the graphics?

2009-12-31 Thread skink
On Dec 31, 3:13 pm, Martin google-gro...@digle.de wrote: Hi! How can I minimize the stuttering of my graphics? I am using MANY ImageView's in my program (and JUST ImageView's). I change their positions directly, when I need to change them without using onDraw to redraw everything. Is it

[android-developers] Re: Avoiding garbage collection for smooth 2d animations

2009-12-31 Thread Mark Wyszomierski
So the garbage collections appear to be from different processes. I'm running the app on a 1.5 device. So hopefully on 1.6+, my foreground process will get more processing time. I have the choice of either using SurfaceView with Canvas.draw() methods, or just use an opengl renderer. I'm guessing

[android-developers] How long does it take for an application to get indexed to the Marketplace?

2009-12-31 Thread DCheeseman
I wrote two apps and submitted them to the marketplace last night (been roughly 12 hours now). One was a LITE version of my app and the next was a Standard version. Neither shows up in a search on the Marketplace even though the LITE version of my app has been installed 25 times already. Is

Re: [android-developers] How long does it take for an application to get indexed to the Marketplace?

2009-12-31 Thread Mark Murphy
DCheeseman wrote: I wrote two apps and submitted them to the marketplace last night (been roughly 12 hours now). One was a LITE version of my app and the next was a Standard version. Neither shows up in a search on the Marketplace even though the LITE version of my app has been installed 25

Re: [android-developers] How long does it take for an application to get indexed to the Marketplace?

2009-12-31 Thread Dan Sherman
Same experience here, within 5 minutes. On Thu, Dec 31, 2009 at 10:44 AM, Mark Murphy mmur...@commonsware.comwrote: DCheeseman wrote: I wrote two apps and submitted them to the marketplace last night (been roughly 12 hours now). One was a LITE version of my app and the next was a

[android-developers] Re: Avoiding garbage collection for smooth 2d animations

2009-12-31 Thread DCheeseman
There are a lot of things that could trigger a slow down that wouldn't necessarily involve garbage collection. My guess is that your drawing function was kicked out of the cache when a background process tried to access the network or somethign like that. If you want really fast drawing you'll

[android-developers] Re: How long does it take for an application to get indexed to the Marketplace?

2009-12-31 Thread DCheeseman
Can anyone see the 'BPolite Lite' and 'BPolite Standard' applications in the Marketplace? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] Numeric Password in EditText

2009-12-31 Thread csyperski
Does anyone know how to do a EditText that should have hidden input, but also be numeric? I tried using: Input Type = textPassword|number But this doesn't seem to work? I know it is easy to do with the deprecated xml properties, but I want to stay away from them. Thanks in advance for any

Re: [android-developers] Re: How long does it take for an application to get indexed to the Marketplace?

2009-12-31 Thread Dan Sherman
I see both, free, and 0.99. - Dan On Thu, Dec 31, 2009 at 10:48 AM, DCheeseman nuvi...@gmail.com wrote: Can anyone see the 'BPolite Lite' and 'BPolite Standard' applications in the Marketplace? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: How long does it take for an application to get indexed to the Marketplace?

2009-12-31 Thread DCheeseman
For the record I can't see my free or pay versions of my app. On Dec 31, 8:48 am, DCheeseman nuvi...@gmail.com wrote: Can anyone see the 'BPolite Lite' and 'BPolite Standard' applications in the Marketplace? -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: How long does it take for an application to get indexed to the Marketplace?

2009-12-31 Thread Mark Murphy
Dan Sherman wrote: I see both, free, and 0.99. Ditto. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Beginning Android_ from Apress Now Available! -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: How long does it take for an application to get indexed to the Marketplace?

2009-12-31 Thread DCheeseman
Damn :/ I can't see either app and I've cleared the cache on my marketplace app about a hundred times over the course of thise morning looking for it. Guess it's out there now. On Dec 31, 8:53 am, Dan Sherman impact...@gmail.com wrote: I see both, free, and 0.99. - Dan -- You received this

Re: [android-developers] Re: How long does it take for an application to get indexed to the Marketplace?

2009-12-31 Thread Dan Sherman
Is it possible you're using a small screened device? Or a device that doesn't allow a permission it requires? (I'm thinking of the camera issue) On Thu, Dec 31, 2009 at 10:55 AM, DCheeseman nuvi...@gmail.com wrote: Damn :/ I can't see either app and I've cleared the cache on my marketplace

Re: [android-developers] Re: When the new activity starts, the data of previous activity is gone.

2009-12-31 Thread Rui Wu
Hi Pranav, I guess you implemented your logic like this: Button previous = (Button) findViewById(.); previous.setOnClickListener(new OnClickListener(){ public void onClick(View v) { Intent i = new Intent(); i.setClassName(the name of the previous activiy.);

[android-developers] RenamingDelegatingContext overwrites existing database file - bug?

2009-12-31 Thread RoryD
I'm using a RenamingDelegatingContext (RDC) in an ActivityUnitTestCase to have my application use a database files prefixed by test. used during testing. My application expects a db called database.sqlite, so in the setUp() method I create seed one called test.database.sqlite. I then wrap the

[android-developers] Re: Null pointer exception

2009-12-31 Thread JasonMP
This is bizarre. It works fine from the OnItemClick() of my OnItemClickListener attached to my ListView. Just not inside the onContextItemSelected. *scratches head* On Dec 31, 9:57 am, JasonMP hyperje...@gmail.com wrote: yes, Select.class is another one of my files.  throughout my app there

Re: [android-developers] Numeric Password in EditText

2009-12-31 Thread Rui Wu
EditText et = (EditText) findViewById(..); et.setInputType(InputType.TYPE_CLASS_NUMBER); et.setTransformationMethod(PasswordTransformationMethod.getInstance()); Don't reverse the sequence of the above 2 calls. You can check the TextView.java to see how Android judges whether the EditText is

[android-developers] What is Rasterizer?

2009-12-31 Thread skink
hi, i'm trying to understand Paint.setRastezer method it seems there is only one concrete Rasterizer - LayerRasterizer class so i created one and added two layers - addLayer(Paint, int, int) after calling drawSomething it seems that Something is drawn twice with offset specified by two ints

Re: [android-developers] Re: When the new activity starts, the data of previous activity is gone.

2009-12-31 Thread Rui Wu
Hi Pranav, The way in the previous mail has an issue: if user inputs sth. in Current activiy named Activity2, then Presses Prev, the previous Acitivy named Activity1 does keep the inputed contents in UI, however when user presses Next here to go to Activity2, Activity2 will not keep the data

[android-developers] Re: Can someone explain the correct way to use android:layout_toRightOf?

2009-12-31 Thread jotobjects
On Dec 29, 7:02 pm, Jonathan Nalewajek jonnalewa...@gmail.com wrote:         Button                 android:id = @+id/bu5m                 android:layout_width=70sp                 android:layout_height=wrap_content         android:text = -5         android:layout_toRightOf=@id/bucm      

Re: [android-developers] Re: Can someone explain the correct way to use android:layout_toRightOf?

2009-12-31 Thread Mark Murphy
jotobjects wrote: On Dec 29, 7:02 pm, Jonathan Nalewajek jonnalewa...@gmail.com wrote: Button android:id = @+id/bu5m android:layout_width=70sp android:layout_height=wrap_content android:text = -5

[android-developers] Re: Can someone explain the correct way to use android:layout_toRightOf?

2009-12-31 Thread jotobjects
On Dec 31, 9:43 am, Mark Murphy mmur...@commonsware.com wrote: jotobjects wrote: You cannot have a forward reference in the layout.    Here bucm is later in the layout so that forward reference is not allowed. Actually, forward references work in Android 1.6+, but you have to put the +

Re: [android-developers] Re: Can someone explain the correct way to use android:layout_toRightOf?

2009-12-31 Thread Mark Murphy
jotobjects wrote: On Dec 31, 9:43 am, Mark Murphy mmur...@commonsware.com wrote: jotobjects wrote: You cannot have a forward reference in the layout.Here bucm is later in the layout so that forward reference is not allowed. Actually, forward references work in Android 1.6+, but you have

Re: [android-developers] show information after click on overlay

2009-12-31 Thread TreKing
how i can popup the information (text or image). Must i implement a transparent panel and then show the information in that panel? Yes. Create the layout / view you want to display as a popup then add it to the mapview with a set of MapView.LayoutParameters that specify the coordinates to

Re: [android-developers] Re: com.android.camera replaced by com.motorola.camera

2009-12-31 Thread Romain Guy
My fault...yes you're right Romain, but what is the percentage of private API in Android ? It doesn't matter as long as you write applications using the public APIs. Globally, in future, we can be sure that some application can't work correctly if each manufacturer do everything in their

[android-developers] Re: Can someone explain the correct way to use android:layout_toRightOf?

2009-12-31 Thread jotobjects
Added this - http://code.google.com/p/android/issues/detail?id=5740sort=-idcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: blocking UI thread when Yes/No AlertDialog is displayed

2009-12-31 Thread Romain Guy
If you want to block a worker thread and wait on something that's done on the UI thread, you just need a synchronization point. The java.util.concurrent package offers many tools to do that kind of stuff. Here's an example using a CountDownLatch: 829 final CountDownLatch latch = new

[android-developers] Re: com.android.camera replaced by com.motorola.camera

2009-12-31 Thread jotobjects
On Dec 31, 6:32 am, Mark Murphy mmur...@commonsware.com wrote: Google never said you could rely on com.android.camera -- if you could, it wouldn't be named com.android.*. Anything in the com.android.* namespace is not part of the SDK, to the best of my knowledge. Hedging your bets here a

Re: [android-developers] Re: com.android.camera replaced by com.motorola.camera

2009-12-31 Thread Mark Murphy
jotobjects wrote: Hedging your bets here a little :) Is it documented anywhere that classes named com.andorid.* are private API's If it's not documented as public in the SDK, it should be assumed to be private. and that classes named android.* are public API's? You'll note I didn't say

[android-developers] Re: com.android.camera replaced by com.motorola.camera

2009-12-31 Thread jotobjects
Hi Mark - Note I didn't say you said that. It is good to keep this forum from degenerating to personal swipes as this particular thread tended to go that way :) Again, IMHO this is the kind of convention that ideally would be adhered to and documented. For instance in the Java API you can

Re: [android-developers] Re: com.android.camera replaced by com.motorola.camera

2009-12-31 Thread Mark Murphy
jotobjects wrote: Note I didn't say you said that. It is good to keep this forum from degenerating to personal swipes as this particular thread tended to go that way :) Sorry, I didn't mean for the reply to sound nasty. I tend to get taken out of context a bit and so got a bit overly nervous.

[android-developers] Setting Ringtone Query

2009-12-31 Thread Maxood
I have sounds files in my res/raw folder and i want to select a sound to set as a ringtone on the click of a button. Wonder how can i do that? -- 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] CAMERA_BUTTON not firing in sleep mode

2009-12-31 Thread Omid A.
Hi, Is it normal that the CAMERA_BUTTON intent is not firing when the device is in lock/sleep mode? Thanks Omid -- 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

[android-developers] Re: com.android.camera replaced by com.motorola.camera

2009-12-31 Thread jotobjects
On Dec 31, 11:11 am, Mark Murphy mmur...@commonsware.com wrote: jotobjects wrote: Again, IMHO this is the kind of convention that ideally would be adhered to and documented. Unfortunately, this sort of documentation is only truly practical for the core Android team. It's their apparent

[android-developers] Doubt w.r.t content resolver

2009-12-31 Thread deeMurthy
Hi Is it possible to access the content resolver methods in a class extending from AppWidgetProvider class? Have been trying to do it with no luck so far. Please help. Many Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] Re: blocking UI thread when Yes/No AlertDialog is displayed

2009-12-31 Thread Miguel Morales
Why not use Thread.wait() and Thread.notify() to communicate with the working thread. Or perhaps message passing to tell the worker thread to wait until further notice. here's how I would do it, though I'm not sure about wait() and notify() since I never use them myself. But I *think* it would

Re: [android-developers] Re: blocking UI thread when Yes/No AlertDialog is displayed

2009-12-31 Thread Miguel Morales
Sorry, just re-read your original text, it seems that message passing between threads is the way to go. Just use two way message passing. On Thu, Dec 31, 2009 at 12:09 AM, Miguel Morales therevolti...@gmail.com wrote: Why not use Thread.wait() and Thread.notify() to communicate with the working

[android-developers] Bluetooth Operation On Android 1.5

2009-12-31 Thread lynfordd
I see a fix was posted Can someone explain why this still does not work? Nick Pelly View profile More options Dec 12 2008, 4:29 pm We have fixed this bug - you can now trigger voice dial from bluetooth, it will be pushed to the open source repo soon. Nick - Hide quoted text - On Fri, Dec 12,

[android-developers] creating short cut keys

2009-12-31 Thread ranjit
hai , i need to develop an application that creates shortcut please provide me any source to write this application. -- 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] Android Middleware helping materials requested

2009-12-31 Thread Ikram M. Khan
Dear all, Hi, I am new to android development and started working with Eclipse based android 2.0.1. I am required to work in android middlewares and request you guys to help me in gaining insights to android middlewares and their development. Any pointers to references or studying material would

[android-developers] Slides through the game list of Market, there is no Loading progress bar displayed.

2009-12-31 Thread OSoleMio
I found a problem of Market running on our phone. When we go to Games- Arcade Action of Market, there are pages of items to be displayed. Initially, a page-full of items are fetched and displayed in the list with scroll bar rendered; when the user slides through the list, a Loading progress bar

[android-developers] Can you put in duplicate app names on the Android Market?

2009-12-31 Thread Philosophistry
On the Apple App Store, you can't. You can even squat name by creating a draft application on iTunes Connect. I just submitted a blank Weather app to the Android Market and it's showing up on the Android Market on my phone. Don't know if it appears that way on anybody else's phones. -- You

[android-developers] View angle and refresh lag in Google Maps

2009-12-31 Thread OSoleMio
I found some problems of Google Maps running on our phone. 1. When the pitch is -90 and roll is 0 (i.e. the device is upright) on our phone, the Street View is shown *as if* you are watching the street with your head slightly upward. Therefore, you won't see the first floor but instead the second

[android-developers] Obtaining video frames for processing

2009-12-31 Thread mohan
Hello, I am trying to decode and obtain all frames in a video stream, each of which would be processed by a native signal processing engine and re-encoded back to a MPEG4/MP4 file. I noticed that there was a getFrameAt() function in earlier versions of SDK but its not available in v 1.6 on which

[android-developers] aapt and using shared images

2009-12-31 Thread Walt Armour
We will potentially be sharing images between an android app and other apps (gotta keep those costs down). I am attempting to find a way to have the android app use image files that are outside of its project directory tree (i.e. not in res/drawable). At the moment I'm thinking some custom work

[android-developers] Need help to redirect nav control to inserted sub-list

2009-12-31 Thread Strykker
Hi, I am inserting a list view programmatically into a LinearLayout which is itself an item in a parent list view. Upon inserting, Id like the keypad navigation to scroll the elements in the newly inserted sub list. The insertion works fine, and I can set the focus to the inserted sub- list (I

[android-developers] Re: Application component not instantiated before launching Activity

2009-12-31 Thread SK Teh
Hi Siju, Did you configure your AndroidManifest.xml file correctly to invoke the creation of your custom Application sub-class? You need to set the Name field under the Application Attributes section. On Dec 17, 5:28 am, Siju muhammeds...@gmail.com wrote: Hi I got a null pointer exception

[android-developers] Re: Marketplace View more applications button

2009-12-31 Thread Michael Chips
Agree! -- 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,

[android-developers] Any Tips for implementing free versions of applications?

2009-12-31 Thread dan.x.sheph...@googlemail.com
Hi, I already mentioned this briefly in another post as part of another publishing topic. But I think it is pretty important for a lot of us to know good ways to make free versions that can't be cracked too easily etc. After all most people just download the free stuff, I know I do, so its

[android-developers] Re: How long does it take for an application to get indexed to the Marketplace?

2009-12-31 Thread dan.x.sheph...@googlemail.com
Hi Mark, Did you sign it? or use the export thing in eclipse? It won't work with debug certificate I don't think. Actually I just added my first game to the market. It comes up ok when I look for it on phone market app. But the web site only seems to show top or featured apps. Plus I got two

[android-developers] Android Middleware helping materials requested

2009-12-31 Thread ikram
Dear all, Hi, I am new to android development and started working with Eclipse based android 2.0.1. I am required to work in android middlewares and request you guys to help me in gaining insights to android middlewares and their development. Any pointers to references or studying material would

[android-developers] Re: Problem with the Emulator

2009-12-31 Thread ikram
Hi Andre, I have the same problem. I could not figure out whats the reason? Could you please help me in sharing the answer you found? Also, kindly insinuate me about Middleware programming Android. Thanks and happy new year. Regards, Ikram On Dec 22 2009, 10:14 pm, André pha...@hotmail.com

[android-developers] Re: Updates to the Android SDK

2009-12-31 Thread teryz
I have a problem using Android SDK Updater (revision 4). For the record I'm under win xp 32-bits, jdk 1.6. I set up the Force https://... sources to be fetched using http:// This seemed to work fine but as I am behing a (corporate) proxy I also filled the proxy server and port settings,

[android-developers] Android drivers programming

2009-12-31 Thread ikram
Dear all, Could you kindly let me know Android drivers programming links or helping material? Thanks and best wishes, Ikram -- 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: Numeric Password in EditText

2009-12-31 Thread csyperski
Perfect, Thanks! On Dec 31, 11:01 am, Rui Wu netiger198...@gmail.com wrote: EditText et = (EditText) findViewById(..); et.setInputType(InputType.TYPE_CLASS_NUMBER); et.setTransformationMethod(PasswordTransformationMethod.getInstance()); Don't reverse the sequence of the above 2 calls.

[android-developers] Where onItemClick gets called as callback?

2009-12-31 Thread Eus
HiHo! First, happy new year 2010! :-) Could someone please shed the light as to where onItemClick() function gets called as callback when I click on the item of a ListView? In core/java/android/widget/AdapterView.java: onItemClick() belongs to the interface OnItemClickListener of AdapterView.

RE: [android-developers] Re: Problem with the Emulator

2009-12-31 Thread Lester
Hi guys, I think what you describe is the same problem I thought I had. You have to click on the MENU button on the emulator then your App will appear. I don't know why it requires that, but it seems like that's how the tutorials go. With that I was able to finish all the remaining

[android-developers] Re: Reusing ListView Custom Adapter

2009-12-31 Thread jtoolsdev
Thank's Mark. That's what I figured was happening but wanted to be sure. I saw your post yesterday (on another computer that didn't have this account set on it) but couldn't reply until today. I've been posting with this address since spring. I though the 24 hour thing only happened the first

[android-developers] Re: How long does it take for an application to get indexed to the Marketplace?

2009-12-31 Thread DCheeseman
Is it possible you're using a small screened device? Or a device that doesn't allow a permission it requires? (I'm thinking of the camera issue) I'm using a G1 Dev Phone w/1.5, the same phone I developed the application on. -- You received this message because you are subscribed to the

Re: [android-developers] Re: How long does it take for an application to get indexed to the Marketplace?

2009-12-31 Thread Mark Murphy
DCheeseman wrote: Is it possible you're using a small screened device? Or a device that doesn't allow a permission it requires? (I'm thinking of the camera issue) I'm using a G1 Dev Phone w/1.5, the same phone I developed the application on. I am confused by G1 Dev Phone -- do you mean a

[android-developers] Re: How long does it take for an application to get indexed to the Marketplace?

2009-12-31 Thread DCheeseman
Did you sign it? or use the export thing in eclipse? It won't work with debug certificate I don't think.  Actually I just added my first game to the market.  It comes up ok when I look for it on phone market app.  But the web site only seems to show top or featured apps.  Plus I got two of

[android-developers] tab index issue with soft keyboard

2009-12-31 Thread csyperski
Is it possible when using imeOptions=actionNext to make the focus go to the next field from left to right instead of just vertical. For example is I have a layout like EditText - A EditText - b EditText - c linearLayout horizontalEditText - d | EditText - e/linearlayout EditText - f The order

[android-developers] Re: How long does it take for an application to get indexed to the Marketplace?

2009-12-31 Thread DCheeseman
I am confused by G1 Dev Phone -- do you mean a G1, or an ADP1? A G1 Dev phone is a phone that is rooted and unlocked so you can use it on any network and run debug code on it. Here's where you can buy them: http://android.brightstarcorp.com/index.htm -- You received this message because you

[android-developers] Re: Where onItemClick gets called as callback?

2009-12-31 Thread Brion Emde
The method onListItemClick(), which is maybe what you're asking about, is a protected method in ListActivity. You derive your Activity from ListActivity, instead of Activity and then override onListItemClick() and you should see some action. On Dec 31, 1:19 pm, Eus

[android-developers] Re: Problem with the Emulator

2009-12-31 Thread Brion Emde
It can take a REALLY LONG TIME for the emulator to launch, the first time you do it. Like, it could take 10 minutes, at least. If you aren't letting it go that long, or longer, and it's the very first time for that emulator, you aren't waiting long enough. On the other hand, I've had times with

Re: [android-developers] Re: How long does it take for an application to get indexed to the Marketplace?

2009-12-31 Thread Mark Murphy
DCheeseman wrote: I am confused by G1 Dev Phone -- do you mean a G1, or an ADP1? A G1 Dev phone is a phone that is rooted and unlocked so you can use it on any network and run debug code on it. Here's where you can buy them: http://android.brightstarcorp.com/index.htm That is not a G1

[android-developers] Re: Can someone explain the correct way to use android:layout_toRightOf?

2009-12-31 Thread Jonathan Nalewajek
Thank you, this worked! I was thinking toRightOf literally meant, put the object to the right of the object specified. I was thinking it carried over the y- coordinate, and just added some value to the x-coordinate. However, you need to specify x and y coordinate relations. On Dec 31, 4:07 am,

[android-developers] Re: How long does it take for an application to get indexed to the Marketplace?

2009-12-31 Thread DCheeseman
That would be it. Is there any practical reason I should implement that copy protection? On Dec 31, 3:44 pm, Mark Murphy mmur...@commonsware.com wrote: DCheeseman wrote: I am confused by G1 Dev Phone -- do you mean a G1, or an ADP1? A G1 Dev phone is a phone that is rooted and unlocked so

[android-developers] Best HTTP Request Method

2009-12-31 Thread SizzlingSkizzorsProgrammer
What is the best (fastest and most efficient) method of doing an HTTP Request? Currently I use: DefaultHttpClient httpclient= new DefaultHttpClient(); HttpPost httpost = new HttpPost(uri); httpost.setEntity(new UrlEncodedFormEntity(nvps, HTTP.UTF_8)); HttpResponse response =

  1   2   >