[android-developers] Re: adb devices command produced device serial number contains no consolePort field

2011-01-19 Thread FrankG
I think this is definitly out of scope of this group .. go to android-.platform for this. On 15 Jan., 07:50, v4 v4ende...@gmail.com wrote: According to Dev Guide (http://developer.android.com/guide/developing/ tools/adb.html#devicestatus): - adb devices command was expected to print out

Re: [android-developers] Re: Grab phonebook-contacts via ContactsContract-API

2011-01-19 Thread Dmitri Plotnikov
I am sorry. I guess I just don't understand the requirements. I thought you were writing a sync adapter. Sync adapters all deal with their own accounts. Google sync adapter deals with google accounts, exchange adapter with exchange accounts and so on. If you are thinking of writing a sync

Re: [android-developers] Change App Widget size from code before loading it

2011-01-19 Thread Kostya Vasilyev
You can have multiple layouts of different sizes (btw, using pixel values is probably not a good idea) and specify the one you want when constructing RemoteViews. -- Kostya 19.01.2011 5:38, Mark Murphy пишет: On Fri, Jan 14, 2011 at 12:22 PM, Masarano Itayimasar...@gmail.com wrote: Does

Re: [android-developers] developed teem

2011-01-19 Thread Marcin Orlowski
On 18 January 2011 18:36, Jeyanthi Kumar jeyant...@gmail.com wrote: Developer Announcements We're pleased to announce that paid apps are available in more locations of the world! Developers from 20 more locations can now sell paid apps on Android Market. Users in more locations will also soon

Re: [android-developers] Re: Proper Exception Handling

2011-01-19 Thread Kostya Vasilyev
19.01.2011 3:39, Zsolt Vasvari пишет: I just don't see, from an API design point of view, why File.open() or Context.openInputFile() couldn't just returnnull if the file doesn't exist, instead of throwing an exception. Especially, since a file not existing is usually not an exception, but a

Re: [android-developers] Schedule notification instead of permanently check

2011-01-19 Thread Kostya Vasilyev
19.01.2011 10:07, Danny S. пишет: Hi, I have a service that is running in background. It needs to send notifications to the user. In my application you can create data with date and time. The service now can fetch this data and give the user a notification t-x minutes before the saved time is

Re: [android-developers] OpenJDK on Android

2011-01-19 Thread Marcin Orlowski
On 14 January 2011 15:16, koala koalares...@gmail.com wrote: Is it all about the price of google's shares vs the price of oracle's shares? It's rather matter of you now really knowing what you talk about. -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Creating Activity from a View Class

2011-01-19 Thread Kostya Vasilyev
To start an activity, you need a Context. You can get it by calling view.getContext() - which will actually be a reference to the activity (if the view is inside one). -- Kostya 19.01.2011 9:56, vivin joy пишет: i have two Activities. one is the MainActivity and other an activity

Re: [android-developers] Signing in Eclipse

2011-01-19 Thread Marcin Orlowski
On 15 January 2011 06:13, PFP Dev pfp...@gmail.com wrote: Not sure if this is the place to be asking this, I have tried many places with no answer. I am recently trying export my app with Eclipse and I am running to ERROR: cannot recover key I know I am using the right password. If you're

Re: [android-developers] Custom preference

2011-01-19 Thread Kostya Vasilyev
Set layout_weight=1 on the list view. 19.01.2011 3:46, Eric Crump пишет: I need to create a preference that looks similiar like the WiFi selection screen in the OS preferences. That screen has a ListView that takes up the whole bottom of the screen. I have figured out how to add a ListView

[android-developers] Re: The curious case of the impossible ArrayIndexOutOfBoundsException

2011-01-19 Thread mort
Only a blind shot: Did you check whether another instance of frustrum is used? Like e.g. an accidental float[][] frustrum = ... in the function or maybe even an if block or something similar, so a local instance is used instead of the class member, parameter, or whatever was intented. However, I

[android-developers] Re: Relief view on mapActivity?

2011-01-19 Thread José Gil
Hi TreKing, In the Google Maps JavaScript API V2 there is a constant named: G_PHYSICAL_MAP. It is a map type which displays maps with physical features such as terrain and vegetation. I'm looking for something similar in the Google Maps API for Android. Thanks José On 19 ene, 03:15, TreKing

[android-developers] Re: Relief view on mapActivity?

2011-01-19 Thread José Gil
Thanks Stephan José On 19 ene, 08:26, Stephan Wiesner testexpe...@googlemail.com wrote: No (at least I did not find a way to do that) :-( Would be great though. Stephan -- Interessiert an Android?http://android-schweiz.blogspot.com/ Whant to learn German?http://german-podcast.blogspot.com

[android-developers] Re: OpenJDK on Android

2011-01-19 Thread viktor
I think you should change the forum. For example Spring, Java WEB development but not Android. On 14 Січ, 16:16, koala koalares...@gmail.com wrote: For god sake, how convenient would it be to have OpenJDK running on android? Imagine if we could run swing, rmi, if we could run all java code

[android-developers] Re: Recommended way of passing callback context data between activities

2011-01-19 Thread Doug
Have you tried storing the data in a STATIC field of a class (or a singleton)? Static class members will survive any class instance transience issues because they are not tied to an instance of a class. Doug On Jan 17, 12:20 am, Pepijn Van Eeckhoudt pep...@vaneeckhoudt.net wrote: Hi, Quite

[android-developers] Re: How to write a android keyboard preference and show in Android Setting Language Keyboard.

2011-01-19 Thread FrankG
Sorry, but why do you think the settings app should notice your keyboard. On 16 Jan., 12:34, Mathieu mathieu.debr...@gmail.com wrote: Yes, it does ! Thank you, I have the same problem, and your answer helped me to add a preference view. But actually, it doesn't show in Android Setting

[android-developers] Re: Could I exec some codes after my app is installed

2011-01-19 Thread mort
On 18 Jan., 11:03, Marcin Orlowski webnet.andr...@gmail.com wrote: When my app is downloaded from Market and installed, could some code be executed? No. Which is good. I wouldn't say that in such a generalized way. I'd be annoyed if an Activity would be invoked, but I can imagine there could

[android-developers] Re: How to transfer real-time data to mobile by USB and how to get the transfered data

2011-01-19 Thread FrankG
usb host support in the kernel/HW usb gadget extensions android framework extensions usb mode change support in kernel and framework .. and you must take care whether the certain device contains not already platfrom extensions for this On 19 Jan., 08:30, yyzhang ynyozh...@gmail.com wrote:

[android-developers] Re: Recommended way of passing callback context data between activities

2011-01-19 Thread Bost
Hallo, create a class which extends Application. Define public static fields, in which you can store your data. If the date were modified, make sure, that your activity saves these data in onSaveInstanceState, . The data live as long as your application. Regards, Bost On Jan 18, 9:38 am, Pepijn

Re: [android-developers] Re: Could I exec some codes after my app is installed

2011-01-19 Thread Dianne Hackborn
If you put your data in the new official place for private app data on the SD card starting with 2.2, it will be removed for you when it is uninstalled. On Wed, Jan 19, 2011 at 12:47 AM, mort m...@sto-helit.de wrote: On 18 Jan., 11:03, Marcin Orlowski webnet.andr...@gmail.com wrote: When my

[android-developers] Re: Schedule notification instead of permanently check

2011-01-19 Thread Danny S.
Hello Kostya, WOW, thank you very much, I'll have a look and reply with results and questions if I have ;-) -Danny S. On Jan 19, 9:09 am, Kostya Vasilyev kmans...@gmail.com wrote: 19.01.2011 10:07, Danny S. пишет: Hi, I have a service that is running in background. It needs to send

[android-developers] How to open fb0 from App?

2011-01-19 Thread kong
I want to open fb0 through JNI.But don't hava permission to open. Why openGL has the permission to open fb0? -- 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

Re: [android-developers] Re: Could I exec some codes after my app is installed

2011-01-19 Thread appel
Maybe you could put some automatic redirect in Android so that apps that write to the wrong location are redirected to the correct location? Most devs do not seem to care and just create files and directories in the root directory on the sdcard. -- You received this message because you are

[android-developers] Drawable from createFromResourceStream for a xlarge screen or a xhdpi resolution

2011-01-19 Thread Learning_Android
Hi Allm I have an image which I have in form of a stream. I want to create a drawable from this stream so that I can set it as background for my view or ImageView which occupies the whole device screen. I did the below code to achieve the same but facing some issues

Re: [android-developers] How to open fb0 from App?

2011-01-19 Thread Marcin Orlowski
On 19 January 2011 10:52, kong zfr...@gmail.com wrote: I want to open fb0 through JNI.But don't hava permission to open. On most devices you won't get access unless you root you phone which let's elevate rights of your app. -- You received this message because you are subscribed to the Google

[android-developers] Re: The curious case of the impossible ArrayIndexOutOfBoundsException

2011-01-19 Thread RyanMcNally
(1) Yeah, it would have been *fascinating* to see the value of the offending index (2) Glad someone agrees - self-doubt is my default mode in cases like this ;-) (3) Threading is usually the culprit for weird errors like this. Unfortunately, there's no threading happening here. Also, as the

[android-developers] Drawable from createFromResourceStream for a xlarge screen or a xhdpi resolution

2011-01-19 Thread Learning_Android
Hi All, I have an image which I have in form of a stream. I want to create a drawable from this stream so that I can set it as background for my view or ImageView which occupies the whole device screen. I did the below code to achieve the same but facing some issues

[android-developers] Re: The curious case of the impossible ArrayIndexOutOfBoundsException

2011-01-19 Thread RyanMcNally
Unfortunately, division by zero does not raise an exception at all - you just get infinity as a result. I would be utterly appalled if there was anything remotely fuzzy about how exceptions are raised, but it would certainly be an explanation for this situation Cheers! On Jan 18, 9:51 pm, DanH

[android-developers] change color of Button

2011-01-19 Thread pramod.deore
Hi, everybody I want to change color of button. Now I am done this with button.getBackground().setColorFilter(new LightingColorFilter(0xFF9933, 0x0CC000)); But is it possible to 1)change button color like - At the left top corner have dark color and color become faint as we move to the right

Re: [android-developers] Re: Could I exec some codes after my app is installed

2011-01-19 Thread Marcin Orlowski
On 19 January 2011 09:47, mort m...@sto-helit.de wrote: I wouldn't say that in such a generalized way. Technical knowledge of phone users is much lower than desktops' so there'd' be much higher risk of them being 'pwnd' due to existence that mechanism. If you got no experience on i.e. hacking

[android-developers] Re: The curious case of the impossible ArrayIndexOutOfBoundsException

2011-01-19 Thread RyanMcNally
Does anyone have any suggestions on what diagnostics to add? The code is statically verifiable not to throw AIOOBEs, so I've got no idea what to check for at runtime. Given that there is no threading, the arrays are defined exactly once, and the same indices are successfully written to 8 lines

[android-developers] Re: The curious case of the impossible ArrayIndexOutOfBoundsException

2011-01-19 Thread RyanMcNally
On Jan 19, 8:26 am, mort m...@sto-helit.de wrote: Only a blind shot: Did you check whether another instance of frustrum is used? Like e.g. an accidental float[][] frustrum = ... in the function or maybe even an if block or something similar, so a local instance is used instead of the class

Re: [android-developers] Re: The curious case of the impossible ArrayIndexOutOfBoundsException

2011-01-19 Thread Kostya Vasilyev
I would try moving the initialization of frustum into the constructor, and add log statements for array size(s) in the method. BTW, you said, no threading - but don't you have a separate rendering thread? -- Kostya 19.01.2011 13:35, RyanMcNally пишет: Does anyone have any suggestions on

[android-developers] Re: How to display full screen?

2011-01-19 Thread pk Lam
your activity has to be full screen, to do that add the following into your Activity attribute: android:theme=@android:style/Theme.Black.NoTitleBar.Fullscreen -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Re: Carousel View Animation..?

2011-01-19 Thread Abhilash baddam
Hi, Any help? On Wed, Jan 12, 2011 at 12:01 PM, JAlexoid (Aleksandr Panzin) jalex...@gmail.com wrote: Yes... Apparently you have an issue of understanding what is sarcasm. No one will do it for you, unless you pay them. Google.com is your friend. Someone may have already shared

Re: [android-developers] Re: Carousel View Animation..?

2011-01-19 Thread Abdul Mateen
I have done it, Extend the Gallery class override the getChildStaticTransformation. method. Attached is the file for CarouselGallery. On Wed, Jan 19, 2011 at 3:47 PM, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: Hi, Any help? On Wed, Jan 12, 2011 at 12:01 PM,

[android-developers] Re: Your expert advice

2011-01-19 Thread Amit
Thanks for response. Solution you provided is good for me. I am thinking to provide more customized user experience for point 12 i described. i.e. In point 12 , user is within same process, so can we do something to show required activity on top of where user currently is ? -Amit On Jan 19,

Re: [android-developers] Re: 2D shooting game problem

2011-01-19 Thread Niksa Lovrinic
Thank you guys and especially Robert, But the question would be, how do I make that the bullet is fired on a single SPACE key press from the turret to the end of the screen? That's my problem. Nick On Wed, Jan 19, 2011 at 7:16 AM, Kevin Duffey andjar...@gmail.com wrote: Or read Robert's

[android-developers] apk installation error

2011-01-19 Thread Narendra Bagade
Hi All , I am using android tablet. I am trying to install apk from code. after signing in apk ,I am going to install apk through code. But while doing this I am getting error like java.util.zip.ZipException: EOCD not found; not a Zip archive? EOCD not found; not a Zip archive? note : I am

Re: [android-developers] apk installation error

2011-01-19 Thread Marcin Orlowski
On 19 January 2011 13:03, Narendra Bagade bagadenaren...@gmail.com wrote: Hi All , I am using android tablet. I am trying to install apk from code. after signing in apk ,I am going to install apk through code. But while doing this I am getting error like java.util.zip.ZipException: EOCD not

Re: [android-developers] apk installation error

2011-01-19 Thread Narendra Bagade
Thanks for reply Marcin, * * *Yes I am downloading apk using ftp api but I am using ftpClient.setFileType(FTP.BINARY_FILE_TYPE); api only* *which is Binary transfer only i guess. * On Wed, Jan 19, 2011 at 5:37 PM, Marcin Orlowski webnet.andr...@gmail.comwrote: On 19 January 2011 13:03, Narendra

Re: [android-developers] Re: The curious case of the impossible ArrayIndexOutOfBoundsException

2011-01-19 Thread Frank Weiss
Ok its statically verifiable. I still suggest try catching the exception and logging diagnostics. On Jan 19, 2011 2:35 AM, RyanMcNally therealr...@gmail.com wrote: Does anyone have any suggestions on what diagnostics to add? The code is statically verifiable not to throw AIOOBEs, so I've got no

[android-developers] Confusion over MediaPlayer Framework on GingerBread and Apple's HTTP Live Streaming Support

2011-01-19 Thread Samuh
According to the release notes, StageFright replaces the OpenCore framework in the GingerBread release. It seems that there have been numerous discussion that says: Apple's HTTP Live streaming is supported by default since Android 2.3. Even the Wikipedia page:

[android-developers] Re: Problems with getting signal strength

2011-01-19 Thread Alex
Try replacing m_tm.listen(m_psl, PhoneStateListener.LISTEN_SIGNAL_STRENGTHS); m_tm.listen(m_psl, PhoneStateListener.LISTEN_CELL_LOCATION); with m_tm.listen(m_psl, PhoneStateListener.LISTEN_SIGNAL_STRENGTHS | PhoneStateListener.LISTEN_CELL_LOCATION); On Jan 18,

[android-developers] PDF API

2011-01-19 Thread cool.manish
Hi, In my application, i am receiving pdf data in byte stream from the server. Is there any way to display it in the 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] Calender View

2011-01-19 Thread cool.manish
Hi, Is there any widget/view to display calender in the application? Or is there any example application to create it? -- 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

Re: [android-developers] PDF API

2011-01-19 Thread Kostya Vasilyev
You can save it into a file and fire an ACTION_VIEW for it - to launch whatever PDF viewer the user has installed on the phone (which can be one of several possibilities, or even none at all). -- Kostya 19.01.2011 15:48, cool.manish пишет: Hi, In my application, i am receiving pdf data in

Re: [android-developers] Calender View

2011-01-19 Thread Mark Murphy
On Wed, Jan 19, 2011 at 7:49 AM, cool.manish mannishga...@gmail.com wrote: Is there any widget/view to display calender in the application? Nothing built in, sorry. Or is there any example application to create it? You could look at the AOSP Calendar app, though it is unlikely to be designed

Re: [android-developers] Change App Widget size from code before loading it

2011-01-19 Thread Mark Murphy
On Wed, Jan 19, 2011 at 3:05 AM, Kostya Vasilyev kmans...@gmail.com wrote: You can have multiple layouts of different sizes (btw, using pixel values is probably not a good idea) and specify the one you want when constructing RemoteViews. I don't think so. Your boundaries are set by the app

Re: [android-developers] Change App Widget size from code before loading it

2011-01-19 Thread Kostya Vasilyev
[below] 19.01.2011 15:57, Mark Murphy пишет: On Wed, Jan 19, 2011 at 3:05 AM, Kostya Vasilyevkmans...@gmail.com wrote: You can have multiple layouts of different sizes (btw, using pixel values is probably not a good idea) and specify the one you want when constructing RemoteViews. I don't

Re: [android-developers] apk installation error

2011-01-19 Thread Marcin Orlowski
On 19 January 2011 13:22, Narendra Bagade bagadenaren...@gmail.com wrote: Thanks for reply Marcin, Yes I am downloading apk using ftp api but I am using ftpClient.setFileType(FTP.BINARY_FILE_TYPE); api only which is  Binary transfer only i guess. Still, I'd check APK file anyway as despite

[android-developers] Re: The curious case of the impossible ArrayIndexOutOfBoundsException

2011-01-19 Thread RyanMcNally
The frustum object is constructed in the main UI thread, from then on it's only touched in the rendering callback methods, which are all on the same thread. On Jan 19, 10:46 am, Kostya Vasilyev kmans...@gmail.com wrote: I would try moving the initialization of frustum into the constructor, and

[android-developers] Re: The curious case of the impossible ArrayIndexOutOfBoundsException

2011-01-19 Thread RyanMcNally
I'll give it a shot. I've wrapped the whole method in try { ... }catch( Exception e ) { StringBuilder b = new StringBuilder(); b.append( modl.length = ).append( modl.length ); b.append( \nproj.length = ).append( proj.length ); b.append( \nfrustum.length =

[android-developers] SIP Client Registeration

2011-01-19 Thread vikram jain
Hi All I want to implement a SIP client who does REGISTERATION with an outbound SIP proxy. Kindly please help me with some sample code. Regards B. -- 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: Your expert advice

2011-01-19 Thread TreKing
On Wed, Jan 19, 2011 at 5:49 AM, Amit agrawalamit2...@gmail.com wrote: can we do something to show required activity on top of where user currently is ? What I already described. Clicking the notification would bring your desired activity to the front - if that's what the user wants.

Re: [android-developers] Re: Problems with getting signal strength

2011-01-19 Thread Filip Havlicek
You are completely right, I didn't even thought about the possibility of listen() overwriting previous registrations, but might have while reading the documentation. My bad. Thank you for your help. Filip Havlicek 2011/1/19 Alex maroeb...@gmail.com Try replacing m_tm.listen(m_psl,

Re: [android-developers] Custom preference

2011-01-19 Thread Eric Crump
I can't set the Layout weight. I'm doing it all in Java code and if I set the weight directly I get a null exception. If I create new LayoutParams I get a class cast exception. I've tried LinearLayout.LayoutParams, FrameLayout.LayoutParams, etc and I get the exception. I did try to set the

[android-developers] UAC based on sip

2011-01-19 Thread vikram jain
Hi I need to implement an user agent at the client side based on SIP, who does Registeration and Invite in Java on Android 2.3. Can any body please help with some sample example. Prompt answer will really be appreciated, as it is very urgent. Thanks -- You received this message because you are

[android-developers] Accessing /udisk

2011-01-19 Thread jb
Hi, I have an app that downloads images and stores them on the devices / sdcard. One of my users has a new Android Tablet which has NO sdcard. He says he only has usb input, /udisk. Is it a simple matter of writing to the /udisk mount, instead of the / sdcard? Or are there potential gotcha's I'm

[android-developers] Droid Pro not working properly with soft keyboards

2011-01-19 Thread Brill Pappin
Has anyone else had problems with the Droid Pro not working with soft keyboards? It has a physical keyboard (like a blackberry) and I'm thinking that it may be the problem. http://www.motorola.com/Consumers/US-EN/Consumer-Product-and-Services/Mobile-Phones/Motorola-DROID-PRO-US-EN My users

Re: [android-developers] input event in gingerbread

2011-01-19 Thread Rogério de Souza Moraes
Hi Hubert, you can do this if you modify the Android Framework. If you is building an simple service, it is not possible as Dianne told you. Regards, Rogerio 2011/1/18 Dianne Hackborn hack...@android.com Sorry, you can't. On Mon, Jan 17, 2011 at 4:03 AM, hubert xiahui1...@gmail.com wrote:

Re: [android-developers] Custom preference

2011-01-19 Thread Kostya Vasilyev
Using a LinearLayout.LayoutParams should definitely work, since your ListView *is* inside of a LinearLayout: http://developer.android.com/reference/android/widget/LinearLayout.LayoutParams.html#attr_android:layout_weight As for the null pointer exception, have you tried addView (View child,

[android-developers] Re: Anyone know how to calculate speed WITHOUT GPS?

2011-01-19 Thread Scott
At first, yes. The hardware requirement may be overkill but it depends on the situation. There are Bluetooth enabled hardware and apps for monitoring engine performance in cars. I started flying single-engine airplanes and after some searching I found the Bluetooth enabled pitot- static system,

[android-developers] Re: change color of Button

2011-01-19 Thread Hari Edo
None of the existing ColorFilter classes have any spatial arguments. If you can implement a new ColorFilter extension that did take an X/Y formula or maybe a gravity-like constant, that could work. However, I expect all of the ColorFilter examples use native code for speed purposes. Instead,

[android-developers] glHint implementation and openGL antialiasing

2011-01-19 Thread Guian
hi every one ! can we use gl.glHint(GL11.GL_LINE_SMOOTH_HINT, GL11.GL_NICEST); to get antialiased lines in android's openGL ES ? I tried it but it doesn't seem to work. the doc (http://www.khronos.org/opengles/sdk/1.1/docs/man/ ) says : The interpretation of hints depends on the

[android-developers] Attempt to read preferences file without permission

2011-01-19 Thread Lior
Hi, I have an app called UltimateFavesPRO on the market (http:// ultimatefaves.com/). The app is quite popular, very mature and stable. I have a user with a problem I haven't been able to solve so far. The application uses SharedPreferences to keep the user's setting. For this user, the

Re: [android-developers] Error starting Android emulator whith GPS COM1

2011-01-19 Thread David Turner
Please send bugs to b.android.com However, from the looks of it, your GPS module is simply not sending a NMEA-0183-compliant data stream. On Sun, Jan 16, 2011 at 10:24 PM, Dobrinia_rus shu...@gmail.com wrote: I run the emulator command D:/android/emulator.exe -system system.img -kernel

Re: [android-developers] Attempt to read preferences file without permission

2011-01-19 Thread Mark Murphy
Well, that path is mighty strange -- /dbdata/databases is usually /data/data on Android. That being said, it feels like somehow your application's preference files are owned by a different Linux user than the one that is used for running your process. Do you have databases or other files in your

Re: [android-developers] Attempt to read preferences file without permission

2011-01-19 Thread Kostya Vasilyev
Renaming a file can fail if the destination file already exists. In this case, the .bak file. Can you do a one-off build and check? You could also check the source code for 2.2.1, to see if it gives any more ideas (like how this file is used, when is it created / deleted). -- Kostya

Re: [android-developers] Attempt to read preferences file without permission

2011-01-19 Thread Kostya Vasilyev
19.01.2011 17:50, Mark Murphy пишет: Well, that path is mighty strange -- /dbdata/databases is usually /data/data on Android. According to this: http://forums.whirlpool.net.au/archive/1593648 Galaxy S with 2.2.1 uses paths quoted by Lior - possibly an attempt to fix the infamous issue with

Re: [android-developers] Custom preference

2011-01-19 Thread Eric Crump
The main problem is getting my LinearLayout to expand, not the ListView. However, it didn't occur to me that the wifi entries were settings themselves and not in a ListView. I can do it this way. Thanks for help. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Inflating views in a ListAdapter

2011-01-19 Thread Mattias Svala
On Thursday, January 13, 2011 11:54:26 AM UTC+1, Mattias Svala wrote: I guess that this means that addView is not supported int the parent object sent to getView(). I just want to double check that I'm not supposed to try to attach my views to the parent ViewGroup in this case. If that is

Re: [android-developers] adb devices command produced device serial number contains no consolePort field

2011-01-19 Thread David Turner
On Fri, Jan 14, 2011 at 10:50 PM, v4 v4ende...@gmail.com wrote: According to Dev Guide (http://developer.android.com/guide/developing/ tools/adb.html#devicestatus): - adb devices command was expected to print out connected devices each identified by a unique serial number in format of type-

[android-developers] Re: No uses-feature name=vibration/; Do all android systems support vibration?

2011-01-19 Thread Streets Of Boston
Whenever the word 'vibrator' is mentioned, the discussions tend to sink to new lows ;-) On Jan 18, 9:25 pm, Dianne Hackborn hack...@android.com wrote: You never know, people do crazy things with Android. :) On Tue, Jan 18, 2011 at 6:19 PM, Mark Murphy mmur...@commonsware.comwrote: On

[android-developers] Re: Attempt to read preferences file without permission

2011-01-19 Thread Lior
Thanks for the quick reply Mark. You are right about the path, and yes I do have a database to which the carousels are being saved. The paths of the files on my device are (as expected, obviously...): ./data/data/com.mobilemerit.ultimatefaves/shared_prefs/

Re: [android-developers] Droid Pro not working properly with soft keyboards

2011-01-19 Thread Mark Murphy
For Motorola-specific questions, you might try the MOTODEV forums. On Wed, Jan 19, 2011 at 9:03 AM, Brill Pappin br...@pappin.ca wrote: Has anyone else had problems with the Droid Pro not working with soft keyboards? It has a physical keyboard (like a blackberry) and I'm thinking that it may

Re: [android-developers] Re: Attempt to read preferences file without permission

2011-01-19 Thread Mark Murphy
On Wed, Jan 19, 2011 at 10:07 AM, Lior lior.gon...@gmail.com wrote: You are right about the path, and yes I do have a database to which the carousels are being saved. The paths of the files on my device are (as expected, obviously...): ./data/data/com.mobilemerit.ultimatefaves/shared_prefs/

[android-developers] Isolated database tests

2011-01-19 Thread Mattias Svala
Hello! I would like to be able to write tests for my database code and have them run without touching the database that my actual application uses. It would be OK for the database tests to start with an empty or non existing database each time the tests are run. Is this possible? I would

Re: [android-developers] Droid Pro not working properly with soft keyboards

2011-01-19 Thread Brill Pappin
Yah, i've already been tot he Moto site. But people here will be the ones discovering issues with general Android development. - Brill Pappin On 2011-01-19, at 10:13 AM, Mark Murphy wrote: For Motorola-specific questions, you might try the MOTODEV forums. On Wed, Jan 19, 2011 at 9:03 AM,

[android-developers] Re: glHint implementation and openGL antialiasing

2011-01-19 Thread Guian
ERRATUM : sorry guys, it seems like gl.glHint(GL11.GL_LINE_SMOOTH_HINT, GL11.GL_NICEST); actually do something ... like its a very little bit better... more informations about it are still welcome. On 19 jan, 15:40, Guian guiandou...@gmail.com wrote: hi every one ! can we use

[android-developers] Re: Grab phonebook-contacts via ContactsContract-API

2011-01-19 Thread BoD
If I may intervene. It seems to me that the OP wants to synchronize contacts using the sync adapters APIs, and therefore wants to have his own account type, and raw contacts in this account. But that means that when the user first starts using this app, this account will be empty, and will

[android-developers] Pdf shows with video and other content

2011-01-19 Thread pedr0
Hi at all, I want write an application which shows an PDF with some other content on it, like Video and image. Generically I want shows an pdf with some other View on it. I am concern about PDF, I read some article which explaine how to show an PDF but I want show an PDF with some other stuff.

[android-developers] Re: google analytics jar does not seem to work now

2011-01-19 Thread David Liebman
@Manuel Ciosici sorry, I'm still not getting new tracking from Google Analytics. I do have another site that I use the analytics web page for (not android but a Google Code site instead) and I do get tracking for that site. I don't think I'm doing it wrong, but I may be. It did take a couple of

[android-developers] Re: Isolated database tests

2011-01-19 Thread Hari Edo
The database is just one file in your app's data directory. You need to specify the name of the database when you use it, and that becomes the filename that defines the database file. Just make a backup copy of the original file, or make a brand new database file for your tests. You should be

Re: [android-developers] Re: app to webservice connection architecture?

2011-01-19 Thread Nikola
On Wed, Jan 19, 2011 at 8:00 AM, Jonathan Foley jonefo...@gmail.com wrote: Yes this is the recommended pattern. Investigate the IntentService class, which works quite well as the backend service to communicate with webapps or web based services. There is a talk from Google I/O that might

[android-developers] Re: Android 2.3 NFC Capabilities

2011-01-19 Thread Dominik
NFCDemo is working. The code is in the sdk under the samples folder. You have to add the guava-r07.jar library, then it works. The application then allows to create and throw a Tag-Intent, which is then consumed by the second activity of NFCDemo. There you see how a tag is decoded and how an

[android-developers] Re: Schedule notification instead of permanently check

2011-01-19 Thread Danny S.
Hi, the AlarmManager is exactly what I need. It works fine, but I don't figured out yet how to set more than 1 alarm on a AlarmManager. I am using a BroadcastReceiver to receive that is called if the scheduling time is reached. First I forgot to add the receiver- Tag in the AndroidManifest.xml

[android-developers] Re: glHint implementation and openGL antialiasing

2011-01-19 Thread Phil Endecott
On Jan 19, 2:40 pm, Guian guiandou...@gmail.com wrote: in our openGL implementation There are multiple Android OpenGL implementations, one for each graphics chip vendor, so you may see different results in each case. does someone know a way to get smooth antialiased lines rendered ? Draw

Re: [android-developers] Re: Schedule notification instead of permanently check

2011-01-19 Thread Kostya Vasilyev
Danny, The issue with multiple alarms comes up quite often, this is one of several responses: http://groups.google.com/group/android-developers/browse_thread/thread/57d0d40c542db6cc -- Kostya 19.01.2011 19:09, Danny S. пишет: Hi, the AlarmManager is exactly what I need. It works fine, but

[android-developers] Re: How to tell if a package is burned in versus updateable?

2011-01-19 Thread DulcetTone
On Jan 5, 10:19 pm, Dianne Hackborn hack...@android.com wrote: On Wed, Jan 5, 2011 at 7:07 PM, DulcetTone dulcett...@gmail.com wrote: Is there no means by which you can tell whether a package installed on the phone is burned in with the firmware (and hence immutable) versus one that can

[android-developers] Re: Media player problems with android 2.3 (gingerbread), I can't open a service connection....

2011-01-19 Thread Cleverson
Hi Android Team! Same problem here. I need to identify which music is currently playing. I was using the MediaPlaybackService up to Froyo (I know, I couldn't be doing that..) and now my app doesn't work on Gingerbread. Any suggestions? Thanks! On 7 jan, 16:22, Dennix dennis.pell...@gmail.com

[android-developers] Re: Setting up development environment on windows 7

2011-01-19 Thread Mark Carter
I recently set up Helios 64bit on my Win 7 64bit system, with jdk1.6.0_21 64bit. There were a few hoops to jump through (mainly with Subclipse), but eventually the only problem I have is when un- minimizing (i.e. restoring) the window - takes more than 5 seconds to draw on my i7 processor! On Dec

[android-developers] Re: change color of Button

2011-01-19 Thread Matty
I would recommend you specify shape drawables in xml for the background, using gradient to achieve your gradient. See some details here: http://developer.android.com/guide/topics/resources/drawable-resource.html#Shape Also, you can specify different states, see:

[android-developers] Re: glHint implementation and openGL antialiasing

2011-01-19 Thread Guian
thanks a lot for your answer. in our openGL implementation There are multiple Android OpenGL implementations, one for each graphics chip vendor, so you may see different results in each case. right, I should have known that already ^^ does someone know a way to get smooth antialiased

[android-developers] Re: Help with Null Pointer Exception Error

2011-01-19 Thread Roger Podacter
I thought that because i was referencing the activity that it had to be public, but i am still learning so i can try it as private. I just thought that was the way to call on activity funtions, not necessarily making them public, but in that manner nonetheless. interestingly, if i comment out

[android-developers] Marking points in a MapView

2011-01-19 Thread Dudero
Hello I want to mark( with a colored point) all the the positions which are clicked on the screen. I found something like overriding the onTap(GeoPoint p, MapView)- Method of an Overlay, but I do not understand how to draw then this points into a MapView. Do i have to call the draw()-method for

[android-developers] AlarmManager with alarm icon

2011-01-19 Thread Andy Savage
I'm setting wake up alarms for a custom app using AlarmManager.set(). This correctly registers an alarm and the app is launched at the desired time. It doesn't however give a visual alarm indicator in the notification bar (RIGHT hand side, next to the time). How do I set this? I have seen 3rd

Re: [android-developers] Re: Help with Null Pointer Exception Error

2011-01-19 Thread Kostya Vasilyev
19.01.2011 20:15, Roger Podacter пишет: I thought that because i was referencing the activity that it had to be public, but i am still learning so i can try it as private. I just thought that was the way to call on activity funtions, not necessarily making them public, but in that manner

Re: [android-developers] AlarmManager with alarm icon

2011-01-19 Thread Marcin Orlowski
On 19 January 2011 18:19, Andy Savage nos...@starsphere.net wrote: I'm setting wake up alarms for a custom app using AlarmManager.set(). This correctly registers an alarm and the app is launched at the desired time. It doesn't however give a visual alarm indicator in the notification bar

[android-developers] Re: AlarmManager with alarm icon

2011-01-19 Thread Andy Savage
It's not a notification as far as I can tell. It appears on the RIGHT hand side next to the time (Along with the other in built icons, such as battery, connectivity etc). It doesn't appear in the app specific list of notifications on the LEFT, or the notification drop down list, or have associated

  1   2   3   >