[android-beginners] Folder under raw or drawable

2009-07-29 Thread BORO
Hi. I would like to create a folder (s) under raw or/and drawable folders. Is it even possible and why not? According to the documentation it seams that folder names are limited to a specific set of names which have to do with phone settings and/or internationalisation, like:

[android-beginners] Re: Folder under raw or drawable

2009-07-29 Thread Sean Hodges
On Wed, Jul 29, 2009 at 10:35 AM, BOROkonradborowie...@gmail.com wrote: Hi. I would like to create a folder (s) under raw or/and drawable folders. Is it even possible and why not? According to the documentation it seams that folder names are limited to a specific set of names which have to

[android-beginners] Re: Read a file

2009-07-29 Thread Michael Leung
I found a thread about writing files. http://www.anddev.org/working_with_files-t115-s30.html Would it be helpfule for you? On Wed, Jul 29, 2009 at 2:59 AM, Lorenz lorenzoteod...@gmail.com wrote: Hi , I've some problem reading a file. First of all I've created a new file ,and from the

[android-beginners] Re: Problem: connect to a server

2009-07-29 Thread Michael Leung
javadoc for permission: http://developer.android.com/reference/android/Manifest.permission.html security doc for android: http://developer.android.com/guide/topics/security/security.html On Wed, Jul 29, 2009 at 7:41 AM, Lorenz lorenzoteod...@gmail.com wrote: It works thanks Ash! where can I

[android-beginners] Re: Problem: connect to a server

2009-07-29 Thread Michael Leung
and i think ACCESS_FINE_LOCATION is the key On Wed, Jul 29, 2009 at 10:28 PM, Michael Leung michaelchi...@gmail.comwrote: javadoc for permission: http://developer.android.com/reference/android/Manifest.permission.html security doc for android:

[android-beginners] Re: Read a file

2009-07-29 Thread Lorenz
At the end I've found the way to write a file: Use PrintWriter: openOutputFile(String:name file) to create or open an existent file. PrintWriter f=new PrintWriter(openOutputFile(String:name file)); f.println(something) ; to write on the file. Thanks Micheal! On Jul 29, 2:00 pm, Michael Leung

[android-beginners] Re: GridView example

2009-07-29 Thread Mark Murphy
Jens Vegeby wrote: Well, I personaly like the books at http://www.commonsware.com They are cheap too. Thanks! Though I like to think of them as competitively priced... ;-) -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer

[android-beginners] How to detect orientation changed event in the webpage

2009-07-29 Thread treetop
Hi all, I have created a webpage and will browse it through HTC MAGIC default browser. For my webpage, it needs to use different layout under landscape/ portrait. That is, not only I want to get current orientation but also want to be noticed of orientation changed event. After trying, I found

[android-beginners] Re: Cannot Register Sipdroid With A Sip Account

2009-07-29 Thread Roman
I have SipDroid running on a real device. On the emulator you have to use the port forwarding feature for being able to communicate full duplex to a server outside your LAN. Furthermore the current emulator does only support port forwarding on TCP. I am not aware of that UDP is supported (correct

[android-beginners] Re: Cannot Register Sipdroid With A Sip Account

2009-07-29 Thread Roman
I have SipDroid running on a real device. On the emulator you have to use the port forwarding feature for being able to communicate full duplex to a server outside your LAN. http://developer.android.com/guide/developing/tools/adb.html#forwardports Furthermore the current emulator does only

[android-beginners] opengl + android

2009-07-29 Thread Gargo
Can anybody post here where to get examples of using opengl? --~--~-~--~~~---~--~~ 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] MyLocationOverlay and DDMM

2009-07-29 Thread NicoToc
I am currently using the MyLocationOverlay class to mark my current position but I have a problem with the emulator. I can't send more than 2 set of coordinates! After those, the class doesn't seem to listen the onLocationChanged... I have seem different techniques for the OverlayItems, but

[android-beginners] Android Development Courses in the UK

2009-07-29 Thread Cigana
Hello, I just picked up a book about Android Application Development after hearing all the hype and I'm truly fascinated about the platform. However I was wondering if there would be any courses or certification available for developers who are only starting in the mobile application environment?

[android-beginners] Re: getSystemService(Context.SENSOR_SERVICE) hangs emulator

2009-07-29 Thread Peter
I'm experiencing the same difficulties. Have you had any luck with earlier versions of the SDK/emulator? --~--~-~--~~~---~--~~ 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] Pb using MyLocationOverlay and DDMS

2009-07-29 Thread NicoToc
Hi all, I'm using the MyLocationOverlay class and when using the DDMS I can't get more that 2 updates of location to be taken into account. I have seen different solution when using a locationlistener, but I can't understand how to implement these ones with the MyLocationOverlay since the

[android-beginners] C# Rest web service and Android client

2009-07-29 Thread Struja
Hay, I'm taying to make a simple Rest web service in C# and client on android. I find a simple C# web service, which add two number, on this link: http://www.c-sharpcorner.com/UploadFile/dhananjaycoder/RESTEnabledService05122009034907AM/RESTEnabledService.aspx Can anyone help me to make

[android-beginners] using getAttributeIntValue in a custom item

2009-07-29 Thread Somebody
Hello, I'm trying to create a custom item that will edit whatever image is set to be used in the xml tag. In order to figure out how to figure out what that image is, I'm trying to use a call to AttributeSet.getAttributeIntValue (String namespace, String attribute, int defaultValue). What I

[android-beginners] SDK provided images

2009-07-29 Thread swapnil
Hi, There are images provided in android-sdk-windows-1.5_r2\platforms \android-1.5\data\res\drawable folder of SDK. Is there any way that we can use those directly in appliation. (without local copy)? Thanks best Regards; Swapnil Dalal --~--~-~--~~~---~--~~

[android-beginners] MapActivity resolution problem

2009-07-29 Thread Claudio Martella
Hello to the list members, I'm a beginner getting closer to android. I'm using the android-sdk- mac_x86-1.5_r3 on Mac OS X trying to run a first application using MapView and LocationListener (inspired by the trivial-GPS project): import android.os.Bundle; import android.content.Context; import

[android-beginners] Re: android.location requestLocationUpdates only calls onLocationChanged once

2009-07-29 Thread Zoorg
Yes, same problem for me... On 21 juil, 16:50, Friso friso.kl...@gmail.com wrote: I have the same problem with SDK 1.5R3, the gpx file I used for 1.5R2 sends one update and does not trigger an location updates anymore. Same as I manually add a GPS location using DDMS. Tested with both my own

[android-beginners] How to discover exceptions when debugging in actual hardware

2009-07-29 Thread SChaser
When I debug an application in the phone itself, if it throws an exception (that I am not expecting), how do I find out about it? Currently, I have done a try { } catch ( Throwable t ) { stuff } every where it could happen, but that's not very satisfying. Anyone know a better way? Thanks

[android-beginners] Can an android netbook program be migrated smoothly to an android smartphone device?

2009-07-29 Thread Jickae Davis
Hi, guys. I'm new, I wanna know if netbook android and smartphone android are the same for a android developer. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send

[android-beginners] Re: Basic java threading problems, code inside

2009-07-29 Thread Manjul
hi, i dnt know why thread is not running in my code also, it only runs once, here is my code, no error no message, will you please help me. package com.Arcs; import android.app.Activity; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import

[android-beginners] SqliteOpenHelper db adapter design question

2009-07-29 Thread Chris Ho
I am writing an Android app that has a single database file with 3 tables ( AudioTable, PeopleMap, ImageTable) and am looking at 2 design alternatives: 1. A -single- database adapter (myDBAdapter.java) which uses a database helper class that extends SQLiteOpenHelper. The adapter class has

[android-beginners] The emulator cannot be closed

2009-07-29 Thread juo-X
I have a problem with Android SDK (all versions), and need some helps. The emulator cannot be closed. Pressing the [x] or Alt+F4 do not work, the emulator’s still right there.Moreover, the Windows XP cannot be shut down, if I run an emulator. I have to press the power off button to turn off my

[android-beginners] TableLayout + Borders

2009-07-29 Thread Atif
By default TableLayout does not support borders. How can I draw borders of cells? Thanks regards, Atif --~--~-~--~~~---~--~~ 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] Child Dialog box

2009-07-29 Thread tmarcoe
I am a developing an application, where a dialog can instantiate a child dialog. when the child dialog is dismissed, I would like it to return to the parent. I'm not quite sure how to do this. I can instantiate the child dialog box but when it's dismissed, it returns to the parent view. How do

[android-beginners] Re: I have attached example of intent.putExtra and intent.getExtras in android plz check it

2009-07-29 Thread peter
hi: you should modify test1.java like this: public class test1 extends Activity { private TextView dd; public void onCreate(Bundle x) { super.onCreate(x); setContentView(R.layout.text); String

[android-beginners] Android source build error; Missing build/building.html file

2009-07-29 Thread Harsha
Hi, I have a 32 bit Ubuntu 9.04. I am trying to build Android from source (ofcourse, after following the set up steps). Below is the make command I executed: make TARGET_ARCH=x86 TARGET_PRODUCT=sim TARGET_BUILD_TYPE=release showcommands The last line shows an error (I have the

[android-beginners] Android's version of iPhone's onorientationchange javascript event ?

2009-07-29 Thread Bruno Lorentin
Hello, I'm developing web sites for mobile phones and I was trying to find a way to detect when the screen orientation has been changed under Android's browser (using JavaScript). Such a thing exists for iPhone, as Safari for iPhone handles the onorientationchange event when the phone is

[android-beginners] Re: Using map activity in an app widget - huge problems....

2009-07-29 Thread renegadea...@googlemail.com
Please people! Please! On Jul 25, 10:13 pm, renegadea...@googlemail.com renegadea...@googlemail.com wrote: Right so I have a button on an appwidget and when i click it I starts an activity which looks as follows: [code] package andy.driverwidget; import java.util.List; import

[android-beginners] Re: Android application trying out rss feed read using Rome. Getting exception ExceptionInInitializerError

2009-07-29 Thread android_dev
Hi, I'm having the same error when using ROME api on Android. Were you able to figure out the issue? Please let me know the details if resolved. -Thanks. On Jul 12, 5:04 am, MCON Dev mcon...@gmail.com wrote: Hello All, I am trying to write some test code to receive RSS feeds. I am using the

[android-beginners] android hello program

2009-07-29 Thread vinay kumar
After running the application in eclipse it is giving a message that emulator.exe encountered a problem what to do? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send

[android-beginners] Launching a Dialog from an Overlay/MapActivity

2009-07-29 Thread Andrew
Hi, I'm not sure if this is the right place to post this, but I've run into a wall on this. I'm writing an app that has certain locations stored on the phone, and displays the locations on points drawn by an Overlay on a Map. What I want to do is write it so that when the person clicks on the

[android-beginners] Add bitmap Drawable for keyboard on the fly

2009-07-29 Thread Leo Lou
Hi, Is it possible to use keyIcons which their bitmap file is not in the res folder, but in the sdcard? Problems: Probably I cannot compile the program if there is no corresponding file in the res folder Possible solutions: Use keyLabel in the xml file, and then create bitmap drawable on the

[android-beginners] Re: WIFI Communication between two or more phones

2009-07-29 Thread Jin
I am also puzzled about this. On Jul 27, 10:10 pm, MMC2 m...@mmc2.com.au wrote: In my app I would like to send a number of very small messages consisting of a few characters each, to one or more phones that have the same app and are within WIFI distance. Can this be done and can someone

[android-beginners] Thread Problem, invalidate() not recalled

2009-07-29 Thread Manjul
Hi, all i am making a arc whose size keep on changing as value is changed in thread, but problem is, i am not able to run thread, no error nothing. here is my code package com.Arcs; import android.app.Activity; import android.content.Context; import android.graphics.Canvas; import

[android-beginners] Re: I have attached example of intent.putExtra and intent.getExtras in android plz check it

2009-07-29 Thread peter
hi, you should modify your test1.java like this: public class test1 extends Activity { private TextView dd; public void onCreate(Bundle x) { super.onCreate(x); setContentView(R.layout.text); String

[android-beginners] Thread Problem, invalidate() not recalled

2009-07-29 Thread Manjul
Hi, all i am making a arc whose size keep on changing as value is changed in thread, but problem is, i am not able to run thread, no error nothing. here is my code package com.Arcs; import android.app.Activity; import android.content.Context; import android.graphics.Canvas; import

[android-beginners] How to create Threads.

2009-07-29 Thread Manjul
Hi all, i tried to make thread but it run once. No error message no thread related activity. here is my code below. package com.Arcs; import android.app.Activity; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint;

[android-beginners] The emulator cannot be closed

2009-07-29 Thread juo-X
I have a problem with Android SDK (all versions), and need some helps. The emulator cannot be closed. Pressing the [x] or Alt+F4 do not work, the emulator’s still right there.Moreover, the Windows XP cannot be shut down, if I run an emulator. I have to press the power off button to turn off my

[android-beginners] Problem changing a settings setting

2009-07-29 Thread renegadea...@googlemail.com
Ok So I am trying to change the auto replace function to off found in the locale and text settings - android keyboard. The line I have written is : System.putInt(getContentResolver(), System.TEXT_AUTO_REPLACE, 0) and this should work, its how the settings app source code seems to do it.

[android-beginners] Google Maps missing from 1.5r3

2009-07-29 Thread Nick Burton
Hi there, Is it just me or did Maps going missing from the release 3? What's the best way to install this? Haven't actually done it before but am guessing I should grab the Maps APK from somewhere? Cheers, Nick --~--~-~--~~~---~--~~ You received this message

[android-beginners] Re: ERROR Resource entry main is already defined.

2009-07-29 Thread Carlos Sánchez
Yep, launching emulator from java file seems to solve it for me as well. --~--~-~--~~~---~--~~ 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] A bit of guidance

2009-07-29 Thread mlw
I've been asked to look into porting a library I've developed for iPhone to Andriod. The library provides an interface to my clients web service using http allowing third parties to easily write iPhone apps that utilize their services. Being totally new to Andriod platform have a few basic

[android-beginners] Intent broadcasting not working

2009-07-29 Thread Sudeep Jha
In an application main activity I have the following code: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Button button=(Button)findViewById(R.id.Button); button.setOnClickListener(new

[android-beginners] blob type size in SQLite database?

2009-07-29 Thread lei
The question is that I store the large file as Blob type in the SQLite database, the CursorWindow try to grow window size 1048576, then it failed to allocating the large file in the database, I just wonder is there limitation for Blob size, it seems only contain the file that not exceeds 1048576?

[android-beginners] I use android develop sdk1.5 . when i try the demos in the package .

2009-07-29 Thread lily
I use android develop sdk1.5 . when i try the demos in the package . many warning error in my eclipse. I am confused by those error. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to

[android-beginners] how2 notify a icon loaded from other apk

2009-07-29 Thread Nick Hsiao
my AP A loads resources using getResourcesForApplication from AP B,Im able2 load id number of icon from AP B,and use getDrawable to get the object drawable of icon of AP B,but how to let AP A launch notification with icon loaded from AP B. as I know ,I can only construct notification using id

[android-beginners] Superposing Views - Refreshing display

2009-07-29 Thread Emmanuel Sari
Hello, My Activity goes like this : It has a FrameLayout in which I've put a VideoView playing some video. At some point during execution, I want to display a few buttons over the video. In order to do so, I add a LinearLayout with a transparent background and containing the buttons to the

[android-beginners] Android SKD but using real phone i.e. via bluetooth

2009-07-29 Thread Frank
Hello! I'd like to run an own Android application via the Emulator under Windows but like to connect to a real phone. Is there any solution (hardware/software) already available or is this project a big dive in the dark? Any comments are welcome Regards Frank

[android-beginners] A new way to manage and promote YOUR Android Applications!

2009-07-29 Thread Touch-Market
Hi to everyone, First of all, as a fan of Android and non-developer I would like to participate to this platform success. The ONLY way I've found to promote this platform and get Android being a leader in term of Mobile devices OS is to talk about the huge potential of Android platform in my

[android-beginners] Android Hessian Library

2009-07-29 Thread stoney
has someone already dex'ed an existing Hessian Java library or written a Hessian library targeted for Android? Hessian is a very light-weight binary web service protocol (http:// hessian.caucho.com/) that was especially designed for performance and thus usage in mobile clients. An open-sourced

[android-beginners] Re: Learning? Windows or Linux?

2009-07-29 Thread Bytes
Hi, Thanks for this post. I'm looking for this. I'd like to work on Linux... as I know GDB and linux internals much better than Windows But my concern is Will Eclipse fine on Linux ?? Or command line is the best option I just started my HelloWorld program on Android and getting the

[android-beginners] Hello World app - the emulator is different

2009-07-29 Thread r2p2
When I follow the Hello World example in the documentation, running the application using Run Run the emulator pops up but it looks different to the screenshot in the documentation, ie it is an image of a mobile phone with the word ANDROID on the screen rather than just a black window with Hello

[android-beginners] Re: How to detect orientation changed event in the webpage

2009-07-29 Thread Bruno Lorentin
Looks great, but doesn't solve my problem. I'm not building an Android app, I'm just creating websites, that should adapt to Android phones. 2009/7/29 Roman roman.baumgaert...@t-mobile.com Find a helpful tutorial at the following link

[android-beginners] Re: A bit of guidance

2009-07-29 Thread Roman
Mark, About providing a jar library ... If you want to offer the library to the public but not the code then using a jar library is one possibility. In general you would have to add your library as dependency in your build path. Developers which are interested in using your library can easily

[android-beginners]

2009-07-29 Thread saurabh sinha
what is use of android.os.Bundle bundle object where it is use bundle in android --~--~-~--~~~---~--~~ 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] Re: How to redraw the list in ExpandableListViewActivity

2009-07-29 Thread Beth
Hello again! Please allow me to rephrase the question. I have an expandable list view with a static array for the group data and an SQLite database for the child data. It is implemented with the BaseExpandableListAdapter and works great, except, when I edit the database to delete or add

[android-beginners]

2009-07-29 Thread saurabh sinha
Please send me example for camera in android --~--~-~--~~~---~--~~ 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

[android-beginners] Re: Hello World app - the emulator is different

2009-07-29 Thread Jose Ayerdis
2009/7/29 Balwinder Kaur (T-Mobile) balwinder.k...@t-mobile.com A few things that can be done. 1. You need to give the emulator some time for it to come up. It isn't exactly instantaneous :) yes it usually take a minute to completely load. another thing is do not close the emulator after you

[android-beginners] Re: [android-beginners]

2009-07-29 Thread Jose Ayerdis
Bundle are use when you called an activity and want to set extra datas... you can always check the Notepad Tutorial on the exercise 2 explained fair enough the bundle basic use... http://developer.android.com/guide/tutorials/notepad/notepad-ex2.html Bundle bundle = new Bundle();

[android-beginners]

2009-07-29 Thread saurabh sinha
I need example of service in android I know service is used for perform task in background But I need a example of service in android --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post

[android-beginners] Re: Learning? Windows or Linux?

2009-07-29 Thread Michael Leung
But I have some problems to get my sdk working in Ubuntu 9.04(but that is a VM). So, I go to Windows On Wed, Jul 29, 2009 at 9:32 PM, Bytes toyv...@gmail.com wrote: Hi, Thanks for this post. I'm looking for this. I'd like to work on Linux... as I know GDB and linux internals much better

[android-beginners] Re: NUMERIC data type in sqlite and dispay use SimpleCursorAdapter

2009-07-29 Thread JUN
anyone help it? On Jul 28, 10:38 pm, JUN youk...@gmail.com wrote: ... Cursor c = ppp.getAll(); String[] from = new String[] {name,gender,income}; int[] to = new int[] { R.id.text1,R.id.text2,R.id.text3}; SimpleCursorAdapter peoples = new SimpleCursorAdapter (this,R.layout.money_row, c,

[android-beginners] numeric datatype in sqlite, and display problem.

2009-07-29 Thread JUN
... Cursor c = ppp.getAll(); String[] from = new String[] {name,gender,income}; int[] to = new int[] { R.id.text1,R.id.text2,R.id.text3}; SimpleCursorAdapter peoples = new SimpleCursorAdapter (this,R.layout.money_row, c, from, to); setListAdapter(peoples ); Try to use SimpleCursorAdapter to

[android-beginners] Supposed to use javac?

2009-07-29 Thread A
Hi all, I thought I had read that Android does not use Sun's Java because of copyright issues but rather uses Dalvik, which is not 100% compliant. So, why is a Dalvik-specific javac not included with the Android sdk? Thanks. --~--~-~--~~~---~--~~ You received