[android-beginners] INTERNET

2009-08-19 Thread Mitch
I would like to play around with sockets to see if I can get them to work, but I'm not having any luck. Here's what I tried: new Socket("www.google.com", 80); I've also tried new Socket("localhost", 7); but anything you can suggest that's simple is appreciated. I'm no socket expert so I'm no

[android-beginners] Re: Emulator Proxy

2009-08-19 Thread swapnil
Hi, I don't exactly know why such things happen but you can try with different Primary Key valeues such as (101,111). In my case same thing was problem but once I change this the things are working pretty fine. Have a go & check if you also get same things or not. Aslo while setting proxy use

[android-beginners] Re: startActivity() crash...

2009-08-19 Thread Roman ( T-Mobile USA)
Justin, The framework does a check on the permissions of the applications you are trying to start. In the case of how you are trying to start the activities the framework does not grant the permission. In general if you would be root or the owner of the calendar application (in this case its the

[android-beginners] Re: Comparing different dates

2009-08-19 Thread Stephen Lebed
Thanks, I didn't realise that! That explain the results I'm getting. Best, Stephen On Aug 19, 5:03 pm, Jack Ha wrote: > The year specified in setYear() should be the year since 1900. That > said, it should be 109 (2009-1900) instead of 2009. > > -- > Jack Ha > Open Source Development Center >

[android-beginners] Re: Android SDK 2.0?

2009-08-19 Thread David Turner
Actually, Andy Rubin has now officially declared that: the Donut branch will be used for Android 1.6 releases the Eclair branch will be used for Android 2.0 releases http://www.reuters.com/article/internetNews/idUSTRE56U5XU20090801

[android-beginners] Re: Need to implement Android for my website powered in PHP

2009-08-19 Thread Yusuf Saib (T-Mobile USA)
Do you want your website to be hosted on the phone, or do you want to port your website functionality to an Android application, or do you want to access your website from an Android application? Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email a

[android-beginners] Re: problem runnin Hello World Programme

2009-08-19 Thread Jack Ha
It seems like you are running your program as Android JUnit Test as opposed to Android Application. -- Jack Ha Open Source Development Center ・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 nec

[android-beginners] Re: Comparing different dates

2009-08-19 Thread Jack Ha
The year specified in setYear() should be the year since 1900. That said, it should be 109 (2009-1900) instead of 2009. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capa

[android-beginners] Re: ListView with addHeaderView Example?

2009-08-19 Thread chinchin
Just in case anyone wants this in future, here is the solution to having a ListView with an addHeaderView enabled with a permanent TextView item at the top of list that doesn't move, even after you scroll through the list. If anyone has a better implementation please let me know as this doesn't ex

[android-beginners] Re: Android SDK 2.0?

2009-08-19 Thread Mark Murphy
Andrés G. Aragoneses wrote: > Is Flash a proprietary component as well or is the plugin also included > in Android? Flash is rather proprietary. It is not in the Android open source project. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Beginning Androi

[android-beginners] Re: Emulator Proxy

2009-08-19 Thread David Turner
There are some proxy-related fixes in Android SDK 1.5_r3, can you test with this and report if yourproblem still persists? If it does, can you start with the -debug-proxy option and show the output here? On Tue, Aug 18, 2009 at 6:20 PM, chengks99 wrote: > > I encounter some problem when startin

[android-beginners] Re: Android SDK 2.0?

2009-08-19 Thread Mark Murphy
Rafa Perfeito wrote: >> 1. Donut is not Android 2.0. > > So what is 2.0? Eclair? What is the version correspondent to Donut then? Neither Donut nor Eclair have been released, so there are no version numbers yet. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commons

[android-beginners] Re: Android SDK 2.0?

2009-08-19 Thread Casper Bang
Donut is sometimes referred to as 1.6, Eclair as 2.0 and donno about Flam. Google is a "done with it's done" company and has been rather vague about these things which explains all the guesswork. Of course it doesn't help that their official roadmap is heavily dated. /Casper On 19 Aug., 20:42, R

[android-beginners] Re: Android SDK 2.0?

2009-08-19 Thread Andrés G. Aragoneses
Mark Murphy wrote: > Bluefish wrote: >> Hello, i am a User of an HTC Hero device with Android 2.0(Donut) > > 1. Donut is not Android 2.0. > > 2. AFAIK, HTC Hero shipped with Android 1.5, plus extra HTC proprietary > components, such as the HTC Sense UI. > Is Flash a proprietary component as

[android-beginners] problem runnin Hello World Programme

2009-08-19 Thread kapil
hi there, i m trying to run " Hello World " programme , problem i am facing is the following error when i run the programme : " ERROR: Application does not specify a android.test.InstrumentationTestRunner instrumentation or does not declare uses-library android.test.runner " before this it was g

[android-beginners] Re: Android SDK 2.0?

2009-08-19 Thread Rafa Perfeito
> 1. Donut is not Android 2.0. So what is 2.0? Eclair? What is the version correspondent to Donut then? On Wed, Aug 19, 2009 at 6:59 PM, Bluefish wrote: > > Ah ok...i was always thinking that the Hero has Android 2.0... > Then i can start learning :) > > On 19 Aug., 19:08, Mark Murphy wrote: >

[android-beginners] Re: using pre-coded functionality

2009-08-19 Thread jbrohan
It seems that the whole Android source code is available. It would appear to be possible to download the phone Activity source code and do your best with that. Personally I'd like to look at the Camera project to see how all the bits work. If anyone has a few more words to explain how to get th

[android-beginners] Re: Android SDK 2.0?

2009-08-19 Thread Bluefish
Ah ok...i was always thinking that the Hero has Android 2.0... Then i can start learning :) On 19 Aug., 19:08, Mark Murphy wrote: > Bluefish wrote: > > Hello, i am a User of an HTC Hero device with Android 2.0(Donut) > > 1. Donut is not Android 2.0. > > 2. AFAIK, HTC Hero shipped with Android 1.

[android-beginners] Problem with list view item selection

2009-08-19 Thread manigault
I have the same problem as this one http://groups.google.com/group/android-developers/browse_thread/thread/dc51240d83f03626/0c712084b5b16257?lnk=gst&q=listview+button#0c712084b5b16257 but unfortunately there is no reply to this post. Anybody found a solution. --~--~-~--~~~-

[android-beginners] Re: Please Tell the Book to Purchase

2009-08-19 Thread Mark Murphy
Pruthvi Raj wrote: > Can you please guide me to take android book for Programming? There are many Android programming books available: http://wiki.andmob.org/books I like the ones written by Mark Murphy, but I'm biased. ;-) -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitte

[android-beginners] Re: Android SDK 2.0?

2009-08-19 Thread Mark Murphy
Bluefish wrote: > Hello, i am a User of an HTC Hero device with Android 2.0(Donut) 1. Donut is not Android 2.0. 2. AFAIK, HTC Hero shipped with Android 1.5, plus extra HTC proprietary components, such as the HTC Sense UI. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.

[android-beginners] Re: Portuguese localization?

2009-08-19 Thread Rafa Perfeito
Hey, Probably not because the first portuguese Android set to be released in here as its software totally in english (HTC Magic by TMN). On Wed, Aug 19, 2009 at 1:14 PM, Dominique wrote: > > Hello > > I dont see Portuguese language in the locales: > http://developer.android.com/sdk/android-1.5.ht

[android-beginners] Re: Barcode scanning?

2009-08-19 Thread Jonas Petersson
Mark Murphy wrote: > Anna PS wrote: >> Does anyone know if there's anything built in to Android for barcode >> scanning? > > Not that I am aware of. > >> If not, how would you go about implementing this - take a photo, send >> it off to a server and do image recognition there? > > Use a third-p

[android-beginners] Android SDK 2.0?

2009-08-19 Thread Bluefish
Hello, i am a User of an HTC Hero device with Android 2.0(Donut) but there is no SDK available for this version of Android. Now i like to ask some questions: - When will the SDK be released. - Is there a beta of the SDK available? --~--~-~--~~~---~--~~ You received

[android-beginners] Augmented reality on Android

2009-08-19 Thread Gasal
Hi there I'm developping an application that needs a live camera feed (high framerate, greyscale is ok). I'm planning to perform some image processing on these pictures... Is there a better way (higher fps) than using the onPreviewFrame(byte[] data, Camera camera)-callback? What preview-settings c

[android-beginners] Re: using pre-coded functionality

2009-08-19 Thread Yusuf Saib (T-Mobile USA)
Yes, that is why. The SDK does not provide access to everything, there are internal APIs that some Android built-in apps use but third- parties can (or should) not. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely i

[android-beginners] Need to implement Android for my website powered in PHP

2009-08-19 Thread kapil1728
Hi, I need to make mywebsite developed in PHP(Linux server, MySQL) in android. How can I do it? Can anyone tell me the steps for it? Thanks Kapil1728 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginner

[android-beginners] Emulator Proxy

2009-08-19 Thread chengks99
I encounter some problem when starting emulator using -http-proxy C:\android-sdk-windows-1.5_r2\tools>emulator -avd android1 -http-proxy proxy.##.##.com:8080 -debug-proxy proxy_http_setup: creating http proxy service connecting to: proxy.##.##.com:8080 server name 'proxy.##.##.com' re

[android-beginners] Portuguese localization?

2009-08-19 Thread Dominique
Hello I dont see Portuguese language in the locales: http://developer.android.com/sdk/android-1.5.html#locs It's not supported? Thx for the info. Regards, Dom --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Androi

[android-beginners] "Removed SD Card" problem

2009-08-19 Thread cawa
hey guys! this is my problem: when I run my project the emulator screen shows a sim+exclamation mark icon and tells "Removed SD Card" i try to describe it clearly: i'm trying to run the MJAndroid example. this example shows the use of Google Maps API so I set up the AVD "my_android1.5" with target

[android-beginners] Android on Imate 6150

2009-08-19 Thread fadi.isaac
I would like to install and use android on my Imate 6150 phone, can someone help me with accomplishing this task. I am really very new on Android with a limited background on android and the way it works. --~--~-~--~~~---~--~~ You received this message because you

[android-beginners] Re: getting the pictures taken with my program to appear in gallery

2009-08-19 Thread Carmen Delessio
Here is a snippet of code to use the MediaStore to save a picture file to the gallery using MediaStore. File "123.jpg" is opened as File myPicture. MyPicture for MediaStore Seems like there should be more to it, but this works for me. Carmen http://www.talkingandroid.com File myPictu

[android-beginners] Please Tell the Book to Purchase

2009-08-19 Thread Pruthvi Raj
Hi,Can you please guide me to take android book for Programming? -- Thank You, Pruthvi Raj G.R --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-be

[android-beginners] Emulator Internet Issues as Stand-Alone

2009-08-19 Thread Elysium
Heyho! I'm developing an App for School, and my teacher asked me if it is possible that he gets kind of an "image" to check the App out himself. Well, I can't lend him my precious Magic, and I don't want to let him struggle with installing the whole SDK. So what I did was, I kinda "exported" the

[android-beginners] Comparing different dates

2009-08-19 Thread Stephen Lebed
How would I compare the current date against a date I've set to determine if today is before or after the set date? I've tried the following, but its not working Date endTime; { endTime = new Date(); endTime.setMonth(11); endTime.setYear(2009); } Date trialTime; { trialTime = new Date(); trialT

[android-beginners] Re: getting the pictures taken with my program to appear in gallery

2009-08-19 Thread Mark Murphy
jbrohan wrote: > I'm working through Mark Murphy's excellent books at commonsware.com. Thanks! > The camera application takes pictures nicely but they don't appear in > the Gallery , nor can I attach them to emails. In terms of the Gallery, I believe that is handled via the MediaStore: http://

[android-beginners] getting the pictures taken with my program to appear in gallery

2009-08-19 Thread jbrohan
Hello I'm working through Mark Murphy's excellent books at commonsware.com. The camera application takes pictures nicely but they don't appear in the Gallery , nor can I attach them to emails. I've put photo.jpg in the right folder sdcard/DCIM/100MEDIA and they are visible in the Eclipse File expl

[android-beginners] Re: Delete Note does not work in the Notepadv2 example

2009-08-19 Thread Jack Ha
onCreateContextMenu() is being used for performing a "long- clicked" (at least 2 seconds) on the item. -- Jack Ha Open Source Development Center ・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

[android-beginners] Re: Cannot see my HTC Magic via DDMS to take screenshot

2009-08-19 Thread Roman ( T-Mobile USA)
On your phone go to the settings/application and select development ( I am not sure what this would be in your language ..). The enable USB debugging. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author

[android-beginners] Re: Cannot see my HTC Magic via DDMS to take screenshot

2009-08-19 Thread Jack Ha
Did you install the USB driver? -- Jack Ha Open Source Development Center ・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 T-Mobile USA, Inc. On Aug 19, 7:49 am,

[android-beginners] Re: Cannot see my HTC Magic via DDMS to take screenshot

2009-08-19 Thread kidhermes
Back from holiday. Still not solved... :o( Same at home under Vista. And you? On Jul 31, 7:48 pm, NataliaPC wrote: > Hikidhermes > > Have you solved your problem? > I've the same issue. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-beginners] Re: Can't locate com.android.settings activity

2009-08-19 Thread Mark Murphy
Jean-Sebastien Stoezel wrote: > Any input on this issue? Try new Intent(Settings.ACTION_SECURITY_SETTINGS) instead, unless I am misunderstanding what activity you are trying to open. Settings is in android.provider. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/comm

[android-beginners] Re: GPS Question Coord

2009-08-19 Thread cellurl
I cant find it at the moment, but in the eclipse-debugger you can enter in a latitude, longitude. It will remember the lat,long and use it everytime automatically. On Aug 18, 5:22 am, Jose Ayerdis wrote: > Hello, i was wondering if you could help me with this question: > > Is there a way to loa

[android-beginners] Re: Help with Activites

2009-08-19 Thread Justin Anderson
1) When an activity is started from another, to the best of my knowledge, the only way to get back to the original activity is to use the back button on the device (assuming the activity is not one you created). If the second activity is one you created, then you could probably place a button on i

[android-beginners] Re: Can't locate com.android.settings activity

2009-08-19 Thread Jean-Sebastien Stoezel
Any input on this issue? Thanks, Jean-Sebastien - Reply message - From: "jstoezel" Date: Mon, Aug 17, 2009 6:19 PM Subject: [android-beginners] Can't locate com.android.settings activity To: "Android Beginners" Hi, I'm trying to open the system's window (GPS enable window) using the

[android-beginners] Re: Does getLocationFromName actually work??

2009-08-19 Thread Jose Ayerdis
2009/8/19 Mark Murphy > > Jose Ayerdis wrote: > > GeoCoder Class has it here: > > > > http://developer.android.com/reference/android/location/Geocoder.html > > Actually, Geocoder has getFromLocationName(), not getLocationFromName(), > which is why I didn't find it in a search. > > I have not used

[android-beginners] Re: Barcode scanning?

2009-08-19 Thread Mark Murphy
Anna PS wrote: > Does anyone know if there's anything built in to Android for barcode > scanning? Not that I am aware of. > If not, how would you go about implementing this - take a photo, send > it off to a server and do image recognition there? Use a third-party component, like ZXing: http:/

[android-beginners] Re: Does getLocationFromName actually work??

2009-08-19 Thread Mark Murphy
Jose Ayerdis wrote: > GeoCoder Class has it here: > > http://developer.android.com/reference/android/location/Geocoder.html Actually, Geocoder has getFromLocationName(), not getLocationFromName(), which is why I didn't find it in a search. I have not used this class personally, so I do not know

[android-beginners] Re: Does getLocationFromName actually work??

2009-08-19 Thread Jose Ayerdis
GeoCoder Class has it here: http://developer.android.com/reference/android/location/Geocoder.html 2009/8/19 Mark Murphy > > Jose Ayerdis wrote: > > I've been trying to search university around a location but does not > > work as i though can somebody help out here??? > > A search of the Andro

[android-beginners] Barcode scanning?

2009-08-19 Thread Anna PS
Hi all Does anyone know if there's anything built in to Android for barcode scanning? If not, how would you go about implementing this - take a photo, send it off to a server and do image recognition there? thanks! Anna --~--~-~--~~~---~--~~ You received this mes

[android-beginners] Re: Does getLocationFromName actually work??

2009-08-19 Thread Mark Murphy
Jose Ayerdis wrote: > I've been trying to search university around a location but does not > work as i though can somebody help out here??? A search of the Android SDK documentation does not turn up getLocationFromName(). Where do you see this method? -- Mark Murphy (a Commons Guy) http://commo

[android-beginners] Re: why the alertdialog could not display ?

2009-08-19 Thread Mark Murphy
yjshi wrote: > I am trying to display the dialog,but something is wrong when I do > it.I use a timer to do something. I want to use a dialog to let the > user konw, when the dialog is end. > seekTask = new TimerTask() > .. > seekTask.cancel(); > new AlertDialog.Builder(mContext) >

[android-beginners] Re: What is really locked in the HTC Magic?

2009-08-19 Thread Casper Bang
The process is covered other places, potentially a bit controversial to post in detail in here. Note that you only need new SPL if you want to flash unsigned firmwares (like the ADP allows). If all you want to do is create programs and don't want to play around with alternative firmwares, then you

[android-beginners] Does getLocationFromName actually work??

2009-08-19 Thread Jose Ayerdis
I've been trying to search university around a location but does not work as i though can somebody help out here??? -- Atte [[Jose Luis Ayerdis Espinoza]] http://blognecronet.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-beginners] why the alertdialog could not display ?

2009-08-19 Thread yjshi
I am trying to display the dialog,but something is wrong when I do it.I use a timer to do something. I want to use a dialog to let the user konw, when the dialog is end. seekTask = new TimerTask() .. seekTask.cancel(); new AlertDialog.Builder(mContext) .setTitle(R.string.seek_

[android-beginners] Re: What is really locked in the HTC Magic?

2009-08-19 Thread Rafa Perfeito
Yeah i7500 is already available but still from a carrier, so its still locked... Casper, thanks for that, i will see if those phones compensate when compared with the Dev Phone 1. By the way, how did you got that firmware for the nem SPL? On Wed, Aug 19, 2009 at 12:01 PM, Atif Gulzar wrote: > Wh

[android-beginners] Re: What is really locked in the HTC Magic?

2009-08-19 Thread Atif Gulzar
What About Samsung i7500 as developer device. I think it is unlocked and readily available in many countres. -- Best Regards, Atif Gulzar I Unicode, ɹɐzlnƃ ɟıʇɐ On Wed, Aug 19, 2009 at 4:58 PM, Casper Bang wrote: > > I guess it depends of the context of the world 'lock'. Although the >

[android-beginners] Re: What is really locked in the HTC Magic?

2009-08-19 Thread Casper Bang
I guess it depends of the context of the world 'lock'. Although the Scandinavian isn't, I believe most stock phones (certainly the carrier branded ones) would be SIM locked as well as firmware locked (can't flash an unsigned image). This would both be different from the ADP. So if you get your ph

[android-beginners] Re: What is really locked in the HTC Magic?

2009-08-19 Thread Rafa Perfeito
Thanks Casper, But my doubt is what the 'lock' means. Only SIM-unlocked? 'Cause i can unlock that...Then i will have the same liberty as in the Dev Phone? On Tue, Aug 18, 2009 at 7:37 PM, Casper Bang wrote: > > I was in the same situation, so I bought a Magic and installed another > SPL (bootlo

[android-beginners] Re: I am trying to log my gps location to a website.

2009-08-19 Thread Lutz Schönemann
Usually you'll see it in the log files. I allways log the Exception message in addition to the stack trace so you always know what the problem is. If you use a function that needs a special permission you don't have in your AndroidManifest.xml it will throw a SecurityException. If you hav

[android-beginners] Re: Help with Activites

2009-08-19 Thread Neilz
Thanks for the replies. Two more questions... 1) When the activity is started from the main activity, I would want the user to click a button to indicate they have finished, and to return to the initial activity again. What's the best way to ensure that the original one is displayed as before?