Re: [android-developers] Adapter fetches and parses RSS feed to get its data - best practice?

2010-12-10 Thread TreKing
Didn't we discuss this already? - TreKing - Chicago transit tracking app for Android-powered devices -- You received this message because you are s

Re: [android-developers] What to use instead of a very long ListPreference?

2010-12-10 Thread TreKing
On Thu, Dec 9, 2010 at 4:32 PM, CMoi wrote: > Is there a similar class with keyboard filtering or should I code it all? > ListActivity. - TreKing

Re: [android-developers] New to Android - sample app doesn't do anything

2010-12-10 Thread TreKing
On Thu, Dec 9, 2010 at 4:06 PM, rick777 wrote: > The problem I have is that nothing shows up in the emulator. The only > thing I see is an icon with a 36 and 2 arrows, a wifi strength monitor > icon, a battery icon, the time, and then a volume and lock icon. also, > the time, date, and Charging 5

Re: [android-developers] notifyDataSetChanged not updating view

2010-12-10 Thread TreKing
On Fri, Dec 10, 2010 at 10:42 PM, pramod.deore wrote: > Why view is not updating instantly? My guess it's because you're deleting directly from the database instead of from the adapter. Try using the Cursor attached to the adapter to do your modifications and then try notifyDataSetChanged(). -

Re: [android-developers] Re: GPS

2010-12-10 Thread Hendrik Greving
I've triedWRITE_SECURE_SETTINGS. I've found out that only system apps can get this permission.Actually I've found out how to toggle GPS etc., but it is an expoit which I guess will be fixed with Gingerbread. Unfortunately. - Original Message - From: TreKing To: android-developers

[android-developers] Re: Regarding using condition in Service

2010-12-10 Thread Doug
You do realize that services run on the main UI thread by default? You're not gaining anything by having this code in a service because it can block the activity which is running on the same thread, and you can't pass the results back directly to the calling activity. You might as well run your HT

[android-developers] Re: dex in ant with external libs in SDK tools R8

2010-12-10 Thread Bob Kerns
Solution: Include the SDK and tools in your repository. Then tags/ branches will continue to build with the version they always did, and it takes an explicit action to upgrade them. Problem introduced by solution: The SDK upgrade process is repository- hostile, and doesn't interact with things lik

[android-developers] Re: Making an activity private to application

2010-12-10 Thread Doug
If your activity requires an an intent filter, you could try requiring a "password" passed as an extra in the intent that launches it. That may at least slow down your serious attackers and deter the casual ones. Doug -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: AppWidget's service killed under Gingerbread & GalaxyS(2.1) but not killed under other phones/versions

2010-12-10 Thread metal mikey
Yeah, I used Service.startForeground() just in case the service was being killed because it was in the background (and since this is an AppWidget I guess my "App" isn't in the foreground, rather the Launcher's "App" is in the foreground). Am trying out ditching Zehon FTP for Java and using the nat

[android-developers] Re: Poor SQLite implementation? first time data access way to slow

2010-12-10 Thread Doug
On Dec 9, 4:40 pm, Doug Gordon wrote: > You really have to optimize everything. Welcome to limited device development. Your phone is not your desktop. :-) Oh, and sdcards are really quite slow for hosting big sqlite databases. The I/O alone can kill performance if you're not careful. Doug -

[android-developers] Re: Combining an image

2010-12-10 Thread Doug
Are you absolutely depending on a TableLayout to get this job done? In your RelativeLayouts, you don't seem to be using any of they layout parameters that make RelativeLayout special (like layout_toLeftOf, layout_alignTop, etc). Have you considered ditching tables and relatives and just using Line

Re: [android-developers] AppWidget's service killed under Gingerbread & GalaxyS(2.1) but not killed under other phones/versions

2010-12-10 Thread TreKing
On Fri, Dec 10, 2010 at 8:45 PM, metal mikey wrote: > I've since tried running my service as a foreground thread but that didn't > help. > As a "foreground thread" you mean you had an ongoing notification in the notification area?

Re: [android-developers] HOW TO COPY A PHONE NUMBER FROM PHONE LOG

2010-12-10 Thread TreKing
On Fri, Dec 10, 2010 at 7:15 PM, Dr Jafry wrote: > I am very dissopointed that the android does not have copy, past phone > number option > In the call log, long press the number you're interested in, select "Edit Number Before Call", then in the dialer screen long press the

[android-developers] Application not showing in android market

2010-12-10 Thread Amit Mangal
Hi Everyone, I have uploaded one application in android market but it is not showing there.when i search in google my aplication displays http://droidmill.com/follower-120313.html http://www.androidpit.com/en/android/market/apps/app/com.follower/Follower I want to know what is androidpit and how

[android-developers] How to destroy an activity immediately?

2010-12-10 Thread Kenny Chang
I try to call finish() in an activity in order to destroy the activity to free resources. But the Logcat shows it doesn't work immediately to call "onDestroy" instead of calling "onPause" and after a few seconds "onDestroy" is called. What I want is destory and finish the activity just after I call

Re: [android-developers] Re: GPS

2010-12-10 Thread TreKing
On Fri, Dec 10, 2010 at 7:41 PM, Hendrik Greving wrote: > I've actually just tried that. But even if I put the permission in the > manifest, it still makes a security exception that this permission was > missing What did you try? On Fri, Dec 10, 2010 at 11:06 PM, Hendrik Greving wrote: > The "

[android-developers] home screen widget drag or scroll

2010-12-10 Thread String
I'm pretty sure that it can't be done, sorry. All interaction with a widget gets pushed through a RemoteViews object, and the only event it supports is click. String -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

Re: [android-developers] Re: Combining an image

2010-12-10 Thread TreKing
On Fri, Dec 10, 2010 at 10:20 PM, darrinps wrote: > So how can I get this concoction to center? > For gravity on the top row use center_horizontal and bottom, then for the bottom row use center_horizontal and top. And if that doesn't work, try to simplify things and just use a single RelativeLa

[android-developers] Re: emulator stuck in android logo screen

2010-12-10 Thread Brill Pappin
The first time it starts, it can take a very long time to set itself up. Are you sure your waiting long enough? After that it will start up faster unless you reset it. - brill On Dec 10, 6:52 am, Mofajjal Hossain wrote: > I can't start up emulator  , it's getting stucked in ANDROID logo > scre

[android-developers] Re: how to use notifyDataSetChanged

2010-12-10 Thread pramod.deore
Thank you Sir, after calling requery() view is updated succesfully. But still want to know why notifyDataSetChanged() not work. On Dec 10, 6:26 pm, Mark Murphy wrote: > In your case, call requery() on the Cursor. The SimpleCursorAdapter > and whatever it is attached to (e.g., ListView) will be up

[android-developers] Re: Choosing the right Layout(s)

2010-12-10 Thread Jwohlhueter
Thanks for the runnables tip. I'm new to Java and the android environment. I'm sure I would have needed help with the ANR problem when it comes up. I've recreated my layout using ScrollView and a nested RelativeView. It's a reasonably good match. I added it to the link in my original question. Now

[android-developers] Re: Can someone test my game LG Ally and Motorola Devour

2010-12-10 Thread Cactus Mitch
acr, I have an Ally and am learning development. I'd give it a try. cM, On Dec 9, 10:45 pm, acr wrote: > Hi, > My game has been on the market for a week now with no issues. However > I got an email from 2 people yesterday saying that they are having > problems with the game on their LG Ally an

[android-developers] home screen widget drag or scroll

2010-12-10 Thread KlausSK8
I'm trying to understand or make something like a Twitter widget or contacts with picture widget. This widgets on home screen, allows the user to hold your finger in it, so dragging up the content as a scrollview I tried to find in google search by "android home screen scroll" "android widget scrol

[android-developers] No TextToSpeech during phone-ring with wired headset

2010-12-10 Thread marten
Hello, I'm developing a small app, which, among other things, will say the caller ID when the phone is ringing. I know that Android is capable of doing this itself, but at least on my phone I can not limit this feature in a way that the caller ID is said when the wired headset is attached only. I

[android-developers] Re: invoking of native application by using intents

2010-12-10 Thread Arjun
Greetings Marc, It works fine when I run your application and click on the link on the commons ware sample page. The problem becomes more subtle, when you post this link to face book and users pressing that link from the mobile browser will not show you application as part of intent chooser. Th

[android-developers] Re: Problem of "debug build".

2010-12-10 Thread Bill Haake
Me too. MyEclipse Enterprise Workbench 8.6.1 (Eclipse Base 3.5.2) Android SDK Tools, revision 8 Android SDK Platform-tools, revision 1 ADT and DDMS 8.0.1v201012062107-8221, Motorola Droid Sholes 2.2.1 -- You received this message because you are subscribed to the Google Groups "Android Develop

[android-developers] TextWatcher events are handled before OnItemClickListener events in autocompletetextview

2010-12-10 Thread maydin
Hi, I have an autocompletetextview which implements OnItemClickListener and TextWatcher. When i select (click) an autocomplete list item, it firstly enters to aftertextchanged ,then to onItemClick method. I think the order is wrong.How can i prevent this? -- You received this message because you

[android-developers] Master/King/Uninterruptible App

2010-12-10 Thread Catbert
I'm trying to write a top priority app for my personal project (not to be published to the Market) and I don't want the phone or anything other app to interrupt it while it's running (most importantly, I don't want the process manager in Android to kill it for any reason). I'm totally aware this i

[android-developers] Samsung GT-I5800 not detected by latest SDK Tools 8

2010-12-10 Thread Stefano Sanna (gerdavax)
Hello. I've just upgraded my development environment to latest SDK Tools revision 8. After such an upgrade, the Samsung GT-I5800 is no longer detected by adb. I've tried on different machines with the same result: the Samsung Galaxy Mini stopped to work after the update. Is there any way to confi

[android-developers] apps became empty shells on Nexus One, then flash memory size seems reduced

2010-12-10 Thread Charlie
Hi, I had been happily using my N1 when one night it shut itself down due to the battery running down. After charging it, I turned it back on and found that all of the apps (except those stored on the SD card) had stopped worked, reporting "Could not launch the requested activity". Eventually I f

[android-developers] Android OpenGL ES 2 Emulator

2010-12-10 Thread sergei_ua
Anybody know when Android Emulator will support OpenGL ES 2? may be Android 3.0? Now I use MSVC++ with OpenGL ES 2 emulator (http:// www.malideveloper.com/developer-resources/tools/opengl-es-20-emulator.php) It fast and easy way to develop but it not convenient to transfer it on Eclipse + Android-

[android-developers] L2cap

2010-12-10 Thread Benni
Hi all, I wote an J2me application that uses the l2cap bluetooth protocol. Is there a way to connect to this device with an android phone? Is there a l2cap support? Benni -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gro

Re: [android-developers] Edittext mask

2010-12-10 Thread Paulo Nonaka
Hi folks, This problem can be resolved configuring the attribute imeOptions="flagNoExtractUi". For example: this.setImeOptions(EditorInfo.IME_FLAG_NO_EXTRACT_UI); ... or ... http://android-developers.blogspot.com/2009/04/updating-applications-for-on-screen.html "The flagNoExtractUi completely re

[android-developers] Android Emulator 2.3

2010-12-10 Thread Jim
I'm finding several regressions in this emulator rev. First is the performance degradation which several others have noted. I'm also finding problems with the Emulator Control Panel. I can't send new lat/long coordinates to an application, and I can't emulate receiving an SMS message. These featu

[android-developers] emulator stuck in android logo screen

2010-12-10 Thread Mofajjal Hossain
I can't start up emulator , it's getting stucked in ANDROID logo screen . -- I have Eclipse Galilio -- Ubuntu 10.10 -- Open JDK 6 , JRE 6 -- downloaded latest android SDK and ADT Tried from terminal by creating new AVD and also have tried from running from Eclipse but it doesn't starts.

[android-developers] How I can make transparent Keyguard

2010-12-10 Thread agent-10
Hi, I've change the behavior of LockScreen.java to my own but I don't know how to make transparent or translucent Keyguard. I just wanna see behind windows(e.g Home app, another users activities etc). I suppose that I should change something in KeyguardViewManager.java in show() function but I don'

[android-developers] softkeyboard sample problem solved

2010-12-10 Thread hhenne
I found the solution in this forum. What I missed was the LONG press in an input field. That activates a menu where you can change input method. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-d

[android-developers] Beginner questions

2010-12-10 Thread JY Kim
Hello. I am beginner in android and my focus is on porting, but I think I also need to learn to write application. I have 2 questions 1. Is eclipse essential in android application writing? Read through hello world program on android developer site, I thought I shoud use eclipse. Application was

[android-developers] softkeyboard sample not activated

2010-12-10 Thread hhenne
Hi, I am starting to write an InputMethod. My first step is to deploy the sample: softkeyboard - my only change is to include some Log statements in the on??? methods. I have deployed it on a device (Sony Xperia 8) and on the emulator. It seems to be installed OK, and I can see the process is ru

[android-developers] Re: Problems changing the drawable on a Button

2010-12-10 Thread Carl Lee
Maybe you should just simply use button.setBackgroundDrawable(R.drawable.something) In addition, you should also write a selector xml like this: http://schemas.android.com/apk/res/android";> On Dec 10, 1:24 pm, neuromit wrote: > I'm working on a basic media player and am

[android-developers] Editing video on android

2010-12-10 Thread Raj
Is there any support in Android development for editing/encoding videos ? The possibility to trim, crop, resize or encode the video to a new format and save as a new file is very essential for any phone development platform. Is there any support for this at present ? Or any thing planned for future

[android-developers] Facebook connect works in Emulator but not on Mobile

2010-12-10 Thread Stephan Wiesner
Hi, i have downloaded the facbook sdk from github and the sample code works for me - on the emulator. The same code does not work on my Samsung Galaxy i9000, though. I get a key error. I use a key genereated by adding an application to Facebook, as described in the facebook sdk. I have not modifide

[android-developers] Android WebView

2010-12-10 Thread ankur
Hi, I am developing an app in android using WebView. My HTML page is coming from the server. The page contains a lot oh high resolution images, is there a way to store and reference those images from the assets folder, or reference local images. That will help me increase the performance. I wo

[android-developers] Need to play audio to the caller

2010-12-10 Thread GauravN
Hi Guru's, For my app I need to play a pre recorded message to the caller. Say if someone calls my phone and I enable the app it should play back the audio such that the caller hears it. I tried setting the stream STREAM_DTMF,STREAM_VOICE_CALL ... (tried all of them) but nothing worked. STREAM_MUS

[android-developers] Re: NFC Demo errors?

2010-12-10 Thread Mark666
Just install "guava-r07.jar", not install "guava-r07-gwt.jar" to avoid some errors. On 12月10日, 上午6時26分, if05...@gmail.com wrote: > Download the guava library from the link below. Add that library to your libs > dir. add that library to your classpath. > Powered by Telkomsel BlackBerry(R) > > > >

[android-developers] Adapter fetches and parses RSS feed to get its data - best practice?

2010-12-10 Thread jim
In a shared project, we have an Adapter class (extends BaseAdapter, implements ListAdapter). In its constructor, this class fetches an RSS feed from the internet and parses the returned XML document to obtain the data it will 'adapt'; the data is kept in a private class variable. This is seen as t

[android-developers] What to use instead of a very long ListPreference?

2010-12-10 Thread CMoi
Hi, I have an app which has two options which are train stations. I used ListPreference but there are more than 1000 entries and ListPreference does not allow anything except spending a very long time scrolling. Is there a similar class with keyboard filtering or should I code it all? -- You re

[android-developers] New to Android - sample app doesn't do anything

2010-12-10 Thread rick777
I'm new to Android, but have done Java, GWT, and App Engine development in the past. I'm running Eclipse 3.6 on Ubuntu 10.04. I installed the Eclipse development plugin, created an avd, installed the android samples, and created an Eclipse project with the NotesList sample. When I run the project

[android-developers] setContentView and setRenderer is changeable?

2010-12-10 Thread GeorgeV
Can I set another view, like mGLSurfaceView, if this code was exuted? Like: onCreate(): ... mGLSurfaceView = new GameSurfaceView(this); setContentView(mGLSurfaceView); // It's works ... ChangeSurface(): ... xGLSurfaceView = new GameSurfaceView(this); setContentView(xGLSurfaceView); // It's not w

Re: [android-developers] Re: GPS

2010-12-10 Thread Hendrik Greving
The "power control plus" application can do it. So what's the trick? - Original Message - From: "Nathan" To: "Android Developers" Sent: Friday, December 10, 2010 5:34 PM Subject: [android-developers] Re: GPS It probably has 'Write System Settings' permission or maybe even 'Write Sec

[android-developers] Re: monkeyrunner fails for emulator: Error starting command: monkey --port 12345

2010-12-10 Thread Greg
Try replacing your call to startActivity with: device.startActivity(component='com.collabera.swarup/.DummyActivity') Greg On Dec 9, 1:11 pm, swarup wrote: > Nope, ignoring didn't help, its not launching target activity. The > menu key is getting pressed on the home screen itself, and whole test

[android-developers] Re: Poor SQLite implementation? first time data access way to slow

2010-12-10 Thread Jon Shemitz
On a previous generation of smartphone hardware, a 1msec difference in db access on an UML [User Mode Linux] emulator turned into a whole second difference on a "Zylonite" board. So a 120x difference between desktop hardware with a hard disk and an Android device with flash memory doesn't seem at a

Re: [android-developers] Re: What Tablet would you get

2010-12-10 Thread Toan Pham
I use a Nookcolor, there's no market place yet. However, some people have reported to get market place working after installing YouTube app. I tried it and it did not work on mine. Also, many applications that rely on google account info also do not work. One example is google reader. NC is go

Re: [android-developers] Edittext mask

2010-12-10 Thread Paulo Nonaka
At least someone knows how to make a mask field on Android? 2010/12/9 Rogério de Souza Moraes > Hi TreKing, > > thanks for helping me. i created an video on youtube to show the problem: > > http://www.youtube.com/watch?v=pwZp9s9su10 > > The source code: > > http://pastebin.com/FKSvzSSb > http://

[android-developers] No receiving packets from Emulator

2010-12-10 Thread Naruto
Hi Friends, I have written Java coding to develop a simple application using Android emulator in Eclipse. ( Scenario - I need to send UDP packets to particular IP address also to the corresponding port numer which I mentioned ). My code is working properly when I try to rum my code it is executin

[android-developers] notifyDataSetChanged not updating view

2010-12-10 Thread pramod.deore
As per the Docs notifyDataSetChanged ()-Notifies the attached View that the underlying data has been changed and it should refresh itself. In my application I am calling notifyDataSetChanged but still my view is not updates automatically. To update view I have to press Back button and ahain when I

[android-developers] Who has the Google Ion source?

2010-12-10 Thread BobG
HTC doesnt seem to claim the Google Ion. I hear its similar to a sapphire or a dream. Is it on Google somewhere? Who releases new OS versions? Google? HTC? T-mobile? HTC support won't say what chip is used in the audio codec. How can that be a secret? There must be a mic gain bit in a reg somewhere

[android-developers] Re: How to control the width and height of Alert dialog.

2010-12-10 Thread sat
Hi, Can you point me to some examples where AlertDialogs are built using Dialog class ? I have seen Custom dialog box code , where I can refer to XML and set the contentView. But my requirement is, depending on the array of strings I would like to show them as a textview inside an AlertDialog , whi

[android-developers] Re: Combining an image

2010-12-10 Thread darrinps
That doesn't seem to help any (tried every combination I could think of) I was able to get it to align by using a RelativeLayout inside of each table row, BUT the entire combined image is shifted to the left when I do that and I cannot get it to re-center. What I did then was like this:

[android-developers] Re: How to control the width and height of Alert dialog.

2010-12-10 Thread sat
@Viktor - I am calling alert dialog on clicking a button , I am setting contentView in On create , on click of a button calling the alertDialog code. On Dec 10, 10:50 pm, viktor wrote: > Did you set layout after setting content view? > > It works for me, but I extend the Dialog. > > On 10 çÒÄ, 14

Re: [android-developers] Application unavailable in Android Market

2010-12-10 Thread Stephen Jungels
Your apps are visible in the US market on my Droid X (Android 2.2) test device. They're not visible on my Galaxy S (2.1) test device. One thing to look at is the copy protection setting in the developer console. --SJ On Fri, Dec 10, 2010 at 9:27 PM, Pedro Duque wrote: > Thank you TreKing, > > O

[android-developers] AppWidget's service killed under Gingerbread & GalaxyS(2.1) but not killed under other phones/versions

2010-12-10 Thread metal mikey
I'm developing an AppWidget that utilises a Service (running in its own Thread) to pull data via HTTP and FTP (using Zehon FTP for Java). The FTP process works fine under Emulator(2.1) and Emulator(2.2), NexusOne(2.1) and NexusOne(2.2), Huawei u8150(2.2), and Wildfire(2.1) [those are the builds of

Re: [android-developers] Application unavailable in Android Market

2010-12-10 Thread Pedro Duque
Thank you TreKing, Of course I'm limiting the test to >=Eclair version. I tried it on a Galaxy Tab and other Samsung Galaxy S... but maybe it's a problem in Portuguese Android Market. I'm trying to get more tests locally. Thanks again, Pedro Duque On 10 December 2010 18:42, TreKing wrote: > O

Re: [android-developers] Re: Looking for intents to control a media player

2010-12-10 Thread Mark Murphy
On Fri, Dec 10, 2010 at 9:09 PM, neuromit wrote: > So if I have to use player specific intents for each different media > player, what is the best way to discover which intents an application > supports? Read the player's developer documentation. If the player lacks such documentation, they don'

[android-developers] Re: Looking for intents to control a media player

2010-12-10 Thread neuromit
Mark, thanks for your reply! On Dec 10, 9:09 pm, neuromit wrote: > Sorry I posted that from my phone and it didn't come out right. > > I was hoping that there would be a set of system intents that would be > passed on to whatever app is designated by the user as the default > app. > > Perhaps I d

[android-developers] Re: Looking for intents to control a media player

2010-12-10 Thread neuromit
Sorry I posted that from my phone and it didn't come out right. I was hoping that there would be a set of system intents that would be passed on to whatever app is designated by the user as the default app. Perhaps I don't understand the inner workings of android enough but I just assumed that th

Re: [android-developers] Re: GPS

2010-12-10 Thread Hendrik Greving
I've actually just tried that. But even if I put the permission in the manifest, it still makes a security exception that this permission was missing - Original Message - From: "Nathan" To: "Android Developers" Sent: Friday, December 10, 2010 5:34 PM Subject: [android-developers] Re

[android-developers] Re: GPS

2010-12-10 Thread Nathan
It probably has 'Write System Settings' permission or maybe even 'Write Secure System Settings' permission. These are probably very scary sounding permissions to ask for, but a built in widget never had to ask for them. Nathan On Dec 10, 4:59 pm, "Hendrik Greving" wrote: > Eww. I just read abou

[android-developers] Re: GPS

2010-12-10 Thread ip332
Do what? Turn GPS on upon clicking on GPS in the Settings/location? If you come from the in-car navigation world then this scenario looks weird. However battery life is one of the most critical parameters for a mobile phone therefore it makes sense to turn hardware on only when there is a client to

Re: [android-developers] Re: Looking for intents to control a media player

2010-12-10 Thread Mark Murphy
On Fri, Dec 10, 2010 at 8:08 PM, neuromit wrote: > Right but I was going that there would be a standard set of  that > would get piped to the user specified default player. ACTION_VIEW on a Uri to some media file should work for that. > so if this standard set of intents doesn't exist how do def

[android-developers] HOW TO COPY A PHONE NUMBER FROM PHONE LOG

2010-12-10 Thread Dr Jafry
Hi, I am a oral surgeon and i get lots of emergency calls from my clients. Most of the clients are not becoming costmars, they just want to discus some issue. so i need to copy their phone numbers to my calender to call them later its very important. because mostly its a one time call so i do ne

[android-developers] Re: Looking for intents to control a media player

2010-12-10 Thread neuromit
Right but I was going that there would be a standard set of that would get piped to the user specified default player. so if this standard set of intents doesn't exist how do default applications work? If I want to send a sms from my app it can launch the default Messaging app without even knowin

[android-developers] Multitouch Gestures

2010-12-10 Thread Paul
Hi there. I am trying to implement a custom GestureDetector for a small multitouch app. Essentially, the app is trying to approximate pressure using time, in a 'build-up' pattern such that the longer you leave a finger in the same place, the more 'ink' I write to the screen under the finger. I c

Re: [android-developers] GPS

2010-12-10 Thread Hendrik Greving
Eww. I just read about this. I guess this is a FAQ, but why can the Power Control Widget do this? - Original Message - From: TreKing To: android-developers@googlegroups.com Sent: Friday, December 10, 2010 4:47 PM Subject: Re: [android-developers] GPS On Fri, Dec 10, 2010 a

[android-developers] Re: GPS

2010-12-10 Thread ip332
It will be turned on when you request location updates (if it is enabled in the Location/GPS settings) On Dec 10, 4:47 pm, "Hendrik Greving" wrote: > I know how to read the GPS status etc. but how do I turn the chip on/off? > There is nothing in LocationManager/Provider or GpsStatus or Satellite

Re: [android-developers] GPS

2010-12-10 Thread TreKing
On Fri, Dec 10, 2010 at 6:47 PM, Hendrik Greving wrote: > I know how to read the GPS status etc. but how do I turn the chip on/off? You can't. You can bring up the settings screen to let the user turn it on or off, if they want. --

[android-developers] GPS

2010-12-10 Thread Hendrik Greving
I know how to read the GPS status etc. but how do I turn the chip on/off? There is nothing in LocationManager/Provider or GpsStatus or Satellite -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-

[android-developers] Re: dex in ant with external libs in SDK tools R8

2010-12-10 Thread Andreas
Upps, did jsut now read they you are actually already planing to fail. :-) Good then... -- Andreas On Dec 10, 12:01 pm, Xavier Ducrohet wrote: > hmm if you use the proper version of Ant this should not be required. > I double checked it a few days ago. > you do need Ant 1.8 > > On Fri, Dec 10, 20

[android-developers] Re: Free version of paid app

2010-12-10 Thread Nathan
On Dec 10, 11:20 am, Viktor Linder wrote: > In your experience, has a free version helped more people discover > your app? No. If by discover, you mean find, no. Why do I say that? A keyword search will include both paid and free results, so you can generally make a paid app show up in any searc

[android-developers] Re: dex in ant with external libs in SDK tools R8

2010-12-10 Thread Andreas
Ok, I can confirm the bug is not happening with the latest ant version. My bad. However if using the wrong ant version is creating such strange mistakes you might consider making it mandatory or at least print a big fat warning. -- Andreas On Dec 10, 12:01 pm, Xavier Ducrohet wrote: > hmm if you

[android-developers] SDK versions and another screen question

2010-12-10 Thread brian purgert
Ok what does the target sdk mean. Because I want to support xlarge screens but in the sdk it says it is 2.3 only so how do I support the xlarge screens wile still supporting android 1.6 and im confused with the screen sizes and dpi's because I don't really see any diffrance in a phone that is large

[android-developers] Questions about Updating of Pre-Installed or Built-In Apps

2010-12-10 Thread Brion Emde
My employer has a customer with the good fortune of having products that will be shipped with some OEM devices. This has raised some questions about updating the application that, despite having researched this subject on this group and in some others, we are still unsure about. 1) It appears that

Re: [android-developers] Developing for tablets-high res

2010-12-10 Thread Kostya Vasilyev
Brian, The ldpi, mdpi, etc. are pixel densities, not the number of pixels on the screen. 1024 by 600 at 10" is matched by a "-large" qualifier. http://innovator.samsungmobile.com/galaxyTab.do Be careful with it, though: just "-large" is also matched by a screen that's 480 by 800/854 with pi

Re: [android-developers] Developing for tablets-high res

2010-12-10 Thread TreKing
On Fri, Dec 10, 2010 at 2:53 PM, brian purgert wrote: > Sorry if some one has asked this before but I have a problem. Im making a > game and I have 3 folder for drawables hdpi ldpi mdpi but even hdpi is only > made for systems with resolutions of up to 480 by 854, and some tables have > resoultion

Re: [android-developers] Re: Combining an image

2010-12-10 Thread TreKing
On Fri, Dec 10, 2010 at 2:51 PM, darrinps wrote: > Any suggestions as to how to go about adding padding or margins? I've never > dealt with doing that. > I'd probably just set all padding and margins to 0 if you want them to align and be flush. These are just properties of the view you can set i

[android-developers] Developing for tablets-high res

2010-12-10 Thread brian purgert
Sorry if some one has asked this before but I have a problem. Im making a game and I have 3 folder for drawables hdpi ldpi mdpi but even hdpi is only made for systems with resolutions of up to 480 by 854, and some tables have resoultions with 1024 by 600 pixels -- You received this message becaus

[android-developers] Re: Combining an image

2010-12-10 Thread darrinps
Any suggestions as to how to go about adding padding or margins? I've never dealt with doing that. Also, as to adding gravity, I already do that. Do you have a suggestion other than what I have done? On Dec 10, 9:16 am, TreKing wrote: > On Thu, Dec 9, 2010 at 10:34 PM, darrinps wrote: > > Anyon

[android-developers] Re: Overlay other view on imageview

2010-12-10 Thread elizabeth talbot
i dont know -- 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 opti

[android-developers] Re: The String8 bug

2010-12-10 Thread elizabeth talbot
ok -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visi

[android-developers] Re: The String8 bug

2010-12-10 Thread fadden
On Dec 8, 8:23 pm, Daniel Tsai wrote: > I think it sould be String8 tmp(*this). Yes. It looks like this was fixed in Gingerbread. -- 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@goo

Re: [android-developers] Overlay other view on imageview

2010-12-10 Thread TreKing
On Fri, Dec 10, 2010 at 2:19 PM, umakantpatil wrote: > How do it ? Try a frame layout. - TreKing - Chicago transit tracking app for Android-powere

[android-developers] Overlay other view on imageview

2010-12-10 Thread umakantpatil
Hi,I have two images. One is big image and other one is smaller image. I want to small image over the Bigger image. Both are in ImageView. How do it ? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to an

[android-developers] Re: 3d flip between two views

2010-12-10 Thread ping
thanks a lot :) On Dec 10, 12:56 pm, Kumar Bibek wrote: > http://www.inter-fuser.com/2009/08/android-animations-3d-flip.html > > Try this. > > Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com > > > > > > > > On Fri, Dec 10, 2010 at 5:04 PM, ping wrote: > > Hello, > > Is there an eas

Re: [android-developers] COPY PERMISSIONS (APK)

2010-12-10 Thread Mark Murphy
On Fri, Dec 10, 2010 at 3:05 PM, Vinicius Jose Grein wrote: > I'm developing an application that need to copy an apk do the folder > /system/app > I've already tried to use the RunTime class to access the shell,it does not > work due to permissions, > Is there anything I can do to copy this apk?

[android-developers] Re: dex in ant with external libs in SDK tools R8

2010-12-10 Thread Matt Quigley
> >> The Ant builds no longer work with external libraries. > > > Make sure you are on Ant 1.8.1. On Dec 10, 2:21 pm, Xavier Ducrohet wrote: > Yes. this is a requirement that fell through the release notes. > > We're adding code to detect the Ant version at compile time and fail > hard if it's

[android-developers] Re: HeaderView in ListView causing ClassCastException

2010-12-10 Thread blindfold
http://stackoverflow.com/questions/4393775/android-classcastexception-when-adding-a-header-view-to-expandablelistview helped me out with addHeaderView() and the infamous ClassCastException. Basically you do TopSearch.setLayoutParams(new ListView.LayoutParams(ListView.LayoutParams.FILL_PARENT, List

[android-developers] COPY PERMISSIONS (APK)

2010-12-10 Thread Vinicius Jose Grein
I'm developing an application that need to copy an apk do the folder /system/app I've already tried to use the RunTime class to access the shell,it does not work due to permissions, Is there anything I can do to copy this apk? Best Regards -- You received this message because you are subscribe

[android-developers] Re: dex in ant with external libs in SDK tools R8

2010-12-10 Thread Matt Quigley
> Although that solution will work for most developers, it will not work > if you need to propagate this fix across all team members working on > the project.  As an alternative, you can fix it in your own project's > build file (build.xml) by ensuring that the external .jar files are > included in

Re: [android-developers] Re: dex in ant with external libs in SDK tools R8

2010-12-10 Thread Xavier Ducrohet
hmm if you use the proper version of Ant this should not be required. I double checked it a few days ago. you do need Ant 1.8 On Fri, Dec 10, 2010 at 11:52 AM, Matt Quigley wrote: >> Andreas, >> I'm not sure where you added that line . >> I need to make this fix in the build.xml file, not in the

[android-developers] Problem with view alignment and image size

2010-12-10 Thread umakantpatil
Hi, I have to show a image in vertically center on the screen. The image is originally of big size, but I reduce it and display it. Problem is I have to maintain the ratio of the image like example. Original image is of 200 X 400, then I might reduce it 100 X 200. Again if Image is of 500 X 200 the

  1   2   3   >