[android-beginners] Re: emulator can not be powered on

2009-03-09 Thread Roy Zhang
SIR: I built it on linux indeed. Following question that I do not understand: or do u can give me a detail website to explain them ? 1. what`s mean of lunch after all? Is it used to set build enviroment, such as set TARGET_SIMULATOR=FALSE/TRUE 2. I used make sdk, the sdk folder is generated

[android-beginners] Connect 2 Androids Ad-Hoc or via Hot Spot ?

2009-03-09 Thread Daniel Weidele
Hey guys, i need the possibility to exchange messages between NEARBY Android Phones. This could mean, if they are close enough together, that they build up a kind of ad-hoc net, or if one is connected to a hot spot, and another gets into the hot-spot net, that the hot spots tells one that

[android-beginners] Merging two apps

2009-03-09 Thread Kevin Phillips
Hello All, I built a testing ground application that does the Frame by Frame Animation and I built a full app that cycles through some images and sounds using the onclicklistener which utilizes if statements. I want to have the frame by frame animation code run inside of one of the if

[android-beginners] Re: Anybody knows how to preload an application?

2009-03-09 Thread Sena Gbeckor-Kove
Are you talking about loading apps on system startup? S On 7 Mar 2009, at 15:58, MrSnowflake wrote: You can only preload you own applications if you create your own Android image. But then you loose all Google specific apps, like Market. On 5 mrt, 10:07, Lawrence lejie.zh...@gmail.com

[android-beginners] Could I adjust cpufreq from framework API

2009-03-09 Thread Augustin.CL
Dears, Recently, I have been interested in the android platfrom, especially power management. And then I tried to find the settings about cpufreq, but in vain. I really want to know if there is a way that we can modify the cpufreq governors within my application over the framework api.

[android-beginners] Dynamically adding images to a gallery

2009-03-09 Thread carnegie
Hello everybody I'm trying to create a dynamic gallery, where the pictures are taken from the links in a txt file. Since the txt file can be often updated, there is a possibility that the amount of images in the gallery changes every time the user would restart the app (or click on a button). My

[android-beginners] Doing a post url

2009-03-09 Thread vir
Hello people, I have a problem while doing a post to a url. here is my scenario : I have a login page e.g http://localhost/login.php and i need to login with the username and password from my android application. I am using org.apache to do a post. I am being able to post the variables to the

[android-beginners] Help to understand LunarLander: Canvas.save Canvas.restore

2009-03-09 Thread FBear
Hi, I can hardly understanding why LunarLander save the Canvas and restore it after rotating the Canvas to simulate the rotation of the rocket. I commented the 2 lines out and reinstall the apk, but I found nothing changed. Could anybody kindly help me understanding what 'matrix' and 'clip' are

[android-beginners] why print android_power:wakeup and didn't boot?

2009-03-09 Thread susanner
I don't know whether here is the proper place to post the message, because I am not a kernel developer, but I met a problem seems to have relashipship with the knowledge of the kernel. After I have change opencore ( mydroid/external/opencore, this is the lower layer relevant to media player)

[android-beginners] Re: AlertDialog does not show

2009-03-09 Thread Tommaso
Hi Mark, it is not due to the regexp in the code and the if-else... The problem seems to be that this is not the Main Activity, but a subactivity! When I do the same thing in the main activity, it works. I have found tons of examples, but always with the easy constellation, i.e. when you want

[android-beginners] Re: Connect 2 Androids Ad-Hoc or via Hot Spot ?

2009-03-09 Thread whitemice
Last time I checked, there was no ad-hoc support for Wi-Fi on Android, while the Bluetooth API was still unreleased. Currently, “nearby” device discovery is only possible via an intermediate discovery server sharing GPS/Cell ID information. I submitted something along these lines to the ADC

[android-beginners] Animation between two activities

2009-03-09 Thread tcassany
Hello, I woud know how to do a animation between two activities. I found a lot of examples to make some animation during an activity's life but never to make a transition between two activities. Thanks, Thomas --~--~-~--~~~---~--~~ You received this message

[android-beginners] Re: Autocomplete contacts list with multiple entries

2009-03-09 Thread c6bro
Anybody got any ideas on this ?? On Mar 5, 12:03 pm, c6bro ch...@upload.co.uk wrote: Hi all, I have tried and tried . searched and searched but I can't find a solution to creating and auto complete list of contacts like below. I've created a simple app which send  messages through a sms

[android-beginners] Re: AlertDialog does not show

2009-03-09 Thread Christian Martín Reinhold
I am facing the same problem. I was thinking about creating and Activity with a transparent layout and a AlertDialog related to it, and then another class that uses that activity as if it were an alertDialog (when dismiss we would have to do a activity.finish() call. Like this, it will be

[android-beginners] Re: How to download 1.1 sdk source OR use latest source (sdk 1.5) with eclipse/emulator

2009-03-09 Thread Russell
Thanks for your reply Squalus. Actually I am working on the OS... I have things working now, the problem was I needed to UNinstall ADT 0.8 that comes with the SDK BEFORE I INstall ADT 0.9 that gets built with the latest source. They were conflicting. I then run the newly built emulator from

[android-beginners] Online Android Programming courses

2009-03-09 Thread dushyEDU
Hi Everyone, If you're interested in learning how to develop top class games and applications for the iPhone, HTC Touch (Android), Instinct, WinMobile, or any other mobile device or platforms - then you should definitely have a look at what they offer...http://EDUmobile.org Register today and

[android-beginners] Re: AlertDialog does not show

2009-03-09 Thread Tommaso
Hi Christian, I wouldn't do that! The framework, I am sure, has means to implement the behaviour we want. By doing some kind of hacks, you are running into trouble later. Also, you don't know about side effects, like memory, UI, etc... I found ou that we will need a Handler, Looper and Thread.

[android-beginners] Re: Telephony API in Android

2009-03-09 Thread Arun
??? On Mar 6, 4:46 pm, Arunk arunk2...@gmail.com wrote: I am new to Android. I have developed application for blackberry. I want to develop the same application for Android also. Is there anything like phone listner in Android? How feasible its to implement an application which overrides

[android-beginners] Re: Connect 2 Androids Ad-Hoc or via Hot Spot ?

2009-03-09 Thread Daniel Weidele
Your post does not help me, at all. As i already said, i would like to see code snippets or some kind of manual, how to connect to a hot spot, or at least discover one, OR directly discover and connect another android or mobile phone. Half-Knowledge or strange comments with introducing GPS

[android-beginners] Re: Intent and newActivity

2009-03-09 Thread Steven Farley
I'm no expert, but from what I can tell, the putExtra() methods on Intent accept primitive types, Serializable objects, and Parcelable objects: http://developer.android.com/reference/android/content/Intent.html Primitive types and Serializable objects will be copied. I think Parcelable

[android-beginners] Re: How to format time in millis to human readable?

2009-03-09 Thread Steven Farley
Just out of curiosity, has anybody tried using Joda Time (http://joda- time.sourceforge.net/) in an Android application? The Joda API is much better than Java's built-in Date and Calendar classes. ++Steve On Mar 8, 12:54 pm, sm1 sergemas...@gmail.com wrote: There may be built-in methods for

[android-beginners] Re: Telephony API in Android

2009-03-09 Thread Stoyan Damov
While I can't answer your questions, I urge you to be more patient because you'll prove the list's wrath and no one would answer, even if he could help you. Many of the list's members are from US and are sleeping atm. On Mon, Mar 9, 2009 at 3:28 PM, Arun arunk2...@gmail.com wrote: ??? On

[android-beginners] Re: Telephony API in Android

2009-03-09 Thread Stoyan Damov
s/prove/provoke thumbs near the touchpad make such silly sentences quite often :( On Mon, Mar 9, 2009 at 3:54 PM, Stoyan Damov stoyan.da...@gmail.com wrote: While I can't answer your questions, I urge you to be more patient because you'll prove the list's wrath and no one would answer, even

[android-beginners] Re: Arabic localization project

2009-03-09 Thread TAKEphONE
Hi, Got some help from the author of that code, and posted the new version of a12Keys Yesterday. Thanks ! On Mar 8, 3:31 pm, TAKEphONE shimo...@gmail.com wrote: Hi, On Feb 22, 12:25 pm, G_man aman@gmail.com wrote: 3- You need an Arabic reshaper and it is already

[android-beginners] hello world

2009-03-09 Thread bobcat
Hi google group of android, I have a problem with hello wolrd, i use linux ubuntu with eclipse Version: 3.4.2, the configuration is perfect but i don't see the text Hello,World the log of console are : [2009-03-09 16:49:22 - HelloAndroid] -- [2009-03-09 16:49:22 -

[android-beginners] How to launch installed app from adb shell

2009-03-09 Thread Zaphod
I am trying to launch and installed application on Android emulator using the shell. Can anyone let me know how this can be done? Thank you Sundeep --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners

[android-beginners] Re: Make a button from an image (PNG)

2009-03-09 Thread macobolo
hello, I dont know what your canvas. you want to add a image(png) for button ? if yes, I think you can use class imagebutton, than you can changed main.xml.to add layout:src=drawtable/iconname Regards. On 3月9日, 下午12时04分, xspotlivin dmbrown2...@gmail.com wrote: I'd like to know how to make a

[android-beginners] Re: Show background applications dialog in front of current application

2009-03-09 Thread Sean Hodges
Interrupting another application with a custom dialog sounds quite invasive to the user. How about displaying a notification icon when you want the user input? Sean On Mon, Mar 9, 2009 at 3:25 PM, denzel dimitri.deroc...@gmail.com wrote: Hi, I have an app that is running in the background

[android-beginners] Re: onDraw is never called...

2009-03-09 Thread mcmc
Thanks for your responses. I think I have set the view in the content view (although I'm not entirely sure what that means...). But I don't think I made it visible... how do I do that? This is what I have: public class TestDraw extends Activity { /** Called when the activity is first

[android-beginners] How does emulator manage to install all the applications?

2009-03-09 Thread Ramakrishna
Hi everybody, I just wanna know how Android emulator manages to install all the applications by default when it is started. And moreover i was searching for Google maps source code or atleast the .apk file for that application in the emulator. Any kind of help will be of great help

[android-beginners] Re: Arabic localization project

2009-03-09 Thread x2andr...@gmail.com
me too, after i gave you an answer, you just ignored my question... what help are you talking about?? On Mar 9, 9:05 am, TAKEphONE shimo...@gmail.com wrote: Hi, Got some help from the author of that code, and posted the new version of a12Keys Yesterday. Thanks ! On Mar 8, 3:31 pm,

[android-beginners] Re: How does emulator manage to install all the applications?

2009-03-09 Thread David Turner
the applications are pre-installed in the read-only /system partition.the Google Maps source code is not available. the corresponding .apk should be somewhere under / though. On Mon, Mar 9, 2009 at 6:35 PM, Ramakrishna mramakrishnapra...@gmail.comwrote: Hi everybody, I just wanna

[android-beginners] Is there an expand all preference.

2009-03-09 Thread Nitin67
Hello, In Eclipse, is there an option to see all the matching lines in the Search output window, without first right clicking in the window, and then selecting Expand All from the menu ? I find, I have select Expand All, everytime I do a search. I read in another post, that this is

[android-beginners] Re: Images from URL into Lists

2009-03-09 Thread Joseph Arceneaux
Thanks, your blog posts are very helpful on constructing more elaborate lists. I'm still in the dark, however, about fetching images - they're .png files fetched via URL and I plan to cache them. I could put them on the SD card, or in the database. They are, hopefully, thumbnails of the

[android-beginners] can accelerometer sense short and long motions?

2009-03-09 Thread Anil
Hi, I wondered if the accelerometer sense short and long motions. for example, not just a 3 milimeter movement, but also a 30 meter move. If anyone knows, I would appreciate your sharing the information. thanks, Anil --~--~-~--~~~---~--~~ You received this message

[android-beginners] Re: can accelerometer sense short and long motions?

2009-03-09 Thread Jordan Frank
Short answer: No. Accelerometers measure acceleration, not velocity. So it might be possible to monitor the acceleration, use that to infer the velocity, and then measure the time until the corresponding negative acceleration, but this is very error-prone (due to the fact that you're doing

[android-beginners] Re: can accelerometer sense short and long motions?

2009-03-09 Thread Anil
Frank clarified that the accelerometer only measures acceleration. But I was wondering... velocity in the real world is typically non-uniform right? Anil On Mar 9, 3:45 pm, Anil anil.r...@gmail.com wrote: Hi, I wondered if the accelerometer sense short and long motions. for example, not just

[android-beginners] Re: can accelerometer sense short and long motions?

2009-03-09 Thread Anil
Frank, Thanks for clarifying. I was wondering since velocity in the real world is typically non-uniform. - Anil On Mar 9, 4:05 pm, Jordan Frank jordan.w.fr...@gmail.com wrote: Short answer: No. Accelerometers measure acceleration, not velocity. So it might be possible to monitor the

[android-beginners] Re: Dev1 Permissions

2009-03-09 Thread fadden
On Mar 6, 1:55 pm, Maxx george.bert...@gmail.com wrote: When I try to push or pull (copy) files from PC to phone, I get permission denied ?? Do I have to Root hack the developer phone too ? The adb daemon runs as a normal user. You can adb shell and then su to become root. This does mean

[android-beginners] How to prevent repositioning of a dialog

2009-03-09 Thread Michael Bollmann
I got a toplevel dialog window When i use setVisibility(View.Visible) on a part of the layout that had the attribute View.Gone before the whole dialog is repositioned/ centered. How do i prevent that? I want the new part of the layout to be visible but also keep the old position of the top level

[android-beginners] Filling a large database causes crash

2009-03-09 Thread NFSpeedypur
I am trying to on first start up fill up a sql database with the default values. This database is around 9000 entries and it is causing the app to go over the 16MB heap. I am trying to find a way to do this so that it will not cause this over flow. At the moment I am running the 9000 inserts,

[android-beginners] accessing information from browser, in an application

2009-03-09 Thread Shani
I am editing the pre-existing zxing Barcode Reader code so it can voice itself for blind users. I know how to use Text to speech in the app. Right now I am at the step where after the barcode is read, it then opens a webpage in the android browser - it sends the product number to google. What i

[android-beginners] Re: Make a button from an image (PNG)

2009-03-09 Thread xspotlivin
Ok, thanks for the replies. I'm going to describe what I'm trying to do better, because I'm still unsure of the solution, and I could really use some help. I have a clock application (how can you attache an image). For each shaded region I want to place a button on top of it (a different button

[android-beginners] Re: How does emulator manage to install all the applications?

2009-03-09 Thread ramakrishna
Hii David, Its nice to meet u...Can you please mail me the google maps apk file if u have it?It will be of great help for me if anyone can share me the .apk file of google maps application. Thanks, Ramakrishna. On Tue, Mar 10, 2009 at 1:01 AM, David Turner di...@android.com wrote: the