Re: [android-developers] Re: LVL: possible to check license for a different app?

2011-01-05 Thread Brill Pappin
You miss my point. I'm saying don't depend on LVL for this feature. Sent from my Acer Android device Zsolt Vasvari wrote: >You absolutely want to modify the LVL classes. Not modifing your >class is an invitation for automated cracking of your app. > >http://android-developers.blogspot.com

[android-developers] Re: Android NDK r5

2011-01-05 Thread Nightwolf
Just my observation. I was trying to use ogg in my project. Shared libvorbisfile uses static libogg. My final shared library uses libvorbisfile. For some reason it works on Galaxy S (Android 2.2) and doesn't on G1 (Android 1.6). So I had to merge libogg and libvorbisfile into one static library tha

[android-developers] Is Anti-Aliasing enabled by default?

2011-01-05 Thread folecr
I'm trying to find documentation on whether anti-aliasing of text is enabled by default. Currently I have multiple lines of text being rendered on different Views and am seeing varying behaviour depending on the device. I am not explicitly calling setAntiAlias(true) in the below cases when using a

[android-developers] Re: Refunds in the Market

2011-01-05 Thread Zsolt Vasvari
> Still available for me. Select an order, near the top center there's a link > for "Refund some money...". Maybe it is US only. I am in the US also and I don't see it. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

[android-developers] How to access mail ?

2011-01-05 Thread Warren
First, I want to get the new mail notification I used getContentResolver().registerContentObserver(Uri.parse"content:// com.android.email.provider"), true, service) when new mail coming the ContentObserver will catch event onChange() Then, i want to get this new mail content I used final String U

[android-developers] how to create pdf document using images

2011-01-05 Thread sudha
Hello, I have captured few images from camera, now I have to create pdf document using these images. please tell me how can I do this. Thanks Sudha -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andro

[android-developers] Re: LVL: possible to check license for a different app?

2011-01-05 Thread Zsolt Vasvari
You absolutely want to modify the LVL classes. Not modifing your class is an invitation for automated cracking of your app. http://android-developers.blogspot.com/2010/09/securing-android-lvl-applications.html On Jan 6, 2:27 pm, Brill Pappin wrote: > I like that concept... it would certainly

Re: [android-developers] Re: Making a video of your app running

2011-01-05 Thread Abisai
Anyone need an iphone app? I develop them and i csn give you a good deal! Sent from my iPhone On Jan 5, 2011, at 10:05 PM, Hemanth(ヘマント) wrote: > Hi, > > You can try > http://code.google.com/p/androidscreencast/ > > -Hemanth > > On Jan 6, 8:44 am, jtoolsdev wrote: >> If you have a fast enou

[android-developers] Re: LVL: possible to check license for a different app?

2011-01-05 Thread Brill Pappin
I like that concept... it would certainly save me some hassle :) But, you maybe don't need to modify the LVL classes. All you really need is some way to check that they paid for something. Why not set up a content provider that contains the license details (you could actually do multiple levels o

[android-developers] Re: Making a video of your app running

2011-01-05 Thread ヘマント
Hi, You can try http://code.google.com/p/androidscreencast/ -Hemanth On Jan 6, 8:44 am, jtoolsdev wrote: > If you have a fast enough PC then you can use CamStudio program to > capture a demo on an emulator.  Worked great and much better than a > previous demo I did pointing a camera at a phone.

Re: [android-developers] why metaData in providerInfo is always null?

2011-01-05 Thread Dianne Hackborn
You need to request the ProviderInfo from the package manager, setting the flag to tell it to return the meta data. On Wed, Jan 5, 2011 at 12:20 AM, jesse wrote: > According to this page: > http://developer.android.com/guide/topics/manifest/manifest-intro.html, > provider can have meta-data. > h

[android-developers] Re: why metaData in providerInfo is always null?

2011-01-05 Thread jesse
bump! any one has similar experience? On Wed, Jan 5, 2011 at 12:20 AM, jesse wrote: > According to this page: > http://developer.android.com/guide/topics/manifest/manifest-intro.html, > provider can have meta-data. > however, when I check providerInfo.metaData in attachInfo() function > of a de

Re: [android-developers] How to check the status of LockScreen

2011-01-05 Thread Rocky
My problem is, when i'm inside the my apps, and press the power button for lock the screen, and again press the power button for unlock the screen, i'm redirecting over the same Activity where i was initially. But, i want, when i press the power button for unlock the screen, needs to go PasswordA

Re: [android-developers] How to handle the Power Button

2011-01-05 Thread Rocky
Thanx TreKing. On Wed, Jan 5, 2011 at 11:09 PM, TreKing wrote: > On Wed, Jan 5, 2011 at 11:33 AM, Rocky wrote: > >> Thanks to reply, is any other way to handle it. > > > There are broadcasts for the screen coming on and off, I think. Look > through the docs for your options and handle one of t

[android-developers] confused with glOrthof

2011-01-05 Thread kong
I use it gl.glOrthof(0.0f, 1.0f, 0.0f, 1.0f, -1.0f, 1.0f); The vertex are private FloatBuffer triggerBuffer = FloatBuffer.wrap(new float[]{ 0,0,-20, 1,0,-20 , 0.5f,1,-20}); The triangle is out of ortho space . Why the triangl

[android-developers] Use OpenGL error

2011-01-05 Thread kong
I use private FloatBuffer triggerBuffer = FloatBuffer.wrap(new float[] { 0,0,20, 1,0,-20 , 0.5f,1,-20}); have the error. java.lang.IllegalArgumentException: Must use a native order direct Buffer Why? -- You received this m

[android-developers] Re: App name

2011-01-05 Thread Peter Webb
Use Windows to do a text search across all files in the project for the old name. Worked for me. On Jan 6, 2:37 pm, "Hendrik Greving" wrote: > Tried that, I uninstalled & deleted everything before. It must somehow still > hidden in the sources somewhere. > > > > - Original Message -

[android-developers] Re: App name

2011-01-05 Thread Zsolt Vasvari
Eclipse has revolutinary Search feature where you can find all occurences of a string within all your source files. There even options to ignore the case of the text just in case your app's name is lurking in there in upper case. You find this feature hidden at the very top of your screen on the

[android-developers] Re: Disable Antenna

2011-01-05 Thread Bob Kerns
Well, it wouldn't be working as a phone then. But you've got me REALLY curious about what you're doing now. The only possibilities that have come to mind: * Bomb trigger. But then you wouldn't be looking for a software solution, so I don't think we need to alert the authorities. :=) * Signal str

[android-developers] Trying to get my head around multi screen densities.

2011-01-05 Thread Damien Cooke
I have the following: I currently only support the 480x800 screen size (I will be improving this, but that is how it is right now) my question is: Does android:anyDensity="true" mean Android will sort out the densities (despite the fact I have only provide 240dpi assets) or does it mean I

[android-developers] Re: Android intent image/jpeg

2011-01-05 Thread subrat
I want to exclude it because the photo is not getting uploaded to twitter as it requires twitpic to upload so i have a devloped a custom interface to post images to twitter. I don't have any control once intent is launched . On Jan 5, 11:43 pm, TreKing wrote: > On Wed, Jan 5, 2011 at 12:36 PM, s

[android-developers] create spinner with "add item" selection

2011-01-05 Thread ecforu
I have a spinner that is populated by an sqlite db. However when the app is first used and the cursor is empty, I want the spinner to offer an option to add a new item. In fact I would like this option to always be available at the end of the spinner list, but at this point I will settle for just

[android-developers] Android NDK r5

2011-01-05 Thread Dan
I have a build setup that was ok with the r4 NDK, but STLPort and all the other nifties of the r5 ndk tempted me to upgrade (despite the "don't fix what ain't broke" rule.) The process builds a shared library, and it fails on r5 (where it worked on r4) not finding a bunch of the symbols it should

Re: [android-developers] App name

2011-01-05 Thread Hendrik Greving
Tried that, I uninstalled & deleted everything before. It must somehow still hidden in the sources somewhere. - Original Message - From: John Lussmyer To: android-developers@googlegroups.com Sent: Wednesday, January 05, 2011 5:41 PM Subject: Re: [android-developers] App name

Re: [android-developers] Question about Notification contentView

2011-01-05 Thread TreKing
On Wed, Jan 5, 2011 at 7:30 PM, Ernest wrote: > I use a custom contentView to show my notification.But when I > call 'contentView.setViewVisibility(viewId, visibility);' to make one > child-view of the Remove View 'GONE', the notifcaiton body dismiss but > only notification icon show on status b

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

2011-01-05 Thread Dianne Hackborn
On Wed, Jan 5, 2011 at 7:07 PM, DulcetTone 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 be updated? > ApplicationInfo.FLAG_SYSTEM. This doesn't really mean it is immutable;

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

2011-01-05 Thread DulcetTone
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 be updated? On a similar line, why does Google ever put apps on the Market with the same signature by which they are burned into some phones? I

Re: [android-developers] last block incomplete in decryption

2011-01-05 Thread Jake Basile
I'll look into that. This doesn't really need to be super duper encryption, I just need some level on it to satisfy certain requirements. Thanks for the tip though. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, se

[android-developers] How to make a copy of contacts from one account into another account?

2011-01-05 Thread Shawn_Chiu
Hi, all I'm working on a Contacts sync app. Android has multiple accounts, and my app would create a new one, but it is empty. If I make users copy contacts into my app account in Contacts app, it would be an extra work and quite difficult for users to use. So, I want to let users select what a

[android-developers] Re: Creating repeating image on a canvas

2011-01-05 Thread Doug
BitmapDrawable is tileable in both x and y directions and can be configured in xml if you like. http://developer.android.com/guide/topics/resources/drawable-resource.html On Jan 4, 6:09 pm, brian purgert wrote: > Well how do I create an image that repeats its self on a canvas, one that I > will

Re: [android-developers] last block incomplete in decryption

2011-01-05 Thread Nikolay Elenkov
On Thu, Jan 6, 2011 at 1:33 AM, Jake Basile wrote: > I linked the code on an external site because it was longer than a snippet. > > I found the answer to my question, though, through the help of some people > on StackOverflow. > Ah, sorry I missed the link. Besides the Base64 stuff, you really s

Re: [android-developers] App name

2011-01-05 Thread John Lussmyer
Uninstall it before re-installing it? On Wed, Jan 5, 2011 at 5:05 PM, Hendrik Greving wrote: > I have an app and changed its name everywhere, Manifest etc. The icon > names etc. are correct now, also the widget name from the widget manager and > the name which appear when you add to the home scr

[android-developers] Java Applet and JAR in Android

2011-01-05 Thread perumal316
Hi All, Does Android supports JAR? There is a J2ME Runner app and in HTC phones there is a default Java application that can be used to run JAR. But when I tried only some functionalities from a JAR is available when I run the JAR file. Similarily when I go to websites that runs Java Applets, on

[android-developers] All type of Vacancy for Management & graduate jobs

2011-01-05 Thread khushitiwari2...@rediff.com
Are You A Marketing Manager & Searching For a Job http://smartcareer.webs.com/marketingmanager.htm -- 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] Question about Notification contentView

2011-01-05 Thread Ernest
Hi,Folk I use a custom contentView to show my notification.But when I call 'contentView.setViewVisibility(viewId, visibility);' to make one child- view of the Remove View 'GONE', the notifcaiton body dismiss but only notification icon show on status bar. My device is DROIDX.Thank you very much.

[android-developers] App name

2011-01-05 Thread Hendrik Greving
I have an app and changed its name everywhere, Manifest etc. The icon names etc. are correct now, also the widget name from the widget manager and the name which appear when you add to the home screen. BUT, if I go to the application manager (Settings - Applications), the old name is still there

[android-developers] Re: Question on memory management in android

2011-01-05 Thread Doug
Bitmaps are going to take as much memory as they need for the grid of pixels they represent. If you want to store a giant image into a giant bitmap (or even if you just want to create a giant empty bitmap) you will consume that memory. Android doesn't do so well with giant bitmaps that come and g

[android-developers] Referencing Android custom library cause runtime class not found error in Application

2011-01-05 Thread x-a...@gueei.com
Hi all, I am working on a custom Android library. I start off with a java project (in Eclipse) with another UI testing Android project. In my UI testing project, I reference the library project in build path, and everything is good and I can test the library codes in the UI. Later on, I decided I

Re: [android-developers] Testing Live Wallpaper

2011-01-05 Thread John Lussmyer
I can't even use a Live Wallpaper if it DOES come from the market. On Wed, Jan 5, 2011 at 4:12 PM, TreKing wrote: > On Wed, Jan 5, 2011 at 5:16 PM, John Lussmyer wrote: > >> Apparently AT&T Decided that their customers shouldn't have Live >> Wallpaper... > > > They decided their customers should

[android-developers] Re: Who is checking the state of Activity or Object(like buttons)

2011-01-05 Thread Doug
android.view.View in conjunction with the Drawable set as its background. On Jan 3, 6:10 pm, JYP wrote: > Please check this issue out once again. > > Have a good day~! > > On Fri, Dec 31, 2010 at 11:35 AM, JYP wrote: > > To:Android Develpoers > > From:JYP > > Subject:[android-developers] Who is

[android-developers] Re: ClassNotFoundException crash reports from Market

2011-01-05 Thread Emanuel Moecklin
Hi there I was finally able to "reproduce" the problem on one of my phones. It threw the exact same exception I'm normally getting as a market crash report. The result of my investigation: no app problem but a problem during installation. Basically the apk was corrupt and therefore the main activi

[android-developers] LVL: possible to check license for a different app?

2011-01-05 Thread andfan22
Hi all Just wondering if I can use LVL to check that the user is licensed to use a DIFFERENT app from the current one -- ie. one with a different package name. Why would I want to do this? I'm developing an app which I'm considering publishing using a free + pro license model. The main app woul

Re: [android-developers] Testing Live Wallpaper

2011-01-05 Thread TreKing
On Wed, Jan 5, 2011 at 5:16 PM, John Lussmyer wrote: > Apparently AT&T Decided that their customers shouldn't have Live > Wallpaper... They decided their customers shouldn't have apps of any kind that don't come from the Market. --

Re: [android-developers] Re: Disable Antenna

2011-01-05 Thread Julius Spencer
Thanks for the replies everyone - I would like to be able to have the phone only receive signals from a specific frequency which I can choose. I'm expecting it might require "Beyond Java" ( <= commonsware reference) programming to make it happen. Appreciate the replies and any laughs at me or

[android-developers] Re: Making a video of your app running

2011-01-05 Thread jtoolsdev
If you have a fast enough PC then you can use CamStudio program to capture a demo on an emulator. Worked great and much better than a previous demo I did pointing a camera at a phone. Then using my editing program I zoomed in and out so the user could understand that the MENU button is for menus

[android-developers] Re: EditText in Header of ListView loses focus after first character is entered

2011-01-05 Thread Justin Glaeser
Here is a little more information about the focus behavior. When more then one character is typed into the EditText the EditText loses focus and the dividers of the ListView disappear. If I scroll the list the dividers appear again. Here is the stack trace showing the ListView requesting focus (

[android-developers] Testing Live Wallpaper

2011-01-05 Thread John Lussmyer
I've been testing a live Wall Paper on my Emulator set for 2.1. Since my phone runs 2.1 I decided to test it there. The system (adb) is perfectly happy to load it onto my phone - but my phone has no way to select it! Apparently AT&T Decided that their customers shouldn't have Live Wallpaper... --

[android-developers] Making a video of your app running

2011-01-05 Thread John Lussmyer
Is there some supported way of making a Video of your app running? Seems kind of silly (and low quality) to have to point your camera at the phone... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andro

Re: [android-developers] Re: I'm wanting to start doing a lot with the Android platform, help

2011-01-05 Thread Tyler Carroll
thank you, and can I ask would dropping my learning of python be a good / bad idea like should I focus on just Java or should I try learning them simultaneously? On Wed, Jan 5, 2011 at 1:27 AM, Zsolt Vasvari wrote: > - Learn Java > - Start reading the Android SDK docs > - Install the SDK > - Run

[android-developers] Middle School Android Programming Class

2011-01-05 Thread joshbeck
Hello all, My name is Josh Beck and I teach course to advanced eighth grade students. There are 26 students in the class and right now we only have 4 development devices to work with. (Everyone else uses the emulator right now, which can be limiting.) I've qualified as a finalist in a competition

[android-developers] Re: ProgressBar with moving image. Drawable resource using .

2011-01-05 Thread Henrik Lindqvist
Think I've got it, even without the 9-patch hack. Using to translate/move a separate with gravity to prevent scaling the needle itself. Sure at low "progress" it will be clipped, as the 9-patch would be "squashed". But that's easy to compensated for. On Jan 5, 3:57 am, Henrik Lindqvist wrote:

[android-developers] Android Gallery with Remote Image and Cachings

2011-01-05 Thread Ankur Avlani
Hi All, I am looking forward to create a Gallery which loads remote images. I am able to create the gallery, but it always downloads the images (next or previous). Can some one guide how to cache these images, so that the images are not downloaded each and every time. Thanks, Ankur -- You rec

Re: [android-developers] Building vendor/sample project using an unmodified Eclair (v2.1)

2011-01-05 Thread Mark Murphy
You will have better luck asking firmware questions on a list that pertains to the firmware: http://source.android.com/community/index.html On Wed, Jan 5, 2011 at 5:39 PM, Michael wrote: > Android: v2.1 > > I'm attempting to build the vendor/sample project from Eclair on > Ubuntu 9.10 and I simp

[android-developers] Building vendor/sample project using an unmodified Eclair (v2.1)

2011-01-05 Thread Michael
Android: v2.1 I'm attempting to build the vendor/sample project from Eclair on Ubuntu 9.10 and I simply do the following: >From the android project root: $> source build/env.sh $> choosecombo Device debug generic eng $> cd vendor/sample $> mm And I get the following error: ==

Re: [android-developers] Broadcast Receiver registering Location Listener problem

2011-01-05 Thread Mark Murphy
On Wed, Jan 5, 2011 at 5:25 PM, Raj wrote: >     Once again, thanks for an informative response. I will try the > AlarmManager route, while I eagerly await your service. Keep tabs on my blog. > On the manifest > question, everytime I load my application on the emulator, I get a "No > Launcher ac

Re: [android-developers] Broadcast Receiver registering Location Listener problem

2011-01-05 Thread Raj
Mark, Once again, thanks for an informative response. I will try the AlarmManager route, while I eagerly await your service. On the manifest question, everytime I load my application on the emulator, I get a "No Launcher activity found!" on the console. Is this normal? Thanks again. Best

Re: [android-developers] Broadcast Receiver registering Location Listener problem

2011-01-05 Thread Mark Murphy
On Wed, Jan 5, 2011 at 5:13 PM, Raj wrote: > I am trying to write a simple receiver that will receive the > BOOT_COMPLETED broadcast, and in turn register a location change > listener. I know the receiver is transient, and has a short lifespan. > Once the receiver dies, will my listener still cont

Re: [android-developers] Amazon to Policy Android Market Place

2011-01-05 Thread TreKing
On Wed, Jan 5, 2011 at 4:05 PM, Leon Moreyn-Android Development < lmor...@earthcam.com> wrote: > But just as good as that is, if Amazon is backed up with testing > your application and like apple takes two weeks to reject your > application based on some sort of merit what is to stop me from just

[android-developers] Broadcast Receiver registering Location Listener problem

2011-01-05 Thread Raj
Android Experts, I am trying to write a simple receiver that will receive the BOOT_COMPLETED broadcast, and in turn register a location change listener. I know the receiver is transient, and has a short lifespan. Once the receiver dies, will my listener still continue to be registered, or do I hav

[android-developers] Amazon to Policy Android Market Place

2011-01-05 Thread Leon Moreyn-Android Development
The almighty Amazon.com feels that is should police the Android Market for proper applications. On one hand I think this could be a good idea but on the other hand this feels took much like an Apple iOS development clone. With Amazon developing its own market place and limiting which apps can appe

Re: [android-developers] Application monitoring

2011-01-05 Thread Mark Murphy
On Wed, Jan 5, 2011 at 5:00 PM, zxcv wrote: > Is there any way without rooting the phone to monitor when any > application accesses devices (such as the GPS) or data (such as > contacts) on the phone?  I know apps are sandboxed from one another, > but I was hoping that much like the system monitor

Re: [android-developers] Getting Eclipse to see a third party .jar file.

2011-01-05 Thread TreKing
On Wed, Jan 5, 2011 at 3:57 PM, Tobiah wrote: > Do I need to tell Eclipse to do that? > You do. > I couldn't figure out how. > Like this: http://lmgtfy.com/?q=add+jar+to+eclipse&l=1 - TreKing

Re: [android-developers] Launch an app on the phone remotely with adb?

2011-01-05 Thread Mark Murphy
adb shell am start will be what you want. Use adb shell am help to get instructions. On Wed, Jan 5, 2011 at 4:59 PM, Tobiah wrote: > Or some other tool?  I'd like my build script to launch the app > at the end, but I can't see how to do that with adb.  Right now > I have to find the app on the ph

[android-developers] Application monitoring

2011-01-05 Thread zxcv
Is there any way without rooting the phone to monitor when any application accesses devices (such as the GPS) or data (such as contacts) on the phone? I know apps are sandboxed from one another, but I was hoping that much like the system monitoring processes there was a way to monitor what applica

[android-developers] Launch an app on the phone remotely with adb?

2011-01-05 Thread Tobiah
Or some other tool? I'd like my build script to launch the app at the end, but I can't see how to do that with adb. Right now I have to find the app on the phone and start it. Thanks, Tobiah -- You received this message because you are subscribed to the Google Groups "Android Developers" grou

[android-developers] Getting Eclipse to see a third party .jar file.

2011-01-05 Thread Tobiah
I'm using the Big in Japan SDK to add barcode scanning to my app. All of their stuff comes in a .jar file that I had to put in the lib directory. I can use ant and adb to compile and install my app, and it runs fine. I tried to put it into eclipse, but it can't see any of the stuff that is defin

[android-developers] Re: Disable Antenna

2011-01-05 Thread DanH
Who was laughing?? We were dead serious! On Jan 5, 12:08 pm, Kumar Bibek wrote: > I have been dying to ask this question. > > What's an OP? > > But didn't ask, becoz I thought I will be laughed at. But since you guys are > already laughing, can someone tell me what's an OP? :) > > Kumar Bibekhtt

[android-developers] CLOSE_WAIT status never clears

2011-01-05 Thread mnuetzm...@handmark.com
I am using the HttpURLConnection class to make my http requests to get data and I am noticing that some OS tools show my app as remaining in a CLOSE_WAIT status no matter how long I wait. Here is a sample of the code I use to make the request, URL url = new URL(strURL); UR

[android-developers] Re: How to check the state of an activity and buttons(for selector : res/Drawable)

2011-01-05 Thread Doug
On Dec 30 2010, 1:11 am, 종영 박 wrote: > So I tried to find how to check the state(state_enable or > state_focusedect) and who is checking. > > That are two I want to know A view's state is controlled by the View superclass. Doug -- You received this message because you are subscribe

Re: [android-developers] Hello. I try to contribute when I can so please help me on an a Bitmap issue if possible.

2011-01-05 Thread chris harper
Kostya I did some research and found a solution to my issue based on your suggestion which might help someone else out as well. I found this link which has code to read/write out a .BMP file like you suggested (WITHOUT using the javax.imageio because Android doesn't support it). http://research.

[android-developers] Remove app widget from picker list

2011-01-05 Thread Pent
I would like to dynamically add and remove the possibility to select one of my app widgets from the launcher picker list. I thought it would be simple, disable the relevant receiver (provider) and activity (configure) components. That works at some point (havn't figured out what triggers it, mayb

RE: [android-developers] Preference data types

2011-01-05 Thread Tommy
Why not just cast it to an integer after you get the value. Integer.valueOf(YourString); From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of John Lussmyer Sent: Wednesday, January 05, 2011 2:26 PM To: android-developers@googlegroups.com Subje

Re: [android-developers] Preference data types

2011-01-05 Thread Mark Murphy
On Wed, Jan 5, 2011 at 2:25 PM, John Lussmyer wrote: > Is there any way to have a Preference be an Integer? > I'm using an EditTextPreference, with android:inputType="number", and as far > as I can tell, it's still saving the preference value as a String. A Preference can be an integer. An EditTe

Re: [android-developers] Opaque Binary Blob (OBB)?

2011-01-05 Thread Mark Murphy
On Wed, Jan 5, 2011 at 2:23 PM, Abdull wrote: > In Android context, what are "opaque binary blobs" (OBBs)? They are not yet documented. "Although platform support for OBB is available in Android 2.3, development tools for creating and managing OBB files will not be availble until early 2011." I

[android-developers] Preference data types

2011-01-05 Thread John Lussmyer
Is there any way to have a Preference be an Integer? I'm using an EditTextPreference, with android:inputType="number", and as far as I can tell, it's still saving the preference value as a String. -- You received this message because you are subscribed to the Google Groups "Android Developers" gr

[android-developers] Opaque Binary Blob (OBB)?

2011-01-05 Thread Abdull
In Android context, what are "opaque binary blobs" (OBBs)? This concept was introduced to Android 2.3, for instance here http://developer.android.com/reference/android/os/storage/StorageManager.html It seems they are some sort of a-whole-filesystem-in-a-single-file. Though this raises the questio

Re: [android-developers] Re: Webview horizontal scrolling

2011-01-05 Thread Mark Murphy
On Wed, Jan 5, 2011 at 2:13 PM, NathanBarger wrote: >                webView.setHorizontalScrollBarEnabled(true); >                webView.setVerticalScrollBarEnabled(true); Those lines are not needed. >                webView.getSettings().setSupportZoom(true); I am not aware that WebView supp

Re: [android-developers] Re: Webview horizontal scrolling

2011-01-05 Thread TreKing
On Wed, Jan 5, 2011 at 1:13 PM, NathanBarger wrote: > Neither zooming nor scrolling works. Remove everything but adding the view and loading a URL. Also try a different URL. > Does Google have a support line? That's a joke, right? ---

Re: [android-developers] Re: NFC hardware to test Android 2.3 apps

2011-01-05 Thread Brill Pappin
No, it will be a read only tag. most tags are or they wouldn't be any use really. - Brill On 2011-01-05, at 2:15 PM, henrik wrote: > On 17 Des 2010, 04:17, Eric wrote: >> I am looking at using the NFC APIs in Android. Are there any tags or other >> hardware that you would recommend for testi

[android-developers] Re: NFC hardware to test Android 2.3 apps

2011-01-05 Thread henrik
On 17 Des 2010, 04:17, Eric wrote: > I am looking at using the NFC APIs in Android.  Are there any tags or other > hardware that you would recommend for testing?  I'd like some tags that are > programmable.   I just tried an Oyster card (for the London Underground), and it was detected by the dem

[android-developers] Re: Webview horizontal scrolling

2011-01-05 Thread NathanBarger
Here is the code: (inside of an activity ) WebView webView = new WebView(this); webView.setHorizontalScrollBarEnabled(true); webView.setVerticalScrollBarEnabled(true); webView.getSettings().setSupportZoom(true); this.a

Re: [android-developers] Re: Webview horizontal scrolling

2011-01-05 Thread Mark Murphy
On Wed, Jan 5, 2011 at 2:01 PM, NathanBarger wrote: > Ok I took it out and it still does not scroll horizontally.  Can > someone who has actually gotten this to work please respond? https://github.com/commonsguy/cw-android/tree/master/WebKit/Browser1 This project scrolls horizontally just fine.

Re: [android-developers] Re: Webview horizontal scrolling

2011-01-05 Thread TreKing
On Wed, Jan 5, 2011 at 1:01 PM, NathanBarger wrote: > Ok I took it out and it still does not scroll horizontally. And you're viewing content that should make it scroll horizontally? And you're zoomed in far enough that it should scroll horizontally? Can someone who has actually gotten this to

Re: [android-developers] galaxy usb driver

2011-01-05 Thread Kostya Vasilyev
05.01.2011 21:52, Jags пишет: i lost my galaxy GT-I5700 cd. where can i download necessary usb drivers for windows xp ? jags If the Galaxy S is any indication, the driver is part of Samsung Kies (their software suite). -- Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wor

[android-developers] Re: Webview horizontal scrolling

2011-01-05 Thread NathanBarger
Ok I took it out and it still does not scroll horizontally. Can someone who has actually gotten this to work please respond? On Jan 5, 10:01 am, TreKing wrote: > On Wed, Jan 5, 2011 at 11:52 AM, NathanBarger wrote: > > I have a WebView inside of a linearlayout. > > Try taking it out of the LIne

[android-developers] galaxy usb driver

2011-01-05 Thread Jags
i lost my galaxy GT-I5700 cd. where can i download necessary usb drivers for windows xp ? jags -- 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 thi

Re: [android-developers] Android intent image/jpeg

2011-01-05 Thread TreKing
On Wed, Jan 5, 2011 at 12:36 PM, subrat wrote: > But excluding one application is the problem. First, why do you need to exclude some apps? If the user want to post via Twitter and you exclude it, your app appears broken.

[android-developers] Android intent image/jpeg

2011-01-05 Thread subrat
Hi All, I want to share image from my application i am using following code to do that: Intent picMessageIntent = new Intent(android.content.Intent.ACTION_SEND); picMessageIntent.setType("image/jpeg"); File downloadedPic = new File( Environment.getExternalStoragePublicDirectory( Environ

Re: [android-developers] Re: Disable Antenna

2011-01-05 Thread Kostya Vasilyev
05.01.2011 21:08, Kumar Bibek пишет: What's an OP? "Original Poster" - the person who started the email / forum thread. -- Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com -- You received this message because you are subscribed to the Google Groups "Android Dev

[android-developers] Re: Disable Antenna

2011-01-05 Thread Byron Penner
I'm putting my vote on chewing it off! On Jan 5, 12:06 am, Julius Spencer wrote: > Hi, > > I was wondering if it's possible to disable one or more antennae manually for > example, if I had a GSM Nexus One, disable all the antennae except the one > which supplies 850MHz communications  (900 1800

[android-developers] Re: 3d Button

2011-01-05 Thread Streets Of Boston
Set the button's background to a drawable that is defined as an xml or to a drawable that is a 9-patch image (with some 3d-like effects) Here is a good list of what is possible when using xml: http://idunnolol.com/android/drawables.html Use borders and gradients to mimic 3d-like effects. On Jan

Re: [android-developers] Re: Disable Antenna

2011-01-05 Thread Kumar Bibek
I have been dying to ask this question. What's an OP? But didn't ask, becoz I thought I will be laughed at. But since you guys are already laughing, can someone tell me what's an OP? :) Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Jan 5, 2011 at 11:33 PM, Kostya Vas

Re: [android-developers] Re: Disable Antenna

2011-01-05 Thread Kostya Vasilyev
A hammer works too :) ( the OP didn't ask about enabling the antenna back ) 05.01.2011 20:58, DanH пишет: I thought to disable the antenna all you had to do was put your fingers on the metal ring surrounding the phone. (Or does that only work for iPhone? ;) ) On Jan 4, 11:06 pm, Julius Spenc

Re: [android-developers] Webview horizontal scrolling

2011-01-05 Thread TreKing
On Wed, Jan 5, 2011 at 11:52 AM, NathanBarger wrote: > I have a WebView inside of a linearlayout. Try taking it out of the LInearLayout. - TreKing

[android-developers] Re: Disable Antenna

2011-01-05 Thread DanH
I thought to disable the antenna all you had to do was put your fingers on the metal ring surrounding the phone. (Or does that only work for iPhone? ;) ) On Jan 4, 11:06 pm, Julius Spencer wrote: > Hi, > > I was wondering if it's possible to disable one or more antennae manually for > example,

Re: [android-developers] Re: Calling a non-static method in an Activity class from a non-Activity class ?

2011-01-05 Thread Kostya Vasilyev
Yes, that, too. Thank you. 05.01.2011 20:48, Bob Kerns пишет: You're forgetting that it facilitates unit testing. On Jan 5, 1:26 am, Kostya Vasilyev wrote: 05.01.2011 2:01, Emre A. Yavuz О©╫О©╫О©╫О©╫О©╫: Thanks Kostya, I've actually been aware of using a callback interface reference to solv

[android-developers] Re: last block incomplete in decryption

2011-01-05 Thread DanH
Yep, the encrypted data coming out of the encryption algorithm is not "character" data, but essentially a string of random bits. If you put it into a String or char[] then someone somewhere's going to attempt to do some mapping that will muck things up quite properly. Keep the encrypted data in b

Re: [android-developers] Downloading Application to phone

2011-01-05 Thread Mark Murphy
adb -d install path/to/your.apk On Wed, Jan 5, 2011 at 12:51 PM, Kevin Brooks wrote: > How can I download one of my apps from my computer directly to my phone? > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group,

[android-developers] Webview horizontal scrolling

2011-01-05 Thread NathanBarger
I have a WebView inside of a linearlayout. Horizontal scrolling does NOT work and I cannot find any setting that will set it. I even set setHorizontalScrollBarEnabled(true). Any help? Thanks! Nate -- You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] Downloading Application to phone

2011-01-05 Thread Kevin Brooks
How can I download one of my apps from my computer directly to my phone? -- 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

  1   2   3   >