Re: [android-developers] Re: Android testing: can't programmatically press buttons, etc...

2010-08-05 Thread Fabrizio Giudici
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/5/10 19:11 , A. Elk wrote: > In other words, you can do button presses in a "sample" Android > app from a test package, but you can't do them from your app's > test package to the app under test. Right. > (The test package is the same as the "t

[android-developers] Re: adb remote port forwarding

2010-08-05 Thread FrankG
See this discussion : http://www.mail-archive.com/android-beginn...@googlegroups.com/msg09683.html When you write : "I am develop an application to communicate with a desktop application over USB" how would you like to communicate from you app to the desktop application ? Which rule should USB pl

[android-developers] Re: Persist a variable value

2010-08-05 Thread HIRAK
Nevermind, I am saving the latest value, everytime user clicks on prev or next. That's perfectly working fine. You guys rock :) On Aug 5, 11:39 pm, HIRAK wrote: > SharedPreferences should help me. (I just started reading about them). > > Based on my above requirement, shall I use onDestroy method

[android-developers] Re: Toast message not displayed

2010-08-05 Thread nikki
hi Flying Coder Thanks for the suggestion. In my case i don't want to make change to actual Service class because in normal application run the Toast message is being displayed properly. But when i start the service from my test class, it give me such problem. On Aug 6, 5:07 am, Flying Coder wr

Re: [android-developers] Re: Toast message not displayed

2010-08-05 Thread nikhilesh singh tak
hi Flying Coder Thanks for the suggestion. In my case i don't want to make change to actual Service class because in normal application run the Toast message is being displayed properly. But when i start the service from my test class, it give me such problem. On Fri, Aug 6, 2010 at 5:37 AM, Fly

Re: [android-developers] Re: Toast message not displayed

2010-08-05 Thread nikhilesh singh tak
hi Flying Coder Thanks for the suggestion. In my case i don't want to make change to actual Service class because in normal application run the Toast message is being displayed properly. But when i start the service from my test class, it give me such problem. On Fri, Aug 6, 2010 at 5:37 AM, Fly

[android-developers] Re: Pin / Password Protect an App

2010-08-05 Thread Gene R.
I haven't done this; however, it seems quite simply a matter of asking for the PIN during onStart() method. When the user nagivates away from the app, it will eventually be killed, and when the user restarts it, onStart() will be called again. On Aug 4, 7:49 pm, Mike wrote: > How do I protect an

[android-developers] Re: Persist a variable value

2010-08-05 Thread HIRAK
SharedPreferences should help me. (I just started reading about them). Based on my above requirement, shall I use onDestroy method for the saving purposes? Please forgive my ignorance :( On Aug 5, 11:25 pm, Ivan wrote: > Try shared preferences. > > On Aug 6, 9:08 am, Martins Streņģis wrote: >

[android-developers] Re: Android Developer – Engli sh Speaking

2010-08-05 Thread shouvik
You might have more luck with naukri.com? Most people over here don't have that kind of exp or have very cushy jobs not interested in working somewhere else. FYI this forum is to actually solve problems related to android. Sid wrote: > Android Developer –Sweden/ US –English Speaking My client a l

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

2010-08-05 Thread Gene R.
An Entertainment category already exists, where wallpapers, ringtones, and soundboards are supposed to go. Most spammers do not want their app in the "Entertainment" category, because that category is flooded already. So they post their wallpapers in the "Social" or "Communication" category. If

[android-developers] Re: Persist a variable value

2010-08-05 Thread Ivan
Try shared preferences. On Aug 6, 9:08 am, Martins Streņģis wrote: > db is simple  :) > > but if you dont want db you could try files -- 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-developers] Re: TrueType fails to load on android 2.2

2010-08-05 Thread Ivan
Works fine for me. Probably it's about your font, try a different one. Also, could you please post the complete stack trace. On Aug 6, 9:13 am, Chopcsu wrote: > Hi All > > I am experiencing a problem where I can not load a truetype font in > android 2.2 but loads fine in all versions prior. > > I

[android-developers] MIPS Source Code Android Application Installation Issue on Android Emulator!!

2010-08-05 Thread Prince
Hi All, I faced a strange Problem. I have modified the Browser code of MIPS Android Source Code Eclair 2.0 Version and Build them. When I run this Browser using the MIPS Android Source Code Emulator it works fine. When I run this Browser on MIPS Android Emulator Using MIPS SDK 2.0 it works fine.

[android-developers] TrueType fails to load on android 2.2

2010-08-05 Thread Chopcsu
Hi All I am experiencing a problem where I can not load a truetype font in android 2.2 but loads fine in all versions prior. I get the error java.lang.RuntimeException: native typeface cannot be made when calling Typeface.createFromAsset(Resources.getSystem().getAssets(),"/ font.ttf"); Any

Re: [android-developers] Persist a variable value

2010-08-05 Thread Martins Streņģis
db is simple :) but if you dont want db you could try files -- 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-dev

[android-developers] Persist a variable value

2010-08-05 Thread HIRAK
Hi, I am creating a gallery. User can use Next/Prev button to browse through the images. Now when user is done with browsing, (s)he will kill the app. Next time he opens the app, it should take him/her to the last viewed image. Obviously I have to store the last index somewhere. Just for one index

[android-developers] Bind the pushpin on image

2010-08-05 Thread Beena
Hi all, I have an image of 600x600. Which is scrollable horizontally and vertically. And then I have to add the pushpin at particular point. I can plot the pushpin on it, but as I scroll horizontally then the images are not stay at their position. How can i bind pushpin at the particular pixel of t

Re: [android-developers] Re: Socket Timout in a simple HttpGet

2010-08-05 Thread Martins Streņģis
i know about socket timeout and it's no need to set something huge it needs about 65 seconds but for user 65 sec is way to long after about 60 seconds phone renews wifi device id is: String device_id = Secure.getString(this.getContentResolver(), Secure.ANDROID_ID); it's needed to send push notific

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

2010-08-05 Thread metal mikey
I second (or second-hundred-thousand) the idea to create a Wallpaper category. Also a MatureContent category. And in anticipation of a huge flood of relatively useless/poor quality Apps created by App Inventor, an App Inventor category. -- You received this message because you are subscribed to t

[android-developers] Re: join android google group

2010-08-05 Thread JP
On Aug 5, 10:24 pm, Mathias Lin wrote: > (This newly added button alone makes me require to switch from Galaxy > S back to HTC phones for my app (which is distributed bundled with the > device), if I don't want to root.) Doh... arbitrary designs by manufacturers and carriers keep messing us u

[android-developers] Re: Memory Limit 16 MB per Process or Application?

2010-08-05 Thread bruce
It's per-application and the limit can change so its not always 16. See http://developer.android.com/reference/android/app/ActivityManager.html. Cheers, Bruce On Aug 5, 1:39 am, timyau18 wrote: > Hi all, > > Is android's memory 16MB limit per Process or Application? > > If the limit is by proces

Re: [android-developers] Re: Loading Android on Nokia N900 ?

2010-08-05 Thread vishal bhoj
There is a project android port to n990 http://gitorious.org/android-n900 On Fri, Aug 6, 2010 at 10:51 AM, JP wrote: > > You'll be better off getting a regular Android device and flip the > N900 on eBay/craigslist or wherever. The NexusOne is now available as > dev device. > > Outside of that.

[android-developers] Re: join android google group

2010-08-05 Thread Mathias Lin
Nice, welcome to the group. So, while I'm talking to a Samsung Android dev... why not take the chance...: Can you please have the unnecessarily introduced "Task Manager" button removed from the 'recent apps' menu that comes up on long-pressed home button. It's been there only since recently (2.1

[android-developers] Re: Binder is leaked by binding to a service

2010-08-05 Thread Mogimo
Thank you for your kind reply! On 8月2日, 午後9:12, brucko wrote: > Sorry for slow reply - been away. > > > By the way, if I changed LocalBinder to a static inner class, does it > > make sense ? > > I have made a separate generic class that usually use for all my > services ie one that I import in -

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

2010-08-05 Thread metal mikey
It has been pointed out that there's a need for developers of Android Apps to garner trust in Users & potential Users (e.g. Users must trust the developer to not abuse their private information). I believe that having a website for an App will help towards that. It shows an extra effort that the de

[android-developers] Re: Loading Android on Nokia N900 ?

2010-08-05 Thread JP
You'll be better off getting a regular Android device and flip the N900 on eBay/craigslist or wherever. The NexusOne is now available as dev device. Outside of that. Maemo is out. Meego is on. Then there's Symbian. Relatively simple Qt-based apps should work just fine. On Aug 5, 11:04 am, boss

[android-developers] How to create new application in android source code using eclipse

2010-08-05 Thread chetan
Hi All, I have eclair 2.1 source code and i have taken same on eclipse. I want create a new application in the existing eclair source code. I know , how to create an android application using android sdk on eclipse. But i don't know how to create an application with in eclair source

[android-developers] How to create new application in android source code using eclipse

2010-08-05 Thread chetan
Hi All, I have eclair 2.1 source code and i have taken same on eclipse. I want create a new application in the existing eclair source code. I know , how to create an android application using android sdk on eclipse. But i don't know how to create an application with in eclair source

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

2010-08-05 Thread Maps.Huge.Info (Maps API Guru)
I have one for my "Radar Now!" website called (strangely enough) http://www.radarnow.net The site has basic data and screen shots, a map showing where users are located, statistics about OS's and devices and a change log for versions. I also use it for some "social" type content, such as (my) favo

[android-developers] Re: Multiple Texture Issues on OLGES20

2010-08-05 Thread Robert Green
Steve, Have you tried the following? GLES20.glActiveTexture(GLES20.GL_TEXTURE0); GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, textures[0]); GLES20.glActiveTexture(GLES20.GL_TEXTURE1); GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, textures[1]); I think that's what you're missing. On Aug 4, 1:51 pm, S

Re: [android-developers] Re: how to get the screen size in inches...

2010-08-05 Thread Steve Gores-Todd
Hi Phil, I tested the same code on the HTC Incredible running Android 2.1. The following is my logcat output. V/Debug ( 3469): xdpi: 254.0 ydpi: 254.0 This is accurate to my knowledge. It is not entirely unsurprising that the Droid would be misreporting those values. I have seen many phones th

[android-developers] Re: how to drag any particular view

2010-08-05 Thread SheikhAman
You will have to listen for touch event and will have to work on ACTION_DOWN, ACTION_MOVE and ACTION_UP event types. in ACTION_MOVE, you can keep setting co-ordinates of you view according to the changing touch position's co-ordinates. this was concept, for a coding example, check the post at this

[android-developers] Is it possible to apply a frame animation to a Custom Button or Toast View

2010-08-05 Thread justinl
Does anyone know if it is possible to apply a frame animation (using an AnimationDrawable) onto a custom button or a toast view? I have posted these questions on Stackoverflow but have received no responses and very few views so I thought perhaps posting to this forum would be a better route. Let

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

2010-08-05 Thread Zsolt Vasvari
Spam is not an issue, but the fact that legitamate apps with high ratings and many users appear AFTER the spam crap with barely a handful of downloads is a HUGE issue, IMO. I am to the point where I am close to giving up developing for the platform. On Aug 6, 5:58 am, "Gene R." wrote: > Spam i

[android-developers] Do Android OS support I/O locking

2010-08-05 Thread Mystique
As to prevent other app to write to the same file when current app is writing to the file? -- 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 gro

[android-developers] Re: List of bugs on the issue which should be marked as resolved

2010-08-05 Thread Zsolt Vasvari
The Nexus One touch bug is NOT fixed. It still happens and so is the touch screen freezing until the phone is turned off and back again. On Aug 5, 7:17 am, Gaz Davidson wrote: > There's tons of bugs on the tracker which have already been fixed in > 2.2 or earlier, but have not been marked as res

[android-developers] Re: ListView as part of a Activity

2010-08-05 Thread Nithin
Are you setting adapter for the listView. Nithin On Aug 6, 12:35 am, Warrior wrote: > Hi am trying to add a List view as below. But the list never appears. > > > http://schemas.android.com/apk/res/ > android" >     android:orientation="vertical" >     android:layout_width="fill_parent" >     a

Re: [android-developers] Purchase of an item (or feature) in an application

2010-08-05 Thread TreKing
On Thu, Aug 5, 2010 at 10:54 PM, deeperlee wrote: > if this is possible in Android, please give me some hints. There's a lot of debate of what developers think you can and can't do regarding selling upgrades like this. However, before this derails into another one of those debates, the easiest

[android-developers] Purchase of an item (or feature) in an application

2010-08-05 Thread deeperlee
Is it possible to program that a user can purchase a certain item in an application? for example, there is a GoodReader application in IPhone. Even if you downloaded the app, you need to purchase the 'mail feature' to use the mail feature. This purchasing process can be done in the application: d

[android-developers] Switching to Eclipse causes Certificate Error

2010-08-05 Thread Jake Basile
Hey all. new to here, but can't find an answer after a good amount of Googling. I only get information about people who lost their key file or the password to it, and neither apply to me. I switched from Netbeans with the Netbeans add-in for a previous version of my app to Eclipse with ADT for the

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

2010-08-05 Thread TreKing
On Thu, Aug 5, 2010 at 10:01 PM, Chris Stewart wrote: > With my first paid application available now, I'm debating how I should go > about handling support and a more thorough explanation of what my app does. > I think ideally support would be handled directly in the app - this is something I rea

[android-developers] Re: UPnP C Library

2010-08-05 Thread cbauer
You can use Cling (http://www.teleal.org/projects/cling/) which is my open source UPnP library for Java. It works fine on Android 2.1 and 2.2, see the manual chapter here: http://www.teleal.org/projects/cling/core/manual/cling-core-manual.html#chapter.Android -- You received this message because

[android-developers] question on TextView

2010-08-05 Thread MBethDev
Hi, I apologize if this turns out to be a trivial answer but I've been searching a solution for this the past few hours but haven't had much luck. I have a TextView inside a layout with a specific font and text size. The issue that I'm having is when I have a text that has characters like p, q,

[android-developers] ListView as part of a Activity

2010-08-05 Thread Warrior
Hi am trying to add a List view as below. But the list never appears. http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > What am I doing wrong? -- You received this message b

[android-developers] Licensing - How/where do we manage the ServerManagedPolicy?

2010-08-05 Thread oldskool73
Hi, So I've just published my first paid app to the Market and I used the new LVL with the default ServerManagedPolicy. On working through the docs and getting it set up I noted the references to the server response extras VT, GT, GR & UT, and the impression I got from quotes such as "a typical v

[android-developers] Samsung Galaxy S front facing camera.

2010-08-05 Thread HP
I would like to know if the APIs for accessing the front facing camera of this phone are available. -- 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

[android-developers] Lighttpd / thttpd server on android

2010-08-05 Thread 3Li
Hi , There is a requirement to run a Lighttpd or thttpd server on android, so as to run a web-service on the android device . I need suggestions how to start of with . Any help is appreciated. Thank & Regards Murali -- You received this message because you are subscribed to the Google Groups "A

[android-developers] Re: SoundPool queries

2010-08-05 Thread Fermin Vicente (Ferminho)
Hi, I'm facing the same problem as in your 2nd statement, I need to know the state of a particular stream (know when it finished, if it's paused, etc), and there is nothing in SoundPool which can achieve that. It's a pity since as you say that's a feature present in almost any other audio systems.

[android-developers] Memory Limit 16 MB per Process or Application?

2010-08-05 Thread timyau18
Hi all, Is android's memory 16MB limit per Process or Application? If the limit is by process, I can make some services remote. That means the service will be in different processes, and the limit will be 16 x N. Could somebody answer the question for me? Thank you. Tim. -- You received th

[android-developers] how to drag any particular view

2010-08-05 Thread awesomeandroid
hi all, i am making an user interface and i want to drag any one of them.how can i with ontouchevent. plzz reply soon -- 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 T

[android-developers] Looking for a generic simple demo of getting mobile phone ID and their x, y position data

2010-08-05 Thread david
I am looking for a generic simple demo of getting mobile phone ID and their x, y position data and sending these to the server. Regards. David -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-de

[android-developers] Re: Posting on facebook through my Android APP

2010-08-05 Thread violarisgeorge
I'd suggest taking a look at the FB API (http:// developers.facebook.com/). Through that you can find ways for status updates. You can even update your status via command line, so building that into an Android app should be straight forward. Hope this helps, George Violaris On 6 Αύγ, 01:22, kitt

[android-developers] Best way to scale for different screen resolutions/dimensions?

2010-08-05 Thread powerdroid
I have a class that extends LinearLayout and handles drawing to the screen. (it is in the early stages) How would I go about determining the dimensions of a screen and resizing the images, etc., that this class is drawing to the screen on the fly before actually drawing them to the screen? What

[android-developers] Google Talk

2010-08-05 Thread Mohamed
Dear Android Developers, I just have couple functions would like them to be at android Google talk app. 1- Copy and paste function. 2- highlight function (in order to copy, save, add, open etc...). 3- Send and receive files. 4- Voice and video calling. Thank you very much for you efforts, -- You

[android-developers] Loading Android on Nokia N900 ?

2010-08-05 Thread boss
Hello, Does anyone knows how to load Android on Nokia N900 ? I read in few places that some functions might not work .. Nokia doesn't seem to know where they are heading with Maemo/Meego/Symbian since Meego will not be ported to N900.. and only 1/3 of Ovi apps work on it .. would be great to h

[android-developers] 20,000+ Android apps are "suspicious" -- Android & Security: Can They Get Along?

2010-08-05 Thread Sheena Alavi
Sign up for this free webinar to find out how to protect your Android Apps: http://www.arxan.com/software-protection-resources/webinar-series/android-and-security-webinar.php -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

[android-developers] Need guidance in developing simple app for popular webseries

2010-08-05 Thread ericmahlon
I understand the basics. Am looking for someone who would look over the work I do in exchange for a credit on the app and on the website. It is for a childrens show with over 2 million views. The app is a FREE APP. Any help is appreciated. I can be reached at ericmah...@hotmail.com -- You rec

[android-developers] Noob Question: XML Json Etc Webservices

2010-08-05 Thread Harpritt
Hi All Just wondering what the preference is regarding communication with Android. I want my android app to be able to poll my webservice periodically or on demand for new data. I read somewhere that there is a general move towards JSON over XML services. I dont really know much about this at a

[android-developers] Re: Bug with Android 2.2 Layout Gravity?

2010-08-05 Thread Ben Pellow
Other possibly useful links about negative margins and Froyo: http://code.google.com/p/android/issues/detail?id=9280 http://code.google.com/p/android/issues/detail?id=8754 On Aug 5, 11:48 am, TreKing wrote: > On Thu, Aug 5, 2010 at 12:53 PM, Stan wrote: > > Has anyone else encountered this issu

[android-developers] join android google group

2010-08-05 Thread awesomeandroid
hi, i am currently working in samsung as a software engineer on android platform. -- 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: How to read Meta-Data

2010-08-05 Thread mfavez
ApplicationInfo ai = ctx.getPackageManager().getApplicationInfo(ctx.getPackageName(), PackageManager.GET_META_DATA); String myvalue = ai.metaData.getString("myname"); On Jul 2, 9:58 pm, carrerasrodrigo wrote: > hi! i would like to put the following tag in the manifest file. > > http://schemas.and

[android-developers] Problem with communication between two apps (server[service]-client[activity]-model) via IPC

2010-08-05 Thread m4271n
Hey Developers im working on this for several days and I have no clue what the problem is: Ok first, what I want to do. I have an app (the service) that includes a native method, which needs a lot of time. And I have another app (the activity) which shows the results of this method. For the commu

[android-developers] Re: Android Market strips "Move to SD card" attribute -- what am I doing wrong?

2010-08-05 Thread Jeremy Statz
Understood, and makes some sense. Any chance this could get noted on the install-location overview page located at http://developer.android.com/guide/appendix/install-location.html ? On Aug 5, 7:27 pm, Dianne Hackborn wrote: > Correct forward locked apps can not be placed on the SD card. > > For

Re: [android-developers] Figuring out Google Checkout

2010-08-05 Thread Chris Stewart
Makes sense. Thank you. Chris Stewart cstewart...@gmail.com http://www.androidsdkforum.com On Thu, Aug 5, 2010 at 11:43 PM, TreKing wrote: > On Thu, Aug 5, 2010 at 9:36 PM, Chris Stewart wrote: > >> How can I charge these orders? > > > If people bought your app just this afternoon, you may no

Re: [android-developers] Figuring out Google Checkout

2010-08-05 Thread TreKing
On Thu, Aug 5, 2010 at 9:36 PM, Chris Stewart wrote: > How can I charge these orders? If people bought your app just this afternoon, you may not be able to do so though until the refund period has passed. Usually, for each new sale in Google Checkout, the "Charge" button is disabled until a da

[android-developers] Texturing a square with OpenGL ES

2010-08-05 Thread ocdtrekkie
Alright, so I've got this OpenGL tutorial I'm basing from, my current code is equivalent to Part II of it, which is here: http://blog.jayway.com/2009/12/04/opengl-es-tutorial-for-android-%E2%80%93-part-ii-building-a-polygon/ The code for that can be downloaded here: http://blog.jayway.com/wordpres

Re: [android-developers] Re: Bug with Android 2.2 Layout Gravity?

2010-08-05 Thread TreKing
On Thu, Aug 5, 2010 at 6:37 PM, Indicator Veritatis wrote: > But I have to comment: I would never have thought of using the query > "negative margin" to find this. > Granted - I cheated a bit since I'd looked at the thread before and knew of the problem being with the negative margin. But if you

[android-developers] looking for android developer

2010-08-05 Thread rams
I am looking for android developer to build a simple application that administers a 10-item questionnaire. there are 6 permutations for the answers and each would take the respondent to a separate page. this app will accompany the release of a book on autism I am publishing soon. Note: developers w

[android-developers] Android JNI AttachCurrentThread throws an exception in java

2010-08-05 Thread puneet
Hi, I have read about how to use AttachCurrentThread in JNI and it looks exactly like the examples, but whenever i call this method in one of the callbacks from other thread, i get following exception in logcat W/dalvikvm( 312): JNI WARNING: JNI method called with exception raised W/dalvikvm( 3

[android-developers] Airplane mode & scheduling of PendingIntent(s) problems (Froyo Android OS 2.2).

2010-08-05 Thread Giuseppe Palmeri
Hello, does anyone know if on Android 2.2 if placed in Airplane mode does not start scheduled Intent(s) with AlarmManager through PendingIntent(s)? More simply: An alarm will sound if when play is in airplane mode? I hope that I explained. Thanks you!Giuseppe. -- You received this mess

[android-developers] Re: How to quit the app?

2010-08-05 Thread IcedNet
I believe what they are getting at is that "quitting an app" in Android is not usually necessary (if ever). My favorite link for this subject (quoted words from Herself): http://android-developers.blogspot.com/2010/04/multitasking-android-way.html It is a different world from the way Some OS's be

[android-developers] Challenges moving to the Android platform ?

2010-08-05 Thread michal.g...@gmail.com
I am interested in understanding what are the biggest challenges for a JavaME developer moving to the Android platform ? Any insights are appreciated. Thanks, Michal -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, s

[android-developers] intent filters created at runtime

2010-08-05 Thread George Schneeloch
Is it possible to create an intent filter at runtime to receive intents which are directed at certain websites? I created the basic hello world project in Eclipse and added this to AndroidManifest.xml, and it worked (a choice was given between the browser and this app):

[android-developers] Pin / Password Protect an App

2010-08-05 Thread Mike
How do I protect an app with a PIN / Password like mint.com does? This would need something like a session variable that resets when the user navigates away from app by pressing HOME or BACK. How do we accomplish this? Thanks! -- You received this message because you are subscribed to the Googl

[android-developers] what does this monkey script do??

2010-08-05 Thread harpreet
type= point count= 0 speed= 1 start data >> captureDispatchPointer(5109520,5109520,0,230,358,0,0,0,0,0,0,0); captureDispatchPointer(5109521,5109521,1,230,358,0,0,0,0,0,0,0); captureDispatchKey(5113146,5113146,0,4,0,0,0,0); captureDispatchKey(5113146,5113146,1,4,0,0,0,0); -- You received this

[android-developers] Re: Changing view after softkeypad has slided in

2010-08-05 Thread 黑猴
Dear Chrono, I have met exactly same problem with yours, and have tried solving it exactly same as you. And I just find the solution, try to requestLayout like this: @Override protected void onSizeChanged(int w, int h, int oldw, int oldh) { // your operation... Handler han

[android-developers] List of bugs on the issue which should be marked as resolved

2010-08-05 Thread Gaz Davidson
There's tons of bugs on the tracker which have already been fixed in 2.2 or earlier, but have not been marked as resolved in the 2.2 release. As FroYo has just been delivered to a load of new handsets it would be a nice PR exercise if someone with permission could close some of the more popular on

[android-developers] How to broadcast date change message in application

2010-08-05 Thread Ashish Panchiwala
Below is the code in DateBoradcastReceiver class: public void onReceive(Context arg0, Intent arg1) { Log.d("PregnancyWidget", "intent= " + arg1); String action

[android-developers] Emulator Not Showing up

2010-08-05 Thread varun
I have problem when I am running an android application from the eclipse in Linux platform.The Emulator does not show up but when I hover on run option in eclipse it says that the application is already running. I tried all possible solutions but could fix the issue. Could any help me out. -- You

[android-developers] To get Responce is date

2010-08-05 Thread Ashish Panchiwala
Hi, One of my application need to know a new day is coming, that is, if the clock of phone changed from 23:59 to 00:00, my application will do some logic. I tried to use android.intent.action.DATE_CHANGED, but based on my test, this event only occured when i change the date mannually, I could n

[android-developers] Re: List of bugs on the issue which should be marked as resolved

2010-08-05 Thread Dan Morrill
Thanks very much Gaz! We'll take a look at these ASAP. - Dan On Wed, Aug 4, 2010 at 4:17 PM, Gaz Davidson wrote: > There's tons of bugs on the tracker which have already been fixed in > 2.2 or earlier, but have not been marked as resolved in the 2.2 > release. > > As FroYo has just been deliver

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

2010-08-05 Thread David
This is how I do it. I would use it sparingly though so you don't bind your app to a particular phone. I really only use it to determine whether or not I should be showing light or dark icons in the notification bar. This seems to work fine with my HTC Incredible and the emulator to determine whe

[android-developers] Mobclix vs Greystripe

2010-08-05 Thread andfan22
I'm planning on adding banner ads to an android app I'm developing, and currently considering which ad provider to go with. Anyone care to share experiences they've had with Mobclix and/or Greystripe? A comparison of their relative strengths & weakness would be great. Any insights would be much

[android-developers] Multiple Texture Issues on OLGES20

2010-08-05 Thread Steve Dorado
Has anyone successfully accessed multiple textures in fragment shader on OGLES20 (Froyo + Nexus one)??? A few strange observations: GLES20.glGenTextures(2, textures, 0); to create 2 textures returns array of [1,2] vs [0,1] GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, mTextureID); Does not se

[android-developers] Considering Development

2010-08-05 Thread Talguy
I am figuring out if android will meet my needs for a project. From what I have read about this is a very verisatile OS. I am trying to create an in car entertainment system and replace my instrument cluster with a computer screen. Will android install onto a intel atom motherboard. What is the

[android-developers] Stop scrolling ListView

2010-08-05 Thread Nithin
Hi, I have a scenario, where I have three buttons(like tabs) and when clicking on each button, I am showing a listView, such that, I select one button and scroll the listView. During scrolling if I click on any other button, that list is also continue scrolling. Actually, I don't want the scrollin

[android-developers] Debugger Disconnected when calling External Intent???

2010-08-05 Thread Chad
So I'm calling the Camera Intent like so, Intent camera = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); camera.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(new File(Util.tempImgFile))); As I watch the Debug tab in Eclipse as soon as that intent is called my application is terminated

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

2010-08-05 Thread Chris Stewart
With my first paid application available now, I'm debating how I should go about handling support and a more thorough explanation of what my app does. What really got me considering it was that someone just emailed me asking for more information about what my app does. The description we can prov

Re: [android-developers] Figuring out Google Checkout

2010-08-05 Thread Edmund Higgins
I would like to know as well On Aug 5, 2010 7:38 PM, "Chris Stewart" wrote: I put out my first paid app this afternoon and have gotten 4 orders so far. When I initially set up my merchant account with GC, I had it set to authorize only and not to authorize and charge. So of my 4 orders, it

[android-developers] Figuring out Google Checkout

2010-08-05 Thread Chris Stewart
I put out my first paid app this afternoon and have gotten 4 orders so far. When I initially set up my merchant account with GC, I had it set to authorize only and not to authorize and charge. So of my 4 orders, it shows my net revenue as $0.00 for each. How can I charge these orders? I've gone

[android-developers] Apps can't find in all deivce's market

2010-08-05 Thread Jammy
I have publish a app with this AndroidManifest.xml: and with publish option Copy Protection = ON(Helps prevent copying of this application from the device. Increases the amount of memory on the phone required to install the application.), Locations = all Locations but i found that some device c

[android-developers] Re: Socket Timout in a simple HttpGet

2010-08-05 Thread Indicator Veritatis
Also, if the response really is coming, you could try setting the timeout to something huge. You can set the socket timeout yourself by using org.apache.http.impl.SocketHttpClientConnection.setSocketTimeout(). On Aug 4, 10:48 pm, Martins Streņģis wrote: > thx for advice :) > but the problem persi

Re: [android-developers] Re: How to use JUnit test Android Project?

2010-08-05 Thread CaryWang
I create Android Test Project test my Android Project.If my android project don't use 3rd project method than run success,else run error.I export the 3rd project to test project. 2010/8/6 A. Elk > Are you testing with a standard JUnit project, or with an Android > JUnit project? > > Please not

Re: [android-developers] Picking up radio stations?

2010-08-05 Thread Alan Carvalho de Assis
Hi Tommy, On 7/30/10, Tommy wrote: > Ah okKind of a bummer > There is a simple radio tuner for Android: http://github.com/millenomi/nomadikradio But in order to get it working you need to have a linux driver working in your Android device (you need to see /dev/radio0 device). Best Regards,

[android-developers] Re: Socket Timout in a simple HttpGet

2010-08-05 Thread Indicator Veritatis
What 'deviceid' are you referring to? When I type "adb devices", my emulator shows up with device id "emulator-5554". If yours does not, you need to restart the adb server. On Aug 4, 10:48 pm, Martins Streņģis wrote: > thx for advice :) > but the problem persists on real phones not emulators > >

[android-developers] Re: My game runs much slower if i DO specify *any* min SDK version in Manifest.xml

2010-08-05 Thread Indicator Veritatis
In other words, you are speaking your own private language. In that case, you should stick to your own private language when complaining why people don't follow you. On Aug 4, 7:29 pm, Dianne Hackborn wrote: > This whole thread is about him making anyDensity false, and my answer is to > not do th

Re: [android-developers] DDMS Allocations tracker not picking up activity when using a real phone

2010-08-05 Thread Dilli rao
probebly you need to enable the debugging option available in the settings -> applications->... may be it will work for you. Regards, Dilli On Wed, Aug 4, 2010 at 3:54 AM, Greg Siano wrote: > I'm trying to use DDMS to track my allocations, but it only finds my > activity if I run it on the emu

[android-developers] Re: how to get the screen size in inches...

2010-08-05 Thread sdphil
bump On Aug 4, 2:12 pm, sdphil wrote: > I am trying to determine the physical size of a screen in inches. > > Normally, I could do something like this: > >     DisplayMetrics metrics = new DisplayMetrics(); >     getWindowManager().getDefaultDisplay().getMetrics( metrics ); > > Then use metrics.w

[android-developers] Search a non-functioning Nexus One car dock

2010-08-05 Thread Marc Petit-Huguenin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I search a non-functioning Nexus One car dock, i.e. a Nexus One car dock (the one formerly sold by Google on their online shop) that have the plastic intact but with the electronic dead or something else that make it unusable. I could buy one on EBay

Re: [android-developers] Re: How to detect when user switches Tasks (stack of Activities)?

2010-08-05 Thread Dianne Hackborn
That is not a robust design. For example: - you have activity A and activity B on top of it - the user leaves your app - your process gets killed - the user now switches back to your app. - a new activity B is created to show the user in their last state. At this point there is no activity A ins

  1   2   3   >