[android-beginners] Re: Documentation about SMS Contentprovider?

2009-04-20 Thread Adem KARAKOLLU
Is it works. Are you talking about the Uri like content://sms/FieldS ? I couldn't find the any information about Sms provider. If u know something please share with us... On Sat, Apr 18, 2009 at 10:51 PM, avrono wrote: > > Marcus, > > I have also been looking for the docs, so far I have managed

[android-beginners] Today New Posting at funfashion4u

2009-04-20 Thread tariq hassan
Sexercises Needs Ironing Almost Love Saving Up Three Times?

[android-beginners] Re: Problem in running android 1.5 preview sdk on mac os

2009-04-20 Thread Xavier Ducrohet
Please read: http://developer.android.com/sdk/preview#avd By the way, defining ANDROID_SDK_ROOT is really not needed. I don't think the current doc talks about this at all. Xav On Mon, Apr 20, 2009 at 9:46 PM, Lucius Fox wrote: > > Hi, > > I have add > I have set the variable ANDROID_SDK_ROOT

[android-beginners] Problem in running android 1.5 preview sdk on mac os

2009-04-20 Thread Lucius Fox
Hi, I have add I have set the variable ANDROID_SDK_ROOT and add ":/Users/lucius/Programs/android-sdk-mac_x86-1.5_pre/tools" to my $PATH $ echo $ANDROID_SDK_ROOT /Users/lucius/Programs/android-sdk-mac_x86-1.5_pre but when I run the emulator, I get this error: $ emulator emulator: ERROR: You did

[android-beginners] Re: Failed to prepare partial IU? Can't install Eclipse plugin.

2009-04-20 Thread narkis
Second this error! get the same message - Running fresh Ganymede, Ubuntu and latest release of the plugin - 1.1 NOTE: this is happening on Ububtu 8.10 and 9.4 I have this working on an install, built earlier, on similar system on another laptop. This error happened when I attempted to build anoth

[android-beginners] Re: Webview not working like in Chrome

2009-04-20 Thread Mark Murphy
Benjamin wrote: >> The first step to do that (after creating a new facebook-app on >> facebook) is asking access to the user's informations. >> >> We can do that from this url >> :http://m.facebook.com/code_gen.php?v=1.0&api_key=[your >> api_key] Isn't there a pure API you can use for that, perh

[android-beginners] Re: How do I respond to a trackball press

2009-04-20 Thread warb
On Apr 14, 9:21 pm, warb wrote: > I want to respond to a trackball press. I have found how to respond to > movement > > view.onTrackballEvent(MotionEvent) , but now want to handle the > click. > > Thanks. Ok, So I found it... the MotionEvent.ACTION_DOWN in handling the MotionEvent is the ticke

[android-beginners] Re: Webview not working like in Chrome

2009-04-20 Thread Benjamin
any help here? On 19 avr, 21:44, Benjamin wrote: > Hi guys, > I'm trying to make an android app, working with Facebook. > > The first step to do that (after creating a new facebook-app on > facebook) is asking access to the user's informations. > > We can do that from this url > :http://m.faceb

[android-beginners] Re: Call Log changes.

2009-04-20 Thread Mark Murphy
Rob Campbell wrote: > That's good for Android in general but does that mean it will be on > the G1? Will T-Mobile push this update feature out for their product? That is up to HTC and T-Mobile. Bear in mind that, even if HTC/T-Mobile upgrade the G1 to 1.5, nobody should assume that all Android

[android-beginners] Re: application stop unexpectedly

2009-04-20 Thread Mark Murphy
iPaul Pro wrote: > setContentView(R.id.myTextVie); > > should be > > setContentView(R.id.main); Actually, it should be: setContentView(R.layout.main); R.layout is for the layout files; R.id is for widgets (among other things). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://t

[android-beginners] Re: Call Log changes.

2009-04-20 Thread Rob Campbell
That's good for Android in general but does that mean it will be on the G1? Will T-Mobile push this update feature out for their product? On Mon, Apr 20, 2009 at 5:56 PM, iPaul Pro wrote: > > This is coming standard with Android 1.5 (Cupcake) - hold tight! > > On Apr 20, 3:00 pm, Rob Campbell

[android-beginners] Re: application stop unexpectedly

2009-04-20 Thread iPaul Pro
setContentView(R.id.myTextVie); should be setContentView(R.id.main); On Apr 18, 1:33 am, "amita...@gmail.com" wrote: > Hi all, > > When i write the following code and use resource then i receive an > error "The application has stopped unexpectedly. Please try again". > > My Activity class is -

[android-beginners] Re: Call Log changes.

2009-04-20 Thread iPaul Pro
This is coming standard with Android 1.5 (Cupcake) - hold tight! On Apr 20, 3:00 pm, Rob Campbell wrote: > The call log shows how long the call lasted and when it started. > However I would much rather know the date and time rather than just > the day.  Is there a way to change this or can this

[android-beginners] Call Log changes.

2009-04-20 Thread Rob Campbell
The call log shows how long the call lasted and when it started. However I would much rather know the date and time rather than just the day. Is there a way to change this or can this be easily modified? --~--~-~--~~~---~--~~ You received this message because you

[android-beginners] Re: Threading memory leak

2009-04-20 Thread Terry Heatlie
Yes. I don't think I have any static references to drawables... unless I'm missing something? On Mon, Apr 20, 2009 at 11:12 AM, fadden wrote: > > On Apr 19, 8:56 pm, Terry wrote: > > I have a simple activity which does stuff in a background thread, and > > posts the results back to the UI usi

[android-beginners] Re: data transfer between android device and pc

2009-04-20 Thread fadden
On Apr 20, 9:52 am, jonathan wrote: > I have been looking for a way to transfer data from android device to > pc via usb.  The only thing I found that's slightly useful is adb, > however that's a dev tool..  does the android sdk provide any means to > transfer data via usb? The SD card will appe

[android-beginners] Re: Threading memory leak

2009-04-20 Thread fadden
On Apr 19, 8:56 pm, Terry wrote: > I have a simple activity which does stuff in a background thread, and > posts the results back to the  UI using a handler.  This activity > leaks memory whenever I flip orientation of the display.  Specifically [...] Have you read: http://android-developers.bl

[android-beginners] Re: Check if a View contains another View

2009-04-20 Thread mathiastck
I think you just want http://developer.android.com/reference/android/view/View.html#findViewById(int) On Apr 18, 2:53 pm, xspotlivin wrote: > Is there a way to check if a view contains another certain view? I > have an AbsoluteLayout view that I add multiple views to (buttons). I > have a certa

[android-beginners] A study of the product develpment in the Android platform at the smart phone industry- Please, fill in the questionnaire for it

2009-04-20 Thread albert
Dear Google Android Members : I am an EMBA student of the Yuan Ze University in Taiwan ,Because of I was an employee of the Smart phone company as well .So, I am very interested in studying the key factors of development procedures at the smart phone product ,And, As you know the

[android-beginners] Re: How to Generate Thumbnails

2009-04-20 Thread bero 2.0
hey there, This is my first post and I am not yet a huge android savy person, but from my understanding the whole O.S. is open source. So all you got to do is basically see in which program it thumbnails the images, open the code of that program, and you should be good to go. Let me know how it

[android-beginners] using the ARM toolchain on FreeBSD to compile a .so for Android

2009-04-20 Thread rohit
Hello, I'd like to compile C code on FreeBSD as a .so to be linked with a Java front-end using JNI. I have available to me the arm-rtems-gcc-4.2.3 toolchain from ports. Can I expect to compile for Android using this toolchain? Is there anything unique about the cross-compiler from CodeSourcery?

[android-beginners] Re: Cannot access Phone Number on HTC G1

2009-04-20 Thread avrono
I think that the phone number is not always reliable, depending on how the SIM is configured. I tried on a SIM that has number portablity enabled and got the old number (for example). So, in short it works some of the time, but not all of the time. -Avron On Apr 16, 12:43 am, Mãozinha wrote: >

[android-beginners] Cheatsheets.

2009-04-20 Thread Gabriel from Argentina
Hi. Are there some cheatsheets for Android's SDK? I mean, UI objects and common things. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-

[android-beginners] ADT 0.8, eclipse 3.4

2009-04-20 Thread jason
I have been using eclipse for years. I have searched the forums and tried many suggestions. I am using OSX and Windows XP. I tried Safari, Firefox, and IE. The update site still fails, and eclipse does not recover/finish. The file download for manual install fails to complete download (and is unus

[android-beginners] Re: HTTP Post

2009-04-20 Thread Avron Olshewsky
Hi, To form you url you will have to append parameters like so params.append(URLEncoder.encode( "somevalue", "UTF-8")).append("=").append(URLEncoder.encode(somevalue, "UTF-8")) .append( "&").append(URLEncoder.encode("someothervalue", "UTF-8")).append("=").append(URLEncoder.encode(someothervalu

[android-beginners] For brazilian users and developers...

2009-04-20 Thread Alexandre
Olá pessoal, Fiz um pequeno programa que gerencia a operadora para usuários de Android no Brasil. É bem simples e muito pratico. Evita que seja necessário colocar a operadora sempre que for fazer um DDD. Também facilita quando estamos em roaming, não é necessário colcar o DDD e nem operadora. ht

[android-beginners] error while running simple SOAP application

2009-04-20 Thread aditya.kulkarni
hi, i want to develop an application which access web services using ksoap2. i have simple .net web services running with single method Add the following is code.. package com.Test; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.But

[android-beginners] Re: OMA DM Support

2009-04-20 Thread Tom
Hi, Is it at least planned? Thks Tom On 20 fév, 06:56, Jean-Baptiste Queru wrote: > No. > > JBQ > > On Thu, Feb 19, 2009 at 8:15 PM, mozaal wrote: > > Hi, > > > Is there A OMA DM andFOTAin Android support. > > > mozaal > > -- > Jean-Baptiste M. "JBQ" Queru > Android Engineer, Google. --~--

[android-beginners] Re: Source code of Gallery Application

2009-04-20 Thread DAXESH MODI
On Mon, Apr 20, 2009 at 12:55 PM, bhoj wrote: > > Hello Everyone, > > Where Can I find the source code of the Gallery Application ? I want > to check the zooming feature in the photo application . > > > --~--~-~--~~~---~--~~ You received this message because you a

[android-beginners] Threading memory leak

2009-04-20 Thread Terry
I have a simple activity which does stuff in a background thread, and posts the results back to the UI using a handler. This activity leaks memory whenever I flip orientation of the display. Specifically it leaks several (15 or more) 32-byte "4-byte array" instances, according to the DDMS heap

[android-beginners] Failed to prepare partial IU? Can't install Eclipse plugin.

2009-04-20 Thread detz
I get this... An error occurred during provisioning. Failed to prepare partial IU: [R]com.android.ide.eclipse.ddms 0.8.0.v200809220836-110569. I've tried re-installing, restarting, different versions and I always get that. I'm on a Mac running the latest. Any ideas? --~--~-~--~~--

[android-beginners] displayDeleteDialog

2009-04-20 Thread R2D2
I am unable to understand the behaviour of the displayDeleteDialog() functionality in MenuHelper.java when we select the Cancel button (how do we return to the application) . --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-beginners] ScrollView is resized based on contents

2009-04-20 Thread malrawi
Hello all, in my application I am adding an EditText to a ScrollView, below the ScrollView I am adding another EditText with a button. The first EditText is populated dynamically with text that's sometimes too long which causes the ScrollView to resize when that happens the text is viewed right

[android-beginners] Google Spreadsheet edit using HttpPut or gdata

2009-04-20 Thread matthew.j.lenning...@gmail.com
Hello, I am developing an application that is using google spreadsheets to store info. We are able to get the information off of the spread sheets using the HttpGet. I am unable however to put the info off of the spreadsheet using the HttpPut. I am pretty sure that if i can get the information

[android-beginners] view an image on android

2009-04-20 Thread nowo...@gmail.com
How do i view an image on the android emulator. ( not using the ImageView method). I am a novice to the android world so plz give ur help in detail. thanks!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Be

[android-beginners] Re: Documentation about SMS Contentprovider?

2009-04-20 Thread avrono
Marcus, I have also been looking for the docs, so far I have managed to determine that the fields are as follows: //FieldS //, thread_id, address, person, date, //protocol, read, status, type, reply_path_present, subject, body, service_center -Avron On Feb 26, 11:20 am,

[android-beginners] Re: this site in not available android plug in for Eclipse

2009-04-20 Thread Nirev Satsujin
If you're trying to manually install the eclipse plugin (ADT Plugin) then you can download it at http://dev.android.com/sdk/adt_download.html Then follow these steps: 1. Start Eclipse, then select Help > Software Updates 2. In the dialog that appears, click the Available Software tab. 3. a)

[android-beginners] Help with SimpleCursorAdaptor

2009-04-20 Thread avrono
Hi, I am having some problems trying to extend the SimpleCursorAdapter, the problem I am trying to solve is simple. I have the 'id' of an SMS message and I want to associate this with the Name of the person who sent it (if in the contact-book). Basically I want to get the current cursor position

[android-beginners] [SOLVED] Android SDK 1.5 Linux Permission Trouble

2009-04-20 Thread Diego
Hello to everybody! I found this problem with new Android SDK 1.5 and eclipse. New SDK comes with zip for linux version, and once you have decompressed all files you might find some errors trying to make it work. All you have to do is grant execution permission to some files, this files are fou

[android-beginners] how to make ImageView to zoom and scroll

2009-04-20 Thread IronLion
It seems ImageView does not have the zooming and scrolling function. I could be wrong. If it does have these feature, could anyone give an example? If it does not, I would like to create my own by extending the ImageView. Does anyone know if the android.jar is open-sourced or not. If yes, where ca

[android-beginners] process closing unexeptedly in emulator

2009-04-20 Thread aditya.kulkarni
hi all, i tried to write a SOAP application where a .net server is running a method Add in local host and returns an integer value 2000 here is the code for android to connect to local server via SOAP import android.app.Activity; import android.os.Bundle; import android.view.View; import android.w

[android-beginners] Help in installing ADT for eclipse

2009-04-20 Thread sbalaram
Hi, I have installed eclipse successfully. I am trying to install ADT on top of eclipse using the procedure given. The eclipse has WST. JDK 6 is also installed. I choose Help > Software Updates, Add Site and type in http://dl-ssl.google.com/android/eclipse/. When I click Finish to install, I

[android-beginners] application stop unexpectedly

2009-04-20 Thread amita...@gmail.com
Hi all, When i write the following code and use resource then i receive an error "The application has stopped unexpectedly. Please try again". My Activity class is - public class HelloAndroid extends Activity { /** Called when the activity is first created. */ public void onCreat

[android-beginners] Re: This errors on Second Acvivity

2009-04-20 Thread iPaul Pro
in your sheikanswer.java - try replacing: TextView txtView = (TextView) this.findViewById(R.id.text); with TextView txtView = (TextView) this.findViewById(R.id.sheikanswer); fix issue? On Apr 19, 8:25 am, "Kevin J. Brooks" wrote: > When you click the Ask Sheik Button, the second activity gi

[android-beginners] Can't install Eclipses plugin on a Mac.

2009-04-20 Thread detz
I've tried difference versions, reinstalling and I always get the same error at the end of the installation. An error occurred during provisioning. Failed to prepare partial IU: [R]com.android.ide.eclipse.adt 0.8.0.v200809220836-110569. --~--~-~--~~~---~--~~ You

[android-beginners] Re: ADT download links all dead

2009-04-20 Thread jason
I have been using eclipse for years. The update sites fail for me (getting the ADT plugin, even with fresh eclipse) and the manual download also fails on OSX and WindowsXP (safari, firefox, IE). It gets about 750K in and stops leaving a partial zip. I can't be the only one with this issue. I have

[android-beginners] Anything like isWifiEnabled and setWifiEnabled for 3g an 2g/gprs?

2009-04-20 Thread Rory McCann
Hi all, I see http://developer.android.com/reference/android/net/wifi/WifiManager.html#isWifiEnabled() that you can see if the wifi is enabled or disabled and also us http://developer.android.com/reference/android/net/wifi/WifiManager.html#setWifiEnabled(boolean) to turn on and off the wifi. I'

[android-beginners] Can not install the Developer Tools

2009-04-20 Thread Mahou
I get this error when I try to install the Developers Tools. An error occurred during provisioning. Failed to prepare partial IU: [R]com.android.ide.eclipse.ddms 0.8.0.v200809220836-110569. I have already download and reinstalled the JDK/JRE and eclipse three times. I made sure the Path for

[android-beginners] Bad doc links in 1.5_pre documentation?

2009-04-20 Thread Mark
I've downloaded the new android 1.5 preview sdk and am trying to read the documentation but the embedded links seem to point only to the 1.1 documentation. E.g. docs/sdk/ has a directory 1.5_r1 with some 1.5 specific information but nothing seems to link into it. All the 1.5 sdk frame links point

[android-beginners] Re: How do you pass a reference to non-serializable class to a new Activity?

2009-04-20 Thread cos333auto...@gmail.com
That sounds good, but how do you do that? I am totally a beginner, I am thinking of something like: public class MyParcelable implements Parcelable { private Object SpecialObject = someObject; public void writeToParcel(Parcel out, int flags) { binder = ??? out

[android-beginners] Re: Get phone number from sms

2009-04-20 Thread avrono
Kaloer, You need to set a URI to the SMS Inbox Content and then create a cursor (i.e a query to the the SQLLite DB) and iterate over it. If you are in your activity, it would be somthing like this.getContentResolver().query( Uri.parse("content://sms/inbox"), null

[android-beginners] GetJar networking event in San Mateo, CA. April 22nd

2009-04-20 Thread gojuryu
Hi Beginners Android Group! GetJar.com and Device Anywhere are throwing a little networking event at GetJar’s offices as a kind of “office warming” to kick off the opening of GetJar’s new US office. There will food and drinks for everyone along with a little challenge to make things interesting:

[android-beginners] vRecorder 2.1 has been published.

2009-04-20 Thread me
vRecorder 2.1 has been published. For the first time ever vRecorder will allow you to auto record your phone calls. This along with its other features, amazing interface and rock solid stable design puts it miles ahead of any other recording application for the android platform. Please down

[android-beginners] data transfer between android device and pc

2009-04-20 Thread jonathan
I have been looking for a way to transfer data from android device to pc via usb. The only thing I found that's slightly useful is adb, however that's a dev tool.. does the android sdk provide any means to transfer data via usb? --~--~-~--~~~---~--~~ You received

[android-beginners] Re: How to make UI calls from a separate thread

2009-04-20 Thread kungfuslippers
Thanks for the answers. Much appreciated On Apr 20, 4:02 pm, Romain Guy wrote: > If you are using Android 1.5/Cupcake, you should definitely use > android.os.AsyncTask. > > > > On Mon, Apr 20, 2009 at 7:44 AM, Arnaud Weber wrote: > > You shall get a book or look on internet, there are some exa

[android-beginners] Re: How to make UI calls from a separate thread

2009-04-20 Thread Romain Guy
If you are using Android 1.5/Cupcake, you should definitely use android.os.AsyncTask. On Mon, Apr 20, 2009 at 7:44 AM, Arnaud Weber wrote: > You shall get a book or look on internet, there are some examples. > Don't hesitate also to look in source code of open source projects. like in > code.goo

[android-beginners] Re: How to make UI calls from a separate thread

2009-04-20 Thread Arnaud Weber
You shall get a book or look on internet, there are some examples. Don't hesitate also to look in source code of open source projects. like in code.google. http://code.google.com/hosting/search?q=android&projectsearch=Search+projects What you're looking for is a handler. Look in the Handler obje

[android-beginners] How to make UI calls from a separate thread

2009-04-20 Thread kungfuslippers
Hi, I understand that if you want to display UI stuff from other than the main thread i.e. a separate thread - you can use some form of Handler classes post() method(s) to put a Dialog display (for example) in the event queue? Can anyone point me to some sample code or to where the usage is def

[android-beginners] need a help about sensor

2009-04-20 Thread abdelkarim bezi
hi everybody i'm a new android developer, i'm from tunisia i have a question about the accelerometer integrated into new mobiles. i want to know how it work? if possible a sample android code that demonstrate how to use the package android.hardware.sensormanager to manipulate the accelerometer and

[android-beginners] questions

2009-04-20 Thread abdelkarim bezi
hi everybody i'm a new android developer from tunisia i have a question about the accelerometer integrated into new mobiles. i want to know how it work? if possible a sample android code that demonstrate how to use the package android.hardware.sensormanager to manipulate the accelerometer and get t

[android-beginners] Re: Source code of Gallery Application

2009-04-20 Thread Jean-Baptiste Queru
http://android.git.kernel.org/?p=platform/packages/apps/Camera.git;a=summary JBQ On Mon, Apr 20, 2009 at 12:25 AM, bhoj wrote: > > Hello Everyone, > > Where Can I find the source code of the Gallery Application ? I want > to check the zooming feature in the photo application . > > > -- Jean

[android-beginners] Re: Having a lot of problems finding the documentation (e.g. about sendevent)

2009-04-20 Thread a druid
Hi Kent, Thanks for your answer. I already saw the documentation for monkey. However this presses keys randomly. What I wanted to do is to programatically (via adb shell, or via a service like vnc server for PCs) pressing non random keys. The simple first example, that I'd like to try is: press

[android-beginners] How to import com.android.internal.telephony.Phone?

2009-04-20 Thread Nio
Hi there, I'm trying to invoke the functions belong to class phone and PhoneFactory. But when I'm trying to import these packages, it reminds errors: code: import com.android.internal.telephony.Phone import com.android.internal.telephony.PhoneFactory ... PhoneFactory.makeDefaultPhones(this) Phone

[android-beginners] Source code of Gallery Application

2009-04-20 Thread bhoj
Hello Everyone, Where Can I find the source code of the Gallery Application ? I want to check the zooming feature in the photo application . --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. T

[android-beginners] Re: Calendar application still missing from emulator

2009-04-20 Thread Csaba
Mail application is available in emulator. I've also tried to use Google Calendar GData API, but that doesn't work. It throws a ServiceException with "Invalid redirected-to URL - null" message. The same application works on PC with the necessary minimal modifications.. On Apr 15, 9:14 pm, Ivan S