[android-beginners] Re: Flickering camera preview in SurfaceView

2009-12-13 Thread kaloer
I'm using an HTC Hero with the 1.5 cupcake firmware. I just tried different options to get it working, and this works.. On 9 Dec., 11:58, Wu-cheng Li (李務誠) wuchen...@google.com wrote: This is really strange. Which phone and release are you running on? I don't know any phone that supports JPEG

Re: [android-beginners] how to get starting material of android

2009-12-13 Thread Yousuf Syed
Hi, You can start from here. http://developer.android.com/guide/index.html and later on you can go through the books on the link below http://wiki.andmob.org/books (given by some one on this forum earlier) regards, Yousuf. On Thu, Dec 10, 2009 at 4:57 AM, Xi Shen davidshe...@googlemail.com

[android-beginners] Re: Is there a way to add Video files to my application

2009-12-13 Thread CiprianU
As far as I know you can put them in raw resource folder and you could use them as regular resources, I haven't tried with video files but I tried with audio files in the past in it was easy to use. But be careful your apk could get real big. Regards, Ciprian. On Dec 11, 1:12 am, Yousuf Syed

[android-beginners] how to save xml file in android

2009-12-13 Thread ranjit
Hi friends, i am using import javax.xml.transform.dom.*; import javax.xml.transform.*; import javax.xml.transform.stream.StreamResult; But these imports are not recognized please give any other alternatives to save xml file i stick here

[android-beginners] Re: GK:How to Animate the single image in the Gallery

2009-12-13 Thread Ganesh Ram
Thanks a lot Mr.Justin, Can you tell how to achive my requirement How put the animation on the actual image itself ? If not gallery what else can be use ? I want multiple images with touch scrolling effect in single row view Cheers, Ganesh On Dec 11, 9:50 am, Justin Anderson

[android-beginners] Dynamic Spinner

2009-12-13 Thread krishna
Hi, I am working on android i am able to draw simple spinner. But my application needs dynamic spinner mean in a one view there may be one or four spinner need it depends upon application needs. So how we can draw dynamic Spinner without using XML. Thanks Regards Vilas Talewale -- You received

Re: [android-beginners] adb push ..... system/lib

2009-12-13 Thread me,Ramesh Yankati
Hi Have you installed USB driver??. Regards Ramesh On 12/11/09, Zlate87 zlatko.stama...@gmail.com wrote: Hi, I'm trying to install voice search to my t-mobile pulse. However I run in to a problem, I need to run this command adb push C: \libspeech.so system/lib, but I get error: read-only

Re: [android-beginners] problem with displaying path (urgent)

2009-12-13 Thread balanagu sabareesh
Hi Justin Thank you for replying. I found the solution by following your idea once again thank you and i have another doubt, i created the expandable list, when iam exapanding that list child list is comming but now my problem is when i click on the the child it need to go to another layout it may

[android-beginners] How to Block an Application

2009-12-13 Thread vishnu
Hi.. [first of all, I know my english is so good..hope u can understand wat my problem is..] i am trying to develop a sheduler,which will block some application (inbuilt applications) for a defined period of time... Iam new to this android world,and dont know how to implement this... [currently

Re: [android-beginners] Re: Google Maps Api - No image displayed

2009-12-13 Thread Yousuf Syed
Do you have the right key generated com.google.android.maps.MapView android:id=@+id/mapview android:layout_width=fill_parent android:layout_height=fill_parent android:clickable=true android:apiKey=*Your Maps API Key* / step 1: create your key store by

[android-beginners] Re: GK:How to Animate the single image in the Gallery

2009-12-13 Thread Ganesh Ram
Hi Justin., Actually my requiremnt is : i need to show some images in a single strip.(5 images) If i click Right or left i ll do some animation and show center image. Also i need to do different animation for other side images. Some like IPhone menu animation. Hope you got my requirement.

[android-beginners] Android application framework debug setup error

2009-12-13 Thread karthikeyan lakshminarayanan
Hi, I am trying to debug the browser application in ubuntu, i have downloaded the opensource and build successfully with make. while try into setup DDMS as mention in http://source.android.com/using-eclipse i am not geting the point of below setup Eclipse setup to work on DDMS For DDMS, you

[android-beginners] Re: GK:How to Animate the single image in the Gallery

2009-12-13 Thread Ganesh Ram
Some one help me ! ! ! On Dec 11, 9:50 am, Justin Anderson janderson@gmail.com wrote: You are telling the gallery to do the animation.  If you want each image to have a different animation, then you need to put the animation on the actual image itself, not the gallery...

[android-beginners] Playing a Video from file

2009-12-13 Thread Valentino XM
Help! code code code, playing a video from file.. using the video view widget. not at all successful. the developers page claims this is easy.. i beg to differ... for first time coders, very frutstrating.. if you can help., please do. package info.shouraig.com; import android.app.Activity;

[android-beginners] Modify permissions of default Android's actions

2009-12-13 Thread jlancelot
Hello, I'd like to customize an Android and prevent the user to do some action. For instance, I'd like to know if it's possible to prevent the user to delete some files (photos, vidéos, musics) and block some actions like : change wallpaper, change screen saver, etc... Thanks a lot! Julien --

Re: [android-beginners] Is there a way to add Video files to my application

2009-12-13 Thread me,Ramesh Yankati
Yes You can do it. use command $ adb push yourfile sdcard/yourfoldername. Ensure that phone should be connected to system. before pushing check adb devices command. Regards Ramesh On 12/11/09, Yousuf Syed yousuf.syed@gmail.com wrote: Hi, I am developing an application where in I

Re: [android-beginners] I can't update my app in the android market

2009-12-13 Thread ryan alford
Sadly, no. There is nothing you can do. I was in this same situation. You will have to release the update as a new application. You can learn from this. Sign up for an online storage site and keep a copy of it there. I use DropBox because its free. On Dec 11, 2009 7:07 AM, [^MiSaTo^]

[android-beginners] AICOM ITS - Information Technology Solutions

2009-12-13 Thread The AllSetter
AICOM ITS has successfully served various industries and business sectors by delivering quality and cost-effective custom software development and infrastructure projects. By subscribing to industry standards like ISO 9000, CMMi, and Six Sigma processes, we leverage on our technical know-how and

Re: [android-beginners] I can't update my app in the android market

2009-12-13 Thread TreKing
Yeah, unfortunately you're SOL. This happened to me when I tried my very first update and had to re-publish as a new app with a new package name. Fortunately it was the free version of my app and only the first update so I didn't have a huge install base. I did not make the same mistake with the

[android-beginners] Re: Need follow-me map-example code

2009-12-13 Thread cellurl
thanks, will do -jim On Dec 10, 11:42 am, TreKing treking...@gmail.com wrote: Have you looked at the Hello, MapViewhttp://developer.android.com/intl/zh-CN/guide/tutorials/views/hello-m... and / or MyLocationOverlahttp://code.google.com/android/add-ons/google-apis/reference/index.html

[android-beginners] Play Video from file?

2009-12-13 Thread Valentino XM
little help, please... simply would like to insert video into the VideoView widget, using mp4 located on my local HD. I am stuck in what should be fairly straight forward. (according to the developers page) never written any code before now., jumpin in at the D.E. at this for 3 straight

[android-beginners] Version of SQLite on Android 1.5-2.0.1

2009-12-13 Thread geekatron
I have executed sqlite3 via the shell on AVD instances running 1.5-2.0.1 as well as images 1.5-1.6 for the the Dev Phone and they all return 'SQLite version 3.5.9'. Can anyone verify that the SQLite version on Android 1.5-2.0.1 is version 3.5.9? Cheers! -- You received this message because you

[android-beginners] Parsing a JSONArray from a different object

2009-12-13 Thread Vorik
Hi, I'm trying to access a public JSONArray variable from another object: Snippets from the planner object: public JSONArray plannedItems; String result = queryRESTurl(url); try{ JSONObject json = new JSONObject(result); JSONArray

[android-beginners] Re: SMS receiver

2009-12-13 Thread vishnu
Hi, Did u set permission for receiving SMS in your manifest .xml... and check out dis link: http://mobiforge.com/developing/story/sms-messaging-android hope dis helpscheers On Dec 7, 4:43 pm, Maurizio Bellemo maurizio.bell...@gmail.com wrote: Hi all, I am trying to develop an

[android-beginners] Using AlarmManager for more than one alarm

2009-12-13 Thread Adam Olsen
Take, for example, the built in Alarm application. You are able to set multiple alarms in it, and the phone will wake up for each of them to alert you. In a situation like that, I imagine the PendingIntent for each alarm would look very similar: Intent intent = new Intent(this,

[android-beginners] Keeping a background Service running after the main Activity closes

2009-12-13 Thread Adam Olsen
The documentation states that a Service started with startService() will continue running until stopService() or stopSelf() is called, however, I'm having trouble with this. I've got a Timer and a TimerTask running in my background Service. It's running repeatedly. After closing my main

[android-beginners] Intent for first time GPRS(Data) connection

2009-12-13 Thread jayalal jayarathna
Hi, I need to run a service just after GPRS connected for the first time. Service suppose to download some application for device. Therefor it need to run once, just after GPRS connected for the first time. Give me some Ideas how to do that Thanks JJ -- You received this message because you are

[android-beginners] Basic SMS

2009-12-13 Thread jmccarthy
There are a couple things I'm not sure how to do. 1. How can I read incoming or recieved SMS messages? I don't see an intent listed for 'sms received' or anything of the like. Or do I have to read an SMS database/content somewhere? Seems like this should be fairly simple. 2. I want to know

[android-beginners] How to configure a proxy server in android SDK 2.0

2009-12-13 Thread João Sousa
Hi guys, I can't use my company's proxy server in the android SDK 2.0 emulator. I tried the -http-proxy option in the eclipse's project configuration but i can't seem to make it work. Any ideias? Thanks, Joao -- You received this message because you are subscribed to the Google Groups

[android-beginners] Where can I get android icons

2009-12-13 Thread deesat
Where can I get the icons that look like a plus sign ( to add a contact) and the icon that looks like a tool and hammer set ( for settings)? Are these icons available for download ? Thanks Deesat -- You received this message because you are subscribed to the Google Groups Android Beginners

[android-beginners] Trouble getting my program to load onto emulator

2009-12-13 Thread fubz
I followed the instructions to setup Eclipse to develop with Android. Then I wrote up the Hello World provided in the tutorials. When I run my program in eclipse it says it installs successfully. when i run adb logcat i get the following: D/AndroidRuntime( 197): AndroidRuntime START

[android-beginners] Code obfuscator

2009-12-13 Thread SoftwareEngCam
Hi, I am reading the Publishing section of the Developers Guide. Does anyone know of a code obfuscator for Android Applications ? thanks, -Cam -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to

RE: [android-beginners] adb push ..... system/lib

2009-12-13 Thread Ryan Beesley
You need a non-retail device for something like that. ADP1 or ADP2. It may be possible to root that device, I don't know, but this is the sort of reason the developers use ADP devices. /Ryan -Original Message- From: android-beginners@googlegroups.com

[android-beginners] Re: Using Google Maps API for a navigational app

2009-12-13 Thread Marc
I am in the process of starting a navigation app as well. I have been looking in to the API's as well. I do not think the premier has much to do with it. From there web site this is what premier gives you extra: A robust Service Level Agreement (SLA) Customer support Increased geocoding limits

[android-beginners] GK: How to recognize Left touch dragging and Right touch dragging(Scrolling) in Android?

2009-12-13 Thread Ganesh Ram
Hi All, I displayed set of images inside the Gallery. By default it has scrolling. But I don’t want this way of scrolling. So I implemented “OnTouchListener” it has only OnTouch() method. Now I want to implement the same left and right scrolling(Left and right dragging) in my own. How to do

[android-beginners] Andorid Set a new QUICK_LAUNCH in android.provider.Settings

2009-12-13 Thread Ts
I am trying to figure out how, if its even possible, to assign a new quick launch key programmaticly. To do it manually its Menu - Settings - Applications - Quick Launch But I would like to have a button where users can set it within my app. Thanks to anyone of helps at all. Spent hours

[android-beginners] How to just upgrade from 1.5 to 1.6?

2009-12-13 Thread Eduardo Luis
Hi, I just a bought a brand new HTC Magic from Vodafone Portugal. This one brings the 1.5 version. How can I OFFICIALY upgrade to 1.6? Not unlock. Just upgrade. Thanks. -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group,

[android-beginners] Android 2.0 - Dim screen programmatically

2009-12-13 Thread eclipsed4utoo
I am wanting to dim the screen of a device from a widget. Basically the same way the Power Manager widget for Android 2.0 does. I have tried this... Settings.System.putInt(context.getContentResolver(), Settings.System.SCREEN_BRIGHTNESS, someIntValue);

[android-beginners] open archive file

2009-12-13 Thread abitk
hey, i downloaded an android project from http://sites.google.com/site/learncodesnow/Home/android/contact i'm trying to open the project through eclipse but getting a lot of errors can someone explain to me how to open and activate the project? (i have tje sdk and the emulator) thanks -- You

[android-beginners] Error in the emulator

2009-12-13 Thread José Évora
Hello All! I have been programming a bit in Android, and I was doing some tests. And well, now I see in the emulator, when I finish some execution of a APP that it's comes to write = all the time (I don't know why). So It tries to search it on the net, and that's the second problem. It before

[android-beginners] Browser geolocation API not working in emulator (v2.01)

2009-12-13 Thread LCID Fire
I'm trying to test a mobile browser app in the Android emulator. When I try to access functions of navigator.geolocation the browser throws an internal exception. D/LocationManager( 196): Constructor: service = android.location.ilocationmanager$stub$pr...@43c28c88 E/LocationManagerService(

[android-beginners] Sharing data between Activity and a BroadcastReceiver

2009-12-13 Thread Johnny
Hi everybody, I followed this tutorial( http://mobiforge.com/developing/story/sms-messaging-android ) and i figured out how to send and receive SMS messages, but what i need is to receive the message and put it as a text of a label that belong to my main activity... there a way to give this

[android-beginners] Re: Dial a number with ending #, the trailing # got dropped

2009-12-13 Thread peng xu
我是一个..的女孩,前几天,我去上晚自习回家,被一辆大卡车撞死了,司机将我的尸体抛入了路径边的小河里,然后逃走了,你看见了这条消息后,请发给5 个论坛,如果没有发,你的妈妈回在一个月后被车撞死,你的爸爸会得绝症,如果照着上面做了,在5天后,你喜欢的人也会喜欢你,这条消息太毒了,我不得不 发, 对不起。 对不起.. On Dec 12, 3:00 am, sherry syang...@gmail.com wrote: Hi: In the following code I was trying to auto dial:

[android-beginners] Android media sever died

2009-12-13 Thread NogarD
suddenly my G1 can't play any media files ,which can be played very well before,such as mp3,mp4,3gp. I'm sure the media file format is correct,because even the .3gp files recorded by G1 itself can't be played! And i use many players ,none of them can work well. when i use act1 video player,there

[android-beginners] Android media sever died

2009-12-13 Thread NogarD
suddenly my G1 can't play any media files ,which can be played very well before,such as mp3,mp4,3gp. I'm sure the media file format is correct,because even the .3gp files recorded by G1 itself can't be played! And i use many players ,none of them can work well. when i use act1 video player,there

[android-beginners] Re: Android Best Practices

2009-12-13 Thread Marc
Here is my take on it: An activity is a self contained thing, like a mini program. You don't pass complex data structures between activities. All the data that goes to/from an Activity gets passes through an intent. An activity can be called from another program through an intent. So an activity

[android-beginners] Just trying to capture screenshots

2009-12-13 Thread Rob
I followed all instructions, but when I get to the point of double clicking the ddms.bat file, I see the command prompt pop up and then nothing. I have tried running as an admin with the same results. What am I doing wrong? Notes: I have downloaded and updated android sdk I have downloaded and

[android-beginners] Invalid View object passed to onListItemClick()?

2009-12-13 Thread Eus
HiHo! When I click on an item in the ListView, the background color that gets changed is not that of the clicked item but instead of the other item in the opposite side relative to the middle item: 1 -- I click here 2 3 -- Acts as a mirror 4 5 -- This is the one that gets changed 1 2 -- This is

[android-beginners] How do I use getSharedPreferences on a non-visual class?

2009-12-13 Thread DrLaban
Hi! I'm a beginner at Android but have coded a bit of Java before. I'm trying to figure out how I'm supposed to instantiate and use a class that does not contain any visual elements, but holds a lot of functions for processing data. My main activity, on either a button click or by pressing the

[android-beginners] Invalid View object passed to onListItemClick()?

2009-12-13 Thread Eus
HiHo! When I click on an item in the ListView, the background color that gets changed is not that of the clicked item but instead of the other item in the opposite side relative to the middle item: 1 -- I click here 2 3 -- Acts as a mirror 4 5 -- This is the one that gets changed 1 2 -- This is

[android-beginners] Emulator Buzzing and Can't Shutdown

2009-12-13 Thread Jeff
I have created a project using ADT in Eclipse (created the Hello World app). When I start the emulator, about halfway into the first boot screen that displays the Android _ text, my laptop starts buzzing. I don't think it's coming from the speakers, because nothing happens when I mute, etc. Also,

[android-beginners] Do manually created sqlite databases get exported when an apk is built?

2009-12-13 Thread Joey Carson
I'm developing an android application for a class and I have to show my professor for a grade. I can't seem to get adb to recognize the phone, I've tried using USBDeview and uninstalling the drivers it says it has. But nothing is working. I can use one of the dev phones at school if worse comes to

[android-beginners] RelativeLayout doesn't work as expected in a ListView container.

2009-12-13 Thread Jeremy
I'm working on a layout where I use a ListView with RelativeLayout line items. The lineitems themselves are not displaying correctly. The issue is that the txtVideoDuration TextView is drawn at the top of the line item instead of the bottom. Because of this the txtVideoTitle gets a height of 0.

[android-beginners] Can not build LatinIME code

2009-12-13 Thread Kỳ Nam
Hi I got LatinIME source code at http://android.git.kernel.org/?p=platform/packages/inputmethods/LatinIME.git;a=tree In eclipse , the line : import android.backup.BackupHelperAgent; give android.backup cannot be resolved error Where can I find android.backup package ? Thank you --

[android-beginners] changing AVD cause android.content.res.Resources$NotFoundException

2009-12-13 Thread Thomas
Hello all, I'm developpping an android application with eclipse and android eclipse plugin, I was using a simple avd (version 1.6) without sd card and all worked well (mean emulator launch and debug). But for sdcard usage, I had to create a new avd 1.6 with sdcard, so I change my debug

[android-beginners] Android Dev Tools - Unsigned?

2009-12-13 Thread Luke Schlather
I'm trying to install the SDK on my machine, but as I'm installing ADT, Eclipse gives me a warning that the ADK plugins contain unsigned content. From the listing it looks like they are unsigned in their entirety. Is this correct? It seems a little odd that an application plugin people will be

[android-beginners] MediaPlayer error (1, -1)

2009-12-13 Thread Chuck
I am a new Android developer using Android Wireless Application Development as my book. I am running through the first example where I am using URI to obtain an mp3 file to playback through the media player. For some reason the audio file isn't playing and I am getting a media player error of (1,

[android-beginners] Re: Writing an app using android.speech.srec ... how to get to that code?

2009-12-13 Thread abnormative
Does anyone know what Android plans as a replacement for the functionality of android.speech.srec? Not transcription like that provided via the RecognizerIntent, but something that would allow us to build apps with voice interfaces that let the user navigate the app hands-free? -Mark On Oct 27,

[android-beginners] Android EMail Client

2009-12-13 Thread SandVoiD
Could someone please tell me how I can get a copy of the email client for a project I want to work on. I have windows and the only way I have found is to use git/repo but I do not have linux system or mac. Any help would be appreciated. Thanks -- You received this message because you are

[android-beginners] Video From Youtube in Emulator Android 2.1 Eclipse Gallileo/ Unable to play video

2009-12-13 Thread Valentino XM
Hi! having no luck with playback of video from source file, i thought id try video from youtube... Emulator says it cannot play video.. So now what?.. can anyone tell me aoubt this code below. TIA. cheers package info.shouraig.com; import android.app.Activity; import android.net.Uri; import

[android-beginners] Re: Error in helloandroid tutorial

2009-12-13 Thread AJ
I was wondering if you found out why do we see this error. I am having this error too with Hello Android App. --AJ On Nov 24, 1:39 am, Qin XiaoYang qinxiaoy...@gmail.com wrote: Thanks for you help, in fact the application runs normally after force close the message box. I was just curious

[android-beginners] Build Path Errors

2009-12-13 Thread cdnyny
When I try and run the canonical HelloWorld app, I get the following error right after trying to create the project: The project cannot be built until build path errors are resolved. I tried Project/Clean and the Window/Other Perspective/DDMS route, but to no avail. Closing and restarting Eclipse

[android-beginners] Re: Google Maps Api - No image displayed

2009-12-13 Thread Denis
Everyone thanks for responses. I've solved it myself - first of course all those steps with Key obtaining and registration (be aware always to direct Eclipse to right .keystore file!). My problem was here: ?xml version=1.0 encoding=utf-8? manifest

Re: [android-beginners] Invalid View object passed to onListItemClick()?

2009-12-13 Thread Liviu Ungureanu
Hi! I tested your code on my Hero and it work fine..No that error on Android 1.5! -- 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

Re: [android-beginners] Where can I get android icons

2009-12-13 Thread Liviu Ungureanu
Hi! Try this link : http://e-lusion.com/design/greyscale -- 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

Re: [android-beginners] Playing a Video from file

2009-12-13 Thread Yousuf Syed
I dont think you can place the video file in the raw folder. since there is a limit of data that you can have in your raw folder. try pushing it to the /sdcard/videofilename and add permissions for read_owner_data, write_owner_data, write_external_storage. I assume you know the procedure to push

Re: [android-beginners] Where can I get android icons

2009-12-13 Thread Yousuf Syed
Hi, here are some as well. http://www.screaming-penguin.com/info/android_drawables/android_drawables.html Regards, Yousuf. On Sun, Dec 13, 2009 at 6:19 PM, Liviu Ungureanu smartli...@gmail.comwrote: Hi! Try this link : http://e-lusion.com/design/greyscale -- You received this message

Re: [android-beginners] Just trying to capture screenshots

2009-12-13 Thread Yousuf Syed
Hi, From what I understand, you want to capture the screen shots of the application that is either running on emulator or the device. If so let the application start. Then in the eclipse do this. Click on the Window menu bar. -- open perspective--ddms now the ddms will be there on your

Re: [android-beginners] Just trying to capture screenshots

2009-12-13 Thread Xavier Ducrohet
It looks like ddms fails to run. Best is to not double click on it but to launch it from a command prompt so that you can see the error message. On Sat, Dec 12, 2009 at 8:23 AM, Rob slackat...@gmail.com wrote: I followed all instructions, but when I get to the point of double clicking the

[android-beginners] Observing User inactivity time and broadcasting intent after timeout

2009-12-13 Thread swapnil kamble
Hi, As in android, after inactvity of screen off timeout, android screen goes off. So here android itself uses some activity observer, to know whether user is currently active or not. I need not every keystroke or touch event with details, just knowing that user is active and getting a