[android-beginners] Re: Which Widget/UI Component to use for Gameboard?

2010-05-12 Thread John Maag
You might want to check out http://www.droidnova.com/create-a-scrollable-map-with-cells-part-ii,678.html That blog has a ton of great android tutorials that might help you. On May 10, 5:13 pm, Indicator Veritatis mej1...@yahoo.com wrote: If I want to create a gameboard, like a checker board or

[android-beginners] App without Gui

2010-05-12 Thread Idan
Hi, i have an app which i want to start another app and getting some result, now i wanna know if there is a way of making this app working without a GUI? i could use remote service, but i dont need to, since: i have more limitations of a service then a regular app (for example i cant have:

[android-beginners] Re: Regarding CTS test apk Signing procedure

2010-05-12 Thread mereba
Hello Pradeep, I can answer your second question. You do not need a certification authority to sign your .apk. http://developer.android.com/guide/publishing/app-signing.html#overview I hope this helps? Jojoo On May 7, 6:38 am, pradeep gan@gmail.com wrote: Hi I am trying to develop new

[android-beginners] setOnClickListener doesnt work after a call to startActivity()...

2010-05-12 Thread Issamux
hi,Androiderz i use startActivity(myintent) or even an startActivityForResult to call an other activity (PackageInstaller ) , when it finished ... it disable setOnClickListener ?!!! i cant any more click in button in my UI ...??? some suggestion ? solutions Issamux -- You received this

[android-beginners] Re: [MultipleActivity] Issue with launching second one.

2010-05-12 Thread AKninja04
Hi, I'm having similar problems as stated above. My onClick() method is created in one of my Button setOnClickListener initilizations. Whenever I click my button, a force stop occurs. Here is my code: package com.nrg.droidcraft; import android.app.Activity; import android.content.Intent; import

[android-beginners] Re: Regarding CTS test apk Signing procedure

2010-05-12 Thread mereba
Hello Pradeep, I can answer your 2nd question. As regards signing your apk, I know (http://developer.android.com/guide/publishing/app- signing.html#overview) that you do not need a signing authority. Jojoo On May 7, 6:38 am, pradeep gan@gmail.com wrote: Hi I am trying to develop new cts

[android-beginners] Button Image Resizing Problem

2010-05-12 Thread AKninja04
Hi all, I'm writing this program that has a button using a PNG image I created in photoshop. My problem is that whenever I try to use the image in my code, it is way too large and streches off screen. A bit of background: I'm using a MOTO_DROID emulator (854x400px at 265 ppi) as my android

[android-beginners] installation problem

2010-05-12 Thread dhaval shah
Hi everybody, i am trying to install SDK along with Eclipse and ADT on linux. i have already install Eclipse 3.5.2. now when i try to follow the step of *tools/android* i get following error *Starting Android SDK and AVD Manager Exception in thread main java.lang.NoSuchMethodError: method

Re: [android-beginners] Re: [MultipleActivity] Issue with launching second one.

2010-05-12 Thread Justin Anderson
Replace this with MainAct.this -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Tue, May 11, 2010 at 5:22

Re: [android-beginners] installation problem

2010-05-12 Thread Daniel Favela
Hi, Dhaval. The method in the error, *java.io.PrintStream.printf*, is actually a Java method that has no direct association with Android ( http://java.sun.com/j2se/1.5.0/docs/api/java/io/PrintStream.html). If I had to guess, I'd recommend checking to make sure Java is installed on your machine.

[android-beginners] The Android emulator runs too slowly.

2010-05-12 Thread T1000
Hello, The Android emulator runs extremely slow on my computer. I assume this is because I'm emulating an OS running a virtual machine, which is similar to emulating an emulator. Is there a Windows XP port of the Dalvik VM that I can configure with Eclipse to test out my Android apps? It

[android-beginners] Process android.process.media is not responding.

2010-05-12 Thread T1000
Whenever I want to run any Android application, I get the following two errors immediately in the emulator: Sorry! Process android.process.media is not responding. (I click Wait) Application Settings (in process com.android.settings) is not responding. (I click Wait again) Then my application

Re: [android-beginners] Process android.process.media is not responding.

2010-05-12 Thread Justin Anderson
More likely than not you are doing something wrong probably doing too much processing in your onCreate() method. You may want to consider using ASyncTask to put some of the heavier processing on a separate thread. -- There

Re: [android-beginners] NEED help--working on twitter app want list click to be expanded and again shrinked on another click plz help

2010-05-12 Thread vin
*i m sorry i got the solution so removed that post ...:) *...@vin On Wed, May 5, 2010 at 4:25 AM, TreKing treking...@gmail.com wrote: On Tue, May 4, 2010 at 4:54 PM, Wayne Wenthin wa...@fuligin.com wrote: Well to be fair his entire post was in the subject. ;-) Which wasn't very clear,

Re: [android-beginners] NEED help--working on twitter app want list click to be expanded and again shrinked on another click plz help

2010-05-12 Thread vin
*but now i want help regarding xml parsing ... i m using for (friendstimeline) twitter api for getting time of tweet ,profile img ,person name ,description .. i went through many tutorial regarding parsing ...xml data but how to bind tht with my listview please help *...@vin On Wed,

Re: [android-beginners] installation problem

2010-05-12 Thread dhaval shah
Hi everybody, thanks a lot for your reply. this helps me a lot. i have already installed jdk 5 and java 1.4.2 is also installed. but same problem exist. i am using fedora linux 6. i am awaiting for your quick and useful reply. thanks dhaval shah. On Wed, May 12, 2010 at 12:58 PM, Daniel Favela

Re: [android-beginners] App without Gui

2010-05-12 Thread TreKing
On Mon, May 10, 2010 at 2:28 AM, Idan idan.f...@gmail.com wrote: i have an app which i want to start another app and getting some result What, EXACTLY, are you trying to do? Start another app written by you? Start a third-party app? , now i wanna know if there is a way of making this app

Re: [android-beginners] Process android.process.media is not responding.

2010-05-12 Thread Raymond Ingles
On Wed, May 12, 2010 at 3:43 AM, T1000 t1...@zando.dyndns.org wrote: Is there something wrong or is this just typical of the Android emulator and I'm just going to have to click Wait twice for eternity whenever I run any app? Let me know. Thanks. Well, I don't *always* get such errors when I

Re: [android-beginners] The Android emulator runs too slowly.

2010-05-12 Thread TreKing
On Wed, May 12, 2010 at 2:42 AM, T1000 t1...@zando.dyndns.org wrote: It takes me five minutes to load and run Hello Android! Just to be clear - you don't have to load up the emulator each time you run your app. You should load it once (which is known to take quite some time) and then leave it

[android-beginners] Re: The Android emulator runs too slowly.

2010-05-12 Thread niko20
You need at least a core 2 duo in the 2.5ghz range to run the emulator well and at a speed comparative to a g1. On May 12, 8:42 am, TreKing treking...@gmail.com wrote: On Wed, May 12, 2010 at 2:42 AM, T1000 t1...@zando.dyndns.org wrote: It takes me five minutes to load and run Hello Android!

Re: [android-beginners] The Android emulator runs too slowly.

2010-05-12 Thread T1000
I understand that if I could write an app that didn't crash every time, I could just quit the app and re run it (hypothetically). However, that is not the case. How do I recover from a crash in the emulator without closing the emulator and rerunning my app in Eclipse? At 06:42 AM 5/12/2010,

Re: [android-beginners] The Android emulator runs too slowly.

2010-05-12 Thread Kostya Vasilyev
You don't need to recover from a crash in any way. When the app crashes, press Android's force close button, the same you'd do on a real phone. Then start debugging again (with or without changing the code and redeploying). -- Kostya 12.05.2010 19:44, T1000 пишет: I understand that if I

Re: [android-beginners] The Android emulator runs too slowly.

2010-05-12 Thread TreKing
On Wed, May 12, 2010 at 10:44 AM, T1000 t1...@zando.dyndns.org wrote: How do I recover from a crash in the emulator without closing the emulator and rerunning my app in Eclipse? Just re-run the app.

Re: [android-beginners] The application has stopped unexpectedly. Please try again.

2010-05-12 Thread T1000
[ 05-12 01:05:47.570 227:0xe3 E/AndroidRuntime ] java.lang.NumberFormatException: at org.apache.harmony.luni.util.FloatingPointParser.parseDouble(FloatingPointParser.java:267) at java.lang.Double.parseDouble(Double.java:285) at

[android-beginners] Communicating between multiple Apps/Widgets?

2010-05-12 Thread repole
Hey all, Very new to Android development and trying to get started on a project. I am curious if it is possible for a separate application to directly check to see if another widget is open/visible etc., and for that separate application to send information to the widget? Apologies is this should

Re: [android-beginners] Communicating between multiple Apps/Widgets?

2010-05-12 Thread Justin Anderson
I do not believe it is possible to determine if a widget is visible, or even if it is used... -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Re: Communicating between multiple Apps/Widgets?

2010-05-12 Thread repole
Thanks for the quick response I figured the widget could store a variable that's altered on OnEnabled(), OnDisabled(), etc, and then the app could retrieve that variable from the widget...or would that note work? On May 12, 12:15 pm, Justin Anderson janderson@gmail.com wrote: I do not

Re: [android-beginners] Re: Communicating between multiple Apps/Widgets?

2010-05-12 Thread Justin Anderson
That might work... I haven't ever messed with those methods though so I don't know for sure. When I need to get information from a widget that I have created, I have the widget create a key/value pair in SharedPreferences and have my activity retrieve it from there. AFAIK there is no way to do

Re: [android-beginners] The application has stopped unexpectedly. Please try again.

2010-05-12 Thread TreKing
On Wed, May 12, 2010 at 11:08 AM, T1000 t1...@zando.dyndns.org wrote: What am I doing wrong? Print out the values of the strings just before you try to convert them, then the value of what you get. Why are you using Float to get a double value?

Re: [android-beginners] Re: Communicating between multiple Apps/Widgets?

2010-05-12 Thread Kostya Vasilyev
That wouldn't work. App widgets are stateless by design. The way to implement what you want (from what I can tell) is to broadcast an intent when the user clicks on the widget and handle it in the AppWidgetProvider. To make the widget broadcast an intent when clicked, use PendingIntent

[android-beginners] Re: Communicating between multiple Apps/Widgets?

2010-05-12 Thread repole
For anyone else interested/reading this later, googling key value pair in SharedPreferences led me to http://developer.android.com/guide/topics/data/data-storage.html, which had a bunch of the information I was looking for. Thanks for being so helpful/quick to respond Justin. On May 12, 12:24 

Re: [android-beginners] Re: Communicating between multiple Apps/Widgets?

2010-05-12 Thread Justin Anderson
* That wouldn't work.* Why not? * App widgets are stateless by design.* True, but depending on what you are wanting to do, you can store state using SharedPreferences... * The way to implement what you want (from what I can tell) is to broadcast an intent when the user clicks on the widget and

Re: [android-beginners] The application has stopped unexpectedly. Please try again.

2010-05-12 Thread T1000
I can't print out the strings after I try to convert them using either of these two routines because it crashes. double satlon = Double.valueOf(SatLon_Str).doubleValue(); double satlon = Double.parseDouble(); (Using a Float before was sloppiness on my part. However, even when I use a Double

[android-beginners] Re: Communicating between multiple Apps/Widgets?

2010-05-12 Thread repole
That is right, I'm simply trying to see if the widget is being displayed/open from a separate application. That said, appreciate the help as well Kostya, as my widget will eventually need some simple interaction and when I get to that point what you mentioned will certainly be helpful. On May

Re: [android-beginners] Re: Communicating between multiple Apps/Widgets?

2010-05-12 Thread Kostya Vasilyev
12.05.2010 21:02, Justin Anderson ?: /// App widgets are stateless by design./ True, but depending on what you are wanting to do, you can store state using SharedPreferences... Correct. It's also possible to store state in SharedPreferences, or SQLLite, or via a web service - but any of

Re: [android-beginners] The application has stopped unexpectedly. Please try again.

2010-05-12 Thread TreKing
On Wed, May 12, 2010 at 12:10 PM, T1000 t1...@zando.dyndns.org wrote: I can't print out the strings after I try to convert them using either of these two routines because it crashes. Weirdness - have you tried putting a break point right before the Double.parse(value) call and see the value

[android-beginners] application deployment

2010-05-12 Thread Avtar Khalsa
Hi guys I'm very new to Android although I have been doing development work for a long time now. I have a website with virtual currency, and I would like people to be able to redeem their virtual currency for Android applications that some friends of mine have made. It seems to me that I actually

[android-beginners] Build.Manufacter on sdk 4

2010-05-12 Thread Vikram
Is there an alternative way to use Build.Manufacturer on SDK 4 ? I have an app running for 1.6+ phones for a long time and recently decided to make the app backward compatible. I collect the Manufacturer's info when a support ticket is being sent from the app. I am in so need of that info when I

[android-beginners] Re: [MultipleActivity] Issue with launching second one.

2010-05-12 Thread AKninja04
Thanks! On May 12, 3:26 am, Justin Anderson janderson@gmail.com wrote: Replace this with MainAct.this -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Re: The application has stopped unexpectedly. Please try again.

2010-05-12 Thread Ira
Add the android:numeric property to your EditText fields, by default it's off: android:numeric=signed|decimal See http://developer.android.com/reference/android/widget/TextView.html#attr_android:numeric As TreKing suggested, don't use Scanner, it's an overkill, but don't forget to catch the

[android-beginners] adjustResize not working in landscape mode

2010-05-12 Thread droid-stricken
Hi, I wanted a way to find out whether a softkeyboard is visible at any given time. If I set the windowSoftInputMode property to adjustResize, I receive resize events in the portrait mode (onSizeChanged gets called). I use these events to find out whether the softkeyboard is visible or not. But

[android-beginners] Re: Android Emulator - Eclipse cannot see it

2010-05-12 Thread tiger
Regarding the path, the installation instructions do say to add SDK tools folder to your Windows path. I am a professional Java dev. and I cannot remember the last time I had to edit the Windows path. Given there is an installer and GUI- based IDE support, if it is necessary for the Android SDK

Re: [android-beginners] Re: Android Emulator - Eclipse cannot see it

2010-05-12 Thread Xavier Ducrohet
if you strictly use Eclipse, then you shouldn't have to change your path. Eclipse uses the location to the SDK folder (set in the Eclipse preferences under Android) to find all the external tools it needs. Xav On Wed, May 12, 2010 at 2:25 PM, tiger unixep...@mailinator.com wrote: Regarding the

[android-beginners] Working on an Mobile or Embedded Device/System? Tell VDC about your experiences for a chance to WIN!

2010-05-12 Thread OnTargetEmbedded
VDC is conducting its annual survey of mobile and embedded engineers so if you are involved in the engineering of mobile or embedded systems/software, this is your chance to influence key solution suppliers. The research covers embedded software, hardware, tools, and development practices. Your

Re: [android-beginners] Re: Android Emulator - Eclipse cannot see it

2010-05-12 Thread Kevin Brooks
I am having a similar problem. When I try to launch my application I receive the following messages even if I already have the emulator running. [2010-05-12 22:29:37 - FlashcardLoop] -- [2010-05-12 22:29:37 - FlashcardLoop] Android Launch! [2010-05-12 22:29:37 -

[android-beginners] Re: [android-developers] ubuntu 10.04 emulator not launching

2010-05-12 Thread OOD Tsen
I meet the same problem in ubuntu 10.04 32 bit version. I found the problem is no permission to launch ddms in ubuntu 10.04 Try this command in your android folder. #chmod +x out/host/linux-x86/bin/ddms On May 4, 6:26 pm, Riaz Ur Rahaman rahaman.r...@gmail.com wrote: I am using ubuntu 64bit