[android-beginners] Re: Please help in creating simple text file

2009-08-25 Thread nitin
I'm setting these permissions, but I am not storing file in SD Card by in data/files/ folder: uses-permission android:name=android.permission.ACCESS_COARSE_LOCATION/uses- permission uses-permission android:name=android.permission.ACCESS_FINE_LOCATION/uses- permission

[android-beginners] Unable to run the application even once.

2009-08-25 Thread nitin
Hello, when I am trying to run the application for the first time, it is giving error in console as: [2009-08-25 12:47:24 - temp] -- [2009-08-25 12:47:24 - temp] Android Launch! [2009-08-25 12:47:24 - temp] adb is running normally. [2009-08-25 12:47:24 - temp]

[android-beginners] what is the fast way to save/load string from/in an array?

2009-08-25 Thread Liviu Ungureanu
Hi! I want to save an array with strings. I try to write in a file and to save it on sdcard but the loading process get so much time... Thank you! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners

[android-beginners]

2009-08-25 Thread saurabh sinha
import com.google.googlenav.DrivingDirection; import com.google.googlenav.map.MapPoint; I am doing route direction example in mapview but above these package are not found in lastes sdk hello sir can u tell me --~--~-~--~~~---~--~~ You received this message

[android-beginners] Re: Development Phone

2009-08-25 Thread Rafa Perfeito
Yusuf, Does that means that i can, for example, install new Android versions for myself in the device? What do you mean by 'modify the OS on the phone'? On Mon, Aug 24, 2009 at 6:20 PM, Yusuf Saib (T-Mobile USA) yusuf.s...@t-mobile.com wrote: If you just want to write applications and run

[android-beginners] why I can't use movieview to play the movie came from the internet?

2009-08-25 Thread yjshi
I use the movieview.java to playback the movie comes from the internet.In a activity ,I wrote a Intent that jump to the movieview and pass the movieview a url.But after several seconds,It is closed because something is wrong.

[android-beginners] ListView item stay selected

2009-08-25 Thread manigault
I have a listview and i want when i select a row to stay selected after googling i came to this solution: @Override protected void onListItemClick(ListView l, View v, int position, long id) { // ... rest of the code v.setSelected(true); } I just manually set the selected view to stay

[android-beginners] Re: Overlay Item collection?

2009-08-25 Thread Jose Ayerdis
i dont know if you meaning to the last lines of the tutorial itemizedoverlay.addOverlay(overlayitem); mapOverlays.add(itemizedoverlay); that code does not go in HelloItemizedOverlay.java but in the Activity class HelloViewMap.java?ui=2ik=1f4971b240view=attth=1235183b6e514f3eattid=0.1disp=attd

[android-beginners] Re: Simple Animation Code

2009-08-25 Thread Kingcrowley
ok been messing around with this for a while and still no luck... so here is the code in full (probably not great code being honest) public class StartInActivityMonitor extends Activity implements SensorEventListener{ /** Called when the activity is first created. */ public

[android-beginners] Re: ListView item stay selected

2009-08-25 Thread Mark Murphy
I have a listview and i want when i select a row to stay selected The core Android team does not recommend this. The problem is that if i change some attribute ( for example v.setBackgroundColor(Color.BLACK) ) the selected view no longer stays selected. That is because selected is one of

[android-beginners] Re: why I can't use movieview to play the movie came from the internet?

2009-08-25 Thread Balwinder Kaur (T-Mobile USA)
You have not setup the MediaPlayer properly that is why you have an error. Could you please post your code ? Also, I guess you mean VideoView not MovieView (although I do some references to a MovieView in the documentation for MediaStore) Balwinder Kaur Open Source Development Center ·T· ·

[android-beginners] Re: ListView item stay selected

2009-08-25 Thread Martin Obreshkov
Thanks for the reply but if this is not the recommended way what is the solution for it. For example i have a list with mails and when i select given mail there are actions i can perform(delete, reply). What is the best way to implement this, should i use listview at all. Thanks in advance. On

[android-beginners] Re: what is the fast way to save/load string from/in an array?

2009-08-25 Thread Yusuf Saib (T-Mobile USA)
Can you post the code that takes a long time? How long does it take, for how many strings? Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of

[android-beginners] Re: Cheapest way to acquire a development phone?

2009-08-25 Thread Yusuf Saib (T-Mobile USA)
You don't need a development phone to try out apps. Dev phones are for people who want to change the OS. Any Android phone with WiFi but no plan could be used to try out apps. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the

[android-beginners] Re: Cheapest way to acquire a development phone?

2009-08-25 Thread Casper Bang
Search on ebay or wait a few months, as current owners of the HTC Magic with 6 month contract (like me), will want to move on to newer devices. /Casper On 24 Aug., 21:01, Ron ronbruck...@comcast.net wrote: I need an actual Google phone with GPS to get some idea of what applications are out

[android-beginners] Re: what is the fast way to save/load string from/in an array?

2009-08-25 Thread Liviu Ungureanu
Thank you for reply,, I want to save the history for my application in a file on sdcard. First i tried to save it as xml and parse it to load...but these actions take a lot of time..(almost 8 seconds for 20 strings on a HTC Hero device); this is the code: package com.app.lookitup2; import

[android-beginners] test

2009-08-25 Thread speedooo
test --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to

[android-beginners] why

2009-08-25 Thread zyy571137
why --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to

[android-beginners] repo init error

2009-08-25 Thread richard007.lin
Dear all, I've just installed repo successfully. But I got an error when using repo init -u git://android.git.kernel.org/platform/mainfest.git . Here is the error output: Traceback (most recent call last): File /home/android/mydroid/.repo/repo/main.py, line 235, in module

[android-beginners] eclipse error: missing required Java project

2009-08-25 Thread deki
hi list, beginner here. I am getting 3 eclipse errors: Project 'foo' is missing required Java project: 'bar' The project cannot be built until build path errors are resolved Conversion to Dalvik format failed with error 1 anyone seen this? Thanks Dejan

[android-beginners] Additional Contact Information

2009-08-25 Thread King of Camelot
Hi all. New to Android, so I'm just trying to get a grasp of what's possible for an application and what's not. Let's say for example I wanted to add a 'Favorite Food Type' drop-down box to the contact view UI. This way when you add new contacts, or modify old ones, you can select a favorite

[android-beginners] Get arguments from another activity

2009-08-25 Thread Sebeto
Hi, I try to get the value of a parameter from another activity, but can't succeed in doing that. I found things about putExtra/getExtra, but couldn't get it to work unfortunately. Problem: I've got a TabActivity called methodes, which has a TabHost. The contents of the Tabs are activities, and

[android-beginners] hi, I'm the nre comer

2009-08-25 Thread zero4kevin
Hi, I am the beginner, hope to learn more with you! :) zero4kevin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To

[android-beginners] Proxy issue in emulator 1.5 on Ubuntu(VM)

2009-08-25 Thread speedooo
Hi, I am just learn Android development on my Ubuntu, which is guest VM on my windowsXP host. I tried basic Map application, but could not get internet from my emulator. I installed ntlmaps on my Ubuntu and everything can go through ntlmaps default port 5865 to Internet.So when I start

[android-beginners] Using dom4j in Eclipse

2009-08-25 Thread Zonakusu
Hi! I am creating an app that uses a lot of different XML files. Because there are so many I don't like the way SAXParser does it, it would result in many classes to read all different XML files. That's why I want to use a more simple XML parser such as dom4j. Does anyone has experience in

[android-beginners] What's the best way to fill a TableLayout with objects defined by a template?

2009-08-25 Thread e.ogas
This is a bit hard to explain only using words, but what I'd like to do is create a xml layout to act as a template for the contents of a TableLayout. I figured this would be as simple as creating my template and adding instances of it as children to the TableLayout. This didn't quite work out,

[android-beginners] Re: The FTP uploading program does not work on Android Emulator

2009-08-25 Thread engin
I have also this problem On 22 Temmuz, 03:18, Bo zhaobo...@gmail.com wrote: Dear Sir: I developed a FTP uploading program which upload the string to a text file through FTP. This program only works well as an Java application on PC, but when I put the same code to Android application on

[android-beginners] Re: Unable to Connect to FTP server

2009-08-25 Thread engin
I have olsa this error.Did you find solution?? On 1 Temmuz, 18:36, Andrew Burgess abom...@gmail.com wrote: I don't think you want URLConnection. I believe you'd actually want to set up a Socket (http://developer.android.com/reference/java/net/Socket.html) instead. I implemented a simple one

[android-beginners] NullPointerException from getReadableDatabase and getWritableDatabase

2009-08-25 Thread Ryan Rowland
Hi all, I'm new to Android, however I am experienced with C# and Java. I have never had problems opening or communicating with a database until now. Every time I try to open/create a database using SQLiteOpenHelper's built-in getReadableDatabase or getWritableDatabase functions my program crashes

[android-beginners] Re: Development Phone

2009-08-25 Thread Zonakusu
He means that you can create and install your own software packages (.apk files) on your phone, but you won't be able to rewrite parts of the actual operating system. On 25 aug, 12:06, Rafa Perfeito rafa.perfe...@gmail.com wrote: Yusuf, Does that means that i can, for example, install new

[android-beginners] Add one butten in a tab

2009-08-25 Thread Chri
hi! I just started with android and now i have a problem! I want to add a button in a tab. In time I just can show text and i don ´t know how i add this button! my code is: in the .xml file: ?xml version=1.0 encoding=utf-8? TabHost xmlns:android=http://schemas.android.com/apk/res/android;

[android-beginners] Re: Cheapest way to acquire a development phone?

2009-08-25 Thread Bart Trojanowski
Hi Ron, I found that acquiring a Tmobile G1 on eBay a cheap alternative to buying an ADP1. You should be able to get a used G1 for about $200, and a new one for about $300. Make sure you get an unlocked one if you plan on using it on a network other than Tmobile. Judging by your email address

[android-beginners] Re: About ERROR: unknown virtual device name: 'myavd'

2009-08-25 Thread Phoenix
I also have the same error. I've tried creating the AVD on the command line and via the gui in the Eclipse plugin. Both created the AVD with no problems, but the emulator still cannot find it. I've tried running with the configuration set to Automatic, and to Manual and manually selecting

[android-beginners] Re: Additional Contact Information

2009-08-25 Thread tinyang
Hello Sire :) I'm new to Android too, but it sounds like the first option is certainly do-able. Just modify the current contacts app (assuming it's open source) and replace one of the current spinners (drop down menus) with the Favorite food item spinner you wish to add. Modify the contacts

[android-beginners] Install app on a device?

2009-08-25 Thread Yasser
Hi, I have HTC Magic and I want to install an android app (APK) on it. I did the following: 1. connected phone to PC and then used HTC sync to synchronize with windows 2. run adb install command For this I had to install and setup android SDK and HTC sync. Is there any simple way of installing

[android-beginners] Re: Using dom4j in Eclipse

2009-08-25 Thread Xavier Ducrohet
Don't put it in src/ It's common to put it in libs/ so that if someone wants to compile your project with the Ant script they can (Ant will import and include in your final APK any jar files located in libs/), then right click on it in the Package Explorer view of Eclipse and choose Build Path

[android-beginners] Re: About ERROR: unknown virtual device name: 'myavd'

2009-08-25 Thread Xavier Ducrohet
I see that you have changed the location of the user folders (in S: instead of C:) When the user location is not the default one, we have seen some cases where windows reports the location of the user folder differently depending on which API you use (the command line tool and Eclipse use a Java

[android-beginners] Re: Install app on a device?

2009-08-25 Thread Michael Leung
Yes, that is an app calls AppsInstaller in the Android Market. It can do the job you want. I have written some instructions about this issue in my blog. http://www.itblogs.info/index.php/2009/07/23/install-android-apps-from-sd-card?blog=6 On Wed, Aug 26, 2009 at 10:08 AM, Yasser

[android-beginners] Re: Install app on a device?

2009-08-25 Thread Carmen Delessio
Apkatcher also works. Send your APK to gmail open with apkatcher Carmen On Aug 25, 2009, at 9:02 PM, Michael Leung michaelchi...@gmail.com wrote: Yes, that is an app calls AppsInstaller in the Android Market. It can do the job you want. I have written some instructions about this issue

[android-beginners] Re: Install app on a device?

2009-08-25 Thread Michael Leung
That is good, AppsInstall is only from SD card. Therefore, I need to connect phone by USB. On Wed, Aug 26, 2009 at 11:23 AM, Carmen Delessio carmendeles...@gmail.comwrote: Apkatcher also works. Send your APK to gmail open with apkatcher Carmen On Aug 25, 2009, at 9:02 PM, Michael Leung

[android-beginners] Re: hi, I'm the nre comer

2009-08-25 Thread Michael Leung
Welcome! On Wed, Aug 26, 2009 at 12:04 AM, zero4kevin zero4ke...@gmail.com wrote: Hi, I am the beginner, hope to learn more with you! :) zero4kevin -- Regards, Michael Leung http://www.itblogs.info http://www.michaelleung.info --~--~-~--~~~---~--~~

[android-beginners] Re: why I can't use movieview to play the movie came from the internet?

2009-08-25 Thread yjshi
The code is in the following. Uri uri=Uri.parse(url); Intent intent =new Intent(); intent.setDataAndType(uri, video/*); intent.setClassName(com.android.camera, com.android.camera.MovieView);

[android-beginners] unexpected error in sms application

2009-08-25 Thread kapil.k
i have trying sms example.in first few times it was running verry well in eclips.then i tried some modification so its showing error unexpectedally closed.then i removed that application n imprted pre one which was running but now that is also not running n showing the same error.what should i

[android-beginners] Ant build error : package R does not exist

2009-08-25 Thread sagar
Hello everyone, I am trying to build my project using ant. I first generate build.xml file using android update project command. Now i want to run it using ant. When i type ant debug commnad it generates error saying that package R does not exist while it has already been generated in gen folder