[android-developers] Re: How to Create a new Content Providers on Android Platform

2008-04-28 Thread Naveen Garg
Thanks Charlie it was really helpful. Now I am trying to call one application from the other app like we can start browser by clicking on hyperlink. Could you tell me how to do it. A sample code will be of great help. Thanking in advance, Naveen On Apr 28, 10:40 pm, Charlie Collins <[EMAIL PROT

[android-developers] Linking error while creating shared library

2008-04-28 Thread shilpa
Hi, I am trying to create a shared library for a simple application in C for android. I am following all the steps provided in link: http://honeypod.blogspot.com/2007/12/shared-library-hello-world-for-a... though I am able to execute all the steps but when i try to execute the executable i obtain

[android-developers] Re: Problem using Jars in building android application using ant

2008-04-28 Thread Greg
Megha i want to disable GPS in Android Emulator is there any option or any other thing from which i can disable GPS or enable ? On Apr 29, 9:45 am, Greg <[EMAIL PROTECTED]> wrote: > Megha you are great i am a fan of yours > > God Bless you Dude :) > > You are great > > On Apr 28, 10:55 pm, "Megh

[android-developers] Re: Problem using Jars in building android application using ant

2008-04-28 Thread Greg
Megha you are great i am a fan of yours God Bless you Dude :) You are great On Apr 28, 10:55 pm, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > Hi, > > Please see the thread below for instructions on using Ant to import external > jars into a .apk > file:http://groups.google.com/group/android-

[android-developers] New Map on Android

2008-04-28 Thread vinh2b
Goto http://www.pydod.com/eandroidmap.htm to view demo Overview - MinMap (eAndroidMap) is LBS (Location Based System) application, will help you to discover by youself about a specific city, a town or a place you want to come, will come or are staying in general. Basically this application provid

[android-developers] Re: How to customize notification layout

2008-04-28 Thread hackbod
ApiDemos has a bunch of status bar / notification examples, including ones with custom views. On Apr 28, 4:31 pm, keashF <[EMAIL PROTECTED]> wrote: > Hi Stefano, > > the Notification object has a field called "expandedView" which is a > RemoteView. I managed to change the image that is shown in t

[android-developers] Re: Bug :: Spinner + arrays of numbers in array.xml

2008-04-28 Thread hackbod
The array syntax has been completely reworked for the next release. At that point you can use a new tag to make an array of strings, just like the tag makes string-only resources. For now, if you put your numbers in quotes, it should work fine. On Apr 28, 3:21 pm, "Romain Guy" <[EMAIL PROTECTE

[android-developers] Re: dialog user input box

2008-04-28 Thread Dan U.
> thanks. But wouldn't that make all items in a vertical layout? What if > I want to have two buttons side-by-side rather than above-and-below? Well, you'll have to nest layouts to do that, or use a RelativeLayout. I'm not sure I totally understand your other instructions issue. I guess you want

[android-developers] Re: Progress of the evaluation process

2008-04-28 Thread keashF
this is a very active thread on how things are going, i suggest you check it out from time to time. http://groups.google.com/group/android-challenge/browse_thread/thread/30b3e76aca29cca4# cheers, F On 28 Apr., 06:59, Shamim <[EMAIL PROTECTED]> wrote: > Can any body predict the progress of evaluat

[android-developers] Re: dialog user input box

2008-04-28 Thread scimitar
thanks. But wouldn't that make all items in a vertical layout? What if I want to have two buttons side-by-side rather than above-and-below? Also, I have code like this: showDialog(); // other instructions I want //other instructions not be carried out until the user has clicked on a button in t

[android-developers] Re: How to customize notification layout

2008-04-28 Thread keashF
Hi Stefano, the Notification object has a field called "expandedView" which is a RemoteView. I managed to change the image that is shown in the standard expanded view, but i guess you could set it to a new view. Note that there are no getters/setters for the properties of Notification, also it is

[android-developers] Re: querying the database in a service?

2008-04-28 Thread Megha Joshi
Hi James, Services do not provide a way of executing managedQueries. This is because the lifecycle of a Service is quite simple as compared to a Activity. Thanks, Megha On Mon, Apr 28, 2008 at 1:37 PM, kingkung <[EMAIL PROTECTED]> wrote: > > I'm exploring the android Service class right now...

[android-developers] Re: How get incoming call phone number - Phone.getBackgroundCall()

2008-04-28 Thread Andrei Ivanov
Charlie Collins wrote: > I don't think there is a clean/elegant/easy way, or for that matter > even an official way at all - but you can find some clever hacks > around, such as: > > http://mylifewithandroid.blogspot.com/2008/01/phonecalls.html > and > http://dtmilano.blogspot.com/2008/01/android-

[android-developers] Re: Bug :: Spinner + arrays of numbers in array.xml

2008-04-28 Thread Romain Guy
There is a bug open about this already: http://code.google.com/p/android/issues/detail?id=500 I haven't looked at it so I don't know if it's really a bug, but at least we have a report :) On Mon, Apr 28, 2008 at 3:15 PM, Dan U. <[EMAIL PROTECTED]> wrote: > > Interesting. But I wonder if it's an

[android-developers] Re: Bug :: Spinner + arrays of numbers in array.xml

2008-04-28 Thread Dan U.
Interesting. But I wonder if it's an undocumented feature instead of a bug. On Apr 28, 12:36 pm, 6real <[EMAIL PROTECTED]> wrote: > Here is the content of the file /res/values/array.xml : > > > > 1 > 2 > 3 > 4 >

[android-developers] Re: querying the database in a service?

2008-04-28 Thread Hielko
How hard is it to read http://code.google.com/android/reference/android/app/Service.html ? On Apr 28, 10:37 pm, kingkung <[EMAIL PROTECTED]> wrote: > I'm exploring the android Service class right now... is there a way to > perform managedQueries to add/edit/delete content from a database > withi

[android-developers] Is it possible to specify an exit animation to be played when Activity is paused?

2008-04-28 Thread j
Hi, I am already familiar with creating activity screen "enter animation" effects by using the android:layoutAnimation attribute in the layout XML file. I would like to create an "exit animation" effect for the same activity screen. So the exit animation would play when onPause() is called. Is

[android-developers] Re: paint on screen and "home" still visible, can android do it???

2008-04-28 Thread Megha Joshi
Hi Wesley, You can do this by setting the transparent background of the Activity, in which you are drawing. For example in ApiDemos>graphics>FingerPaint.java you can make the following changes to get the behavior you are looking for: 1) As shown ApiDemos>apps>TranslucentActivity sample code,

[android-developers] querying the database in a service?

2008-04-28 Thread kingkung
I'm exploring the android Service class right now... is there a way to perform managedQueries to add/edit/delete content from a database within a Service class, as you can do with Activities? Thanks, James --~--~-~--~~~---~--~~ You received this message because yo

[android-developers] Re: how to access mobile web app on local network

2008-04-28 Thread Puneet
,, On Apr 29, 1:07 am, WRM <[EMAIL PROTECTED]> wrote: > Yes, I can access the INTERnet (www) with Android Emulator, just not > the INTRAnet (local network). Network Error Unknown host. Is there > perhaps an additional download I need, or is it maybe a command line > switch? > > I have successfu

[android-developers] Re: When will the next version of SDK be published

2008-04-28 Thread Adriano Crestani
Soon? 1 week? 1 month? 6 months? On Apr 23, 12:13 am, Kosmaj <[EMAIL PROTECTED]> wrote: > No idea but I hope very soon. > > IMO, it's not worth wasting any more time with this version. > > On Apr 23, 4:05 am, Jim T <[EMAIL PROTECTED]> wrote: > > > I assume that Google has been holding this releas

[android-developers] Re: how to access mobile web app on local network

2008-04-28 Thread WRM
Yes, I can access the INTERnet (www) with Android Emulator, just not the INTRAnet (local network). Network Error Unknown host. Is there perhaps an additional download I need, or is it maybe a command line switch? I have successfully called up my mobile web app project in several other emulators

[android-developers] Google "Openness and the Future of Mobile" Video

2008-04-28 Thread Lee S Dryburgh
Another video which I think most if not all will be interested in just uploaded. Rich Miner is the Group Manager of Wireless Platforms at Google. He presents a 30 minute keynote entitled "Openness and the Future of Mobile" at the Emerging Communications (eComm) conference held in Mountain View, C

[android-developers] Bug :: Spinner + arrays of numbers in array.xml

2008-04-28 Thread 6real
Here is the content of the file /res/values/array.xml : 1 2 3 4 5 6 The java code associated is : Spinner valMinSLot = (Spinner) findViewById(R.id.s1_filter_min_slo

[android-developers] Dear friend

2008-04-28 Thread nice girl
Dear Friend Hope you have a wonderful day Visit my blogs http://fashionarab.blogspot.com/ http://comeauto.blogspot.com/ http://lose5pounds.blogspot.com/ http://insurancevip.blogspot.com/ thank you --~--~-~--~~~---~--~~ You received this message because you are subs

[android-developers] Re: Animation to be played in sequence

2008-04-28 Thread Romain Guy
Use AnimationSet and change the startOffset of the animations after the first one. On Mon, Apr 28, 2008 at 11:13 AM, j <[EMAIL PROTECTED]> wrote: > > Hi, > > I understand that to play a set of animation in parallel, one would > use android.view.animation.AnimationSet. However, I want to play a

[android-developers] Animation to be played in sequence

2008-04-28 Thread j
Hi, I understand that to play a set of animation in parallel, one would use android.view.animation.AnimationSet. However, I want to play a set of animations in sequence, one by one. For example, I want the effect of fade in and then fade out in sequence. How do I do that? Thanks! --~--~-

[android-developers] Re: Problem using Jars in building android application using ant

2008-04-28 Thread Megha Joshi
Hi, Please see the thread below for instructions on using Ant to import external jars into a .apk file: http://groups.google.com/group/android-beginners/msg/ee57ef8cec26f9f0 Thanks, Megha On Mon, Apr 28, 2008 at 5:24 AM, Greg <[EMAIL PROTECTED]> wrote: > > I want to build a android apk using an

[android-developers] Re: How to Create a new Content Providers on Android Platform

2008-04-28 Thread Charlie Collins
The same sample app noted above uses a ContentProvider (as well as provides one), and there is a lot of info in the docs about it: http://code.google.com/android/devel/data/contentproviders.html On Apr 28, 1:55 am, Naveen Garg <[EMAIL PROTECTED]> wrote: > Can you please tell me how to use a con

[android-developers] Re: About negative byte 0xC0 = -61 != 0xC0

2008-04-28 Thread David Given
Digit wrote: [...] > in practice, this is not so much of a problem if you don't forget that > you are coding in Java. more an annoyance than > anything else, and it's pretty easy to get used to it. Okay, 'dumb' was probably overstating the mark --- 'really annoying' would be more accurate. I'd j

[android-developers] Re: Regarding Marketing and Distribution for Games

2008-04-28 Thread Shane Isbell
Hi Andre, Take a look at http://slideme.org . You can create an account and stock your application. We also have a client, so you will be able to access for delivery from that as well. Thanks, Shane On Sat, Apr 26, 2008 at 10:56 AM, André <[EMAIL PROTECTED]> wrote: > > As someone very intereste

[android-developers] Re: About negative byte 0xC0 = -61 != 0xC0

2008-04-28 Thread Digit
I don't know if this is "dumb", but it really does break the principle of least surprise. for many people, especially those working in embedded systems, a "byte" is an 8-bit quantity ranging from 0 to 255. if you look at the specifications for various file formats and network protocols, you'll *ve

[android-developers] Re: About negative byte 0xC0 = -61 != 0xC0

2008-04-28 Thread Adriano Crestani
Yes, they had to choose : ) But, do you know what is dumb? The sum of 2 byte vars always returns an integer :S...probably because it convert to int before the sum, but it could return a byte anyway :S Adriano Crestani On Apr 27, 5:34 pm, "Ahmet A. Akin" <[EMAIL PROTECTED]> wrote: > i think it w

[android-developers] Re: How get incoming call phone number - Phone.getBackgroundCall()

2008-04-28 Thread Charlie Collins
I don't think there is a clean/elegant/easy way, or for that matter even an official way at all - but you can find some clever hacks around, such as: http://mylifewithandroid.blogspot.com/2008/01/phonecalls.html and http://dtmilano.blogspot.com/2008/01/android-radio-logger-code-is-here.html. O

[android-developers] Re: dialog user input box

2008-04-28 Thread Dan U.
No, you aren't subclassing (extending), but that's not the problem with why you don't see the edit box. You are using a horizontal LinearLayout. That means the EditText will try to be rendered to the right side of the TextView. But, you have set a width of fill_parent on the TextView which will pu

[android-developers] Re: how to build the sample code from command line?

2008-04-28 Thread Greg
i have jar files in lib folder of my project when i run build.xml it does not compile into clasees .dex is there any solution for this problem how can jar files will be compiled into android apk ? On Apr 9, 5:04 am, "monkey.jsun" <[EMAIL PROTECTED]> wrote: > It turns out there is simpler soluti

[android-developers] Re: Android IP Routing Problem

2008-04-28 Thread Digit
hmmm, could you provide me with additionnal details: - when you say it "cannot connect", what error message / exception do you get when you try to ? - does DNS resolution work (especially if you can set the y.y.1.y DNS server as the first one in your host DNS server list ?) note that "ping" is no

[android-developers] About Simple Talk

2008-04-28 Thread Analdin Judy
Hi, I set my gmail account in the xmpp settings.But it display "The username or password you entered is not valid" Can anybody please tell me What is the reason for the above error? Thanks judy --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Problem using Jars in building android application using ant

2008-04-28 Thread Greg
I want to build a android apk using ant i have two jars when i run build.xml it works fine give message build sucessful ..but when i install the application it gives exception of the classes which are included in jars are not found.. how to include jars into dex files ?? --~--~-~--~

[android-developers] Android IP Routing Problem

2008-04-28 Thread patrick
hi, I have experienced networking problems with android. There are different threads in this forum, that did already explain a DNS problem [1]. The problems I have go beyond the simple name resolution problem: it seems like I'm not even able to ping certain addresses (network works just fine with

[android-developers] Re: dialog user input box

2008-04-28 Thread scimitar
isn't that what i'm doing? On Apr 28, 6:02 am, Hielko <[EMAIL PROTECTED]> wrote: > Do what Dan already suggested: extend thedialogclass. > > On Apr 28, 11:46 am, scimitar <[EMAIL PROTECTED]> wrote: > > > Ok. I have the following code: > > >Dialogdl = newDialog(this); > >

[android-developers] Re: webservice using ksoap2 in android

2008-04-28 Thread joesonic
I get always an error when I try to create a SoapObject: SoapObject client = new SoapObject(NAMESPACE, METHOD_NAME); where NAMESPACE is a string containing my Namespace and METHOD_NAME is also a string for the Methodname The Error Message look like this: "An Error occured in: package.ksoap2.ser

[android-developers] Re: How to use a content provider created by some other app

2008-04-28 Thread Hielko
You can use a content provider from another app just like any other content provider (such as the address book). Something like getContentResolver.query(Uri, projection, where) should simply work. On Apr 28, 7:57 am, Naveen Garg <[EMAIL PROTECTED]> wrote: > I am trying to access a content provide

[android-developers] Re: dialog user input box

2008-04-28 Thread Hielko
Do what Dan already suggested: extend the dialog class. On Apr 28, 11:46 am, scimitar <[EMAIL PROTECTED]> wrote: > Ok. I have the following code: > >                     Dialog dl = new Dialog(this); >                     dl.setTitle("Information Prompt"); >                     dl.setContentView(

[android-developers] Re: dialog user input box

2008-04-28 Thread scimitar
Ok. I have the following code: Dialog dl = new Dialog(this); dl.setTitle("Information Prompt"); dl.setContentView(R.layout.infodlg); EditText inputBox1 = (EditText)dl.findViewById(R.id.user); input

[android-developers] How to customize notification layout

2008-04-28 Thread Semeria Stefano
Hello, I was wondering if it is possible to customize the layout of the notifications on the status bar. If they're elements in a list there should be a way to customize their look, but I'm not sure how to do it, and also if I'm allowed to Please let me know something Thanks for your help.

[android-developers] Re: I want to horizontally scroll a LinearLayout area

2008-04-28 Thread stefoid
OK, just having a convo with myself here, but what I am doing with the translateAnimation is moving the entire View accoss the screen, not changing the mScrollX which scrolls the contents of the View. If I want to use translateAnimation, I have to apply it to all children within the view? blerg

[android-developers] Re: I want to horizontally scroll a LinearLayout area

2008-04-28 Thread stefoid
No, actually Im still confused. What I want to do is scroll the contents of a LinearLayout within its boundaries. i.e. I want the LinerLayout to be a viewport that scrolls its contents horizontally. I cant make it work. On Apr 28, 4:26 pm, stefoid <[EMAIL PROTECTED]> wrote: > OK, so I worked i