Warning: Invalid argument supplied for foreach() in /homez.46/telewizj/www/gphone.pl/przegladprasy/inc/rss2base.php5 on line 23
Programowanie Android » Gphone.pl, Android, Google, IPhone, Open Social
Gphone.pl, Android, Google, IPhone, Open Social » Programowanie Android

Wiadomości z kategorii Programowanie Android

Sortuj wiadomości według: Nazwy | Daty | Losowo

trouble dynamically adding LinearLayout with 2 subviews

Hi all, I'm simply trying to programatically add an EditText and a Spinner on the same row. But everytime I run this code, all I see is the EditText object which has extended the width of the screen, and I don't see the Spinner at all. Android seems to ignore the width and height (100,50) I set for the
Informacja: 2008-04-29
trouble dynamically adding LinearLayout with 2 subviews

Re: trouble dynamically adding LinearLayout with 2 subviews

Just a guess, but I think you are trying to use a FILL_PARENT width where you should have a WRAP_CONTENT and maybe set a weight value if you want it to expand.
Informacja: 2008-04-29
Re: trouble dynamically adding LinearLayout with 2 subviews

See "" on your Google homepage

Your friend, namiii.nam...@gmail.com, has sent you the following Google Gadget and included this message: See "" on your Google homepage
Informacja: 2008-04-29
See

About "setting account for GTalk "

Hi, when i run the SimpleTalk application.In the emulator it shows "Please set account from GTalk settings first" What i have to do? Thanks judy
Informacja: 2008-04-29
About

Re: [android-beginners] failure to import java.rmi.RemoteException

That is because java.rmi is not included in the android SDK. Try adding it as a stand-alone library. regards, Raul
Informacja: 2008-04-29
Re: [android-beginners] failure to import java.rmi.RemoteException

Re: About "setting account for GTalk "

Hi Judy, Please set your gmail account from Dev Tools > XMPP Settings. Then your contacts list will be displayed in case you've already registered them from gmail or gtalk. Thank you for using Simple Talk, Tatsu [link]
Informacja: 2008-04-29
Re: About

How to access GridView Elements individually

Hi! I have been trying to put a smaller image(for status show) on each of the thumbnails in the image grid but couldn't access to the individual element of the gird. Can someone come up with way to do it? Thanks
Informacja: 2008-04-29
How to access GridView Elements individually

Re: Creating a mock location provider

Hey Sipo - thanks for the tip-off on DDMS... awesome!
Informacja: 2008-04-29
Re: Creating a mock location provider

Help regarding Android.

Hi All, I am new bie to android as well as java. i want to develop an application in android, so is there any device available with android, in market??? if not then is there any proto/demo device available for developer testing??? Testing application with emulator is fine for initial phase of
Informacja: 2008-04-29
Help regarding Android.

Re: [android-beginners] Help regarding Android.

No Android current phones. See: [link] I do not know if this is helpful, feasible or not On Fri, Apr 25, 2008 at 4:40 PM, kamlesh sangani <kamlesh.sang...@gmail.com> wrote:
Informacja: 2008-04-29
Re: [android-beginners] Help regarding Android.

Re: Does it have a SIP stack.

Hey, Worked on making a simple SIP User Agent for Android. It is based on the mjsip User Agent and the mjsip stack ported for Android by [link] (actually the same people at Iconvergence) [link]
Informacja: 2008-04-29
Re: Does it have a SIP stack.

Errors with attempt to create new Android Project in Eclipse

First off, I have everything installed that I need including Eclipse, JDK 6, WST, and the ADT plugin. When I attempt to create a new Android Project. I receive 3 successive error messages. In the order they appear: "Failed to get the adb version: Cannot run pgogram "\tools\adb.exe": CreateProcesserror=3, The system cannot find the path specified"
Informacja: 2008-04-29
Errors with attempt to create new Android Project in Eclipse

Re: [android-beginners] Errors with attempt to create new Android Project in Eclipse

You need to open Eclipse's preferences dialog, find the Android section and indicate where you installed the Android SDK.
Informacja: 2008-04-29
Re: [android-beginners] Errors with attempt to create new Android Project in Eclipse

About the Android Developer Challenge

I'm a bit worried because we submitted an application to the Android Developer Challenge (a client-server one)... And I'm seeing that the judges are not testing the application correctly(watching the server log...)... I don't know if they have not read the documentation, or they do not have it... Does anybody know how to contact the ADC responsible of that??????
Informacja: 2008-04-29
About the Android Developer Challenge

About DevTool

Hi, Can anybody please tell me what is Dev tool?How can we set the account in Devtool/xmpp settings. Thanks judy
Informacja: 2008-04-29
About DevTool

Re: [android-beginners] Re: About "setting account for GTalk "

When i se the acount in Dev Tool.I got error message "The username or password is not valid" (Eventhough i give the valid username and password) Can you please tell me,What is the solution for the problem? Thanks judy
Informacja: 2008-04-29
Re: [android-beginners] Re: About

Error when add an account

Hi When i set the acount in Dev Tool.I got error message "The username or password is not valid" (Eventhough i give the valid username and password) Can you please tell me,What is the solution for the problem? Thanks judy
Informacja: 2008-04-29
Error when add an account

How to Enter A Home Address For A Contact In Android

I just want to add a quick little "How To" for anyone who is using Android and cannot figure out how add a home address to a contact. (It only take 4 simple steps) Step 1. In the 'Edit contact' form, select the Android menu button and then select the 'Add more' button. Step 2. In the 'Add more' dialog, select 'Street address'
Informacja: 2008-04-29
How to Enter A Home Address For A Contact In Android

Re: ostermiller Base64 Pb.

You need more than just the classes in the classpath. The jar file also contains other resources that are required to run such as .properties files.
Informacja: 2008-04-29
Re: ostermiller Base64 Pb.

eclipse android config

i have attched to eclipse i own a project and use a sample...and when i go to run it cann find the apps.exe and there are errors with the sample .. i have eclipse and the sun ee v5 also running is this possible ? i cannot use any sun sdk/jdk can i have them both installed if i have the jre in java folder and in the sun folder is the sdk
Informacja: 2008-04-29
eclipse android config

Bluetooth api

Does any one know when will the bluetooth api be available? Will it be available in the next SDK release? Regards Prashant
Informacja: 2008-04-29
Bluetooth api

Sample Code

Hey people, Just wanted to start running the API Sample Code stuff, and I was wondering: how do I download the entire tree at once? They are all in their own packages, so it should be runnable with different classes, no? I am using eclipse. Thanks Alex
Informacja: 2008-04-29
Sample Code

Re: Sample Code

OK, totally nevermind. I just diddnt realize that all the API sample code shipped with the SDK!
Informacja: 2008-04-29
Re: Sample Code

Re: iterating over a contact list

why not use Java iterator's? -Thufir
Informacja: 2008-04-29
Re: iterating over a contact list

Re: How to access GridView Elements individually

Hi John! Thanks for your response first of all. i wanted to add a smaller icon image at the bottom of the selected thumbnail in the gird view when clicked for long. i am able to get the individual view using 'geChildAt(position)' now the problem is just to put another image at the bottom of this view.
Informacja: 2008-04-29
Re: How to access GridView Elements individually

Mobile Version Of Skype Released In Beta Form

[link] Mobile Version Of Skype Released In Beta Form Well what do we have here? It appears Skype has released a mobile version of their popular VOIP application for Mobile Devices. So far only a few phones are listed to be compatible with the application. 50 to be exact, all of
Informacja: 2008-04-29
Mobile Version Of Skype Released In Beta Form

About Xmpp settings

Hi, I gave correct username and password.But it display it is not a valid username or password. Can anybody please tell me,What is the solution for the error? Thanks judy
Informacja: 2008-04-29
About Xmpp settings

Problem playing media files

Hi, when i was playing 3gp video file from raw folder then then their is one problem only sound was there. No video was seen on screen . If you having any code which sucessfuly play 3gp or any media file then please send me . Please help me its very urgent for me . Thanks in advance.
Informacja: 2008-04-29
Problem playing media files

Re: [android-beginners] Mobile Version Of Skype Released In Beta Form

Why is everyone making a big deal about skype? That service sucks.
Informacja: 2008-04-29
Re: [android-beginners] Mobile Version Of Skype Released In Beta Form

Re: Problem playing media files

Audio from resources works with no SD card as a good first test.
Informacja: 2008-04-29
Re: Problem playing media files

Re: ContentProviders and databases

Hello Again, I was successfully able to implement my customized content provider. However there are a couple questions I would like to ask. The content provider seems to create a database inside the application that I first call it in. When I open up another application to insert into that content provider, it appears to work correctly and write in
Informacja: 2008-04-29
Re: ContentProviders and databases

Re: [android-beginners] usage of

Hi Chad, What is the error that you are getting? It is not recommended to use ViewGroup directly, you may want to use one of the Layout classes instead, please see the ApiDemos. I also noticed you have declared the TextView tv twice. Thanks, Megha
Informacja: 2008-04-29
Re: [android-beginners] usage of

Re: [android-beginners] Bluetooth api

Hi Prashant, The bluetooth APIs as available in android.org.bluez package. [link] The emulator does not have bluetooth capabilities. Thanks, Megha On Sun, Apr 27, 2008 at 6:10 AM, Prashant Kalkar <kalkar.prash...@gmail.com> wrote:
Informacja: 2008-04-29
Re: [android-beginners] Bluetooth api

Re: About Xmpp settings

Hello Analdin, If you are using IGTalkService interface which is the class that is being used in m5 for xmpp, you need to specify your e-mail address as username (e.g. username:f...@gmail.com) Best wishes, -sacoskun
Informacja: 2008-04-29
Re: About Xmpp settings

Re: [android-beginners] About Xmpp settings

where can i find the classes that the google talk , xmmps to the server ? the tomcat service in mylyn has ant-fire for making asynchonus calls to IDE ... the login igtalkservice i have xmmp pump and session handler i found online im right now stuck with an older version of eclipse and i cant upgrade mylyn ... to connect to android emulator
Informacja: 2008-04-29
Re: [android-beginners] About Xmpp settings

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

Hi, In Java, bytes are signed. The possible values range from -128 to +127. You are comparing a signed byte to an integer, Java simply convert var to an integer and compares it to the integer 0xC0 (192 in decimal.) You can verify this easily by decompiling the following source code: byte b = (byte) 0xC0;
Informacja: 2008-04-29
Re: [android-developers] About negative byte 0xC0 = -61 != 0xC0

dialog user input box

Hi, I want my application to pop up a dialog box that asks for some user input. The user enters the input and clicks a button. Based on the text that the user has entered, the application then continues it's operations. How should I implement this? thanks
Informacja: 2008-04-29
dialog user input box

Progress of the evaluation process

Can any body predict the progress of evaluation proccess! very few of this group has been received hit at the time of testing but feeling that it was not through check ? what about all others. I can't see any more news on this. please keep on posting your experience and acknowledge. so that we can be sure that its progressing and be happy
Informacja: 2008-04-29
Progress of the evaluation process

I want to horizontally scroll a LinearLayout area

I want to use 'kinetic' horizontal scrolling on an a LinearLayout area. I did a quick search and found this widget called a Scroller that seemed to have an API that fit the bill - flings, interpolaters, etc... but then Scroller is only of use to a TextView? ScrollView seems like it is only a vertical thing?
Informacja: 2008-04-29
I want to horizontally scroll a LinearLayout area

How get incoming call phone number - Phone.getBackgroundCall()

Hi All, I would like get incoming call number in registered IntentReceiver, and I getting notification about incoming calls and from which phone call is received (in emulator named "GSM") with state "RINGING". Notification does not provide no more information, especially phone number. Using name of phone I getting IPhone interface to the Phone object.
Informacja: 2008-04-29
How get incoming call phone number - Phone.getBackgroundCall()

paint on screen and "home" still visible, can android do it???

paint on screen and "home" still visible, can android do it??? re-paint on screen when change screen and "home" still visible, can android do it??? Anyone have any idea?? Wesley Sagittarius.
Informacja: 2008-04-29
paint on screen and

How to use a content provider created by some other app

I am trying to access a content provider created by some other app. But not able to find a way. lease tell me how to do it. Some sample code will be of great help. Thanking in advance!! Naveen
Informacja: 2008-04-29
How to use a content provider created by some other app

Re: I want to horizontally scroll a LinearLayout area

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! :(
Informacja: 2008-04-29
Re: I want to horizontally scroll a LinearLayout area

How to customize notification layout

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. Regards,
Informacja: 2008-04-29
How to customize notification layout

Re: How to use a content provider created by some other app

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.
Informacja: 2008-04-29
Re: How to use a content provider created by some other app

Re: webservice using ksoap2 in android

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.serialization.S oapObject".
Informacja: 2008-04-29
Re: webservice using ksoap2 in android

Android IP Routing Problem

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 all other applications).
Informacja: 2008-04-29
Android IP Routing Problem

Problem using Jars in building android application using ant

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 ??
Informacja: 2008-04-29
Problem using Jars in building android application using ant

About Simple Talk

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
Informacja: 2008-04-29
About Simple Talk

Re: [android-developers] Android IP Routing Problem

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 not supported in the emulator anyway, but TCP/UDP
Informacja: 2008-04-29
Re: [android-developers] Android IP Routing Problem

Re: how to build the sample code from command line?

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 ?
Informacja: 2008-04-29
Re: how to build the sample code from command line?

Re: dialog user input box

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 push the EditText out of the layout. Either
Informacja: 2008-04-29
Re: dialog user input box

Re: How get incoming call phone number - Phone.getBackgroundCall()

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: [link] and [link].
Informacja: 2008-04-29
Re: How get incoming call phone number - Phone.getBackgroundCall()

Re: About negative byte 0xC0 = -61 != 0xC0

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
Informacja: 2008-04-29
Re: About negative byte 0xC0 = -61 != 0xC0

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

Hi Andre, Take a look at [link] . 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
Informacja: 2008-04-29
Re: [android-developers] Regarding Marketing and Distribution for Games

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

[...] Okay, 'dumb' was probably overstating the mark --- 'really annoying' would be more accurate. I'd just spent some time trying to store 32-bit addresses in Java ints. Trying to do unsigned comparisons when all you have are signed operations is... entertaining. Interestingly, this page: [link]
Informacja: 2008-04-29
Re: [android-developers] Re: About negative byte 0xC0 = -61 != 0xC0

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

Hi, Please see the thread below for instructions on using Ant to import external jars into a .apk file: [link] Thanks, Megha
Informacja: 2008-04-29
Re: [android-developers] Problem using Jars in building android application using ant

Animation to be played in sequence

Hi, I understand that to play a set of animation in parallel, one would use android.view.animation.Animati onSet. 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!
Informacja: 2008-04-29
Animation to be played in sequence

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

Use AnimationSet and change the startOffset of the animations after the first one.
Informacja: 2008-04-29
Re: [android-developers] Animation to be played in sequence

Bug :: Spinner + arrays of numbers in array.xml

Here is the content of the file /res/values/array.xml : <?xml version="1.0" encoding="UTF-8"?> <resources> <array name="filter_values"> <item>1</item> <item>2</item> <item>3</item> <item>4</item> <item>5</item> <item>6</item> </array> </resources> The java code associated is :
Informacja: 2008-04-29
Bug :: Spinner + arrays of numbers in array.xml

Google "Openness and the Future of Mobile" Video

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, California, on Thursday 13th March 2008.
Informacja: 2008-04-29
Google

Re: When will the next version of SDK be published

Soon? 1 week? 1 month? 6 months?
Informacja: 2008-04-29
Re: When will the next version of SDK be published

querying the database in a service?

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
Informacja: 2008-04-29
querying the database in a service?

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

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>TranslucentActiv ity sample code, add the tag
Informacja: 2008-04-29
Re: [android-developers] paint on screen and

Is it possible to specify an exit animation to be played when Activity is paused?

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 that possible?
Informacja: 2008-04-29
Is it possible to specify an exit animation to be played when Activity is paused?

Re: querying the database in a service?

How hard is it to read [link] ?
Informacja: 2008-04-29
Re: querying the database in a service?

Re: Bug :: Spinner + arrays of numbers in array.xml

Interesting. But I wonder if it's an undocumented feature instead of a bug.
Informacja: 2008-04-29
Re: Bug :: Spinner + arrays of numbers in array.xml

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

There is a bug open about this already: [link] I haven't looked at it so I don't know if it's really a bug, but at least we have a report :)
Informacja: 2008-04-29
Re: [android-developers] Re: Bug :: Spinner + arrays of numbers in array.xml

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

Thanks! I see it is a problem, I hope in a future in new release it should be implemented. Why not include in notification phone number/address, I can not understand, it is important when we talk about phone :)
Informacja: 2008-04-29
Re: [android-developers] Re: How get incoming call phone number - Phone.getBackgroundCall()

Re: Emulator Clock gives incorrect time

Perhaps it's this: [link] If so, I don't think there's a fix out for it yet.
Informacja: 2008-04-27
Re: Emulator Clock gives incorrect time

Re: how to access mobile web app on local network

Can you access any websites? Just trying to narrow down the problem: either something with your intranet or your proxy settings. If you can't access anything, then consider looking into your proxy settings. Search the group and you'll find previous discussions.
Informacja: 2008-04-27
Re: how to access mobile web app on local network

Re: Masked EditText

You can set various input types by using predefined XML attributes, or making a custom one. The predefined types may fulfill your needs, specifically android:digits. As for the date, I couldn't find the XML version, but you could do is programatically by myEditText.setInputMethod(myIn putMethod) where myInputMethod is an
Informacja: 2008-04-27
Re: Masked EditText

Re: How to communicate between two android devcies?

I was able to connect two emulators via TCP. The key is redirecting the emulator's localhost to a port on the PC. The original poster who explained this is Digit. Search for his ID and read his previous posts, or search the forum for "UDP" or "TCP".
Informacja: 2008-04-27
Re: How to communicate between two android devcies?

use of Handler.post

hello there, I have been trying to provide an answer to one of my own questions, you can see it here: [link] so I have created a service an inner class that extends Handler. here is the class: private class ServiceHandler extends Handler {
Informacja: 2008-04-27
use of Handler.post

Re: use of Handler.post

follow the thread link at the beginning of my first post ... it's all there
Informacja: 2008-04-27
Re: use of Handler.post

Emulator Clock gives incorrect time

This problem has been bugging me for a long time and I just can't figure it out. No matter what I do my emulator clock always shows my time +7:00. I am on the West Coast and my system time (Windows XP) is set to GMT -8:00 but for some reason the emulator always sets the time to GMT -1:00. I am assuming this has something to do with Java but I can't
Informacja: 2008-04-27
Emulator Clock gives incorrect time

Calling SubActivity using URI

Hi everybody, I am trying to call another activity using the method StartSubActivity(action, URI). The reason that I am calling the method with URI instead of direct class is because I am using content provider and I don't want to pass additional data using bundle (at least, I hope so). However, when I run the application it returns error "No activity
Informacja: 2008-04-26
Calling SubActivity using URI

Masked EditText

Hi, Some of my input fields are of specific data types. Therefore, I want to add to my EditText controls implementation of mask (the mask will control the input limitiations). Masks for example: Decimal - N.N (Numeric is not good enought, because it doesn't allow decimal point). Date - DD/MM/YYYY
Informacja: 2008-04-26
Masked EditText

ListActivity SelectedItem

Hi, I guess it's a newbie question (which i am... :) I would like to know what list item is selected in different procedures, and not only when it is being clicked (onListItemClick method). for example, during onPrepareOptionsMenu invocation. How can this be achieved? Thanks, Shai
Informacja: 2008-04-26
ListActivity SelectedItem

How to upload the video to web site?

I want to implement upload the video to web site ? Can you tell me how to implement it?thanks!
Informacja: 2008-04-26
How to upload the video to web site?

Re: Updating the view from an external thread

All, I think that find a solution for your problem! try{ //do code } finally { msg.what = 1001; this.HandlerListaPaciente.send Message(msg); } Handler HandlerListaPaciente = new Handler(){
Informacja: 2008-04-26
Re: Updating the view from an external thread

Re: How to upload the video to web site?

Hey, Check out the WebCamBroadCaster on [link] Himanshu
Informacja: 2008-04-26
Re: How to upload the video to web site?

Help)))) How to develope MMS & VT in Android

Does Android Api support MMS & VT?
Informacja: 2008-04-26
Help)))) How to develope MMS & VT in Android

failure to import java.rmi.RemoteException

Hi, When I try 'import java.rmi.RemoteException;', I get the message: 'The import java.rmi.RemoteException cannot be resolved'. Why is this? I really need this to make my app communicate with a webservice. thanks,
Informacja: 2008-04-26
failure to import java.rmi.RemoteException

Re: [android-developers] Help)))) How to develope MMS & VT in Androi

I built an MMS client for J2ME/MIDP a while back. You should be able to adapt this to Android. The article below shows how you can do all of this over SMS, without using carrier's MMSC. [link] [link]
Informacja: 2008-04-26
Re: [android-developers] Help)))) How to develope MMS & VT in Androi

Re: sqlite and junit

Could you be a bit more specific regarding the problem you're seeing? Taking a guess here, but is it related to getting a Context reference in your junit tests to access the SQLiteDatabase? Cyrus
Informacja: 2008-04-26
Re: sqlite and junit

Re: I want to Draw a image on image on x and y axis

i have done it i used onDraw function and ur Great Thanks Again I love u
Informacja: 2008-04-26
Re: I want to Draw a image on image on x and y axis

Re: i try to catch an exeption in a thread but although it does throws the exeption the catch i planted did not cought it, why is that?

That doesn't look like an exception being thrown, it looks like the system reporting that your application is not responding. In other words, you are doing networking stuff from the main application thread, it is blocking on the network call, this causes your applications UI to become unresponsive, and the system soon prints out
Informacja: 2008-04-26
Re: i try to catch an exeption in a thread but although it does throws the exeption the catch i planted did not cought it, why is that?

Re: How to Create a new Content Providers on Android Platform

thanks dude!!
Informacja: 2008-04-26
Re: How to Create a new Content Providers on Android Platform

How android can i work with MAP in android

Now i just start my project in the objective to view the map of my country on phone by using android programming. Now i can only view map only, but it still have other problem that i have to complete, Can android program work with KML file? or how can I add any placemarks on map? Best regard
Informacja: 2008-04-26
How android can i work with MAP in android

Do we have any functionalities in Android to intercept calls and SMS

Dear Friends, Do we have any functionalities in Android to intercept calls and SMS. This program can be running in the background which will get the notification in case of any incoming/outgoing SMS or Call.
Informacja: 2008-04-26
Do we have any functionalities in Android to intercept calls and SMS

How to draw Bitmap outside of onDraw()

Hi I want use canvas outside of the onDraw() method, I code this way: Canvas mCanvas; protected void onDraw(Canvas canvas) { mCanvas = canvas; private void drawSth(){ mCanvas.drawRect(0,0,100,100,m Paint); but it seems useless, please tell me how to draw sth outside of onDraw() method?
Informacja: 2008-04-26
How to draw Bitmap outside of onDraw()

Re: [android-developers] Do we have any functionalities in Android to intercept calls and SMS

You can get notified of the phone state: [link] But for calls, at the moment, you can't get the number, or actually intercept the call. SMS I don't know much about but I think you can receive those
Informacja: 2008-04-26
Re: [android-developers] Do we have any functionalities in Android to intercept calls and SMS

Re: failure to import java.rmi.RemoteException

Android does not utilize the entirety of the J2SE API. Remember, it's designed for mobile devices which are resource limited, so they have to choose what they put in. See the complete list of public packages here [link] See the complete list of public classes here
Informacja: 2008-04-26
Re: failure to import java.rmi.RemoteException

Re: How android can i work with MAP in android

You'll need to create an overlay ( [link] ) and display any points you wish to display on that. Then, in your MapView ( [link] ) use the OverlayController to add and activate this Overlay, which
Informacja: 2008-04-26
Re: How android can i work with MAP in android

Re: Error no space left on device

Your device is probably out of space. If you start the emulator with the -wipe-data argument, it will wipe all user data from the device before starting. Please note that certain activities such as creating MediaPlayer resources via MediaPlayer.create and then failing to release them may cause this as well, necessitating a restart of the
Informacja: 2008-04-26
Re: Error no space left on device

Re: The entire lifetime of an activity and static variables

The application lifecycle is covered here: [link] It has also been discussed extensively on this group, this is probably one of the more comprehensive threads: [link]
Informacja: 2008-04-26
Re: The entire lifetime of an activity and static variables

Re: Task Manager in Android

That's what those APIs do. As I said, while they don't necessarily map 1:1 to .apks, but they do match the user's experience. If you want to monitor processes, you can go through the /proc filesystem. Those are the two pieces of information there are. There is no "list of running applications."
Informacja: 2008-04-26
Re: Task Manager in Android

how to access mobile web app on local network

In Android Emulator, when I try to type in the http path to the mobile web app I am developing on our INTRAnet here at work, I receive the following error: Network Error Unknown host. Question: How do configure Android Emulator so that I can view the mobile web app I am developing?
Informacja: 2008-04-26
how to access mobile web app on local network

Re: ListActivity SelectedItem

You can always get the currently selected item in the ListActivity with ListActivity.getSelectedItemPo sition(). While preparing your options menu you could check the currently selected item and modify your menu as needed.
Informacja: 2008-04-26
Re: ListActivity SelectedItem

Android and Web Services

Hello, Is it possible to use SOAP WebServices in Android in a simple way. As an example an ordinary java snippet for webservices is given. import org.apache.axis.client.Call; import org.apache.axis.client.Service ; import javax.xml.namespace.QName; import java.net.*; public class Test {
Informacja: 2008-04-26
Android and Web Services

Re: Serial Port Programming

You might be thinking of RXTX. I've been using RXTX with Java on windows. It has a little trouble with USB serial ports because they are removable. Here are some bookmarks; sorry about the poor formatting. Starred java serial - Installation Instructions for RXTX - jcontrol.org - Oct 27 - Bookmark: edit - remove
Informacja: 2008-04-26
Re: Serial Port Programming

Mobile Special Report

Hi, Please forgive a brief plug: I've written a short article at DevX on Android development. It walks through a basic application that shows how to accomplish several tasks, such as taking a picture, saving it to disk, managing a database, and uploading data to the network. It may be too simple for experienced developers, but does cover a fair
Informacja: 2008-04-26
Mobile Special Report

Setting EditText and Spinner at the same height level...

I have a table layout and I'm programatically adding an EditText object and a Spinner on one table row. Simple enough, right? You'd think, since it's a TableROW, that the two objects would be level. Instead, the Spinner is always slightly below the EditText object. Is there a good way to fix this? I've tried setGravity(TOP) on the
Informacja: 2008-04-26
Setting EditText and Spinner at the same height level...

Re: [android-developers] Setting EditText and Spinner at the same height level...

This is because, by default, TableRow aligns widgets on their text baseline. It is more important to have the texts aligned than the actual object boundaries. However, next SDKs have a different Spinner with the same height as EditText.
Informacja: 2008-04-26
Re: [android-developers] Setting EditText and Spinner at the same height level...

Re: Setting EditText and Spinner at the same height level...

Thank you for the response. I guess I'll just have to wait...
Informacja: 2008-04-26
Re: Setting EditText and Spinner at the same height level...

DateInputMethod

Hi, Does DateInputMethod work correctly? I have set the xml attribute "android:inputMethod="android. text.method.DateInputMethod"". It does enable input of only specific characters (numeric and some special chars), but it does not check that the entire input is valid (as date). Best regards,
Informacja: 2008-04-26
DateInputMethod

Android Back Button

How does the default browser that comes with the emulator capture the back button - and how does it capture the back button being held-down which displays the carousel view?
Informacja: 2008-04-26
Android Back Button

Re: How to draw Bitmap outside of onDraw()

Consider using SurfaceView instead of a View as well. From a SurfaceView you can get access to the underlying Canvas by SurfaceView.getHolder().lockCa nvas(), and do your drawing there. Then, release you carnvas by unlockCanvas() when you are done. br
Informacja: 2008-04-26
Re: How to draw Bitmap outside of onDraw()

Re: Calling SubActivity using URI

Hello, If you are using your own ContentProvider I think you should add it also to your AndroidManifest.xml file. For instance, <provider android:name="CashdroidProvide r" android:authorities="com.test. Cashdroid.provider"/> Then, check that in the implementation of your provider, more precisely in the method getType(URI), you successfully are able to
Informacja: 2008-04-26
Re: Calling SubActivity using URI

Re: How to compute the size of a string in pixel

Path.computeBounds can help you to get the Rect that surrounds a Text paint.getTextPath(text, 0, text.length(), x, y, path); path.computeBounds(rect, false); br
Informacja: 2008-04-26
Re: How to compute the size of a string in pixel

Regarding Marketing and Distribution for Games

As someone very interested in using the Android Mobile Platform for Online Gaming, I was wondering where one should look for Marketing and Distribution resources. Thanks in advance. André
Informacja: 2008-04-26
Regarding Marketing and Distribution for Games

Re: Do we have any functionalities in Android to intercept calls and SMS

I have a simpler version of that tutorial up on my wiki: [link]
Informacja: 2008-04-26
Re: Do we have any functionalities in Android to intercept calls and SMS

How to compute the size of a string in pixel

Hello I need to compute the size of a string I'm drawing with Canvas.drawText() in pixels, to be able to surround it with a rectangle. Do you know if there's a simple way to get the size of the string according to the size of the currently used font? Thanks a lot for your help. Regards, Stefano
Informacja: 2008-04-25
How to compute the size of a string in pixel

Re: [android-beginners] How to compute the size of a string in pixel

Look at the documentation of Paint.measureText(): [link] On Thu, Apr 24, 2008 at 6:01 AM, Semeria Stefano
Informacja: 2008-04-25
Re: [android-beginners] How to compute the size of a string in pixel

Demo phone availability

Hi, I was wondering if there was a developer signup program or something for people who want to get a demo phone when they become available to test apps on before releasing? Thanks, Ahmad
Informacja: 2008-04-25
Demo phone availability

iterating over a contact list

Hi, I have a cursor that gets the contact list stored on the phone: Cursor c = getContentResolver().query( People.CONTENT_URI, null, null, null, null); Now I want to iterate over the contact list, and for each contact print out the associated number. What's a good way to do this?
Informacja: 2008-04-25
iterating over a contact list

android on e2831 (twin tact)

hi, How can i install android on my e2831 phone ? I've seen a video so i know it is possible. thanks
Informacja: 2008-04-25
android on e2831 (twin tact)

ContentProviders and databases

Hello Everyone, Recently I've been trying to figure out how to have a background service push data into a database and then read from that database with another application. Initially I thought about just using the various sql classes available, but then I discovered that the databases for each application are only available to that
Informacja: 2008-04-25
ContentProviders and databases

Re: failure to connect to database

Try searching this forum for "mysql" ( [link] ) or "jdbc" ( [link] ) . The short answer, however, is that you can't or maybe you can, but
Informacja: 2008-04-25
Re: failure to connect to database

Re: problem in running HelloAndroid.....

Did you get this error on your initial compilation attempt or have you tried modifying the sample project? Can you post the contents of your R.java file? Can you also provide more detail on the exact steps to reproduce this, eg. what compilation steps you are taking? Thanks, Justin Android Team @ Google
Informacja: 2008-04-25
Re: problem in running HelloAndroid.....

Re: Looking for a fast UI platform for embedded linux

I suggest reading through some of the material at code.google.com/ android , and [link] answers several of your questions. I've provided brief answers for some items below. Certainly this is a goal for the Android platform. Mobile devices typically have far less memory than desktop or server
Informacja: 2008-04-25
Re: Looking for a fast UI platform for embedded linux

[OT] Moblin Developer Contest in India

Hello All, Just for your information. Please check [link] and register for "Moblin Developer Contest". Competition Focus This is your opportunity to help build the future on Moblin. You are invited to create localized applications for entertainment, information, and communications segment that push the envelope of
Informacja: 2008-04-25
[OT] Moblin Developer Contest in India

Launching 50% error in Eclipse?

Hi, I'm working in Eclipse, version m5, and I find that many times, when I launch my app through Android, the Eclipse progress bar gets stuck at 50%, and Eclipse hangs. The last thing that shows in the Android console is "Launching: com.google.android.yourAppName " Whenever this happens, I have to close eclipse, go to the Windows task
Informacja: 2008-04-25
Launching 50% error in Eclipse?

EditText to String to int

Hi, I've been looking for a way of doing this, maybe it's just my lack of thought, or maybe I'm just too noob at Java, but I'm trying to get EditText text (can do this), send to a string (can also do this) convert to int, add to a global int, and then write the global int to a TextView. Here is my code:
Informacja: 2008-04-25
EditText to String to int

Re: Launching 50% error in Eclipse?

I kept getting the 19% on the 14th of April, so I understand. The issue tracker is right on the start page for the group now. Put it there to drive resource allocation.
Informacja: 2008-04-25
Re: Launching 50% error in Eclipse?

Re: EditText to String to int

The message seems a bit different from what I'd expect, but I think it's a matter of using final. Final for a primitive means you can't change it (and if it were an object, it means you can't reassign to a different object, but you can change the internal state of it). So, probably define totalCost as a member variable of your class and drop
Informacja: 2008-04-25
Re: EditText to String to int

How to get direction in my android app

Hi, I'm a beginner in Android and I would like to know if it is possible to use an API for "direction getting". Is there a fonction witch permit, as Google Maps for example, to define a path (intermediary points) with a start and a end points ? I would like to do this on android platform and my research shows me
Informacja: 2008-04-24
How to get direction in my android app

HELP! R.layout.main cannot be resolved error

Hey all, I have been fiddling around with Android for the past couple of days, and I was working through the tutorials and sample code. Yesterday, I made an interface with DroidDraw, which generates XML to make the GUI. As far as I can see, everything is in order, but I have an error when it goes to pull the XML from the layout folder. It says that
Informacja: 2008-04-24
HELP! R.layout.main cannot be resolved error

GTalkService

hello, does anyone know how GTalkService deals with a subscription request ? i mean the API does not allow you to register any listener to the effect. thank you luka
Informacja: 2008-04-24
GTalkService

Re: HELP! R.layout.main cannot be resolved error

Well, the resource stuff isn't a "Java" thing, it's an Android thing. Basically if you put a layout xml file in res/layout, you reference it by filename when you call setContentView. For instance, if you have res/layout/my_fancy_layout.xml , you make a call to setContentView(R.layout.my_fan cy_layout).
Informacja: 2008-04-24
Re: HELP! R.layout.main cannot be resolved error

About Hardware Requirements

Hello, I want to know the hardware requirements to run Android application. What is the requirements to run Android application on computer as well on physical emulator device? Thanks, Pramod
Informacja: 2008-04-24
About Hardware Requirements

EditText getText() to string for notification

Hi, I have my application set to grab the text from an EditText field, but for some reason even if I convert it "toString", the returned string always comes back blank. Here is my code: Button button; EditText text; button = (Button) findViewById(R.id.btnOK); text = (EditText) findViewById(R.id.txtCustomerN ame);
Informacja: 2008-04-24
EditText getText() to string for notification

Re: EditText getText() to string for notification

Oh boy, so simple, why didn't I think of it, trying to get something that doesn't exist... Thanks a ton Dan, I'll try to stay within reality next time, haha.
Informacja: 2008-04-24
Re: EditText getText() to string for notification

Re: About Hardware Requirements

XP with 2G of memory is a good starting place.
Informacja: 2008-04-24
Re: About Hardware Requirements

Re: [android-beginners] Re: About Hardware Requirements

I running the SDK only in 1G memory environment is ok Best Regards Eric Chan 2008/4/23, efont...@gmail.com <efont...@gmail.com>:
Informacja: 2008-04-24
Re: [android-beginners] Re: About Hardware Requirements

problem in running HelloAndroid.....

I am getting the problem while running the HelloAndroid program......................i n eclipse......... I installed the ADT plugin also................... Please give me the solution to this below error message [2008-04-23 12:27:28 - HelloAndroid1] trouble processing: [2008-04-23 12:27:28 - HelloAndroid1] invalid constant pool index 0000
Informacja: 2008-04-24
problem in running HelloAndroid.....

failure to connect to database

Hi, I'm trying to connect to an external mysql database. The code is something like: try Basically the 'DriverManager.getConnection() ' call fails. The error messages are: D/dalvikvm( 596): Exception Ljava/lang/ClassNotFoundExcept ion; from I would really appreciate if somebody could help me.
Informacja: 2008-04-24
failure to connect to database

Looking for a fast UI platform for embedded linux

Hi All, I am looking for some good platform for UI development on an embedded linux system. My criteria is as below: * Performance should be high. * Memory requirements can be controlled. * Ease of development * Customizable: Skins, Animations * Preferrably free There are other parameters too. But, these are enough for a
Informacja: 2008-04-24
Looking for a fast UI platform for embedded linux

reacting to a new contact

Hi guys, I want my application to react whenever a new contact is added in the phone's contact book (Basically upload the contact list to an external service). I have a vague idea that this can be done through an intent receiver, but I'm not sure. How could this be done? thanks,
Informacja: 2008-04-24
reacting to a new contact

Problem on playing 3gp file

HI , I am getting problem while playing 3gp file from url problem is that the video is play for only few sec. not completely. please help me its urgent . I have Sending my code Thank you in advance package com.org.video; import java.io.File; import java.io.FileOutputStream; import java.io.IOException;
Informacja: 2008-04-24
Problem on playing 3gp file

Re: [android-beginners] Problem on playing 3gp file

Hi, It appears that you are downloading the file and then playing it which is neither supported , nor recommended by Android Media Engineers. You may want to read the posts about progressive download content and use such 3gp files. Thanks, Megha
Informacja: 2008-04-24
Re: [android-beginners] Problem on playing 3gp file

Re: [android-beginners] How to Debug

Nikhil, are you in my NYU PMIA class? it's Mashood
Informacja: 2008-04-24
Re: [android-beginners] How to Debug

Re: [android-beginners] About

Hi Pramod, Please check the documentation below for hardware and software requirements to run Android applications: [link] Thanks, Megha
Informacja: 2008-04-24
Re: [android-beginners] About

Qualcomm Working with OEMs on More Than Five Android Handsets

[link] * Qualcomm Working with OEMs on More Than Five Android Handsets* One of the first companies to actually show Android running, Qualcomm, is expecting to ship phones over the next 12-18 months. Sayeed Choudhury, a
Informacja: 2008-04-24
Qualcomm Working with OEMs on More Than Five Android Handsets

T-Mobile first with Android, Qualcomm has 5+ phones in the works

[link] *T-Mobile first with Android, Qualcomm has 5+ phones in the works* EE Times posted an article yesterday about T-Mobile's plans for open software platforms and, in particular, its plans for the Google Android
Informacja: 2008-04-24
T-Mobile first with Android, Qualcomm has 5+ phones in the works

Java and mobile phones

HI I have read about Android, it is a great idea. But I did not understand one thing - can create applications for mobile phones using this language, for example Sony Ericsson. Sincerely, InquisiToR
Informacja: 2008-04-22
Java and mobile phones

Two types of intent

Hi, looking at the Android documentaion, it seems you can broadcast an intent to an official intent reciever, or pass an intent to a specific activity to handle. So far, so good, but it says that intents passed to intent recievers should handle the request quickly and without any GUI acitvity. So
Informacja: 2008-04-22
Two types of intent

Re: porting in Java

Android compiled code is different from other java compiled code. So the main porting work exists in load class. if Lucky, the just need to develop a class loader. Huadong
Informacja: 2008-04-22
Re: porting in Java

Article about Android

Hello everybody! I have to write a Scientific/Technical article for a class and I thought about Android. The problem is that I've been struggling with gathering ideas for a theme because I don't want it to be a tutorial. Got any ideas? I know that this is a little bit off subject, but this is a community
Informacja: 2008-04-22
Article about Android

About error:Argument must not be null

Hi When i click the playvideo button.I got "Argument must not be null" Error,Heres my code * package* com.IW.*VedioPlayer*; *im**port* android.app.Activity; * import* android.graphics.PixelFormat; * import* android.media.MediaPlayer; * import* android.media.MediaPlayer.OnBu fferingUpdateListener; * import* android.media.MediaPlayer.OnCo mpletionListener;
Informacja: 2008-04-22
About error:Argument must not be null

About camera in android

Hi Can anybody please give me a good sample application using camera Thanks judy
Informacja: 2008-04-22
About camera in android

java-bindings for custom c-library on android?

Hello, I am currently planning on developing an application for android. It happens that the server i want to exchange information with has a java client library. Sadly those are only java-bindings of the C++-library. Is there any chance i can use them on android? Like installing that library on the phone (sqlite, etc. are C-libraries as well, afaik..).
Informacja: 2008-04-22
java-bindings for custom c-library on android?

Re: Article about Android

Compare the freeze process where lower priority programs go into a state of suspended animation with internet quality of service models (QOS).
Informacja: 2008-04-22
Re: Article about Android

Re: Java and mobile phones

Android is no language. Your applications are written in Java. Sony Ericsson is no platform. Symbian-applications (assuming you mean Symbian-based Sony Ericsson phones) are typically written in C (or python). Symbian does support Java (do not know whether J2ME or the full stack). But: most probably your applications won't be easily portable because
Informacja: 2008-04-22
Re: Java and mobile phones

Daily Report

Mam, Good Evening, I sent you the daily report. Thanks & Regards Analdin Judy.M InfoWave Knowledgeware. Beyond Multimedia Chennai | INDIA M: +91.98416.64705 [link] "The information contained in this e-mail (including any attachments) is intended by InfoWave for the use of the named individual or entity to which
Informacja: 2008-04-22
Daily Report

RemoteService not Found

hi, I've trying to run the RemoteService example in the ApiDemo but I'm getting this error: WARN/ActivityManager(631): Unable to start service Intent { action=test.remote.IRemoteServ ice }: not found and WARN/ActivityManager(631): Unable to start service Intent { action=test.remote.ISecondary }: not found
Informacja: 2008-04-22
RemoteService not Found

question about adding external source folders to your project

Hi, My app needs to communicate with a webservice, so I was reading through the tutorial posted at [link] I've downloaded the kXML-RPC sources. The tutorial says to 'add the packages to your project'. How do I do this in Eclipse? thanks,
Informacja: 2008-04-22
question about adding external source folders to your project

Re: RemoteService not Found

I haven't worked with aidl, but just looking at the docs gives me a good idea. Yes, you would have an interface to the service, but the service itself is what gets defined in the manifest.
Informacja: 2008-04-22
Re: RemoteService not Found

Re: [android-beginners] question about adding external source folders to your project

Hi, You may want to look at the instructions from Xavier, given in the thread below: [link] Thanks, Megha
Informacja: 2008-04-22
Re: [android-beginners] question about adding external source folders to your project

Re: [android-beginners] About camera in android

Hi Judy, You can see the MediaRecorder sample posted to the android-developers group. It uses Camera as a VideoSource. Thanks, Megha
Informacja: 2008-04-22
Re: [android-beginners] About camera in android

Re: [android-beginners] About error:Argument must not be null

Hi Judy, You need to install an sdcard and upload test mp4 files to it, next change the code to use those test files, and then run the sample code. Thanks, Megha
Informacja: 2008-04-22
Re: [android-beginners] About error:Argument must not be null

Re: Two types of intent

Works for me. But anyway, if you Google "Diego Torres android intent" you will find it.
Informacja: 2008-04-22
Re: Two types of intent

How to create my own menu?

Hi all, I want to create my menu. When I press one button, this menu will appear on the screen's specific position. There are two types of menus, context menu and option menu. but I want one general menu, which I can place it anywhere and also can customize the width of the menu. Anyone can help me?
Informacja: 2008-04-22
How to create my own menu?

how to port touchscreen driver ?

dear All: I have ported android to monahans(pxa310,marvell). but the touchscreen do not works. it works well in qtopia. another question: android boots very slowly(over 15 minutes).why? my kernel is 2.6.21 .kernel of android is m5-rc14. thanks! 2008-04-21 trustchen
Informacja: 2008-04-22
how to port touchscreen driver ?

Re: Streaming video with m5 SDK

Hello you can find explanation on streaming here: [link] You have an example source code on homepage of this group. I have test two converter to generate streamable content: Yamb with mp4box and quicktime pro Video generate with quicktime pro works!
Informacja: 2008-04-22
Re: Streaming video with m5 SDK

get key pressed actively

Hi all, Is there a way to get key pressed actively? Currently we just need to override the method onKeyDown() method. Then Android OS will call onKeyDown() to tell our program that a key has been pressed. Is there a way to get the event if i don't override the onKeyDown() method? I want to develop an application with hotkey functions. I mean if my
Informacja: 2008-04-22
get key pressed actively

How to insert image?

Hi, all I want to design an interface which can input text and insert image. But I don't know how to insert an existed image. Which class should I use? Anyone can heip me? Thanks Pierre
Informacja: 2008-04-22
How to insert image?

Re: How to insert image?

Thank you, Gibson! I'll go to see the demo.
Informacja: 2008-04-22
Re: How to insert image?

Launching an activity from the web browser

I'm trying to have my activity launched when the user downloads a file of a specific MIME type from the web browser. I can't make this work; whenever I try, the web browser crashes before executing any of my code. I know a number of other people have had the same problem. Does anyone actually have this *working*? If so, how?
Informacja: 2008-04-22
Launching an activity from the web browser

problem when Modifying a xml element with dom

Hi all, I use dom to manipulate a xml file. It's ok with my getter when I search a element node's value. But my setter doesn't work. I'm sure that the node exists, and the xpath is ok. document.getElementsByTagName( tag).item(0).getFirstChild().s etNodeValue(value); Well I did exactly the same thing with the getter, there is no
Informacja: 2008-04-22
problem when Modifying a xml element with dom

How do I create a MediaPlayer for a resource without using the resId?

Hello everyone, This one has had me stumped for the last couple of days. I'm trying to create a MediaPlayer for a resource I have in res/raw, but I (!!!)DO NOT(!!!) want to create it by performing MediaPlayer.create(Context context, int resid), because I am experimenting with a few different things and I do not want to immediately start blocking by calling
Informacja: 2008-04-22
How do I create a MediaPlayer for a resource without using the resId?

Will Google have an App Store?

<script type="text/javascript" src="[link] usluga.sonda.38109"></script> <div style="margin : 5px; background-color : #EEEEEE; width: 160px; border : 1px solid #CCCCCC; padding : 2px;"><a href="[link] poll.com" title="easy-poll.com: free online polls">easy-poll.com: free
Informacja: 2008-04-22
Will Google have an App Store?

Re: Will Google have an App Store?

Crap! embeded poll doesn't work in the forms.... Poll questions: Do you think google have a App Store? 1) Yes, and it will be awesome 2) No, the cell cariers will do this 3) No, I'm going to use: itzybit, SlideME, etc 4) Yes, but it will suck 5) What do you mean "App Store"? Commence voting!
Informacja: 2008-04-22
Re: Will Google have an App Store?

[SOLVED] Re: Socket programming error while reading the socket

//next line is the error code woops i found the mistake. its in line "dos.close()" . i think is kinda close the socket connection. so in order to flush the buffer dont close the InputStream but use dos.flush(). this method will flush the buffered data and still open the connection. hope this help.
Informacja: 2008-04-22
[SOLVED] Re: Socket programming error while reading the socket

task manager like application for android

Hi, I'm trying to see if an application like task manager, which would show running processes, system load, memory statistics can be created for android. I did some googling (+ searched the group) but didn't see anything helpful. So I am asking for a start point for: - see running processes and info about them
Informacja: 2008-04-22
task manager like application for android

Re: [android-developers] updating proximity alerts

Bump (now that it is not the last minute submit panic anymore) anyone else seen this? Michael
Informacja: 2008-04-22
Re: [android-developers] updating proximity alerts

Re: How to create my own menu?

You can listen to keypressed.
Informacja: 2008-04-22
Re: How to create my own menu?

Re: [android-developers] Launching an activity from the web browser

Hi David, Could you provide your relevant code to help understand your issue and debug this further... Thanks, Megha
Informacja: 2008-04-22
Re: [android-developers] Launching an activity from the web browser

Re: updating proximity alerts

It looks like a bug in the system, I'd suggest filing a bug report. :)
Informacja: 2008-04-22
Re: updating proximity alerts

Managed Cursor

What can cause an activity to stop managing a cursor or a managedCursor to not update onReststart or a managed cursor to not be notified of an update? I seem to having this problem when I change activities with startActivity or startSubActivity.
Informacja: 2008-04-22
Managed Cursor

Re: [android-developers] How do I create a MediaPlayer for a resource without using the resId?

android.resource://my.package. name/" + R.raw.foo is a URI. The setDataSource() method expects a filepath here which you cannot provide in case of resources. A setDataSource() method which accepts URI will be provided in a future release of the SDK.
Informacja: 2008-04-22
Re: [android-developers] How do I create a MediaPlayer for a resource without using the resId?

Re: [android-developers] task manager like application for android

Hi Dan, Please see the thread below for a discussion about task manager like feature in Android: [link] Thanks, Megha
Informacja: 2008-04-22
Re: [android-developers] task manager like application for android

Re: [android-developers] get key pressed actively

Hi Gibson, This feature is not supported in the current SDK release. Thanks, Megha
Informacja: 2008-04-22
Re: [android-developers] get key pressed actively

Re: [android-developers] RemoteService not found

Hi Luka, Could you provide your relevant code here to help understand your issue and debug it further? Thanks, Megha
Informacja: 2008-04-22
Re: [android-developers] RemoteService not found

Re: [android-developers] Hardware considerations for application with media

Hi, It is recommended that media files(audio, video, pictures ) be stored on the sd card as they occupy more space. Thanks, Megha - Show quoted text - on the sdcard,
Informacja: 2008-04-22
Re: [android-developers] Hardware considerations for application with media

Bug in Snake and Lunar Landing with onKeyDown?

I posted this on another group, but it is more fitting to discuss this here. The below instructions work for either Snake or Lunar Landing (besides also effecting my own app). Please note that one must do the adb install to the emulator - the bug does not exist running it from eclipse. All instructions of direction refer to either the arrow keys
Informacja: 2008-04-22
Bug in Snake and Lunar Landing with onKeyDown?

Re: [android-developers] Managed Cursor

Hi, If you call Activity's startManagingCursor() method, it should automatically take care of the cursor based on Activity's lifecycle. You can look at the NotePad tutorial for example. You could also provide your relevant code here to help us debug it further? Thanks, Megha
Informacja: 2008-04-22
Re: [android-developers] Managed Cursor

Re: How to dinamically change the activity that is launched when selecting the app icon?

I think the intention is that a login screen activity will always be launched. You should be able to just check to see if the user is logged in inside the onCreate of the login activity, then forward to the main activity (and I think make a finish() call in the login activity) if they are logged in, else continue to display the login
Informacja: 2008-04-22
Re: How to dinamically change the activity that is launched when selecting the app icon?

Re: Android Email Team - Email Message Flags and Imap Idle

The flags are standard (as far as I know) on most Imap servers now. They are definitely Server side. The client simply needs to be able to read the flag status (on or off) and also be able to change the flag status and pass the info back to the server. It is almost exactly the same as READ\UNREAD status on IMAP as far as I know.
Informacja: 2008-04-22
Re: Android Email Team - Email Message Flags and Imap Idle

Submission evaluation

Is any body can tell , whether the evaluation has been started or not? i know many of you have submmited application which will interect with web and if tested then you will be able to understand that the testing of the software is started , can any body provide information that evaluation has started??
Informacja: 2008-04-22
Submission evaluation

Re: task manager like application for android

I think this is exactly what I need. Thanks, Dan
Informacja: 2008-04-22
Re: task manager like application for android

Re: Custom mockup location providers - what's wrong with this?

Hi NTR , Did you solve the problem? I have the same problem. The LocationManagement only get "gps" provider in the folder of /data/misc/location, others won't. Thanks for your help in advanced
Informacja: 2008-04-22
Re: Custom mockup location providers - what's wrong with this?

Re: Load a class from another .apk file dynamic?

There are none code at SVN? I want to reference how to use DexFile correctly...
Informacja: 2008-04-22
Re: Load a class from another .apk file dynamic?

Re: [android-developers] Re: updating proximity alerts

It is already in the tracking system. Although I have a hard time understanding why it is only set to medium, as it touches an important core API of the system. But then, maybe developers don't make use of system calls anyways as too many of them are buggy to begin with... Michael
Informacja: 2008-04-22
Re: [android-developers] Re: updating proximity alerts

Re: Bug in Snake and Lunar Landing with onKeyDown?

Hi! I believe this problem is due to a issueI have been following closely, issue #319. In my application, after using the touch device, the first DPAD keypress is consumed completely and there is nothing to do about it. The bug should be fixed now and the fix should be included in the next release of the SDK.
Informacja: 2008-04-22
Re: Bug in Snake and Lunar Landing with onKeyDown?

Re: [android-developers] Re: Load a class from another .apk file dynamic?

See tips in [link] I got the idea from this blog.
Informacja: 2008-04-22
Re: [android-developers] Re: Load a class from another .apk file dynamic?

Network interface behaving erratically

Hi! I am working on a Peer to Peer application. When I run this application in debug mode with emulator attached, the application and send and receive packets, however, when I run the application in Standalone mode, by simply launching it from the emulator. Sockets dont give any error, but they do not even send packet outside the
Informacja: 2008-04-22
Network interface behaving erratically

The entire lifetime of an activity and static variables

Hi,All Can anybody answer, why static variables save its values between onDestroy() in first application's call and onCreate in second application's call? In documentation I read: "The entire lifetime of an activity happens between the first call to onCreate(Bundle) through to a single final call to onDestroy(). An
Informacja: 2008-04-22
The entire lifetime of an activity and static variables

How to set SQLite's write permission In SQLiteDatabase class?

There is a flag named OPEN_READWRITE in SQLiteDatabase, but how to use it in SQLiteDatabase.create()? In the document it said that OPEN_READWRITE is default, but while I create an database use SQLiteDatabase.create(String path), the other application cann't write it? How to create an database can be read/write by all application?
Informacja: 2008-04-22
How to set SQLite's write permission In SQLiteDatabase class?

How to communicate between two android devcies?

Hi, all, If I want to send a multimedia message(text, image, video) from one devcie to another devcie, how to do that? How to make all the things(text, image, video) together to send them? Is it possible to send a file(image or video or text) as an attachment? Tkank you! Pierre
Informacja: 2008-04-22
How to communicate between two android devcies?

Re: RemoteService not found

sure, I have simply followed the RemoteService and RemoteServiceBinding example, declaring aidl interfaces. Mind you I'm running on windows and not sure whether that migth be the culprit. When I first tried to use aidl's I declared my own interfaces but I realized something went wrong, so I switched to the example provided
Informacja: 2008-04-22
Re: RemoteService not found

Color State List Urgent

how can i use colors for two states HEllo mText.setTextColor(new ColorStateList( new int[][] { new int[] { android.R.attr.state_selected} , new int[1] }, new int[] { Color.rgb(255, 255, 255),
Informacja: 2008-04-22
Color State List Urgent

Modifying fields in address book

Hi, I am trying to change the value of the "user status" field in the contacts of the adress book but I dont see my updates when i requery the android.provider. could someone please let me know if im doing something wrong. here is my relevant piece of code ------------------- Uri myPeopleUri = android.provider.Contacts.Peop le.CONTENT_URI;
Informacja: 2008-04-21
Modifying fields in address book

Protecting data and application from illegal use

Hi! I was wondering about some real world issues about commercial applications: - Will there be a possibility for encrypted APKs as some of the information included with the app (files, media, images, databases) can be copyrighted with the need to protect it from illegal copy. - Could there be an Android based solution for evaluation purposes and
Informacja: 2008-04-21
Protecting data and application from illegal use

Re: [android-developers] Protecting data and application from illegal use

I don't know, but I'm going to have to do something similar, evil though it may be. In general, though, what you want is impossible: the phone has to be able to decrypt the data in order to use it, which means that the decryption key needs to be known to the phone, which means the user can get at it. All we can do is make it hard or inconvenient to get at
Informacja: 2008-04-21
Re: [android-developers] Protecting data and application from illegal use

ProgressDialog not rotating

hi all, My LoginDialog spawns a progress dialog during the login process. this is achieved the canonical way, through the use of a handler, which is in charge of executing the login code. public class LoginDialog extends Dialog { private ProgressDialog mProgressDialog; private Handler mProgressDialogHandler = new Handler() {
Informacja: 2008-04-21
ProgressDialog not rotating

Re: [android-developers] Re: Protecting data and application from illegal use

Then performance is acceptable according to my test. It cost a few seconds to install a bundle. Because the ClassLoader provided by Android now is only support apk file than memory bytes, so I have to decrypt the bundle(sub-apk) to main-apk's data directory. 2008/4/19, Jackkk <ahvipo...@hotmail.com>:
Informacja: 2008-04-21
Re: [android-developers] Re: Protecting data and application from illegal use

Managed Cursors

What causes a managed cursor to not update on resume? Does startActivity or startSubActivity have anything to do with this? How many cursors can an activity manage?
Informacja: 2008-04-21
Managed Cursors

tracview: "Qemu trace files not supported yet."

Just to indicate that on Mac Os, when using the "Debug" class in order to audit an application, when I want to analyze the logs by using the traceview command, I get a "Qemu trace files not supported yet." error message. Is it due to the fact that I'm on MacOS? Is the traceview tool not totally implemented yet?
Informacja: 2008-04-21
tracview:

Power VR?

Anyone know of a good Android Phone release date and/or spec list? More importantly what phones will have a GPU? Of the GPU phones will any have anything other than Power VR?
Informacja: 2008-04-21
Power VR?

Re: Protecting data and application from illegal use

You could encrypt the data itself bego You could encrypt the information itself before storing it to the DB. Or implement your own custom ContentProvider using a different data store. Regards, Werner
Informacja: 2008-04-21
Re: Protecting data and application from illegal use

Streaming video with m5 SDK

I'm trying to play videos from a given uri on the m5 SDK. I found some code that plays "Progressive Streamable mp4" files. But the code wont play any other video files. Can anyone point me to some good information on how to play video files on the new SDK? or some information on how to convert a video file to a Progressive Streamable
Informacja: 2008-04-21
Streaming video with m5 SDK

Hardware considerations for application with media

HI all. I have no experience in programming phones, but I have an idea for an application for the Android platform, and I would like to start implementing it with existing SDK and emulator. My application would probably need to contain a few thousands images, about the same number of very short audio files - quality of
Informacja: 2008-04-21
Hardware considerations for application with media

Socket programming error while reading the socket

i already search for the same problem. some are helpful but i got this weird error. im making a tcp connection, have already successfully send my package but when i try to read from the socket, it throw exception "Bad Socket". im really confuse. can any body help me about this? any help will fully appreciated
Informacja: 2008-04-21
Socket programming error while reading the socket

Re: [android-developers] Re: Has anybody been able to blur an image?

Hi If you are unable to get the native blur apis working you can use a simple blur convolution/kernel matrix like: 0 0 0 0 0 0 1 1 1 0 0 1 1 1 0 0 1 1 1 0 0 0 0 0 0 (This is much like the convolution matrix you get with a gaussian blur so I assume you have some code thats able to apply these to images)
Informacja: 2008-04-21
Re: [android-developers] Re: Has anybody been able to blur an image?

RemoteService not found

hi, I'm getting this error: WARN/ActivityManager(515): Unable to start service Intent { comp={test.test/test.test.IRem oteInterface} }: not found can someone tell what I've done wrong ? thanks in advance luka
Informacja: 2008-04-21
RemoteService not found

SQL servers tools and techniques

Want to have more details on SQL server tools and techniques [link]
Informacja: 2008-04-21
SQL servers tools and techniques

Re: [android-beginners] About mpg file as vedio file

The .mpg mime type is not currently supported in Android mediaplayer. The list of supported mime types is here: [link] Thanks, Megha
Informacja: 2008-04-20
Re: [android-beginners] About mpg file as vedio file

Re: [android-beginners] about classcast exception

You may want to check out the javadocs: [link] Thanks, Megha
Informacja: 2008-04-20
Re: [android-beginners] about classcast exception

Re: [android-beginners] Android web services

Android does not provide inbuilt support for webservices. You are welcome to try your own implementation by importing third party jars. The thread below has some sample code which might help you get started: [link]
Informacja: 2008-04-20
Re: [android-beginners] Android web services

Re: does android support includes of other xml files?

Could you find a way to do that? Would b really handy in case of the TabHost widget.. it's getting kinda messy otherwise. Thanks, suls
Informacja: 2008-04-20
Re: does android support includes of other xml files?

Re: [android-beginners] Re: does android support includes of other xml files?

This will be possible in a future SDK.
Informacja: 2008-04-20
Re: [android-beginners] Re: does android support includes of other xml files?

Problem viewing mp4 on first start up

Hi, I have implemented a video player but I have a problem. Playing 3pg files works fine but when I us my player to play mp4 files the image is ether all black or in strange colors the first time I start the video. If a stop it and starts the same video again i t works fine. Has some one a suggestion of what might be the problem?
Informacja: 2008-04-19
Problem viewing mp4 on first start up

Re: How can I get the current page's url of the web browser?

I've tried: String[] mColumnStrings = { Browser.SearchColumns._ID, Browser.SearchColumns.URL, Browser.SearchColumns._COUNT, Browser.SearchColumns.DATE }; Cursor c = getContentResolver().query(Bro wser.SEARCHES_URI, mColumnStrings, null, null, null); But the return is always null, I don't understand...
Informacja: 2008-04-19
Re: How can I get the current page's url of the web browser?

how to create multiple tabhost by clicking a button

i'd like to creat multiple tabs by clicking a single button..is it possbile to create..can anyone tell me how to do that.. thanks.. Ashok..
Informacja: 2008-04-19
how to create multiple tabhost by clicking a button

set an OnClickListener for each button in a ListView's row

Hi guys, I'm trying to create a ListView, with a TextView and two ImageButton per row. The problem comes when I try to add an OnClickListener to each button. I did in this way: -- row.xml -- <LinearLayout ....... > <TextView ........... /> <ImageButton android:id="@+id/button1"
Informacja: 2008-04-19
set an OnClickListener for each button in a ListView's row

Re: [android-developers] Re: How can I get the current page's url of the web browser?

Hi, It is not possible to get information from one application to another, unless exposed by contentproviders, due to security concerns. Browser.SEARCHES_URI only returns strings the user puts in the GOTO box and picks Google Search. To get all the urls visited, you could use Browser.BOOKMARKS_URI. Thanks,
Informacja: 2008-04-19
Re: [android-developers] Re: How can I get the current page's url of the web browser?

Re: Emulator crashing constantly on Windows Vista

I'm not sure if this is of any more help, but here we go [Trace from console] "failed to read packet from transport socket on fd 103 failed to read packet from transport socket on fd 108 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information."
Informacja: 2008-04-19
Re: Emulator crashing constantly on Windows Vista

Re: Has anybody been able to blur an image?

Anybody?
Informacja: 2008-04-19
Re: Has anybody been able to blur an image?

Re: Visual language media control bar demo code?

Great! I did not recognize that tracker was the way to make feature requests! I am going there now.
Informacja: 2008-04-19
Re: Visual language media control bar demo code?

Re: [android-developers] Re: Emulator crashing constantly on Windows Vista

I would try reinstalling the sdk and if needed the eclipse plugin. I have noticed issues with the emulator on both Windows and Linux. If you have a mac, the emulator is certainly the best on the mac. -Mike ----- Original Message ----- To: "Android Developers" <android-developers@googlegrou ps.com> Sent: Friday, April 18, 2008 3:23:06 PM GMT -05:00 US/Canada Eastern
Informacja: 2008-04-19
Re: [android-developers] Re: Emulator crashing constantly on Windows Vista

Re: [android-developers] set an OnClickListener for each button in a ListView's row

Hi, You cannot set the listeners for your ListView's items in the Activity's onCreate(), you should set the OnClickListeners inside the getView() method of your List's adapter. Thanks, Megha
Informacja: 2008-04-19
Re: [android-developers] set an OnClickListener for each button in a ListView's row

Re: [android-developers] how to create multiple tabhost by clicking a button

You can use the TabHost widget for this: [link] Some sample code is provided in this thread: [link] Thanks, Megha
Informacja: 2008-04-19
Re: [android-developers] how to create multiple tabhost by clicking a button

Re: [android-developers] Problem of resume a SurfaceView

Hi, Could you post your code to help us debug this issue...did you check the ApiDemos > SurfaceView example? Thanks, Megha
Informacja: 2008-04-19
Re: [android-developers] Problem of resume a SurfaceView

Re: [android-developers] Problem viewing mp4 on first start up

Hi, Are you using VideoView? Did you call VideoView.requestFocus() ? Did you check out the media sample code posted on the groups? Thanks, Megha
Informacja: 2008-04-19
Re: [android-developers] Problem viewing mp4 on first start up

Re: [android-developers] questions of inserting image

Hi, I am not sure what network means here. Are you passing messages between two android devices, or an android device and your server? Thanks, Megha
Informacja: 2008-04-19
Re: [android-developers] questions of inserting image

Test Cases for Google Android phone???

Hello All I could find information about the test frame in the android SDK but couldn't find any TEST CASES.(test cases to validate API s as well as test cases to test the functionality of the mobile applications). who will be responsible for these test cases? will google provide all the test cases or the OEM has to
Informacja: 2008-04-19
Test Cases for Google Android phone???

Re: [android-beginners] Re: About Media file

Hi, I want to run a mp3 file through my code. I saw the android document,there they given an example program. They mentioned to store the mp3 file under res/raw.The code is, MediaPlayer mp = MediaPlayer.*create*(TestMedia .*this*, R.raw.song); My problem is i can't see raw folder under res folder of my application.
Informacja: 2008-04-18
Re: [android-beginners] Re: About Media file

Re: about SimpleCursorTreeAdapter

sorry,didn't noticed it's abstract class:-)
Informacja: 2008-04-18
Re: about SimpleCursorTreeAdapter

CheckBoxified List

I am trying check box inside list, like iconified List, but Null pointer exception is coming, can anybody Tell me , where is the error... Here is the code, import android.app.ListActivity; import android.content.Context; import android.os.Bundle; import android.widget.CheckBox; import android.content.Context;
Informacja: 2008-04-18
CheckBoxified List

About res/raw

Hi, Can anybody please tell me,Where we can see the res/raw in our project?(There is a res folder in my project.It contains drawable,strings,layout.But i cant find res/raw) Thanks judy
Informacja: 2008-04-18
About res/raw

Re: About res/raw

res? "There is a res folder in my project.It contains drawable,strings,layout." you answered your own question. and you can just create the raw folder inside res.
Informacja: 2008-04-18
Re: About res/raw

SimpleCursorTreeAdapter

what does the getChildrenCursor() in SimpleCursorTreeAdapter means? i don't know what's the relationship about "groupCursor"
Informacja: 2008-04-18
SimpleCursorTreeAdapter

Any answers for this...

1.Can android be used to emulate location based services? 2.If so, I need the following set up for my research work A dummy GPS emulator(which android has) A mobile emulator (will act as client) Some database connectivity which will store service provider info. So my second question here is what learning curve is needed to emulate
Informacja: 2008-04-18
Any answers for this...

android LBS emulation

I meant the learning curve for just the emulation of LBS and not the behavior observation part.. :-) That I'll know.. thanks..
Informacja: 2008-04-18
android LBS emulation

I need a xml file

Hi, Can anybody give me the xml file for my below coding. I need to display a surfaveview,EditText and 4 buttons 1. mPreview = (SurfaceView) findViewById(R.id.surface); 2. mPath = (EditText) findViewById(R.id.path); 3. mPlay = (ImageButton) findViewById(R.id.play);
Informacja: 2008-04-18
I need a xml file

Moving files from one machine to another and getting eclipse to read it

Hi, I copy the entire file structure for a project over to different computer and eclipse will not show the project or let me create from existing source because the project already exists, but is not displayed. I have tried refreshing every way I know, but it still will not show up. Any help is appreciated.
Informacja: 2008-04-18
Moving files from one machine to another and getting eclipse to read it

Error in xml file "No resource identifier found "

Hi Can anybody please tell me what is the reason for the following error "No resource identifier found for attribute 'id' in package 'android' " I got the error in the following code <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="[link]"
Informacja: 2008-04-18
Error in xml file

Re: About Media file

If you add a folder 'raw' and put an mp3 file there, with no caps in the file name, it will work. I think right clicking in eclipse worked to add the folder.
Informacja: 2008-04-18
Re: About Media file

Re: Create a partially dynamic view -- addView not supported in BaseAdapter

Dear Dan U Thx for your answer. Actually I have found an answer with the tablelayout where I can add rows in my code. Rgds,
Informacja: 2008-04-18
Re: Create a partially dynamic view -- addView not supported in BaseAdapter

Re: Error in xml file "No resource identifier found "

Probably because you have android:id="surface" whereas maybe you mean android:id="@+id/surface"?
Informacja: 2008-04-18
Re: Error in xml file

Re: problem with Manifest Editor

I think my WST plugin was messed up. Once I remeoved WST and did a update again, manifest editor works fine.
Informacja: 2008-04-18
Re: problem with Manifest Editor

Making a demo video of your .apk to post online

I've seen quite a few video demos (eg on YouTube) of Android developers- mostly Challenge participants'- software being shown using their emulator . What is the best method of doing this? Is there software that records your actions? Or are people just shooting video of their computer screen while running through the interface on the
Informacja: 2008-04-18
Making a demo video of your .apk to post online

Re: [android-beginners] Making a demo video of your .apk to post online

How about solution to this problem also for Windows and Linux! That would be cool! I have done some videos but from games with an application called FRAPS. Maybe that would work? On Wed, Apr 16, 2008 at 3:16 PM, luckyandroid <excellentl...@gmail.com> wrote:
Informacja: 2008-04-18
Re: [android-beginners] Making a demo video of your .apk to post online

Re: [android-beginners] Moving files from one machine to another and getting eclipse to read it

Hi, did you just copy the project folder into a new Eclipse workspace folder? If so, this is not enough for Eclipse to consider the project to be part of the workspace. Just use File > Import... and then select General > Existing projects into workspace Xav
Informacja: 2008-04-18
Re: [android-beginners] Moving files from one machine to another and getting eclipse to read it

Incoming Calls and extending the keycharactermap

Hey all- I've just now started ripping into building Android apps, and it's a lot of fun- But as extensive as the API documentation is, there are a couple things that I can't quite tell if they're possible or not, and I'd really like to utilize them for a some personal projects. 1- Is there a way to programmatically retrieve the number of an
Informacja: 2008-04-18
Incoming Calls and extending the keycharactermap

Re: Moving files from one machine to another and getting eclipse to read it

That worked. Thank you.
Informacja: 2008-04-18
Re: Moving files from one machine to another and getting eclipse to read it

Re: [android-beginners] CheckBoxified List

Hi, I think you are not making the ListAdapter correctly, I tried substituting CheckBox for TextView for mDialogue in ApiDemos>Views>List4.java and it gives a "checkboxifiedlist". You may want to try that. Thanks, Megha
Informacja: 2008-04-18
Re: [android-beginners] CheckBoxified List

How to send and receive SMS messages from outside the emulator?

Hi, I am developing an application that requires data to be passed between two phones via SMS messages. One phone is a physical phone that is our server while the other is the android emulator. To test the architecture I need to be able to get my messages in and out of the emulator, so that the emulator can communicate with the server
Informacja: 2008-04-18
How to send and receive SMS messages from outside the emulator?

Re: [android-beginners] How to send and receive SMS messages from outside the emulator?

can you elaborate about the "it appears that the emulator may be converting the message into 7 bit encoding" ? when using 'sms send <number> <message>', the content of <message> must be utf-8, with a few escape conventions added in (type 'help sms send' for more details) internally, the SMS spec allows you to send messages in either the 7-bit GSM
Informacja: 2008-04-18
Re: [android-beginners] How to send and receive SMS messages from outside the emulator?

Re: [android-beginners] Re: About res/raw

Now raw is working thanks to all
Informacja: 2008-04-18
Re: [android-beginners] Re: About res/raw

MediaPlayer-Null pointer exception

Hi, When i run the media player application ,I got the Null pointer exception. I saw in the document,They ask to do add useaudio in run-configuration Can anybody please tell me how to add useaudio ? Thanks judy
Informacja: 2008-04-18
MediaPlayer-Null pointer exception

About useaudio

Hi, I want to add useaudio configuration in run. Can anybody please tell me What is the syntax for useaudio? Thanks judy
Informacja: 2008-04-18
About useaudio

Re: [android-beginners] I need a xml file

Hi, this IDE will help you: [link] 2008/4/16, Analdin Judy <j...@i-waves.com>:
Informacja: 2008-04-18
Re: [android-beginners] I need a xml file

Re: [android-beginners] Re: How to update my current location from GPS

thank u for ur explnation Tatsu wat i m loook is to update my currunt location at an interval of time
Informacja: 2008-04-18
Re: [android-beginners] Re: How to update my current location from GPS

Re: About useaudio

It's -useaudio. Use emulator -help.
Informacja: 2008-04-18
Re: About useaudio

Re: [android-beginners] Re: Making a demo video of your .apk to post online

Actually, I have created a group in YouTube under : [link] Where we can submit all video demos of the apps created. Hope its helpful to keep it all together this way and not have it all scattered around. Will spend more time arranging everything sometime next week.
Informacja: 2008-04-18
Re: [android-beginners] Re: Making a demo video of your .apk to post online

Re: [android-beginners] Incoming Calls and extending the keycharactermap

On Wed, Apr 16, 2008 at 3:54 PM, callingshotgun <callingshot...@gmail.com> wrote: You cannot retrieve the incoming call number. You may want to use an input method. This is the thing that gets the '2' keypress and tries to figure out if it's an A, B or C. The one for the qwerty key is very simple -- it uses the key character map. We have basic
Informacja: 2008-04-18
Re: [android-beginners] Incoming Calls and extending the keycharactermap

Re: [android-beginners] MediaPlayer-Null pointer exception

Hi Judy, For the Media Samples provided on the groups, you should install the sdcard and provide your test media files on the sdcard, before running those samples. If you are using your own code...you may want to paste it here to help us debug it further. Thanks, Megha
Informacja: 2008-04-18
Re: [android-beginners] MediaPlayer-Null pointer exception

Re: Developing java backend with android front end?

Kfealz, From an outside view without seeing the code, it looks like whatever type of network connection AIM_Connect is making, seems to be failing. Is this a socket? http request? look around a lot of people are having problems with sockets from the emulator. You might have to change the underlining AIM code to reflect what works and what doesn't
Informacja: 2008-04-18
Re: Developing java backend with android front end?

Android web services

Does anyone have any tutorials on how I can consume SOAP web services from Android? I am writing a web service in .NET, and would like an Android device to access it.
Informacja: 2008-04-18
Android web services

borders?

Let's say I have a view with 3 listviews laid out consecutively. These listviews are empty initially (the user does something that fills them in) and so basically invisible. Is there any way to give them a white border or something? Or some other kind of separator so they're distinct?
Informacja: 2008-04-18
borders?

70 countries submitted 1,788 entries to the Android Developer Challenge!

[link] [link] [link] find stuff closer.
Informacja: 2008-04-18
70 countries submitted 1,788 entries to the Android Developer Challenge!

Re: Making a demo video of your .apk to post online

thanks, George. great! When ours is ready for primetime I will post it there. ..Still don't know how to capture emulator interactions into video on a mac, but I'll figure something out eventually. I'm still open to suggestions on that if anyone has them... cheers, mac
Informacja: 2008-04-18
Re: Making a demo video of your .apk to post online

about classcast exception

Hi, Can anybody please tell me What is the reason for* class cast exception*? Thanks judy
Informacja: 2008-04-18
about classcast exception

About mpg file as vedio file

Hi, Shall we use a .mpg file as vedio file in the media player Thanks judy
Informacja: 2008-04-18
About mpg file as vedio file

Re: Incoming Calls and extending the keycharactermap

Thanks for the info! Do you know if there are any plans to support pulling the incoming number in the future?
Informacja: 2008-04-18
Re: Incoming Calls and extending the keycharactermap

porting in Java

HI, I got a question about porting. For example there is a SIP stack libraries written in java which is called mjsip available at [link] Now I heard we can do porting the code to make it work for Google's Android platform [source: [link]]
Informacja: 2008-04-18
porting in Java

Re: Will users be able to select text in the web browser?

I wouldn't count on it. I'm not sure what you exactly want to archieve, but to implement something like this would mean that the browser needs to fire an intent everytime the user selects something and then it would also somehow need to know what the external application wants to do with it.
Informacja: 2008-04-18
Re: Will users be able to select text in the web browser?

Rapidshare search

I have found two interesting sources and would like to give the benefit of my experience to you. I am tuning my pc by the best software for free, with the file search engine [link] and [link] May be you have your own experience and could give some useful sites too. Because this
Informacja: 2008-04-18
Rapidshare search

Re: Finish Activity when toast message has been dissapered

Activity is independent of an toast. Toasts are designed to be used for showing simple state messages to user, for example from background service. You also can't check state of toast, it was designed just to prevent usage like that what you want. But if you want "tie" toast with activity, then your UI design is simply bad. You need to rethink
Informacja: 2008-04-18
Re: Finish Activity when toast message has been dissapered

Re: [android-developers] Re: About load '.so' library file with JNI

[...] [...] I think this is your problem; I don't think you can call printf() from Android's JNI environment. (Android has its own libc that is *not* compatible with the glibc headers that the CodeSourcery toolchain comes with. While you can bodge it and make it work, sort of, it's not very reliable. I'd suggest you
Informacja: 2008-04-18
Re: [android-developers] Re: About load '.so' library file with JNI

Elliptic Curve Cryptography in Android and Bouncy Castle library

Hi all, I've got a question regarding bc in android, would be glad if anyone could help. What I am trying to do is to generate KeyPair using KeyPairGenerator (ECDSA) in android, like .... KeyPairGenerator g = KeyPairGenerator.getInstance(" ECDSA") or using bouncy castle KeyPairGenerator g = KeyPairGenerator.getInstance(" ECDSA", "BC")
Informacja: 2008-04-18
Elliptic Curve Cryptography in Android and Bouncy Castle library

how to get one row's Uri in one SQLite table?

Hi all, I want to get one row's Uri in the database table. Anyone can help me? Thanks. Frank
Informacja: 2008-04-18
how to get one row's Uri in one SQLite table?

Start earning money online today

Start earning money online today [link] BUX.TO = THE BEST WAY TO EARN MONEY
Informacja: 2008-04-18
Start earning money online today

Re: how to get one row's Uri in one SQLite table?

This depends on the implementation of the content provider powering the table. Usually the value in the _id field can be appended to the base content uri to get a specific row.
Informacja: 2008-04-18
Re: how to get one row's Uri in one SQLite table?

Re: Rapidly unwinding Activity stack

i tried it but it still doesn't work same it shows old data for 2 secs then it refreshs when i used on resume same it show
Informacja: 2008-04-18
Re: Rapidly unwinding Activity stack

Re: How to update my current location from GPS

Oopss sorry. Kosmaj is right. And I suggest you to use IntentReceiver. Because you can specify the minimum distance and minimum time that you want to receive a new location. And you dont have to deal with Thread.
Informacja: 2008-04-18
Re: How to update my current location from GPS

does the cell id is unique?

i wonder if i can use the cell id as an ident in a DB on a server...
Informacja: 2008-04-18
does the cell id is unique?

Re: [android-developers] Re: How to update my current location from GPS

thank u so much for the help and explnation
Informacja: 2008-04-18
Re: [android-developers] Re: How to update my current location from GPS

Re: webview not showing data

Just a thought, but perhaps it's not redrawing the view? I haven't tested this out, but try calling wView.invalidate(); after you load the data.
Informacja: 2008-04-18
Re: webview not showing data

Invalid LayoutParams supplied to android.widget.TableRow

Hi guys, I'm tying to figure out with this problem: I would programmatically add rows to my TableLayout; here's the code: TextView tv_name = new TextView(this); tv_name.setLayoutParams(new LinearLayout.LayoutParams( LinearLayout.LayoutParams.FILL _PARENT, LinearLayout.LayoutParams.WRAP _CONTENT));
Informacja: 2008-04-18
Invalid LayoutParams supplied to android.widget.TableRow

Re: [android-developers] Invalid LayoutParams supplied to android.widget.TableRow

On your TableRow you must set new TableLayout.LayoutParams and on your TextViews you must set new TableRow.LayoutParams. The rule is simple: on a child, set the layout params of its parent.
Informacja: 2008-04-18
Re: [android-developers] Invalid LayoutParams supplied to android.widget.TableRow

Re: Invalid LayoutParams supplied to android.widget.TableRow

It's really simple! :) It works! Thank you Romain!
Informacja: 2008-04-18
Re: Invalid LayoutParams supplied to android.widget.TableRow

Re: Does KXML2 api be usable in andorid

I tried this, and it doesn't seem to be working. I added kxml2-2.2.2.jar to my build path in my Eclipse project and deployed my application. It is still using the kxml2 packages provided by Android, which throw an exception if I try to use WbxmlSerializer. What can I do? On Mar 22, 10:21 am, Raja Nagendra Kumar <nagendra.r...@gmail.com>
Informacja: 2008-04-18
Re: Does KXML2 api be usable in andorid

AlertDialog.Builder.setItem() using Cursor

Hi all, setItem(int arg0, onClickListener arg1) keeps an int as first parameter, like an R.array. How to create the list from a DB query? Something like setListAdapter? But how it works? Thanks, Pzikit Bloo
Informacja: 2008-04-18
AlertDialog.Builder.setItem() using Cursor

questions of inserting image

I want to design an simple multimedia message interface for testing the network. And now I have a question of how to insert image into the message. Is there anyone who can tell me about it? Many thanks.
Informacja: 2008-04-18
questions of inserting image

Re: [android-developers] How can I get the current page's url of the web browser?

Hi, You can use WebView's getUrl() method to retrieve a URL for the current page: [link]()<[link]> Thanks, Megha
Informacja: 2008-04-18
Re: [android-developers] How can I get the current page's url of the web browser?

Re: [android-developers] Visual language media control bar demo code?

Hi, That is a good suggestion, though the current SDK does not support voice recording. You may want to log this as a feature request in the Android Issue Tracker, you can find a link to it on the groups page. Thanks, Megha On Wed, Apr 16, 2008 at 5:04 AM, efont...@gmail.com <efont...@gmail.com> wrote:
Informacja: 2008-04-18
Re: [android-developers] Visual language media control bar demo code?

Re: A question about OpenGL SurfaceView in DEMO

Just send a new message as part of processing the previous one. I can assure you it works fine. Doing this is exactly the same as the open gl example with a thread updating the screen as fast as possible. Note that, as another poster said, the system doesn't allow you to update a surface faster than the
Informacja: 2008-04-18
Re: A question about OpenGL SurfaceView in DEMO

Re: [android-developers] What adapter to use with a Spinner and a ListView in the same layout?

I was looking through your code and have one question... what is R.layout.notes_list?
Informacja: 2008-04-18
Re: [android-developers] What adapter to use with a Spinner and a ListView in the same layout?

Re: deleting a phone number or email address

Thank you for the help. How would I do this for Phones as well?
Informacja: 2008-04-18
Re: deleting a phone number or email address

Re: does the cell id is unique?

You should be able to build a longer string with country and carrier and cell id that is unique.
Informacja: 2008-04-18
Re: does the cell id is unique?

Re: [android-developers] Re: What adapter to use with a Spinner and a ListView in the same layout?

R.layout.notes_list? It's the id automatically generated for the "notes_list.xml" file where the layout below resides. Fred
Informacja: 2008-04-18
Re: [android-developers] Re: What adapter to use with a Spinner and a ListView in the same layout?

Re: What adapter to use with a Spinner and a ListView in the same layout?

Ah, so the xml you posted is notes_list.xml? That might be the problem. I think the adapter is looking for a layout file describing a single item in the list, not the layout that contains the listview.
Informacja: 2008-04-18
Re: What adapter to use with a Spinner and a ListView in the same layout?

Problem of resume a SurfaceView

At the beginning, the SurfaceView can draw OpenGL scene correct. But while I launch another Activity , after that close the new- launched Activity and return to the original Activity. Then the SurfaceView became empty and cann't draw anything. That's why? There are any action must be done in onResume() callback?
Informacja: 2008-04-18
Problem of resume a SurfaceView

client mail

salut tout le monde svp j'ai besoin de faire developper un client mail sur android "envoie et reception des emails" alors j'ai besoin de code source qui peut m'aider. merci si quelqun peut m'aider
Informacja: 2008-04-18
client mail

android bug track

hi again is there any android bug track bugzilla like?
Informacja: 2008-04-16
android bug track

Re: [android-developers] android bug track

Hi, You can use the Android Issue Tracker to report bugs/feature requests: [link] Thanks, Megha On Tue, Apr 15, 2008 at 2:21 PM, wr4b...@gmail.com <wr4b...@gmail.com> wrote:
Informacja: 2008-04-16
Re: [android-developers] android bug track

Re: IM App inter thread communication

thank you !
Informacja: 2008-04-16
Re: IM App inter thread communication

SQLite interface: hell slow?

I was shocked how slow SQLite works on Android. For a selection of 374 rows, four columns (two integers and two strings ~10 chars each), it took about 8 seconds. Outside android same selection was finished in 63ms. Of that time about 4 seconds each was taken by SQLiteStatement.native_1x1_lon g and
Informacja: 2008-04-16
SQLite interface: hell slow?

submitting mock gps locator late

Google folks, My team submitted an app last night, but didn't submit the mock GPS locator we'd created for it; is there a way to add that after the deadline, or is that not allowed? Thanks.
Informacja: 2008-04-16
submitting mock gps locator late

Re: android service example

hi In API Demos (app.services) package you have some examples how to use services including aidl.
Informacja: 2008-04-16
Re: android service example

MapController.centerToMap(Point, boolean) is not applicable for the arguments (Point, boolean)

Any idea what is causing this? I'm trying to use the map services directly from another example, and the function is not recognizing the documented arguments. Code inside the main class is ... @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); MapView mapView = new MapView(this);
Informacja: 2008-04-16
MapController.centerToMap(Point, boolean) is not applicable for the arguments (Point, boolean)

about SimpleCursorTreeAdapter

how to use SimpleCursorTreeAdapter? when I new a SimpleCursorTreeAdapter,there was an error"Cannot instantiate the SimpleCursorTreeAdapter" in elipse,I don't know why
Informacja: 2008-04-16
about SimpleCursorTreeAdapter

Re: submitting mock gps locator late

A mock GPS setup was not allowed I believe for the challange.
Informacja: 2008-04-16
Re: submitting mock gps locator late

Regarding menu with gallery

Hi All, I am trying to implement gallery with menu option what i want is to have mark and unmark menu with check box implementation. i want to dynamically change menu "Mark to Unmark " and vice versa. and when in gallery image change by left and right key press i want to reload menu options again . any idea
Informacja: 2008-04-16
Regarding menu with gallery

About iPhone OS and SDK

Hi everyone, Can anybody let me know what is development language used by Apple for developing there applications? Regards, Pramod K.Shinde ______________________________ ______________________________ ________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. [link]
Informacja: 2008-04-16
About iPhone OS and SDK

About memory leak / GC

Hi, Anyone encounter such problem? Use eclipse to profile your application, and monitor your memory heap size usage. Your application works like this, Activity A start subactivity B, B call setResult(), finish() and return to A, then do previous action again and again. I call System.gc() just before B call fnish(), the eclipse heap
Informacja: 2008-04-16
About memory leak / GC

Re: after creating an alarm service that starts on boot the adb tries to connect even after i stop the emulator, why is that?

there is nothing special on the logcat co's this happens when the emulator is closed i wonder maby the service that iv'e scheduled with the alarm at boot completed shold be stoped on close ( when the emulator is closed ) is there a way to do so..... and another thing when scedule a service to the alrm but not on boot
Informacja: 2008-04-16
Re: after creating an alarm service that starts on boot the adb tries to connect even after i stop the emulator, why is that?

When will the emulator support capturing input voice?

Hello, I just knew that the current version of the emulator doesn't capture any input voice. And we're to develop a speech recognition and synthesis application on Android, so we want to be able to capture input voice in the emulator to be able to test the correctness of our application. So, any ideas about when a newer version will be released
Informacja: 2008-04-16
When will the emulator support capturing input voice?

Re: Receive an SMS (sms send +9998887777 hello)

I've just got a notification of a incoming sms, finally, that's a little strange because I didn't change anything... Thanks anyway D
Informacja: 2008-04-16
Re: Receive an SMS (sms send +9998887777 hello)

Re: [android-developers] When will the emulator support capturing input voice?

the next release should have audio input, i.e. audio recording will work, for example to do speech recognition. as to when this version will appear, I can't say at all... NOTE: you still won't get audio emulation while doing a "phone call" in the emulator, this is a rather complex issue related to audio routing/paths in a
Informacja: 2008-04-16
Re: [android-developers] When will the emulator support capturing input voice?

What adapter to use with a Spinner and a ListView in the same layout?

I am trying to build a layout with some spinners and a list below the spinners. The layouts and the code work fine when I get the spinner values from an array resource. When I try to populate the spinners from an array, I get an exception, see below. Is it possible to have spinner and a list view in the same layout? Which adapter do I need for the spinners?
Informacja: 2008-04-16
What adapter to use with a Spinner and a ListView in the same layout?

Visual language media control bar demo code?

Impressed by the API Demo code and the good things it can do through UI standardization to make the android user experience positive, will the next release have a bit of voice recorder media control bar sample code? Particularly start/stop record function on a minimal keypad. I'm looking for the UI to follow a original Macintosh path to goodness
Informacja: 2008-04-16
Visual language media control bar demo code?

Re: Smack

I was forgetting add the provider. Now, I can be able to send and receive extensions, but I can not send a custom IQ messages, because the sever tell me that "service_unavailable". Thanks.
Informacja: 2008-04-16
Re: Smack

How to update my current location from GPS

How to update my current location from GPS I got the current location from GPS with the following method, i want to update the my current location any body help me how to do it // method to get current location from gps public void gotoCurrentGPSPosition() { bubbleIcon = BitmapFactory.decodeResource(g etResources(),
Informacja: 2008-04-16
How to update my current location from GPS

How can I get the current page's url of the web browser?

Hi all, Could someone tell me how to access the current page's content or url of the web browser from another android application? Thanks a lot. :) D
Informacja: 2008-04-16
How can I get the current page's url of the web browser?

Re: Add more features on my application

Suggestion, read the contest rules. In my opinion, they can only judge what they see, and according to the 4 evaluation vectors that where defined. Anything that isn't implemented is futurology ! :) But that's why there is a second round in the contest, i.e. the prizes on the first round, will allow you to fund further development.
Informacja: 2008-04-16
Re: Add more features on my application

Re: Android Location - Connect with friends and get alerted where they are nearby, explore places and events recommended by friends

Now you can watch our submission of NavXS to the ADC on YouTube: [link]
Informacja: 2008-04-16
Re: Android Location - Connect with friends and get alerted where they are nearby, explore places and events recommended by friends

is a Menu incompatible with a FrameLayout?

Hi! I'm using a FrameLayout which is set to fill_parent as shown here: LinearLayout (fill_parent/fill_parent) FrameLayout(fill_parent/fill_p arent) Custom3DView .... I'm trying to show a menu with one item, but when I press the "menu" button nothing happens... May be it is not shown because the frame layout reserves all the
Informacja: 2008-04-16
is a Menu incompatible with a FrameLayout?

Re: [android-developers] Re: SQLite interface: hell slow?

Here: package sqlite.test; import java.io.File; import java.io.IOException; import java.util.Date; import android.app.Activity; import android.database.Cursor; import android.database.sqlite.SQLite Database; import android.database.sqlite.SQLite Statement; import android.os.Bundle; import android.os.Debug;
Informacja: 2008-04-16
Re: [android-developers] Re: SQLite interface: hell slow?

Re: SQLite interface: hell slow?

P.S. And about sane figures (may be 5-10% less) with in-memory database
Informacja: 2008-04-16
Re: SQLite interface: hell slow?

Re: About memory leak / GC

yes, extactly. I also suspect it might be caused by dead thread. My sub activity also started a thread which will take a lot of memory when it is alive.
Informacja: 2008-04-16
Re: About memory leak / GC

cant send data to service???

hi, can anybody help - ive got an intent receiver that starts a service, and i want to send data via the intent for the service OR a bundle - neither seem to work. my data is always empty strings, as initialized in the service . i thought onStart of the service was the place to pick up the data -
Informacja: 2008-04-16
cant send data to service???

Re: [android-developers] cant send data to service???

you should call...... for example Bundle extras = getIntent().getExtras(); then extras.getString(KEY, VALUE); -mike
Informacja: 2008-04-16
Re: [android-developers] cant send data to service???

Re: [android-developers] About iPhone OS and SDK

A very elegant language called Objective C. David
Informacja: 2008-04-16
Re: [android-developers] About iPhone OS and SDK

File Upload Website Interaction

I posted this in beginners and got no response, but it appears this group is far more active; I hope this doesn't offend anyone. I have been reading a lot of documentation, and I'm looking to start building my application very soon. However, I'm not sure how I want to handle a key aspect of it, and I want to get it straightened out
Informacja: 2008-04-16
File Upload Website Interaction

Re: [android-developers] Re: cant send data to service???

it goes before you call the extras first.... i would say onCreate.
Informacja: 2008-04-16
Re: [android-developers] Re: cant send data to service???

Re: cant send data to service???

onCreate for a service does not take any parameters, when i put it there (or anywhere in GetContacts.java i get syntax error "the method getIntent() is undefined for the type GetContacts" ???
Informacja: 2008-04-16
Re: cant send data to service???

Re: is a Menu incompatible with a FrameLayout?

Menus are displayed as a separate window on top of the activity, so there should be nothing you can do in your layout to break them. The only thing I can think of is to check to make sure you aren't returning true when processing a menu key, otherwise you will consume it and the default behavior (displaying the menu) won't happen.
Informacja: 2008-04-16
Re: is a Menu incompatible with a FrameLayout?

Re: Doc to PDF

Use Open Office. They also include an open office to PDF converter. [link]
Informacja: 2008-04-15
Re: Doc to PDF

Re: Where has everybody gone???

Personally, I've been sleeping at most 4 hours each day for the past 2 months, juggling this work with my full time job and raising a kid. I'm too tired to do anything else right now. (Not that I was very active posting in the forums. You know, regardless outcome of the contest, I really like this
Informacja: 2008-04-15
Re: Where has everybody gone???

Re: [android-developers] Hashtable put Fails

please post code snippet.
Informacja: 2008-04-15
Re: [android-developers] Hashtable put Fails

RelativeLayout layout_below android:empty and list

I want to have a button at the bottom of a ListView and all is working well except when the list is empty and I have an android:empty TextView displayed. Since I can only have one layout_below I have to choose from android:list and android:empty. I am not aware of a way to have more than one.
Informacja: 2008-04-15
RelativeLayout layout_below android:empty and list

putting custom data type int extra params

hey i've activity PropertiesActivity i wanna start this activity from another activity (using startSubActivity) and put my class Class (implements Serializable) into extra when i do Intent intent = new Intern(this, PropertiesActivity.class); intent.putExtra("whiter4bbit.c lasses.Class", classInstance);
Informacja: 2008-04-15
putting custom data type int extra params

Re: [android-developers] putting custom data type int extra params

so, it is really?) 2008/4/15, wr4b...@gmail.com <wr4b...@gmail.com>:
Informacja: 2008-04-15
Re: [android-developers] putting custom data type int extra params

trouble with AIDL parser

hi all, I have an inner class in an activity, implementing a listener interface. The activity registers the innerclass object with a network connection manager and to my dismal surprise there never was any call back. I suppose I need to use AIDL for that. But the parser does not like anything, nor the import statements nor
Informacja: 2008-04-15
trouble with AIDL parser

Cant Submit my entry

The form is giving a 402 ? Anything wrong with the server ? regards, Harsh
Informacja: 2008-04-15
Cant Submit my entry

Re: Cant Submit my entry

For me it is giving 502 server error :( What to do ? Prekshu
Informacja: 2008-04-15
Re: Cant Submit my entry

Some Video View Problems...

Hello everyone. I've had some problems with a VideoView. This method is called from the main one in my code: private VideoView Vid; public void LaunchVideo() { getWindow().setFormat(PixelFor mat.TRANSLUCENT); setContentView(R.layout.main); Vid = (VideoView) findViewById(R.id.MyVideo);
Informacja: 2008-04-15
Some Video View Problems...

Re: Life cycle of activities updating a database

It just means the data has to be saved in the provider earlier than onPause ("cancel" in this context). The pattern sometimes results in tiny content provider updates where the performance hit is an issue I'm still learning about. They key, that "When you are saving your data you are storing it in a content provider, not returning it as a
Informacja: 2008-04-15
Re: Life cycle of activities updating a database

Re: Cursor c = this.getContentResolver().query( gets nullpointer exception when code is moved

hi megha, thanks for all your help - just one little problem and its done. the cursor seems to be working now - BUT the last thing is that i need to send data to my service and i dont seem to have conquered that although i have tried various things. i guess i dont understand it.... here is the code for the intent receiver that calls the service, and
Informacja: 2008-04-15
Re: Cursor c = this.getContentResolver().query( gets nullpointer exception when code is moved

Re: putting custom data type int extra params

Sorry, there is a bug in M5 that prevents this from working.
Informacja: 2008-04-15
Re: putting custom data type int extra params

Re: trouble with AIDL parser

i get coudn't find the import for class ..... :O
Informacja: 2008-04-15
Re: trouble with AIDL parser

Re: Running the same activity from an activity?

Probably because you need to make the call in the UI thread with either a Handler or UIThreadUtilities. I personally think finishing one activity and starting a new one just to do a re-skin is overkill.
Informacja: 2008-04-15
Re: Running the same activity from an activity?

Re: [android-developers] Re: Cannot get Linkify.addLinks() to work

Hi JavaSurfer I apologize for not getting to you before this - I have had my hands full with the Google App Engine launch and am only just clearing the backlog. Have you had any luck getting this working in the intervening time. What you have done should work, I suspect there is something a little wrong with one
Informacja: 2008-04-15
Re: [android-developers] Re: Cannot get Linkify.addLinks() to work

Notification trying to be immortal - how to kill it

(I posted this on the challenge group accidentally, but this is a dev question) Hi, my local service occasionally sends out notifications through the notification manager. Clicking on the notification launches an activity. From within the activity, I call bindService and then call a service-api to do
Informacja: 2008-04-15
Notification trying to be immortal - how to kill it

How do i schedule the alarm at boot up?

i want to do some background work every once in a while according to a schedule time i want it to sceduale the alarm on boot completed. currently i know how to create an intent receiver that catches the boot completed and run a service i know how to schedule the alarm from an activity. but how can i combine those tow together.
Informacja: 2008-04-15
How do i schedule the alarm at boot up?

Re: How do i schedule the alarm at boot up?

Write an IntentReceiver and add the following to your manifest <receiver android:name="YourIntentReceiv er"> <intent-filter> <action android:name="android.intent.a ction.BOOT_COMPLETED" /> </intent-filter> </receiver>
Informacja: 2008-04-15
Re: How do i schedule the alarm at boot up?

Re: Notification trying to be immortal - how to kill it

never mind, I'm reworking this part of the code ...and have already removed the need for BindService. That has fixed the problem. Now I just need to complete the rework and get everything submitted before the mindnight ADC deadline
Informacja: 2008-04-15
Re: Notification trying to be immortal - how to kill it

Finish sub activity Overlapping (Urgent)

hello I am trying to finish sub Activities but they are getting overlapping help me out please super.onActivityResult(request Code, resultCode, data, extras); this.setResult(InitializeConfi guration.SUBACTIVITY_RESULTCOD E_CHAINCLOSE); this.finish();
Informacja: 2008-04-15
Finish sub activity Overlapping (Urgent)

Re: [android-developers] Re: Finish Activity(Urgent)

Before you start sub activity C finish the subactivity B using finish() .Hope this Works
Informacja: 2008-04-15
Re: [android-developers] Re: Finish Activity(Urgent)

How to Set application name in GridView?

I want to write a application which is just like the "ALL". it can scan the native application and show the icon and application name in grid. I also see the GridView sample,it just like the IconView, but I want to show the name under the Icon.... how to do? thanks
Informacja: 2008-04-15
How to Set application name in GridView?

How to communicate between IntentReceiver and Activity?

I had try to use AIDL, but while call Context.bindService in IntentReceiver , there is a error dialog said cann't bind service in IntentReceiver. How to communicate between IntentReceiver and Activity? I had tried use Inner-class , such as : --code-- public class TestActivity extends Activity
Informacja: 2008-04-15
How to communicate between IntentReceiver and Activity?

Re: Finish Activity(Urgent)

Actually you want to finish B -after- starting the next activity. And yes, the activities get overlapped -- first B is paused, then C is created and resumed, then B is stopped and finished. It is designed this way to allow B to save all of its important state before the next activity takes over, while reducing the amount of work as much as
Informacja: 2008-04-15
Re: Finish Activity(Urgent)

Re: How to communicate between IntentReceiver and Activity?

I think the issue with the above is that your MyIntentReceiver class would need to be declared static (if it were to work at all). Of course, when you do that, you won't be able to access foo().
Informacja: 2008-04-15
Re: How to communicate between IntentReceiver and Activity?

Re: Good Luck to everyone !

Also good luck to everyone! I think I put about 200 hours in my project. Mostly at night because I have a normal job and a young family. During the last days it was quite stressful to get some time for Android especially on the weekends, beside baby and girlfriend. They all wanted something and I didn't want to give the the impression that
Informacja: 2008-04-15
Re: Good Luck to everyone !

Re: Got reverse geocoding working

I'm glad you were able to get it done in time. Btw to get real geocoding data, the GmmGeocoder class in Android would have also been a good option (,but it also has the same potential issue of server being down, it uses the google.com glm/mmap server)
Informacja: 2008-04-15
Re: Got reverse geocoding working

Announcing: RCP for Android & Unify-Message Open Platform

I have summited two framework projects for developers to ADC. 1. RCP for Android [link] [link] 2. Unify-Message Open Platform [link] Comments and sugesstions are welcome! :-)
Informacja: 2008-04-15
Announcing: RCP for Android & Unify-Message Open Platform

Re: "Orientation" sensor conventions: Can I assume the following?

Hi Redhunt, Thanks for your interest in the accelerometer. Without any acceleration (in outer space or when the phone falls freely), the values are "0,0,0", showing no acceleration. If you put the phone on a table, then you will actually see acceleration in the z-direction. ("x,y,z" = "0,0,-1"). The acceleration is nothing else than gravity
Informacja: 2008-04-15
Re:

Re: Code for Accelerometer

Hi marioneil, Thanks for your interest in the Sensor Simulator. The basic steps how to include it in your application are shown on this page in the section "How to use the SensorSimulator in your application": [link] The OpenGLSensors application shows how you can extract the yaw,
Informacja: 2008-04-15
Re: Code for Accelerometer

Unknown host using browser

Hi, I'm facing a problem using android browser. My env is: XP - android-sdk_m5-rc15_windows To access internet from my lan I need to use a proxy (with username and password authentication). I tried setting in system database following record: -http_proxy -username -password and I launched the emulator using http_proxy option.
Informacja: 2008-04-15
Unknown host using browser

Re: Problem in using FileReader to read .txt files

Hello , I would like to know to read your file on your computer without adb and push. best regards, Niko
Informacja: 2008-04-15
Re: Problem in using FileReader to read .txt files

Re: [android-developers] Unknown host using browser

the -http-proxy option in the emulator doesn't work well on Windows in M5 (this will be fixed in the next SDK release) :-( you might change the browser's internal proxy settings though: see [link] however, the 'unknown host' problem is related to DNS. please have a look at
Informacja: 2008-04-15
Re: [android-developers] Unknown host using browser

ADC 1st Round submitt Completed

Hope lot of people specially everybody from this group might have submitted their work for challenge. Is there any option to know the exact number of entries. Will google disclous the number of competting application for ADC.
Informacja: 2008-04-15
ADC 1st Round submitt Completed

BitmapDrawable is faster than Bitmap ?

when using Overlay, it is better to draw from BitmapDrawable, not Bitmap. and this also applies when using ImageView. is this true ?
Informacja: 2008-04-15
BitmapDrawable is faster than Bitmap ?

Re: [android-developers] Re: putting custom data type int extra params

too its very interesting, in android samples this problem solved by 3rd class static members i think , that isn't a try way) 2008/4/15, Zalunin Pavel <wr4b...@gmail.com>:
Informacja: 2008-04-15
Re: [android-developers] Re: putting custom data type int extra params

And drawPath is faster and many invocations of drawLine (between points) in Overlay ?

and it looks nicer because there is no gap between lines. but is it faster?
Informacja: 2008-04-15
And drawPath is faster and many invocations of drawLine (between points) in Overlay ?

magic

Can you imitate her? [link]
Informacja: 2008-04-15
magic

Re: How to debug Android in Eclispe by win2000?

Thanks a lot
Informacja: 2008-04-11
Re: How to debug Android in Eclispe by win2000?

Re: Unable to access web via emulator

Hi Naseer, Where did you add the authentication details? When i added this to system.db table, i get error message. The query i used is sqlite3 data/data/com.google.android.p roviders.settings/databases/ settings.db "INSERT INTO system VALUES(99,'http_proxy','http:/ / uname:pass@proxy:80/');" Your help is greatly appreciated!!
Informacja: 2008-04-11
Re: Unable to access web via emulator

Totally Novice to Mobile apps developement

Hey any body can tell me how do i start developing application for android. actually i want to exactly what tools for eg here android SDK, and other tools i require i tried to learn from google documentation but i didnt get word intent, their hierarchy,diplay views, what is UI? so in short what books i should refer and what to learn plz tell.
Informacja: 2008-04-11
Totally Novice to Mobile apps developement

Create a partially dynamic view

Dear all, can just give me a clue on how to create a partial dynamic view I mean something like that : +----------------------------- --------------------+ +----------------------------- --------------------+ +----------------------------- --------------------+ +----------------------------- --------------------+
Informacja: 2008-04-11
Create a partially dynamic view

Re: cant find a popupwindow tutorial

well i need the flexibilty of popupwindow(). i'm stuck on my current setup because i get errors, but its not explained at all
Informacja: 2008-04-11
Re: cant find a popupwindow tutorial

Help Installing

I have downloaded Eclipse and the Android SDK. I have both unzipped on my G: drive. I installed the necessary things updates for Eclipse. Then, as instructed, I installed the Android plug-in. However, it gives me an error that it cannot find tools in '\' in SDK. I forgot that I had to edit my Path... so I did My Computer -->
Informacja: 2008-04-11
Help Installing

Faxing with android

I'm thinking of writing an app to send a fax from android to a fax machine. I've been reading up on the api's that are available and I was unable to find anything that would allow me to inject tones into a call or let an application listen in on a call. So in short, is it possible for an application to 1) transmit tones
Informacja: 2008-04-11
Faxing with android

Zoom button not displaying

Hi I am developing a map application. I am trying to zoom the map using the slider that pops up when I click on the small circle on the center of the map. However it pops up only occasionally. Is there a way to make it pop up from a key board shortcut cut. I am not able to figure out how exactly to make the zoom slider pop up every time I click on that
Informacja: 2008-04-11
Zoom button not displaying

Re: Help Installing

You don't need it in your path for that. In the install instructions, there should have been mention of setting the sdk path in Eclipse. It should be something like Window -> Preferences -> Android and change the SDK Location there. It will be G:\android in your case.
Informacja: 2008-04-11
Re: Help Installing

Re: Zoom button not displaying

So are you trying to do both a click and a key press? I'm not sure what the code is for keypress, but you don't need to click the center of the map. Just click AND hold for a bit anywhere on the screen.
Informacja: 2008-04-11
Re: Zoom button not displaying

Re: Totally Novice to Mobile apps developement

[link] is the best place to start. There's also the andbook: [link] I don't think there are any real printed buy-in-a-store kind of books out yet, but there should be in a couple months.
Informacja: 2008-04-11
Re: Totally Novice to Mobile apps developement

Re: what does this mean ?

I get the same messages. (just different numbers :-) Friedger
Informacja: 2008-04-11
Re: what does this mean ?

Problem with socket connection to emulator console

Hi All, In [link] Digit suggested: but the mean is followed Windows to you I'm having trouble with Step 1/. I get "Connection Refused" when I try the following simple test: public class TestConsoleConnect
Informacja: 2008-04-11
Problem with socket connection to emulator console

Re: language specific input

It seems that it's not currently support. Take a look at bottom of [link]
Informacja: 2008-04-11
Re: language specific input

Is there a way to preserve a Bitmap in an icicle?

I've got a basic sketch program working and I want to be able to preserve the screen's contents, which are in a Bitmap that the program modifies. Is there a way to store a Bitmap in an icicle? Or should I use another technique? ---Tom
Informacja: 2008-04-11
Is there a way to preserve a Bitmap in an icicle?

About Network connection

Hi, Can anybody please give me an example application for using network connection. Thanks judy
Informacja: 2008-04-11
About Network connection

Re: How to install Android on my PDA

Android is meant for cell phones, not PDAs. It also is not released yet and the manufacturer will have to put it on the phone (in most cases), you probably can't change your cell phone OS very easily on your own without knowing technicals with that specific phone and a lot programming.
Informacja: 2008-04-11
Re: How to install Android on my PDA

ListView Scrolling for small listviews

The application my group is working on an application involving a ListView underneath a picture. The ListView can display two lines at a time but we may have more than that in the ListView. We already know that the ListView will already scroll once the user attempts to access text off of the screen but "off the screen" doesn't really work for us
Informacja: 2008-04-11
ListView Scrolling for small listviews

Re: Network connections in android

That wasn't quite what I was expecting. I'm not sure what you would use for rmi. I thought you were talking about connections to something like a webserver.
Informacja: 2008-04-11
Re: Network connections in android

eclipse android plugins's error

I have install the android's plugins,and face the problem: Unable to create the selected preference page. Reason: Plugin com.google.android.adt was unable to load the class com.google.android.adt.prefere nces.AndroidPreferencePage. and I also see my JDK version, it is JDK6... when I run eclipse with console,it is right,no error
Informacja: 2008-04-11
eclipse android plugins's error

Re: [android-beginners] Re: problrm in calling activity/plz do solve his problem i am running out of time...

hi Dan...sorry for my bad english (i tried wit ur suggestion but no luck,arranging capturedimages is working ) 1>i tried to add image to the title,but no luck any way i am sending u screen shot...hope u will get an idea wt i want...... 2>in my project i have around 20-25 screeens,for each screens i have
Informacja: 2008-04-11
Re: [android-beginners] Re: problrm in calling activity/plz do solve his problem i am running out of time...

Re: [android-beginners] Re: Network connections in android

Is there any example in android document
Informacja: 2008-04-11
Re: [android-beginners] Re: Network connections in android

Re: [android-beginners] Is there a way to preserve a Bitmap in an icicle?

As Bitmap implements Parceable, try to use put(String, Parceable) regards, Raul On Thu, Apr 10, 2008 at 6:57 AM, J2MEJediMaster <tom_thomp...@lycos.com> wrote:
Informacja: 2008-04-11
Re: [android-beginners] Is there a way to preserve a Bitmap in an icicle?

Re: [android-beginners] Re: Possible to create 2 ListViews side by side?

And how you can create such component?
Informacja: 2008-04-11
Re: [android-beginners] Re: Possible to create 2 ListViews side by side?

Re: [android-beginners] Re: Problem with socket connection to emulator console

it's because "localhost" is resolved to several addresses, i.e. "::1" is the IPv6 equivalent of 127.0.0.1 the emulator only listens on 127.0.0.1 (IPv4-only address). try "telnet 127.0.0.1 5554" instead then On Thu, Apr 10, 2008 at 3:24 PM, kbowe...@gmail.com <kbowe...@gmail.com> wrote:
Informacja: 2008-04-11
Re: [android-beginners] Re: Problem with socket connection to emulator console

Re: Problem with socket connection to emulator console

Yes, I realized that after the last post. Revising the test to replace the lh= ... line by lh = InetAddress.getByName("localho st"); produced an immediate connection. Sorry for the thrashing, Many thanks, Ken Bowen
Informacja: 2008-04-11
Re: Problem with socket connection to emulator console

Re: [android-beginners] Re: ListActivity with image and text

how did you resolve the issue? thanks,
Informacja: 2008-04-11
Re: [android-beginners] Re: ListActivity with image and text

extending android.app.Application

Dear All, can you tell me how to go about extending android.app.Application, as I need some global data access and what to write in the AndroidManifest.xml ? your help will be appreciated many thanks in advance. Luka ps ... is it my impression or android docs just fail to tell you what
Informacja: 2008-04-11
extending android.app.Application

Re: [android-beginners] Re: How to install Android on my PDA

These newer phones are really noting, but PDAs with a different kind of "WiFi" They are using 900/1800/xxxxx frequencies instead of WiFi's 2.4 Ghz
Informacja: 2008-04-11
Re: [android-beginners] Re: How to install Android on my PDA

How to Create a Context

Hi Everyone, I'm trying to write a little app that passes information from one program running on the android framework to another. I figure the way to do this is to make an intent and bundle up the data I want into the Intent and broadcast it out with this: [link])
Informacja: 2008-04-11
How to Create a Context

Notepad exercise1 - error on import line com.google.provider

Hi, I have these simple error in Notepad exercise example. I guess my issues are Eclipse setup or so. I am using Windows XP and Eclipse. please help import com.google.provider.NotePad; // import com.google.provider.NotePad cannot be resolved . . . . Cursor c = mDbHelper.fetchAllNotes(); /// cursor cannot be
Informacja: 2008-04-11
Notepad exercise1 - error on import line com.google.provider

Re: [android-beginners] How to Create a Context

Hi Ray, The Activity and Service classes are subclasses of Context. So you can refer to the Context object by using the "this" object reference in OnCreate() method of you Activity or Service. Also, you would use broadcastIntent() if you want an IntentReceiver in the other application to receive the data, but if you want an Activity in the
Informacja: 2008-04-11
Re: [android-beginners] How to Create a Context

Unpleasant interaction between timer and updating a map overlay

Hi All, One of the methods in my Android App is named locationSubmit(). It: -- obtains gps coords, -- sends the coords to a (Tomcat) server with a web services call, -- receives back a collection of points in the return from the server, -- plots these points on a map, with a recentering of the map
Informacja: 2008-04-11
Unpleasant interaction between timer and updating a map overlay

About com.google.android.gtalkservice.

Hi I got error in import com.google.android.gtalkservic e; Can anybody please tell me what is the wrong in the coding? Thanks judy
Informacja: 2008-04-11
About com.google.android.gtalkservice.

About accessing webpage

Hi, Can anybody please tell me ,can we access a webpage from android ,If yes means, What is the code we have to use it? Thanks judy
Informacja: 2008-04-11
About accessing webpage

Launch Aborted

Hi, I upgraded the sdk and the eclipse ADT plugin just recently and now whenever I try to run an Android application from eclipse, it gives an error saying This launch configuration is setup to start activity <activity name> This activity is not defined by the manifest: launch aborted! In the console, it says
Informacja: 2008-04-11
Launch Aborted

Re: m5 not working

I'm facing the same problem on win xp machine. - Neha.
Informacja: 2008-04-11
Re: m5 not working

Re: Unpleasant interaction between timer and updating a map overlay

I would say you might need to do updates to the MapView with a Handler, but I would have expected you to get an exception otherwise and it doesn't sound like you are. Still, might be worth a try.
Informacja: 2008-04-11
Re: Unpleasant interaction between timer and updating a map overlay

Re: Notepad exercise1 - error on import line com.google.provider

It sounds like you haven't imported all the files into your project that come with the notepad example.
Informacja: 2008-04-11
Re: Notepad exercise1 - error on import line com.google.provider

Re: extending android.app.Application

Hi Luka, First of all, you need a class(let's say ClassA) that extends the Application class. In the AndroidManifest.xml you need to specify your own extended class as the application in application tag. .... <application android:name="ClassA"> .... Hope this helps, -sarp
Informacja: 2008-04-11
Re: extending android.app.Application

Re: [android-developers] menu item indicator

Hi, There is no indicator for menu in the framework, it is assumed that the users will use the menu button and find the menu if it exists for your app. If you want you could include additional instructions for the users in your application startup or documentation, or provide your indicators. Thanks,
Informacja: 2008-04-11
Re: [android-developers] menu item indicator

HELP! Weird Activity lifecycle / thread issue

I have ActivityA, which invokes ActivityB using startSubActivity using an explicit intent. In ActivityB, I start a worker thread. Case 1: If I handle a click in ActivityB and setResult() and finish(), I go through the lifecycle (onFreeze, onPause, onStop). I put a call to worker.interrupt() in onPause, which is called successfully. I return
Informacja: 2008-04-11
HELP! Weird Activity lifecycle / thread issue

Re: [android-developers] Re: Slow Bitmap operations

[...] AFAIK, the Dalvik VM is currently an *interpreter*... running on an emulated ARM. Apparently the speed of the ARM is roughly equivalent to the 300MHz target device when the emulator is run on a modern, fast machine, so what you're seeing is probably something like the eventual speed of the device. It's going to be slow.
Informacja: 2008-04-11
Re: [android-developers] Re: Slow Bitmap operations

Re: [android-developers] Remove text on ViewMap

Hi, It is not possible to remove the text in the MapView, but it seems like a good feature to have, you may want to file a feature request for this in the android issue tracker. You may want to mention that you are asking for a pure satellite view as opposed to the hybrid view which appears on using
Informacja: 2008-04-11
Re: [android-developers] Remove text on ViewMap

applyAlpha?

Would it be possible to extract the alpha values of a bitmap (with extractAlpha for example) and then apply just the alpha values to a different image. Essentially this would act as an alpha mask. or will I need to get the alpha values from one bitmap using extractAlpha, then getPixels of the second bitmap and manually apply
Informacja: 2008-04-11
applyAlpha?

Re: How can MapView display standard map menu options (like directions to location etc.) without extra code

*bump*
Informacja: 2008-04-11
Re: How can MapView display standard map menu options (like directions to location etc.) without extra code

Dialog generating NullPointerException

hi are Dialog sub-classes supposed to be used only once ? when I create one, then cancel the operation, and recreate the same one, i get a NullPointerException. I can however create as many as I want, as long as i don't hit on the cancel button. Uncaught handler: thread Main exiting due to uncaught exception
Informacja: 2008-04-11
Dialog generating NullPointerException

Extending android.app.Application

Dear All, can you tell me how to go about extending android.app.Application, as I need some global data access, and what to write in the AndroidManifest.xml ? your help will be appreciated many thanks in advance. Luka
Informacja: 2008-04-11
Extending android.app.Application

Re: HELP! Weird Activity lifecycle / thread issue

Okay, found my own (bonehead) issue. I was sending the finish message to ActivityB from a listener implemented as an anonymous class in my worker. I mistakenly thought I was in the worker thread when I returned. Not so. Now, the listener signals the main Runnable that it should end and I handle sending a message to ActivityB in the run() method.
Informacja: 2008-04-11
Re: HELP! Weird Activity lifecycle / thread issue

Proxy.getInvocationHandler(...) returns null

Hi there, It seems that Proxy.getInvocationHandler(..) is broken since it always returns null. Background: I'm porting a java application to Android which utilizes dynamic proxies. The application is working on a usual JDK 5.0. Scenario: 1) I create a Proxy instance P via Proxy.newProxyInstance(Classlo ader,
Informacja: 2008-04-11
Proxy.getInvocationHandler(...) returns null

Discussion on media-sample-apps

Were you able to get this to run? In MediaPlayerTest, local file audio, file video and streaming video don't play. MediaRecorder has a null pointer exception upon clicking record. ViewVideoDemo doesn't play any video. - Anil
Informacja: 2008-04-11
Discussion on media-sample-apps

Re: [android-developers] Proxy.getInvocationHandler(...) returns null

Update: The Proxy class seems to be broken at all. I got NullPointerExceptions when invoking Proxy.hashCode() or Proxy.equals(Object). I found other users reporting similar Problems with the Proxy class already: [link]
Informacja: 2008-04-11
Re: [android-developers] Proxy.getInvocationHandler(...) returns null

Re: dx result is not always the same?

I'm sorry. the first size is 412KB, the other is 388KB. And the problem exsit although.
Informacja: 2008-04-11
Re: dx result is not always the same?

SearchManager / Searchability API feedback (M5)

There seems to be a fundamental problem with the existing SearchManager API. Perhaps the developers are already aware of this, just wanted to spell it out. Let's say you've set up your typical query-search app MyApp so that activity A is your primary starting point for searches, and activity B
Informacja: 2008-04-11
SearchManager / Searchability API feedback (M5)

Re: Error recieving broadcast null in LocationIntentReciever

Same here if I hit a breakpoint before I start another activity it does the same thing. broadcast null. I think it is because it queues up a bunch of updates while the breakpoint is stopped and even though you have unregistered your reciever you still get everything in the queue.
Informacja: 2008-04-11
Re: Error recieving broadcast null in LocationIntentReciever

getScale() method of BaseAdapter class Question!

Hello, I implement a class inheriting the BaseAdapter to provide data for a Gallery. There is a method in the BaseAdapter class that I have to implement is getScale(boolean focused, int offset) This method is used to scale images which are on left and right hand side of the center image. I tried to write logs to know the order in
Informacja: 2008-04-11
getScale() method of BaseAdapter class Question!

Re: How to connect with remote app without good ServerSocket?

by the way, 192.168.0.85 is your IP address. On Apr 11, 11:09 am, "yuan.geor...@gmail.com" <yuan.geor...@gmail.com> wrote:
Informacja: 2008-04-11
Re: How to connect with remote app without good ServerSocket?

Changing view widget properties in a ListAdapter

I have a list adapter with the following view: <?xml version="1.0" encoding="utf-8"?> <CheckBox android:id="@+id/taskTitleChec k" xmlns:android="http:// schemas.android.com/apk/res/an droid" android:layout_width="fill_par ent" android:layout_height="?androi d:attr/listPreferredItemHeight "
Informacja: 2008-04-11
Changing view widget properties in a ListAdapter

Re: Extending android.app.Application

I started here: [link] download Eclipse and install the android package as instructed in the documentation above. using Eclipse will help you with setting up applications and your manifest. Enjoy!
Informacja: 2008-04-11
Re: Extending android.app.Application

Re: Length of text drawn in pixel?

Thanks guys, works!
Informacja: 2008-04-11
Re: Length of text drawn in pixel?

Re: LocationManager: getLastKnownLocation and getBestProvider broken?

This is what I plan to do. I don't think there are any specific recommendations on what to do. Some apps will probably use the mock gps provider and some more will simulate location. Since your app supports people picking a location, it seems like simulating location will be the way to go.
Informacja: 2008-04-11
Re: LocationManager: getLastKnownLocation and getBestProvider broken?

Re: Changing view widget properties in a ListAdapter

I also tried using the getListView, which seems like the right thing to use but at onStart it reports that it has views (when getCount is called) but all of the children are null. I also tried it at onContentChanged with no luck.
Informacja: 2008-04-11
Re: Changing view widget properties in a ListAdapter

Re: [android-developers] Discussion on media-sample-apps

Hi Anil, This might be because the sample does not include any test media files or URLs, you must modify the code to include those before using it. Thanks, Megha
Informacja: 2008-04-11
Re: [android-developers] Discussion on media-sample-apps

Re: JAD - Java Application Descriptor like

David, I understand that apk file genereted is jar format file with .apk extention. However I don't see manifest file beeing placed. Could you let me have any example application if any thing exists on the net pl. Also, I was hoping that like jad the similar functionality would be available as new text file instead of placing this with the
Informacja: 2008-04-11
Re: JAD - Java Application Descriptor like

Re: Remove text on ViewMap

Will do thanks Megha Actually are the text strings drawn separatelly or are they part of the "image". I thought they where separate mainly because the satellite view is slower than the standard view. My application is running slow with one overlay with several path and the map. I thought taking out the text string would help the
Informacja: 2008-04-11
Re: Remove text on ViewMap

Re: "toplevel" in traceview. What is it?

Anyone with some insignt on this?
Informacja: 2008-04-11
Re:

Re: Spinner in a dialog box?

Hellow, ivan! Did you solve this problem? I also got null in line Spinner s1 = (Spinner) findViewById(R.id.spinner1); when tried use Spinner in dialog. Regards, vitvikt
Informacja: 2008-04-11
Re: Spinner in a dialog box?

Passing bundles across activities

I'm passing a bundle of values (by setting intent.putExtra before calling startSubActivity) from a top-level activity to a subactivity. However, for the reverse scenario, it looks like setResult can only pass back one integer result code. Does anyone know of a good way to pass another bundle of values from
Informacja: 2008-04-11
Passing bundles across activities

Re: [android-developers] Re: JAD - Java Application Descriptor like

Hi Raj, You can check out JVending: [link] . It's using OMA OTA for Android delivery so it includes a descriptor (of which JAD is a subset). The client is located here: [link] . There is nothing built into the client for making the dd2 available to the
Informacja: 2008-04-11
Re: [android-developers] Re: JAD - Java Application Descriptor like

Imagine the possibilities of Android + Carnegie Mellon's Alice

[link] If Google gets the Android platform so that anyone on any network has the freedom to run it, and uses something like Alice to teach normal people to program for it... What could ever compete against that?
Informacja: 2008-04-11
Imagine the possibilities of Android + Carnegie Mellon's Alice

Intent Receiver

Does an Android application have to contain at least one Activity in order to be valid? If I try to run an intent receiver in Android, it gives me an error "The Manifest defines no activity! Launch aborted!" I tried installing the program manually using the adb tool, but when I tried to trigger the intent (via SMS message) it didn't fire my code.
Informacja: 2008-04-11
Intent Receiver

Re: Passing bundles across activities

Thanks Dan, this is exactly what I wanted.
Informacja: 2008-04-11
Re: Passing bundles across activities

I want to load big file. What is a limit for file size?

Hi! I want to load dictionary to my application. Now I can do it for file with size 1 047 673 byte and can not load file with size 1 048 804 byte. When I increased size to this value I got IOExeption in last line: InputStream is= getAssets().open("VOCAB.txt"); size = is.available(); byte[] buffer = new byte[size];
Informacja: 2008-04-11
I want to load big file. What is a limit for file size?

Removing a database or its table

Hi, I have created a database for my application using sqlite. When continuing developing my application I want to change the tables in my database. I want to remove a table. But how to do that? If some one knows how to remove a database that would also be helpful. Tanks for helping.
Informacja: 2008-04-11
Removing a database or its table

Re: About load '.so' library file with JNI

Thanks, I had run JNI successful :) 1st,there are mistake of library name, I use System.loadLibrary("libNativeA dd");to load library, 2st, lack of libgcc.a while linking,
Informacja: 2008-04-11
Re: About load '.so' library file with JNI

Re: Slow Bitmap operations

Thanks guys for your answers. I think I will post a question in the ADC group to see if somebody is taking the risk of submitting an application that uses JNI. In the mean time I will keep profiling and profiling to see if I can reduce it a few seconds...
Informacja: 2008-04-11
Re: Slow Bitmap operations

Re: Removing a database or its table

You can use the following steps to remove the database adb shell cd data cd data cd <package name> cd databases rm <database name> if you'd just like to remove one table replace the last step with sqlite3 <database name> drop table <table name>; For a clean start, it may be better to wipe out the whole db instead
Informacja: 2008-04-11
Re: Removing a database or its table

Is it possible to create file in /system/media directory..

by my application ? I know policy about security, but I did not found any information, how to access system media directory for writing and creation of new, shareable files. greets, Peter.
Informacja: 2008-04-11
Is it possible to create file in /system/media directory..

Re: Sample.XML Layout examples equivalents of Style Constants

Don't copy the theme, just make your own theme that is a child of the system theme you want to base yours on, and just put the modified values in your own theme. There are a number of examples in ApiDemos: [link]
Informacja: 2008-04-11
Re: Sample.XML Layout examples equivalents of Style Constants

Re: Extract focus color from theme

I know, you need something like in WindowsAPI: GetSysColor(). Unfortunately, I did not found any simply way to get color of system control/item, too. Documentation is in development, so at this time, you can create your own global color table with public static function getColor(item). Later you can change underlying code for one using system attributes.
Informacja: 2008-04-11
Re: Extract focus color from theme

Re: Progress bar problem

That lock is used for my working thread to calculating the data. In the working thread I use synchronized(lock){ // do work here To guarantee that the progress dialog cannot be dismissed before the calculating process is done. If at the time I call the progress dialog, the work is not done then it will wait till it's done and the
Informacja: 2008-04-11
Re: Progress bar problem

Porting android to PXA270 board

I try to run Android on my PXA270 board... Kernel version is 2.6.19. After hard fight I succesfully applied patch. I have new shiny kernel. My board starts from SD card. Bootloader (u-boot) starts from flash and it searches for kernel on SD card. First partition of SD card contains kernel (FAT16):
Informacja: 2008-04-11
Porting android to PXA270 board

Re: SSL KeyStore

I have the same problem with android m5-rc15. Which TLS key formats are supported by the android api? thanks for answers! Patrick On Mar 23, 6:09 am, "Jonathan Thompson" <j_thomp...@optusnet.com.au> wrote:
Informacja: 2008-04-11
Re: SSL KeyStore

Stronę wygenerowano w 0.1 sek. | Forum, programowanie | Gphone, platforma Google Android | Gabinet stomatologiczny Wrocław