[android-developers] I need the sample files for MOCK LOCATION PROVIDER

2008-03-24 Thread novice
Can anybody who has made a mock location provider for use, post the contents of each required file here? I need to prepare a mock location provider, sample files would be helpful. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

[android-developers] Re: couldn't import class Bitmap

2008-03-24 Thread Zach Hobbs
I see that Bitmap implements Parcelable so you should be able to pass it. I know with custom objects you must create an aidl file that is ignored by eclipse so it doesn't create the java file. For example I have an object SrvStatus.java so I have to create a SrvStatus.aidl file: Start

[android-developers] Re: Problem:ActivityManager Error type 3

2008-03-24 Thread Dagger
somebody having some idea. need help on this. On Mar 24, 3:17 pm, Dagger <[EMAIL PROTECTED]> wrote: > I am having this problem while running th code in emulator. > Maybe it is a repetition of question but I can't find the solution. > > [2008-03-24 15:26:28 - LayoutAndy] --

[android-developers] Re: Good example for showing exchanging of data mostly arrays or non premitive data types,objects

2008-03-24 Thread Ted Hopp
I read another thread here a few days ago that pointed out that an Application object can be used as a central place for data shared between activities. It seems to be working nicely for me. I don't use it to pass data back from subactivites, but I imagine it would work just as well. However, in

[android-developers] Re: Two Touch Validation

2008-03-24 Thread babyblue
Many thanks On 3月25日, 下午12时56分, j <[EMAIL PROTECTED]> wrote: > This GUI behavior is by design. See thread: > > http://groups.google.com/group/android-developers/browse_thread/threa... > > There are a few other threads on this topic. > > On Mar 24, 8:45 pm, babyblue <[EMAIL PROTECTED]> wrote: > >

[android-developers] Re: How to step by step debug android apps by command line?

2008-03-24 Thread Xavier Ducrohet
Hi Eckel, to debug with another debugger than Eclipse/ADT (jdb, NetBeans, IntelliJ, etc...) you will need to use DDMS. DDMS allows connecting a Java debugger to a process running on the emulator, as if it was a standard remote application. The Device/process View in DDMS show a port number for

[android-developers] Re: How to step by step debug android apps by command line?

2008-03-24 Thread Eckel
Thanks! On Mar 25, 3:17 am, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > Hi, > > You cannot set breakpoint and debug from command line. > However, you could use the adb commands like logcat, dumpsys, dumpstate to > debug your applications from command > line:http://code.google.com/android/referenc

[android-developers] Re: Two Touch Validation

2008-03-24 Thread j
This GUI behavior is by design. See thread: http://groups.google.com/group/android-developers/browse_thread/thread/66956993fa6be7d8/f859affa84b6d8af?lnk=gst&q=%22touch+mode%22#f859affa84b6d8af There are a few other threads on this topic. On Mar 24, 8:45 pm, babyblue <[EMAIL PROTECTED]> wrote:

[android-developers] Re: Two Touch Validation

2008-03-24 Thread babyblue
By the way, both of my laptop(XP) and PC(Vista) have this issue. I thought M5 was designed in this way..Does anyone else have issue to touch for a second time to make input valid when not in touch mode? On 3月25日, 上午2时19分, Dave <[EMAIL PROTECTED]> wrote: > Issue 502 has been denied since the A

[android-developers] Re: Two Touch Validation

2008-03-24 Thread babyblue
This issue bothers me since M5 came out. What does "Can't reproduce" exactly mean? Does it mean only we two have this issue? If so, this is a serious bug. But if not, this may be a very bad design for android. On 3月25日, 上午6时26分, j <[EMAIL PROTECTED]> wrote: > Is yours the same issue reported in

[android-developers] couldn't import class Bitmap

2008-03-24 Thread [EMAIL PROTECTED]
Hi all, I have a aidl file containing The following initerface - package com.jack.app; import android.graphics.Bitmap; interface IRemoteServiceCallback { void screenUpdate ( Btimap bitmap ); } ---

[android-developers] Re: How to implement non-modal floating windows?

2008-03-24 Thread hackbod
All of the window control is does through the WindowManager.LayoutParams; there are APIs on Window (retrieved with Dialog.getWindow()) for manipulating them. http://code.google.com/android/reference/android/view/WindowManager.LayoutParams.html In particular, the things it sounds like you want ar

[android-developers] Re: PackageManager.installPackage() ?

2008-03-24 Thread hackbod
On Mar 24, 4:47 pm, Ben Dodson <[EMAIL PROTECTED]> wrote: > And only an activity must be defined in a top-level application? Hm, not sure I understand. Applications have everything defined by AndroidManifest.xml -- activities, services, receivers, etc. --~--~-~--~~~-

[android-developers] Re: Is GeoCoder working or not ?

2008-03-24 Thread q2dm1
Aaah I see. Well that's not a problem, I too am just interested in the latitude / longitude data. Maybe it would have been cool if we were able to distinguish between locations when the query isn't unique, but I guess we can't ask for more when the API is not officially supported. Thanks for the

[android-developers] Re: Not able to create a determinate ProgressDialog

2008-03-24 Thread shotwave
thank you On Mar 23, 5:34 am, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > Hi, > > The ProgressDialog.setIndeterminate(false) does not create a Indeterminate > progressDialog. > You may log this as a bug in the external issue tracker. > As a work around you could use the ProgressDialog.dismiss() me

[android-developers] Re: Is GeoCoder working or not ?

2008-03-24 Thread Dan U.
I see the problem. Apparently not all matches will return a address line (and I'm guessing other data as well). That's why it works for me, since I just want lat/long which it gives me every time. Since GmmGeocoder isn't supported, there's not a lot you can probably do with regard to asking Google

[android-developers] Re: EJB 3.0

2008-03-24 Thread [EMAIL PROTECTED]
Web service probably better. Android is not Java, just uses same programming language, and porting code from Java platform to Android platform can be harder than it seems. On Mar 24, 5:24 pm, agarro <[EMAIL PROTECTED]> wrote: > Hi all, > Anyone know about how to work with EJB in Android? > I need

[android-developers] EJB 3.0

2008-03-24 Thread agarro
Hi all, Anyone know about how to work with EJB in Android? I need to access Enterprise Java Beans remotly and i m thinking wich is the best choice to interacto with a enterprise app...EJB or Web Service. When i say "the best choice" i mean the easiest and fast way. Alejandro --~--~-~--~--

[android-developers] Re: Is GeoCoder working or not ?

2008-03-24 Thread q2dm1
Sure, that's the relevant fragment: try { GmmGeocoder geocoder = new GmmGeocoder(Locale.getDefault()); Address[] addresses = geocoder.query(((TextView)findViewById(R.id.text_proximity)).getText().toS

[android-developers] Re: Download photo from server

2008-03-24 Thread GUS
Thank you very much for the attention Josh! Very usefull hints. I'm doing it like you said. Gustavo Avila http://www.virtualsite.com.br On 24 mar, 12:25, Josh Guilfoyle <[EMAIL PROTECTED]> wrote: > Downloading a file from the web is very simple, you can either use > HttpClient (plenty of docume

[android-developers] Re: PackageManager.installPackage() ?

2008-03-24 Thread Ben Dodson
And only an activity must be defined in a top-level application? On Mar 24, 6:21 pm, hackbod <[EMAIL PROTECTED]> wrote: > Correct, for something to run as a top-level application (with its > components accessible to others), it needs to be registered with the > system through the package manage

[android-developers] How to implement non-modal floating windows?

2008-03-24 Thread Cheryl Sedota
I have a keyboard activity that slides in from the bottom of the screen. I would like the activity that is displayed behind/above the keyboard window to receive touch events even when the keyboard activity view is visible (basically I don't want the keyboard activity to eat touch events if the ev

[android-developers] Re: MediaPlayer tests with m5 sdk

2008-03-24 Thread Megha Joshi
An update on streaming video feature: http://groups.google.com/group/android-challenge/msg/114f11e31351840d Thanks, Megha On Fri, Mar 21, 2008 at 2:59 PM, Megha Joshi <[EMAIL PROTECTED]> wrote: > This function call should work for local files. > If its giving an error for a streaming file, pleas

[android-developers] Re: Location Manager Questions w.r.t Evaluation

2008-03-24 Thread Dan U.
Is a plaintext README required? I submitted a pdf, will that work? On Mar 24, 3:33 pm, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > The README file is a standard one in Text format. You could however include > your site in zip format and include the path to it in the ReadMe so that the > judges co

[android-developers] Re: Handler Design Advice : Which is better ?

2008-03-24 Thread hackbod
You should not call recycle(), the system will do that for you. On Mar 24, 1:38 pm, "Harsh Jain" <[EMAIL PROTECTED]> wrote: > Thanks, also I couldnt find this in documentation anywhere, but should you > call msg.recycle() at the end in handleMessage() or the guy who calls > handleMessage does it

[android-developers] Re: Location Manager Questions w.r.t Evaluation

2008-03-24 Thread Megha Joshi
Hi, That is fine, but just as a safety net include all your content in a zipped file( there is a /or will be a link to upload zips on the ADC submission site) Try to include as much details as you can in the README file. Thanks, Megha On Mon, Mar 24, 2008 at 3:41 PM, Harsh Jain <[EMAIL PROTEC

[android-developers] Re: Is GeoCoder working or not ?

2008-03-24 Thread Dan U.
Can you post the code that doesn't work? I went into my app and searched for New York and got New York City. Every thing I've ever searched for with GmmGeocoder has worked. Geocoder, on the other hand, only has a handful of addresses. On Mar 24, 3:33 pm, q2dm1 <[EMAIL PROTECTED]> wrote: > Sorry t

[android-developers] Re: Location Manager Questions w.r.t Evaluation

2008-03-24 Thread Harsh Jain
Pretty weird, I am submitting a framework, which should include docs, sample code, etc. I wonder how that fits in a single README. I had bring a site up and put the URL in the readme. Is that fine ? Regards, Harsh On Tue, Mar 25, 2008 at 4:03 AM, Megha Joshi <[EMAIL PROTECTED]> wrote: > The REA

[android-developers] Re: Good example for showing exchanging of data mostly arrays or non premitive data types,objects

2008-03-24 Thread hackbod
On Mar 24, 2:42 pm, "Dan U." <[EMAIL PROTECTED]> wrote: > 1. I could not get the serializable passing ability of a Bundle to > work. It has to do with a incorrect classloader error. I think it's > the same error that got in the road of serialization in the m3 sdk. It > was possible to work around

[android-developers] Re: Intent significance

2008-03-24 Thread hackbod
On Mar 24, 2:26 pm, Raja Nagendra Kumar <[EMAIL PROTECTED]> wrote: > I did try this approach by using setContentView.. however it seems to > have some restrictions on view beeing changable by only the thread > which created the activity or so.. hence I had no choice other than > going with intent

[android-developers] Re: Handler Design Advice : Which is better ?

2008-03-24 Thread Harsh Jain
Ok I hit trouble, when i actually recycled a message in handleMessage and called sendEmptyMessage(something) from handleMessage. No idea what's happening, but for now I have removed recycle call. On Tue, Mar 25, 2008 at 2:08 AM, Harsh Jain <[EMAIL PROTECTED]> wrote: > Thanks, also I couldnt find

[android-developers] Re: Is GeoCoder working or not ?

2008-03-24 Thread q2dm1
Sorry to bump, but it seems that the GmmGeocoder service only uses a couple of actual addresses. "White" yields a couple of cities in the States, whereas "New York" does nothing. Can anyonne confirm that? On Feb 22, 12:55 am, "Dan U." <[EMAIL PROTECTED]> wrote: > Megha is correct in that it's not

[android-developers] Re: Location Manager Questions w.r.t Evaluation

2008-03-24 Thread Megha Joshi
The README file is a standard one in Text format. You could however include your site in zip format and include the path to it in the ReadMe so that the judges could find it. Thanks, Megha On Mon, Mar 24, 2008 at 3:23 PM, Harsh Jain <[EMAIL PROTECTED]> wrote: > Can README file be a full HTML

[android-developers] Re: Two Touch Validation

2008-03-24 Thread j
Is yours the same issue reported in this thread: http://groups.google.com/group/android-developers/browse_thread/thread/bc6c209bb1b58416/1d1faf525e9b87eb?lnk=gst&q=jackck#1d1faf525e9b87eb I don't know if it's intentional GUI behavior or not. On Mar 24, 11:19 am, Dave <[EMAIL PROTECTED]> wrote:

[android-developers] Re: Location Manager Questions w.r.t Evaluation

2008-03-24 Thread Harsh Jain
Can README file be a full HTML site in a .zip format ? This makes things more presentable, is this acceptable. I went throught entire Terms of Conditions but couldnt find something telling about format of README. Thanks, Harsh On Tue, Mar 25, 2008 at 3:40 AM, Megha Joshi <[EMAIL PROTECTED]> wrote

[android-developers] Re: PackageManager.installPackage() ?

2008-03-24 Thread hackbod
Correct, for something to run as a top-level application (with its components accessible to others), it needs to be registered with the system through the package manager. The way to do this is with PackageManager.installPackage(). I'm not sure if that is currently available to apps, and anyway

[android-developers] Re: Location Manager Questions w.r.t Evaluation

2008-03-24 Thread Megha Joshi
On Sat, Mar 22, 2008 at 12:34 PM, Harsh Jain <[EMAIL PROTECTED]> wrote: > Hi, > I have a bunch of questions :- > 1) Is it ok to hardcode provider name for the first round ? This means is > it ok to assume a location provider with "gps" will always be present while > evaluating ? > Yes. It is oka

[android-developers] Re: Good example for showing exchanging of data mostly arrays or non premitive data types,objects

2008-03-24 Thread Dan U.
I actually am doing some Serialization in my apps, but there's some issues. 1. I could not get the serializable passing ability of a Bundle to work. It has to do with a incorrect classloader error. I think it's the same error that got in the road of serialization in the m3 sdk. It was possible to

[android-developers] Re: Intent significance

2008-03-24 Thread Dan U.
Right, something like a session is a bit easier to deal with. Put some data in the users session and it's available in any servlet they access until the session expires or the data is removed. If you want to think about things in terms of a session, it might be best to consider using a sqllite dat

[android-developers] Re: Intent significance

2008-03-24 Thread Raja Nagendra Kumar
Hackbod, I did try this approach by using setContentView.. however it seems to have some restrictions on view beeing changable by only the thread which created the activity or so.. hence I had no choice other than going with intent approach. I am guessing I may need to use method runinuithread()

[android-developers] Re: code example for TableLayout

2008-03-24 Thread Dan U.
If you are talking about number of rows, then ViewInflate would be considered dynamic by your definition. If the user asks for 10 rows, you'd just execute your view inflate code 10 times. The row content itself might be an issue. A good example would be asking the user how many images they'd want

[android-developers] Re: History

2008-03-24 Thread Dan U.
I recall someone from the Google team saying such a functionality would be available in the sdk later on. It is possible to code all the handling to do this in your onActivityResult methods (basically calling finish() every time you want to go back another level in the history). On Mar 24, 2:12 p

[android-developers] Re: Significance of Looper

2008-03-24 Thread Raja Nagendra Kumar
Not sure why there needs to be manual need for me saying loop prepare() etc.. If some thing would have to be done in seperate thread.. the api could have taken care of it internally with out me trying to tell all these.. May need to work few practical examples to understand thest two api's :) Reg

[android-developers] Re: Creating an XML file from Code

2008-03-24 Thread Dan U.
I didn't see a solution for the xml attribute namednodemap == null issues, so I decided to go ahead and fix it with some custom classes. I'm sure Google will get it fixed, but in case they don't in time for the ADC submission, some people might want a solution now. It's real quick&dirty, so if som

[android-developers] Re: History

2008-03-24 Thread Raja Nagendra Kumar
How about jumping to childs -> parent -> parent screen.. i.e grand parent of child , is there any history kind of object so that I enumerate the histroy and take certain decitions. Regards, Nagendra On Mar 22, 6:51 pm, Raja Nagendra Kumar <[EMAIL PROTECTED]> wrote: > Hi Dan, > > Thank you dan, y

[android-developers] Re: ListAdapter <--> ArrayAdapter

2008-03-24 Thread Raja Nagendra Kumar
True vdhielko, I was passing 2nd parameter as 0 and hence the issue. The message looked to me like it was looking for resource x0 etc.. I usedandroid.R.layout.simple_list_item_1 this as param then it worked. Regards, Nagendra On Mar 22, 9:46 pm, "[EMAIL PROTE

[android-developers] Re: Persistent icons like the battery icon. Can it be done?

2008-03-24 Thread Redhunt
Thank you hackbod ! :) On Mar 22, 10:52 pm, hackbod <[EMAIL PROTECTED]> wrote: > No, those are reserved by the system.  There is very little room in > the status bar, so that part is not available to applications. > > On Mar 22, 4:02 pm, Redhunt <[EMAIL PROTECTED]> wrote: > > > > > Hi I am trying

[android-developers] Re: code example for TableLayout

2008-03-24 Thread Raja Nagendra Kumar
Hi Dan, I was refering to static rows as rows as defined in xml layout file. dynamic rows are rows which need to be created dynamically say based on users choice on no of rows.. I had a issue of creating the table rows in a table layout.. however it got clarified from on the forum inputs.. (I use

[android-developers] Re: Question regarding MapActivity / MapView

2008-03-24 Thread vikram shetty
This is how I created my folder. 1. I launched the emulator. 2. On terminal window, I typed adb shell 3. Then I cd to the /data/misc/location directory 4. Create the directory 'test' Check the permission. Mine is set to chmod 777 Once the directory is created, I went to the android file Explore

[android-developers] Re: Intent significance

2008-03-24 Thread Raja Nagendra Kumar
Hi Dan, I see andorid application in the context of intents not like web server and browser kind of app. If I understand your inputs correctly, I would have wished intent data access should be as simple as who the servlets share the data of http session with me not worrying about serialization,

[android-developers] Re: misbehaving grid (not aligning properly with multi-line text and image)

2008-03-24 Thread Megha Joshi
Hi, I tried to run your code to see what you mean by alignment is messed up, but the code for Icon class is missing. Can you give more details on what exactly is going wrong? Thanks, Megha On Sun, Mar 23, 2008 at 8:17 PM, Ken <[EMAIL PROTECTED]> wrote: > > Hi there, > > Please take a look at: >

[android-developers] Re: Good example for showing exchanging of data mostly arrays or non premitive data types,objects

2008-03-24 Thread Raja Nagendra Kumar
Hi Dan, Parcelable seems to be in parallel to Serialization. Dan do we really need to complicate the inter activity communcation like this.. What if we use one static class which has all the data to operation on and is accessable by every activity. I would be glad to hear your expert comments on

[android-developers] Re: ActionListener on Lists

2008-03-24 Thread HelloWorld
Thanks Dan, I'll take a look on the Notepad exercises. Does anybody know how to add ActionListener on each of the list? Thanks, Grady On Mar 21, 9:41 pm, "Dan U." <[EMAIL PROTECTED]> wrote: > As I recall, the notepad tutorial made use of a menu. Might want to > look there:http://code.google.com/

[android-developers] Re: Is completeness of the app required

2008-03-24 Thread Harsh Jain
I am not sure that would be fair. An argument against is what about people who spent all their time polishing and perfecting a small amount of features than those who just mocked stuff up, doing things roughly and inefficiently. On Tue, Mar 25, 2008 at 2:09 AM, jarmohak <[EMAIL PROTECTED]> wrote:

[android-developers] Re: doanPay Technology

2008-03-24 Thread KD Doan
GK: thanks so much for such great feedback on the name Every possible word that you could think of associated with pay is taken on the Internet Try a few - you will know what I mean... but I am sure that KDPay.com KD Pay Technology is unique - it is named after my 2 initials anyway. On

[android-developers] Re: Is completeness of the app required

2008-03-24 Thread jarmohak
As far as I've understood, it's not required, so basically you may create a "demo" app, and "complete" it if and when you get to second round. Thatwise anyways it would be vice, so ppl don't have to do unnecessary job just because their app didn't get to the (semi)finals. If anyone has better info

[android-developers] Re: Handler Design Advice : Which is better ?

2008-03-24 Thread Harsh Jain
Thanks, also I couldnt find this in documentation anywhere, but should you call msg.recycle() at the end in handleMessage() or the guy who calls handleMessage does it automatically. regards, harsh On Mon, Mar 24, 2008 at 10:26 PM, hackbod <[EMAIL PROTECTED]> wrote: > > It is more efficient to cr

[android-developers] Re: Question regarding MapActivity / MapView

2008-03-24 Thread goro
I use the android file explorer, not the explorer, showing my classes, but the one showing me data , system, tmp etc. i use the same data in my 'test' folder as the data in 'gps' - the files location, mnea and proerties. i don't use the adb to copy the 'test' folder into /data/ misc/location. I s

[android-developers] Re: Location Manager Questions w.r.t Evaluation

2008-03-24 Thread Harsh Jain
Thanks, I would still appretiate an official word from google on this. Also I am planning to create a web-based console where judges can create data and move stuff and see things change on phone. If this is something judges arent going to consider or use at all, its great to know now. I mean demo a

[android-developers] Re: Intent not received

2008-03-24 Thread chris
Hi , thanks a lot for your reply. I found my Filter with the 3 intents i put in my intentFilter, so it's looking fine. the weird thing is that i'm receiving the 2 others intents (from the GPS) but not the one i'm trying to brodcast. Any other idea ? Chris Receiver [EMAIL PROTECTED] Receiv

[android-developers] Re: Creating an XML file from Code

2008-03-24 Thread Dan U.
There definitely is an issue with attributes which won't let you access them unless you know their names beforehand. If that isn't a problem, then it's easy to write some code to give you back an Xml string from a Document. On Mar 24, 12:09 pm, "Dexter's Brain" <[EMAIL PROTECTED]> wrote: > Hey Vi

[android-developers] Re: Is completeness of the app required

2008-03-24 Thread hmmmmm
still no answer. i think all the google man are quite busy with other things. plz others developers comment about the questions. im badly needed the answers best regards rst --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gr

[android-developers] Re: Question regarding MapActivity / MapView

2008-03-24 Thread vikram shetty
Glad atleast the default gps folder worked. Thats a start. Now, First when you mention fileexplorer in eclipse. I hope you are using the fileexplorer from within the emulator and not creating the /data/misc/location directory, because thats the mistake initially which I made. Also, I wouldn't re

[android-developers] Re: Question regarding MapActivity / MapView

2008-03-24 Thread goro
sorry for spamming i don't know how does it happened On 24 Mrz., 20:44, goro <[EMAIL PROTECTED]> wrote: > 10x Vikram. I've forgot to set the permissions :(. now it works with > the default gps folder. the problem is that it does not work with the > test folder. I've created test like this: from t

[android-developers] Re: Picture and Buttons for different screen size

2008-03-24 Thread Megha Joshi
Hi Vitaly, You can set the layout weights using xml only, you do not need to do this programatically, though you could if you wanted to. To demonstrate how to do this: 1) Create a new test application and update your main.xml with the following code: http://schemas.android.com/apk/res/android"

[android-developers] Re: Unable to resume activity:{...} Java.lang.Nullpointer exception

2008-03-24 Thread MobileBen
Ok, now I got it. It works. Thx again --~--~-~--~~~---~--~~ 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

[android-developers] Re: Good example for showing exchanging of data mostly arrays or non premitive data types,objects

2008-03-24 Thread Dan U.
Also, if you are in a situation of communicating data between separate applications, I believe that's where you'd want to look into using a content provider. On Mar 24, 11:11 am, Raja Nagendra Kumar <[EMAIL PROTECTED]> wrote: > Hi, > > I am looking for a solid example, which does pass on objects,

[android-developers] Re: Good example for showing exchanging of data mostly arrays or non premitive data types,objects

2008-03-24 Thread Dan U.
Implement Parcelable in your object and pass with a Bundle. There's plenty of examples in the groups and in the docs/apidemos. On Mar 24, 11:11 am, Raja Nagendra Kumar <[EMAIL PROTECTED]> wrote: > Hi, > > I am looking for a solid example, which does pass on objects, array of > objects while a new

[android-developers] Re: Question regarding MapActivity / MapView

2008-03-24 Thread goro
10x Vikram. I've forgot to set the permissions :(. now it works with the default gps folder. the problem is that it does not work with the test folder. I've created test like this: from the filexploerer in eclipse i've copied the gps folder to the desktop, i've renamed it to 'test' and dragged it

[android-developers] Re: Intent significance

2008-03-24 Thread Dan U.
> Why google not go with user creating a view object and > showing it (like in j2me). As a disclaimer, I should say I have no experience with j2me. It might be easier to think of the Activity as a view. Think about it as a container view for your UI that happens to do a lot of other stuff. > How

[android-developers] Re: Question regarding MapActivity / MapView

2008-03-24 Thread goro
10x Vikram. I've forgot to set the permissions :(. now it works with the default gps folder. the problem is that it does not work with the test folder. I've created test like this: from the filexploerer in eclipse i've copied the gps folder to the desktop, i've renamed it to 'test' and dragged it

[android-developers] Re: Question regarding MapActivity / MapView

2008-03-24 Thread goro
10x Vikram. I've forgot to set the permissions :(. now it works with the default gps folder. the problem is that it does not work with the test folder. I've created test like this: from the filexploerer in eclipse i've copied the gps folder to the desktop, i've renamed it to 'test' and dragged it

[android-developers] Re: Question regarding MapActivity / MapView

2008-03-24 Thread goro
10x Vikram. I've forgot to set the permissions :(. now it works with the default gps folder. the problem is that it does not work with the test folder. I've created test like this: from the filexploerer in eclipse i've copied the gps folder to the desktop, i've renamed it to 'test' and dragged it

[android-developers] Re: why the error?: List Views can't have unspecified size

2008-03-24 Thread Anil
That is a good workaround, but the key idea behind my application is to "see everything at a glance". I shall email you a screenshot. thanks, Anil On Mar 24, 2:05 pm, "Dan U." <[EMAIL PROTECTED]> wrote: > Here's an idea I thought I'd throw out... Can you replace your notes > listview with a butto

[android-developers] Re: File Sharing - App idea?

2008-03-24 Thread Felix H. Cat
Jeenet is more of a forum application and the sharing, it appears, will take place through a server. After looking around a bit more, I found "Overblue," an application enabling device to device connections via bluetooth. "Overblue is bluetooth P2P program for Android platform. It creates blueto

[android-developers] Re: How validate Android OS

2008-03-24 Thread hackbod
Don't worry about it, we are still pre-1.0 and your app won't even be able to be loaded if it is installed on a different version due to various API changes. On Mar 24, 7:15 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi! I had problem, I don't know how I can verify version of android os

[android-developers] Re: SLECTED_ALTERNATIVE & CALL action -> bundle null?

2008-03-24 Thread Shmulik London
Hi droid08, What you're trying to do (if I got you right) is possible: When your custom activity is launched from the contacts you get a uri (from getIntent().getData()) such as content://contacts/phones/1 where the '1' is the id of the contact, you can use this id to query the contacts content p

[android-developers] Re: Not able to connect in emulator behind proxy

2008-03-24 Thread Megha Joshi
Hi Kaushik, Please see Jason Chen's post on this issue: http://groups.google.com/group/android-developers/msg/d8cb5935a609b8cc There are a number of other posts and lots of helpful advice on this group about this issue. Please search the group. As far as I know Maps application does not work behi

[android-developers] Re: How to step by step debug android apps by command line?

2008-03-24 Thread Megha Joshi
Hi, You cannot set breakpoint and debug from command line. However, you could use the adb commands like logcat, dumpsys, dumpstate to debug your applications from command line: http://code.google.com/android/reference/adb.html#shellcommands Thanks, Megha On Sun, Mar 23, 2008 at 11:57 PM,

[android-developers] Re: Creating an XML file from Code

2008-03-24 Thread Dexter's Brain
Hey Vishal, This code will work with JDK.But, currently, there is some problem with the android SDK. The NamedNodeMap doesn't workI dont know how did you test it on android. There is also a bug reported for this issue with the SDK.. I guess.I tried using this, but it never worked for

[android-developers] Re: why the error?: List Views can't have unspecified size

2008-03-24 Thread Dan U.
Here's an idea I thought I'd throw out... Can you replace your notes listview with a button or imagebutton that pops up a dialog with notes in a listview? On Mar 24, 9:24 am, Anil <[EMAIL PROTECTED]> wrote: > Hi Dan, > My workaround is to simply not allow more than one note - bad for my > applica

[android-developers] Re: Question regarding MapActivity / MapView

2008-03-24 Thread vikram shetty
Have you set the permissions in the androidmanifest file Also, Have you tried putting break points and running this through a debugger and see exactly at what point you get the NullPointer Exception. Vikram On Mon, Mar 24, 2008 at 2:52 PM, goro <[EMAIL PR

[android-developers] Re: Problem while reading data from interface

2008-03-24 Thread Dexter's Brain
I am breaking my head on itSeems you are missing out on a very silly thingI ll come to your place and check it out.just leave it for now... Dexter. Dan U. wrote: > Can you post some actual code that doesn't work right? > > On Mar 24, 11:51 am, vishal <[EMAIL PROTECTED]> wrote: > > De

[android-developers] Re: Problem while reading data from interface

2008-03-24 Thread Dan U.
Can you post some actual code that doesn't work right? On Mar 24, 11:51 am, vishal <[EMAIL PROTECTED]> wrote: > Den, > > It is not working.. > I do not think it is a problem with package.. > I have defined interface as a public interface.. and secondly i have > defined all the constants as public

[android-developers] Re: Question regarding MapActivity / MapView

2008-03-24 Thread goro
It has a kml file inside. if I use gps instead of test I get the same error. On 24 Mrz., 19:49, "vikram shetty" <[EMAIL PROTECTED]> wrote: > Hi, > > Were you able to create the provider "test" or how did you create it? > > Vikram > > On Mon, Mar 24, 2008 at 2:41 PM, goro <[EMAIL PROTECTED]> wrote

[android-developers] Re: Problem while reading data from interface

2008-03-24 Thread vishal
Den, It is not working.. I do not think it is a problem with package.. I have defined interface as a public interface.. and secondly i have defined all the constants as public static strings... I am also unable to figure out why is it happening? any other possibility... On Mar 24, 11:45 pm, "Dan

[android-developers] Re: Question regarding MapActivity / MapView

2008-03-24 Thread vikram shetty
Hi, Were you able to create the provider "test" or how did you create it? Vikram On Mon, Mar 24, 2008 at 2:41 PM, goro <[EMAIL PROTECTED]> wrote: > > Hi, > Can you please share how did you fixed the Nullpointer problem because > > > locationManager = > (LocationManager)getSystemService(Cont

[android-developers] Re: Problem while reading data from interface

2008-03-24 Thread Dan U.
Are you sure that's the problem? Is there really another class in the SDK with the same name for both the interface and for the constant you are using? That seems highly unlikely. I think the issue would be having those in a different package since your Y is package-private. You'd probably want t

[android-developers] Re: Media Sample Apps

2008-03-24 Thread Megha Joshi
Hi, The getDuration() method returns -1 if the MediaPlayer is not yet prepared. The best way to call the VideoView or MediaPlayer's getDuration() is after they are prepared, ie. in their onPrepared() call or after that. This is possible in MediaPlayer in the current SDK and will be possible in th

[android-developers] Re: Question regarding MapActivity / MapView

2008-03-24 Thread goro
Hi, Can you please share how did you fixed the Nullpointer problem because locationManager = (LocationManager)getSystemService(Context.LOCATION_SERVICE); try{ LocationProvider locationProvider = locationManager.getProvider("test"); Log.i(TAG,"success"); }catch(Exception se){

[android-developers] Re: Problem while reading data from interface

2008-03-24 Thread vishal
dan, Thank you very much for your concern... But i got the reason of my problem. My interface name was similar to some other class existed in android SDK. Thanks n cheers Vishal On Mar 24, 11:14 pm, "Dan U." <[EMAIL PROTECTED]> wrote: > Other variations in my onCreate that work: > > Log.v(LOG_

[android-developers] Re: Location Manager Questions w.r.t Evaluation

2008-03-24 Thread Ram
Here is my take on questions 1 and 2 (note that I neither work for nor speak for google . ) google says that they'll test your submission with the same version of the SDK that you developed the app with. The "gps" provider gets installed with the SDK and the route of the simulation is fixed i

[android-developers] Re: Intent significance

2008-03-24 Thread hackbod
If splitting your application into multiple activities is not appropriate, there is nothing forcing you to do that. It is perfectly fine to use a single activity and change the view it is displaying. You just won't be able to take advantage (at least not easily) of many of the componentization fe

[android-developers] Re: Problem while reading data from interface

2008-03-24 Thread vishal
Dan, Is there any constraint that interface and class should be a part of same package.. I have both in different package. Thanks Vishal On Mar 24, 11:14 pm, "Dan U." <[EMAIL PROTECTED]> wrote: > Other variations in my onCreate that work: > > Log.v(LOG_TAG, z.Y); > > z test = new z(); > Log.v(L

[android-developers] Re: File Sharing - App idea?

2008-03-24 Thread ddm
Sure, JeeNet is one of. On 24 мар, 10:27, "Felix H. Cat" <[EMAIL PROTECTED]> wrote: > I was just wondering if any sort of file sharing will be available for > android phones. > > Scenario: You have a great song, image, photo, document, etc. (perhaps > even a contact) on your phone and you meet up

[android-developers] Re: File Sharing - App idea?

2008-03-24 Thread ddm
Sure, JeeNet is one of. On 24 мар, 10:27, "Felix H. Cat" <[EMAIL PROTECTED]> wrote: > I was just wondering if any sort of file sharing will be available for > android phones. > > Scenario: You have a great song, image, photo, document, etc. (perhaps > even a contact) on your phone and you meet up

[android-developers] Re: Special prefix in responces from server

2008-03-24 Thread Raja Nagendra Kumar
Hi, My server is local tomcat server.. I am hoping this chars are some thing to do with UTF-8 etc.. however when I create string from the byte array with char encoding as utf8 then also these chars exist. I am using the same server logic and code with webservices and j2me client, which seem to h

[android-developers] Two Touch Validation

2008-03-24 Thread Dave
Issue 502 has been denied since the Android Support Team could not reproduce it. However, this behavior did not occur in m3 and it does occur when I try it in on both Windows XP and Mac Leopard. So, if a few of you could try it and reply with your results, it would be greatly appreciated. If yo

[android-developers] Intent significance

2008-03-24 Thread Raja Nagendra Kumar
Hi, Looking for any good documents and support from expects to understand google desing on intents and why each screen should be created using activities. Why google not go with user creating a view object and showing it (like in j2me). One thing I understand that each activity could run in diff

[android-developers] Re: iPhone's Lunar Lander looks like the same game as Android's Lunar Lander

2008-03-24 Thread [EMAIL PROTECTED]
http://en.wikipedia.org/wiki/Lunar_Lander So old that patents would not protect it. On Mar 24, 11:12 am, j <[EMAIL PROTECTED]> wrote: > See iPhone Lunar Lander > screenshot:http://www.boygeniusreport.com/gallery/handsets/iphone-20-screen-shot... > > It has better graphics and uses the accelerom

  1   2   >