Re: [android-developers] Query Other App Permissions

2010-11-23 Thread Dianne Hackborn
http://developer.android.com/reference/android/content/pm/PackageManager.html#getPackageInfo(java.lang.String, int) With http://developer.android.com/reference/android/content/

[android-developers] Re: Memory Leak with a ListView revisited

2010-11-23 Thread viktor
Why did you set setAdapter(this)? You implement ListAdapter for your ListView where getView(int position, View convertView, ViewGroup parent) it is already implemented. could you try without setAdapter. Example below, you make it in every place, it is not very nice. LinearLayout ll = CreateLayou

Re: [android-developers] Intents doesn't resume my activity properly

2010-11-23 Thread Kumar Bibek
The textview from which you want to read the text is in the same activity where onResume/onActivityResult is there? BTW, there is no such thing as onResumeActivity. You should be overriding the onActivityResult method. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Nov

Re: [android-developers] Query Other App Permissions

2010-11-23 Thread Brad Gies
Permissions are in PackageManager... not sure exactly what you mean by usage... Sincerely, Brad Gies --- Bistro Bot - Bistro Blurb http://bgies.comhttp://nocrappyapps.com http://bistroblurb.com http://forcethet

[android-developers] Intents doesn't resume my activity properly

2010-11-23 Thread umakantpatil
I'm integrating twitter OAuth in my app. He can share article on twitter by posting it. So when i click on option share button. I show user a TextView where he can add extra content. I got how to do OAuth from this tutorial http://vasudevkamath.blogspot.com/2010/09/android-oauth-authentication-w

Re: [android-developers] Re: how to get a small message displayed on the list when a list item is focussed

2010-11-23 Thread Kumar Bibek
Well, Toast is short lived, and the user might not be able to read the mail body. I guess, dialog would be a better example, but showing that dialog, on focus of a list is kind of not very usable. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Nov 24, 2010 at 12:59 PM,

[android-developers] Re: how to get a small message displayed on the list when a list item is focussed

2010-11-23 Thread kampy
just like a toast message we need to display a view which contains some taxt on the emulator when a list item is focussed On Nov 24, 12:22 pm, Kumar Bibek wrote: > What kind of a "small screen" and where? > > Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com > > On Wed, Nov 24, 2010 a

[android-developers] Query Other App Permissions

2010-11-23 Thread m88m
Hey Guys! How one Android application can query other applications (permissions and usage)? The 'mylookout' app doing that (without rooting the device!). [check https://www.mylookout.com/premium/ -> Under 'Privacy Dashboard': "View a consolidated list of apps that can access your private informa

Re: [android-developers] Re: Styling Dialog title and background - is this an impossible quest?

2010-11-23 Thread Kumar Bibek
I do it through code. requestWindowFeature(Window.FEATURE_NO_TITLE); setContentView(R.layout.confirm_dialog); Here, the layout file contains the title. And then you can override the Dialog's setTitle and setMessage methods, to update your own text views in the layout. Kumar Bibek http://techd

Re: [android-developers] Context object

2010-11-23 Thread Kumar Bibek
Yes, Contexts are specific to components. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Nov 24, 2010 at 12:52 PM, cool.manish wrote: > Hi All, > > I want to know about the Context class object. In lots of APIs we send > Context object. Is context object is associated

[android-developers] Re: Styling Dialog title and background - is this an impossible quest?

2010-11-23 Thread William Ferguson
That sounds great. How? I would normally turn the title off on an Actiivty by setting true in the style for the Activity. How do I do that for a Dialog? On Nov 24, 3:28 pm, Kumar Bibek wrote: > You can set the dialog not to have a title(just like turning the Activity's > title off), and then

Re: [android-developers] how to get a small message displayed on the list when a list item is focussed

2010-11-23 Thread Kumar Bibek
What kind of a "small screen" and where? Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Nov 24, 2010 at 12:41 PM, kampy wrote: > hi > > we are wroking on the displaying of mails from an email . we got the > list of emails stored . we need to show a small text screen w

[android-developers] Context object

2010-11-23 Thread cool.manish
Hi All, I want to know about the Context class object. In lots of APIs we send Context object. Is context object is associated with the application and this object remains same throughout the application? Or it is associated with the components like activity and every component initiate its own co

[android-developers] Can i play with Google Maps in Android using HTML5 and jQuery

2010-11-23 Thread Maxood
I have found this useful tutorial for iPhone for Geo-Location using HTML5 and jQuery: www.mobile.tutsplus.com/tutorials/html5/html5-geolocation/ Wonder if i can do the same thing in Android? Any guidelines, tutorials and useful resources would be appreciated. -- You received this message becaus

[android-developers] how to get a small message displayed on the list when a list item is focussed

2010-11-23 Thread kampy
hi we are wroking on the displaying of mails from an email . we got the list of emails stored . we need to show a small text screen which consists of the some content of the body when the email in the list gets focus . -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Android Testing

2010-11-23 Thread kampy
s itried with the same as it is giving permission denied . is there any restrictions like the user of the system need full admin permissions to open the adb shell . On Nov 24, 2:33 am, "A. Elk" wrote: > I interpret this to mean that you tried to test with the emulator. > Which commands give yo

[android-developers] Json paser showing array length as 0.. pls help

2010-11-23 Thread Atik
hi guys this the class where i m parsing the values package com.example; import java.io.IOException; import java.util.ArrayList; import org.apache.http.HttpResponse; import org.apache.http.ParseException; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.HttpCl

[android-developers] GPSProvdier is enabled or not

2010-11-23 Thread cool.manish
Hi All, I am trying to fetch current location in my application. I want to try it firstly with GPS if it is not working then with Network provider. My query is if manager.isProviderEnabled( LocationManager.GPS_PROVIDER ) gives me false then will "requestLocationUpdates" not work. or even if GPS i

[android-developers] json parser giving no output

2010-11-23 Thread Atik
hello guys.. this is JSONhelper class where i m parsing theurl and finally in some another class i have written the follwing lines to get the output JSONhelper jsoNhelper=new JSONhelper(getApplicationContext()); jsoNhelper.getJson(); ArrayList a=jsoNhelper.r

[android-developers] Re: How to change color of ListView child items on focus

2010-11-23 Thread sat
@Viktor -- Yeah , Whatever I told is for OnClick , since he said on selection , Click event can be one mode of selection. On Nov 23, 6:55 pm, viktor wrote: > sat, it is not correct, because Francesco wants use a focus. > > On 23 Лис, 13:47, sat wrote: > > > I dint go through ur xml , But I will

[android-developers] Re: Display Calendar Instance

2010-11-23 Thread paresh mayani
Thanx for the support, but can you let me know where i found the Android source for the Calendar instance pls pls let me know On Nov 23, 9:38 pm, TreKing wrote: > On Mon, Nov 22, 2010 at 5:47 AM, paresh mayani wrote: > > > what i should do to display the same dialog box or Calendar instance

Re: [android-developers] Styling Dialog title and background - is this an impossible quest?

2010-11-23 Thread Kumar Bibek
You can set the dialog not to have a title(just like turning the Activity's title off), and then make your layout have a title bar of your choice. I normally extend the Dialog class and create my own. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Nov 24, 2010 at 7:38 A

Re: [android-developers] alter table

2010-11-23 Thread Kumar Bibek
You can add new columns to a table. But there are other limitations. Go through the docs and you will find some of them. But adding a column is possible. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Nov 24, 2010 at 9:12 AM, pramod.deore wrote: > can I insert a new co

Re: [android-developers] Notification display

2010-11-23 Thread TreKing
On Tue, Nov 23, 2010 at 3:04 AM, cophy wrote: > The notification appears properly when I'm running the example in the > emulator, but when executed in a real system it displays the contentTitle > but not the contentText and timestamp. > Seems fine besides the useless getApplicationContext() call

Re: [android-developers] best layout for app, dynamic set of 2 rows which consist of icons and text

2010-11-23 Thread TreKing
On Sun, Nov 21, 2010 at 3:41 PM, Rustam Kovhaev wrote: > the question is: am I going in the right direction? > I don't think you really explained what direction you're going in or what your ultimate goal is. > is there any other(simpler) way to accomplish what I need? > I don't think you real

[android-developers] alter table

2010-11-23 Thread pramod.deore
can I insert a new column into existing table. Because I had read somewhere that SQLite is limited on the ALTER TABLE command. Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@go

[android-developers] How to get MAC address?

2010-11-23 Thread Alex Xin
Hi, guys I'd like to know how to get WIFI MAC address on Android system? Does anyone know how to do this? Thanks in advance! Alex -- 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@goog

[android-developers] Styling Dialog title and background - is this an impossible quest?

2010-11-23 Thread William Ferguson
Its clearly easy to do, because some many apps do it, but I can't see how. I want to display a very simple dialog, with a Title and Content (eother TextView or perhaps a WebView). But I want to style the dialog so that the background of the Title, Content and the dialog window itself are something

[android-developers] Re: am profile command error "Process not debuggable"

2010-11-23 Thread fadden
On Nov 18, 5:52 pm, sudeep bhowmick wrote: > java.lang.SecurityException: Process not debuggable: > ProcessRecord{xx/xx} > > This app has multiple activities and threads. How do I deal with this? > I do not have the source code for this app and hence I do not have the > manifest. You can only

[android-developers] Re: Unexpected extra byte occurring in binary logcat entry stream

2010-11-23 Thread fadden
On Nov 19, 8:07 am, Hal wrote: > The byte (in this instance) is 0x1D at offset 0x14 > : | 2E 00 0D 0A  C0 7C 00 00  00 9A 00 00  00 EC BA E5  4C > | À|...ìºåL [...] > The extra byte shifts the payload by 1, so the payload length becomes > incorrect. I can't see where this byte is c

[android-developers] Re: Lazy load images into listview

2010-11-23 Thread Open
Thanks guys. @Aaron, I'll take a look at Droid Fu @Doug, I see a lot of applications that appear to be using multiple threads to download images. E.g., the Android market itself. It's kinda amazing to me that there isn't a standard way of doing this considering the number of applications I see

Re: [android-developers] Android apps crashing on different phone models

2010-11-23 Thread TreKing
On Sat, Nov 20, 2010 at 9:49 PM, Gabriel Brandao wrote: > However, this is causing the application to force close on startup for many > of my users using Samsung and HTC phones, but works just as intended on > droid x, incredible, and 2. > No one's sent you a crash report in the Developer Console

Re: [android-developers] Re: Automatic sqllite dbhelper class builder

2010-11-23 Thread Federico Paolinelli
Cool, I didn't know that so I had to reinvent the wheel. I gotta give a look at your link (but not now, it's quite late here in italy :-) ) However, mine works decently, and I had some fun in writing it. Thanks, Federico On Wed, Nov 24, 2010 at 12:11 AM, Hal wrote: > Federico, > The same or sim

Re: [android-developers] Monthly Calendar

2010-11-23 Thread TreKing
On Sat, Nov 20, 2010 at 9:12 PM, alchemix wrote: > Is there any way i can set this using the xml? > Set what? - TreKing - Chicago transit tracking

Re: [android-developers] How to Dismiss a PopupWindow when Switching Among TabActivities?

2010-11-23 Thread TreKing
On Sun, Nov 21, 2010 at 2:24 PM, Derek Brameyer wrote: > The onPause() method in my TabActivity causes the app to force close... > You might want to elaborate on that. That doesn't sound like standard behavior ... --

Re: [android-developers] button on screen that controls page sliding

2010-11-23 Thread TreKing
On Sat, Nov 20, 2010 at 4:51 PM, timecatcher3 wrote: > I wanted to make a button on one of > my activities that I can drag to slide my current activity page to the > next activity page. The button will be in the center of the screen and > I want to be able to press and drag it horizontally to one

[android-developers] Re: Automatic sqllite dbhelper class builder

2010-11-23 Thread Hal
Federico, The same or similar idea is also known as the Data Access Object (DAO) design pattern. The Jt Design Pattern Framework (7.2) will support DAOs on Android: Jt Design Pattern Framework http://jt.dev.java.net/ http://www.ibm.com/developerworks/webservices/library/ws-designpattern/index.htm

Re: [android-developers] View not attached to window manager

2010-11-23 Thread TreKing
On Sat, Nov 20, 2010 at 7:05 AM, PaulJ wrote: > Problem occurs when a dialog progress appears and I change my phone > orientation, it freezes and crashes, on line with dismiss(). > For starters, if you use showDialog(), use dismissDialog() instead of calling dismiss on the dialog directly.

[android-developers] Re: SSL from Android

2010-11-23 Thread Anm
Above code works from desktop Java. The last error ("Failure in SSL library, usually a protocol error: 140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol") was an data service provider redirection without any error. It not an Android issue, but I'd love to know how to detect the error

Re: [android-developers] setOnTouchListener

2010-11-23 Thread TreKing
On Fri, Nov 19, 2010 at 10:48 PM, dmodroid wrote: > I feel like there should be a myItemizedOverly.setOnTouchListener (blah, > myCallback); in myMapActivity. > What's stopping you from adding this to your custom overlay?

Re: [android-developers] Re: Creating 2D games with Android and Blender

2010-11-23 Thread Miguel Morales
Thanks for the response, you are actually getting a better framerate than I am and I'm using OpenGL. However, my approach is pretty simple. I load a bunch of png images and just draw them (some sprites may be drawn twice) there is a lot of room for improvement. However, my game is 2D with simple

Re: [android-developers] Wanted: Info & samples related to Android Developer Console changes

2010-11-23 Thread TreKing
On Fri, Nov 19, 2010 at 10:01 AM, Jim wrote: > What is a “feature graphic”? Could anyone provide an example? Is it > “required” (the console doesn't seem to require it). Also, are "alpha” > channels allowed in the high resolution icon? Many icons have > transparent backgrounds. If you don't allow

Re: [android-developers] How to use one application GUI code as jar file from other appliaction?

2010-11-23 Thread TreKing
On Fri, Nov 19, 2010 at 3:08 AM, Pink wrote: > How to prevent these exceptions and make use one application GUI code in > another? > Sounds like you want an Android Library Project. - TreKing

Re: [android-developers] Bad image quality in canvas

2010-11-23 Thread TreKing
On Thu, Nov 18, 2010 at 12:44 PM, Serzh Butterfly wrote: > Gradient isn't smooth and lines have a little blur. I want to have a hard > lines. > What is the problem? > Sounds like scaling and / or anti-aliasing issues. Make sure you're using the right image resolution for the screen density your

Re: [android-developers] Re: Market statistics stall

2010-11-23 Thread Evgeny V
There is no pattern. I have both: "young" paid and "old" free apps - both no download updates. On Wed, Nov 24, 2010 at 12:22 AM, JonFHancock wrote: > Still seeing stalled stats on my free app, though they seem to be > updating for my paid app, which has been on the market a lot longer. > > On No

Re: [android-developers] Actual Galaxy Tab Displays Different Than Emulator - 5x5 Widgets?

2010-11-23 Thread Mark Murphy
On Tue, Nov 23, 2010 at 5:36 PM, Matt M wrote: > First of all, why is there this discrepancy? Their SDK add-on may not replace the stock Android emulator home screen app with their own. I have not tried making a Galaxy Tab emulator AVD. > Second, how would I create a 5x5 widget? You can try spe

Re: [android-developers] Detecting changes in maps

2010-11-23 Thread TreKing
On Thu, Nov 18, 2010 at 12:02 PM, Bruno wrote: > > how do I detect changes of boundaries and zooms in a map? Track the current bounds and zoom yourself and check onTouch and onTap events for changes. > Is there an event that is called whenever there is a drag or a zoom? Nope - you'd think t

Re: [android-developers] Scroll View

2010-11-23 Thread TreKing
On Thu, Nov 18, 2010 at 4:39 PM, rajeev R wrote: > There is no XML file for this activity.How to add scrolling option here. > Add a ScrollView and shove whatever ViewGroup you want to scroll into it. P.S. - Pasting a whole lot of code with no context does not help ;-) -

[android-developers] Actual Galaxy Tab Displays Different Than Emulator - 5x5 Widgets?

2010-11-23 Thread Matt M
Hello, I created a Galaxy Tab emulator using these instructions: http://innovator.samsungmobile.com/galaxyTab.do When I install my 4x2 widget on the emulator it displays like it does on a phone (full width, half the height). However I went to try it out on an actual device in Best Buy and there i

Re: [android-developers] Re: Static Layout for whole app that must be in all Activity

2010-11-23 Thread TreKing
On Tue, Nov 23, 2010 at 4:12 PM, bruce wrote: > Probably the best way to achieve this is to create a base activity class > and extend it for all your other activities. > That works if you're only extending Activity in each of your own Activities. If you're using Lists, Tabs, or especially Maps,

[android-developers] Re: Market statistics stall

2010-11-23 Thread JonFHancock
Still seeing stalled stats on my free app, though they seem to be updating for my paid app, which has been on the market a lot longer. On Nov 23, 8:44 am, "Maps.Huge.Info (Maps API Guru)" wrote: > I haven't seen any evidence of stalled statistics. Mine are proceeding > normally. This is for a fre

Re: [android-developers] Re: Static Layout for whole app that must be in all Activity

2010-11-23 Thread Kostya Vasilyev
Ditto for a common Activity base class and layout reuse. Also, take a look at PopupWindow class - it should make it easier to integrate the common floating part into your layouts. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 24.11.2010 1:13 пользователь "bruce" написал: Probably the bes

[android-developers] Re: Memory Leak with a ListView revisited

2010-11-23 Thread TZ
I too am finding a memory leak with the listview but no one has been able to tell me if I am doing anything wrong. I made a post on stackoverflow about it with sample code (dead simple example of a listview leaking there is a link to the whole project as a zip on the post as well). http://stackov

Re: [android-developers] Re: Android calls to web service slow? Using .NET web service

2010-11-23 Thread Miguel Morales
> Are Android developers content with all calls to a web service taking > 800ms over WiFi and 4000ms on EDGE? Actually, yes, that is expected. Particularly when using HTTP, because of the overhead which includes many syn/ack packets and may split the packets up resulting in more round trips. If y

[android-developers] Re: Static Layout for whole app that must be in all Activity

2010-11-23 Thread bruce
Probably the best way to achieve this is to create a base activity class and extend it for all your other activities. Then update the view as necessary (such as in onStart()). You can maintain scroll position, etc., in an application static if absolutely necessary. Your xml for the marquee view c

[android-developers] Re: Having trouble setting custom TitleView for a Dialog

2010-11-23 Thread William Ferguson
Really? The Javadoc for View#inflate states: Inflate a view from an XML resource. This convenience method wraps the LayoutInflater class, which provides a full range of options for view inflation. Parameters context The Context object for your activity or application. resourceThe r

[android-developers] Re: Android calls to web service slow? Using .NET web service

2010-11-23 Thread Wipeout
Hello again, and thank you for all your replies. I will try to break them down in an organized fashion. Kumar: The while loop takes <20ms on the emulator, and less still on the Nexus One. I have measured the time it takes for every line to complete -- I'm sorry I did not mention that. The problem

[android-developers] Re: Android Testing

2010-11-23 Thread A. Elk
I interpret this to mean that you tried to test with the emulator. Which commands give you "permission denied"? On Nov 22, 10:57 pm, kampy wrote: > hi > > as u said i read the doc and there i found that i can do these testing > on the emultor terminal adb shell  but for every command i typed it i

[android-developers] Re: Hello World doesn't work

2010-11-23 Thread A. Elk
To expand on this: The behavior the OP is seeing is the emulator starting up. During startup, the text "Android" will blink. Even on a fast machine, it may take several minutes for the emulator to load and start the program. For this reason, you should leave the emulator running if possible while

[android-developers] Re: Android Testing

2010-11-23 Thread A. Elk
Depends on exactly what you mean by "while testing". If you are using the Android unit testing framework described in http://developer.android.com/guide/topics/testing/testing_android.html then the answer is "no". The unit testing framework is for testing a single class, so you can't test more th

[android-developers] Allowing one .apk to install another?

2010-11-23 Thread Biosopher
We are providing an Android Service to multiple customers for packaging into their .apks and need to ensure that only a single instance of our Service is running at a time. The ideal situation would be this: When one of our customers's apps is installed on a device, it looks for instances of our

[android-developers] Re: about gps

2010-11-23 Thread Dan
On Nov 23, 2:28 am, Leon Li wrote: > hi all: > i use Location location=manager.getLastKnownLocation("gps") to get > real gps,but it allways return null,and i walk around outside office > long time. > but if i use "network",it work. > > dose anyone else know what is wrong? Do you have both

[android-developers] Re: Android LBS Apps

2010-11-23 Thread ip332
Yes, sure. Use Overlay to show your objects on top of the Google Map. On Nov 19, 1:35 am, karl_os wrote: > Hi all, > i'm newbie in developing Android Apps. Currently, i'm going to build > an android Location Based Service apps for my undergraduate thesis. > I've read some articles about displayin

[android-developers] Re: LVL - Yay or Nay?

2010-11-23 Thread Michael A.
Google doesn't enforce the distribution agreement or TOS in any way (not even when directly informed about the transgressions), so adherence to this is entirely up to the individual developer. I've come across a lot of apps that break the TOS, apparently without any consequences. Regards, Michae

[android-developers] SSL from Android

2010-11-23 Thread Anm
What is the preferred way to do SSL on Android? Coming from a long time Java background, I have tended to jump to a https protocol URLConnection: // URL connection channel. HttpURLConnection url_connnection = (HttpURLConnection)url.openConnection(); // Let the RTS know t

Re: [android-developers] AsyncQueryHandler vs AsyncTask

2010-11-23 Thread Mark Murphy
The documentation indicates that AsyncQueryHandler is for use with ContentResolver and, therefore, content providers. If that is your use case, and it is working, there is probably no reason to consider changing. AsyncTask is an independent construct and is used for performing background operation

Re: [android-developers] How to get current focus view object in Service?

2010-11-23 Thread TreKing
On Thu, Nov 18, 2010 at 4:11 AM, mos.chris1...@gmail.com < mos.chris1...@gmail.com> wrote: > How can I use these methods in a Service? > Have an activity that binds to your service, tells it when the edit text is in view and gets a message back from the service. > Or is there another way to do?

[android-developers] AsyncQueryHandler vs AsyncTask

2010-11-23 Thread BigEHokie
Can anyone tell me when I should use one over the other? In my app, I currently use AsyncQueryHandler and make updates to the UI in the onQueryComplete() callback and I'm not under the impression this is not a good thing. However, looking at the documentation, I'm unsure when I would use the Asyn

Re: [android-developers] Creating "Sale" Icon in Marketplace

2010-11-23 Thread TreKing
On Tue, Nov 23, 2010 at 1:05 AM, Ryan wrote: > Is it possible to upload a new icon image without having to recompile and > submit a new version of my application? > Nope. The image used in the Market is the application Icon. Easiest thing to do would be update the title of the app to include "No

[android-developers] Re: about gps

2010-11-23 Thread ip332
Obviously "LastKnownLocation" can return not null only if someone turns GPS on and gets a position fix. You need to create a listener for this particular location provider and stop it after the first position is reported (not after the first one). Of course it would be better to see "getBestKnownL

[android-developers] AudioFlinger ALSA

2010-11-23 Thread lucid.android
Can someone give me information on AudioFlinger used in Android? and how it works with ALSA? Thanks in Advance. -- 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 unsu

[android-developers] SDL in Android

2010-11-23 Thread lucid.android
Can someone give me information on SDL framework used in Android? Thanks in Advance. -- 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, se

Re: [android-developers] no resource found that matches the given name(at 'label' with value "@string/about_title"

2010-11-23 Thread Kumar Bibek
You strings.xml doesn't have an entry corresponding to about_title :) Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Tue, Nov 23, 2010 at 7:08 PM, rich wrote: > hey guys, im using a tutorial from the book hello android and i have > come across said error, any help would be

Re: [android-developers] Uploading paid apps in India

2010-11-23 Thread Kumar Bibek
I think you can do that. When asked for the bank details, enter the US bank details, and that should be fine. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Tue, Nov 23, 2010 at 6:30 PM, moby wrote: > Hi all, > We develop apps for mobile phones and have just started for an

[android-developers] Re: streaming mp4 from Internet

2010-11-23 Thread Ahmed Shoeib
thanks alot for this support. On Nov 23, 8:42 pm, Mark Murphy wrote: > On Tue, Nov 23, 2010 at 1:38 PM, Ahmed Shoeib > > wrote: > > but the video streams correctly on iphone > > That may be true. However, you will note that Android is not iPhone. > In particular, early Android devices have litt

[android-developers] android internationalization problem

2010-11-23 Thread Ahmed Shoeib
hi, now i know that to check English Language using xml --- we create folder named ( values-en ) to be used if the language is English language and using code String locale = this.getResources().getConfiguration().locale.toString(); that return selectmen language on the device ? and it is en_u

Re: [android-developers] Re: streaming mp4 from Internet

2010-11-23 Thread Mark Murphy
On Tue, Nov 23, 2010 at 1:38 PM, Ahmed Shoeib wrote: > but the video streams correctly on iphone That may be true. However, you will note that Android is not iPhone. In particular, early Android devices have little storage space, and so while iPhone can buffer the MP4 to deal with the unhinted da

[android-developers] Re: SQL Injection

2010-11-23 Thread Kevin
Thanks guys, I just want to make sure I understand correctly: using SqliteDatabase.insert(...) with input from a text field is safe without sanitizing first? On Nov 22, 9:55 pm, Kumar Bibek wrote: > Well, if you user Raw query, then yeah, I guess it's possible. But if you > use the query method o

[android-developers] Re: Virtual keypad is hiding data elements of the screen.

2010-11-23 Thread authorwjf
Add: android:windowSoftInputMode="adjustResize" to your manifest for each activity that is giving you problems. -- 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 un

[android-developers] Re: streaming mp4 from Internet

2010-11-23 Thread Ahmed Shoeib
but the video streams correctly on iphone On Nov 23, 5:22 pm, Mark Murphy wrote: > On Tue, Nov 23, 2010 at 10:14 AM, Ahmed Shoeib > > wrote: > > as a conclusion > > to stream mp4 video from internet i need to use MP4Box installed on my > > device > > Right ?? > > If by "device" you mean "Android

Re: [android-developers] Code for connecting webservices in android by using HttpClient

2010-11-23 Thread Mark Murphy
On Tue, Nov 23, 2010 at 2:41 AM, brajnandan wrote: > Hi plz provide me code for connecting webservices in android by using > HttpClient step by step. The Apache HttpClient support site is: http://hc.apache.org/httpcomponents-client-ga/index.html -- Mark Murphy (a Commons Guy) http://commonswar

Re: [android-developers] Push Notification in Android

2010-11-23 Thread Mark Murphy
This is not an Urban Airship support board. You might consider asking Urban Airship how to get Urban Airship to work using an Urban Airship support option, such as: http://help.urbanairship.com On Tue, Nov 23, 2010 at 6:12 AM, fargath wrote: > Hi All, > > Im facing a problem in android app for p

Re: [android-developers] Could anyone tell me how to share data in different processes?

2010-11-23 Thread Mark Murphy
On Tue, Nov 23, 2010 at 8:42 AM, Pico wrote: >  I wrote a JAVA application with native methods, and trigger encoding > program in native methods. That makes two processes, one is > application process, another is encoding process. Why? Android applications do not need to be split into multiple pr

Re: [android-developers] Re: New MiKandi Launch with Support For Paid Apps

2010-11-23 Thread Shane Isbell
Thanks Gene, It was a lot of fun to make. I love the dancing android. It was shot by David Dutton: http://www.duttonfilms.com/2010/11/i-got-mikandi-like-a-g6-parody/ The turn-around time was pretty incredible. We are also looking for apps and games that contain intense violence. These sorts of ga

[android-developers] TelephonyManager.getLine1Number() bypass

2010-11-23 Thread William Añez
Hi everyone, I have a new application on Android Market that depends of the mobile number to work properly, as everyone knows the value on an instance of TelephonyManager stored in getLine1Number() it's the number stored on the sim card, so, if there is an error on the sim card or the number is wr

Re: [android-developers] Eclipse Reading Android Code as Java

2010-11-23 Thread XC He
you have to study this page first http://source.android.com/source/using-eclipse.html 2010/11/24 Chase : > I just inherited a project at my workplace and I am having trouble > having Eclipse act as an Adroid editor rather than a Java editor. > > Pretty much everything is under lined and I can't s

[android-developers] no resource found that matches the given name(at 'label' with value "@string/about_title"

2010-11-23 Thread rich
hey guys, im using a tutorial from the book hello android and i have come across said error, any help would be great as its for a uni project, files are below manifest.xml http://schemas.android.com/apk/res/android"; package="org.example.sudoku" android:versionCode="1" android:v

[android-developers] Could anyone tell me how to share data in different processes?

2010-11-23 Thread Pico
Hi, Sir: I wrote a JAVA application with native methods, and trigger encoding program in native methods. That makes two processes, one is application process, another is encoding process. And, I would like to know if there is a way to get encoded data from encoding program and pass them to JAV

[android-developers] Calculate text width

2010-11-23 Thread Vittochan
Hello everyone, I have these requirements: - size text to fill the entire length of a TextView, without wrap. - the text consists of strings of different sizes, such as: 0123456789 To do this I'm using a SpannableStringBuilder. Get a result as the example is relatively simple. What I can not do,

[android-developers] smooth scrolling

2010-11-23 Thread nixspirit
Hi guys, I'm a new here. Probably this question is answered. If it is, could you point me in the right direction then. I would like to add the smooth scrolling functionality into my application. i.e. I have a huge text and I want to scroll it automatically (like in book readers) Could anyone offer

Re: [android-developers] Android Browser 'Uncaught SyntaxError'

2010-11-23 Thread Belbayar Purevdagva
I don't know On Tue, Nov 23, 2010 at 2:21 AM, Greg Taylor wrote: > I've been trying to get http://ligonier.org to render correctly on > Android's Browser, but am running into a snag We recently moved all of > our CSS/JS/Images to Amazon S3, which apparently broke Android > rendering. The page r

[android-developers] Virtual keypad is hiding data elements of the screen.

2010-11-23 Thread Sudhakar Chavali
Hello folks, I have an issue with a virtual keyboard. This Soft Keyboard Covers Data Fields - and can't See what's going on. I want to use this soft keypad and at the same time it should not become a problem to use data fields. So how can I manage the data fields in such cases? Thanks & Regar

[android-developers] Re: Bluetooth SPP control signals (DTR, DSR, RTS, CTS)

2010-11-23 Thread Ash
I think you get most of the answers from this place: http://developer.android.com/guide/topics/wireless/bluetooth.html This gives you complete over view of Bluetooth Architeture in Android and how to write App on it. -- Ash On Nov 22, 8:29 am, Troy wrote: > I would like to remotely reprogram my

[android-developers] Uploading paid apps in India

2010-11-23 Thread moby
Hi all, We develop apps for mobile phones and have just started for android as well. We would like to upload a free version and a paid version, but India is still not allowed for paid apps to be uploaded. We have a US office coming up soon (but can't say when)... In view of this, is it possible to

[android-developers] Creating "Sale" Icon in Marketplace

2010-11-23 Thread Ryan
Hi, I'm a relatively new developer and I wondered if someone can help me. I have successfully submitted an application to the Android Marketplace and now I would like to change the icon that appears to advertise a sale on my product for a limited amount of time. Is it possible to upload a new ico

[android-developers] Notification display

2010-11-23 Thread cophy
Hi guys, I'm running a very simple example for Notification service. The notification appears properly when I'm running the example in the emulator, but when executed in a real system it displays the contentTitle but not the contentText and timestamp. Any ideas? public void Send_notifica

[android-developers] problem with installing an apk programmatically

2010-11-23 Thread slouma
Hi all, I already read this thread http://groups.google.com/group/android-developers/browse_thread/thread/1815768224168b52/91da1b4f775ac921?lnk=gst&q=Out+of+space+#91da1b4f775ac921 but I fail to solve my problem. I'm trying to install programmatically an apk from the sd card. the option "unknown s

[android-developers] Code for connecting webservices in android by using HttpClient

2010-11-23 Thread brajnandan
Hi plz provide me code for connecting webservices in android by using HttpClient step by step. also mentioned method name how to set. Suppose My Method name is : ActiveSurveyList() and URL: http://. Plz suggest ASAP. Thanx Braj -- You received this message because you are subscribed to th

[android-developers] about gps

2010-11-23 Thread Leon Li
hi all: i use Location location=manager.getLastKnownLocation("gps") to get real gps,but it allways return null,and i walk around outside office long time. but if i use "network",it work. dose anyone else know what is wrong? -- You received this message because you are subscribed to the Google Gr

[android-developers] Eclipse Reading Android Code as Java

2010-11-23 Thread Chase
I just inherited a project at my workplace and I am having trouble having Eclipse act as an Adroid editor rather than a Java editor. Pretty much everything is under lined and I can't seem to find a way to change how it is interpreted. I have downloaded all of the Android SDK's and the Eclipse Plu

  1   2   3   >