[android-beginners] Re: rega

2009-10-27 Thread Justin Anderson
Have you read the docs? -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Mon, Oct 26, 2009 at 10:10 PM,

[android-beginners] Re: Book recommendation

2009-10-27 Thread Justin Anderson
There have been several recommendations on this forum with other posts... Have you tried searching this group before posting? -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Re: Issue with Android Debug Bridge

2009-10-27 Thread Alexey Tarasov
On my HTC Hero, you need switch on ¨Settings - Applications - Development - USB debugging¨ option in order to use adb. On Oct 27, 3:24 pm, Maxood maqs...@salsoft.net wrote: Also my platform is Windows XP. Processor is AMD. --~--~-~--~~~---~--~~ You received this

[android-beginners] Re: Issue with Android Debug Bridge

2009-10-27 Thread Maxood
I am using an emulator here. And on the emulator USB Debugging is enabled. Still getting the same message error: device not found. Also at times ADB runs fine in shell mode but now all of a sudden it is not running and throwing error. Why?Whats the reason? And whats the solution? On Oct 27,

[android-beginners] Re: usage of technology

2009-10-27 Thread RichardC
Java SE 1.5 or 1.6 with the Andoid class libraries for full info please read http://developer.android.com/sdk/1.6_r1/index.html http://developer.android.com/sdk/1.6_r1/requirements.html -- RichardC On Oct 27, 4:11 am, sabs bsabare...@gmail.com wrote: Hi every body, I am developing

[android-beginners] Re: Taking Screenshots from Phone using Windows 7?

2009-10-27 Thread RichardC
Have you installed the USB drivers? Addon download after you have installed the Android SDK, just type android at a command prompt. -- RichardC On Oct 27, 2:53 am, Justin Anderson janderson@gmail.com wrote: Are you able to debug your app on the phone or is this broken as well? Thanks,

[android-beginners] Re: Android and SQLite - setting up a db at install time

2009-10-27 Thread RichardC
When you open an SQLite database (using a class derived from SQLiteOpenHelper) onCreate is called if the database does not exist. You need to implement this method to create your database for the first time. Have a read of:

[android-beginners] Re: kiosk mode

2009-10-27 Thread RichardC
The problem with doing this at the application level (rather than the platform) is that Android is also a phone and restricting access to emergency calls is probably not a good thing. If you are making your own embedded device (or just rooting an existing device to make it single application)

[android-beginners] Re: Screen Off and Lock Notfication?

2009-10-27 Thread RichardC
Have a read about Services and Alarms -- RichardC On Oct 27, 1:52 am, Prabakar prabhu_mp...@yahoo.com wrote: Hello, I want to continue running my application when the backlight and screen goes off and lock. How do i find out whether the device screen goes off and lock from my application

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

2009-10-27 Thread RichardC
If you are creating applications to distrubute via the market place then you have to use just use the documented/supported functionality from the Android SDK. As had been said repeatedly in these groups - if you get your code to work today using functionality NOT supported by the SDK there is NO

[android-beginners] Re: Native Shared Lib

2009-10-27 Thread RichardC
Try asking in http://groups.google.com/group/android-ndk -- RichardC On Oct 26, 4:42 pm, Sanjay sanjai...@gmail.com wrote: Hi, I'm trying to create a shared lib written in c++. I followed all the steps which are recommended to create the shared lib and to access the native code in Android.

[android-beginners] Re: Emulator permission problem

2009-10-27 Thread Tom
Anyone have any ideas? On 26 Oct, 13:09, Chaiyasit T chaiyasi...@gmail.com wrote: your problem would ge about internet access permission, could you post the error code you see in my websitehttp://www.codemobiles.com/forum/viewforum.php?f=16I will try to help you. regards On Mon, Oct

[android-beginners] Re: Emulator permission problem

2009-10-27 Thread RichardC
If you are developing for 1.6 you will need the WRITE_EXTERNAL_STORAGE permission in your manifest. -- RichardC On Oct 27, 10:24 am, Tom tomir...@googlemail.com wrote: Anyone have any ideas? On 26 Oct, 13:09, Chaiyasit T chaiyasi...@gmail.com wrote: your problem would ge about internet

[android-beginners] Re: Emulator permission problem

2009-10-27 Thread Tom
Thats it. Thank you. On 27 Oct, 10:51, RichardC richard.crit...@googlemail.com wrote: If you are developing for 1.6 you will need the WRITE_EXTERNAL_STORAGE permission in your manifest. -- RichardC On Oct 27, 10:24 am, Tom tomir...@googlemail.com wrote: Anyone have any ideas? On 26

[android-beginners] Measure a view when the canvas is rotated..

2009-10-27 Thread Samuh
I have a custom view which just draws a bitmap and the view is measured as: protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { if(mBitmap != null){ setMeasuredDimension(

[android-beginners] Re: Is there any way to make changes to the files/raw resources in the raw/res folder?

2009-10-27 Thread RichardC
On a device you should concider the contents of your APK file to be read-only. Remember you signed the contents so any changes would invalidate the signature, also keeping them read-only saves space on the device. -- RichardC On Oct 27, 2:22 pm, launchpadtt christopher.yee...@gmail.com wrote:

[android-beginners]

2009-10-27 Thread saurabh sinha
what is difference intent and pendingIntent 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

[android-beginners]

2009-10-27 Thread saurabh sinha
please tell me what are the lifeycle of 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:

2009-10-27 Thread RichardC
I will do your searching for you ;) Intent: An intent is an abstract description of an operation to be performed. It can be used with startActivity to launch an Activity, broadcastIntent to send it to any interested BroadcastReceiver components, and startService(Intent) or bindService(Intent,

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

2009-10-27 Thread Chaiyasit T
Intent is a kind of message that required action immediately, while pendingIntent is a kind of intent that will allow another application to send the intent bound to pendingintent to send the bound intent. For pendingIntent, let's see this code, you will understand The sendSMS() function is

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

2009-10-27 Thread Sean Hodges
You really are an incredibly annoying poster. One more email like this and I will be blocking your emails from my inbox. Please see all the other threads you started on this topic, if there is something specific you don't understand then ask for clarification on it.

[android-beginners] Visual Studio Android Development

2009-10-27 Thread BermudaLamb
I spend my entire day in Visual Studio 2005 and 2008. I want to develop Android applications as well. I have taken a look at Eclipse. I am Windows, not Mac, and not Linux. With that said ... Eclipse is not Visual Studio. They may both be IDEs but they are so different. I am looking for a

[android-beginners] I wonder to make a sence of getting par t of bitmap~

2009-10-27 Thread ~bill~
I saw the screen at function of setting wallpaper and setting icon of Gtalk it can take part of picture and can change the size and position of selected area I wonder how to make the layer before picture?is there a mature package/class to use? or it must coding by my self? thx every one here

[android-beginners] Multi-layout app [total beginner]

2009-10-27 Thread Sobert
Hi, I get a small problem here. I have a simple App, with two layout (main.xml and credits.xml). With the onclick on the btnCredits button, I switch from main.xml to credit.xml with this code : public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

[android-beginners] Resource files not found (or being compiled?)

2009-10-27 Thread Revenant
This is probably a real basic problem. I've been working on the tutorials, and everything had been going fine so far (well, had a few quirks, but I managed to solve them myself). The problem was with tutorials containing audio, when I debug and install on an emulator, the app stops due this

[android-beginners] Setup SQLite db at install time

2009-10-27 Thread Froens
Hi group I am new to developing programs to the Android framework. I've read the sample exercises (http://developer.android.com/guide/ tutorials/notepad/notepad-ex1.html) but have a question regarding their database creating. All database creation happens in the function [onCreate() -

[android-beginners] MarketPlace get application list

2009-10-27 Thread passkey
Hi there, I'm new to android and for my report I would like to get a list of available applications in Market Place, does anyone know if there is an api available on the market that let me grab the list of available applications? Or if anyone has an export list of these application, I would be

[android-beginners] DBAdapter class to Use inside ButtonListener , How...

2009-10-27 Thread Regish Ben
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); DBAdapter db = new DBAdapter(this); db.open(); // Some Insert Functions db.close(); The above codes

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

2009-10-27 Thread DulcetTone
I understand the perils of using things outside the SDK, and can shoulder them for now. I have already downloaded an app from the Marketplace (Top Voice Control) that uses android.speech.srec Given that I see it is possible and understand why some might not care to do this, can someone tell me

[android-beginners] Re: rega

2009-10-27 Thread balanagu sabareesh
ya i have read the document i little bit understood about bundle if you have any brief idea please tell. On Tue, Oct 27, 2009 at 11:36 AM, Justin Anderson janderson@gmail.comwrote: Have you read the docs? -- There are

[android-beginners] Re: Taking Screenshots from Phone using Windows 7?

2009-10-27 Thread martani_net
I have the same problem, and the device seems to be installed normally with the drivers from the SDK. If you figure out a solution please post it here. Thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-beginners] How to begin with android

2009-10-27 Thread neha
Hi, I am new to android. I want to get the android source code,compile it and run it. I have read the instructions on the website http://source.android.com/download but there a big list of requirements is mentioned. I dont have any experience to work with Ubantu rather I use windows. Can anyone

[android-beginners] Re: Is there any way to make changes to the files/raw resources in the raw/res folder?

2009-10-27 Thread Mark Murphy
I have a really basic question about res/raw. I'd like to know if there is a way to make changes to res/raw like adding files to it or editing existing files in it. At runtime in the app? No. All resources are signed and sealed and cannot be modified at runtime. -- Mark Murphy (a Commons

[android-beginners] Re: Multi-layout app [total beginner]

2009-10-27 Thread RichardC
There are lots (and lots) of examples doing this in the samples in the SDK. If you want to look at a smallish app have a look at the Notepad sample. -- RichardC On Oct 27, 2:11 pm, Sobert sok...@gmail.com wrote: Hi, I get a small problem here. I have a simple App, with two layout

[android-beginners] Re: How to begin with android

2009-10-27 Thread RichardC
Wrong group try: http://groups.google.com/group/android-platform http://groups.google.com/group/android-porting To develop applications you don't need to build from source (there is a nice SDK). However reading the source is sometimes useful - just don't use anything you find that is not in the

[android-beginners] Re: Setup SQLite db at install time

2009-10-27 Thread RichardC
I have already answered you earlier (duplicate post) http://groups.google.com/group/android-beginners/browse_thread/thread/30f39bc30da6c5de# -- RichardC On Oct 27, 6:48 am, Froens fro...@gmail.com wrote: Hi group I am new to developing programs to the  Android framework. I've read the

[android-beginners] Re: Resource files not found (or being compiled?)

2009-10-27 Thread RichardC
Not sure - but you might be using the wrong resource ID. The clue in your messages is from drawable resource ID - I would not expect an MP3 (in raw) to be a drawable resource. However I could be completly wrong about this and the exception message might be being reused for different resource

[android-beginners] Animating a single list item from a listView

2009-10-27 Thread jax
Is it possible to animate a single list item from a ListView? If so how? --~--~-~--~~~---~--~~ 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: using onBind in a service with Intent actions

2009-10-27 Thread jax
I got this working by putting the intent code in onServiceDisconnected On Oct 26, 11:21 pm, jax jackma...@gmail.com wrote: I am trying to make it so that when a user exits an activity or flips the screen it will continue the last session.  I am binding to a service. If the user presses a

[android-beginners] Re: Visual Studio Android Development

2009-10-27 Thread RichardC
BermudaLamb wrote: one of the largest communities of non-Java developers is probably the Visual Studio developers. As you say non-Java - but Andoid development is Java (with the option of excursions to native C/C++) so starting with Visual Studio is like taking a spade to drill a hole. More

[android-beginners] Re: Android 2.0 SDK is here!

2009-10-27 Thread RichardC
Woot! On Oct 27, 4:45 pm, Xavier Ducrohet x...@android.com wrote: Hello everyone! We've just announced the Android 2.0 SDKhttp://android-developers.blogspot.com/2009/10/announcing-android-20-... If you already have the 1.6 SDK, note that you can simply use the SDK Manager to add Android

[android-beginners] Re: Visual Studio Android Development

2009-10-27 Thread Sean Hodges
[...] This is akin to the same thought ... Sure I can restructure my thinking, and learn yet another way to develop my applications, but in this day and age why should I. Because you are a human being. You are inquisitive, and evolve intellectually and physically due to the experiences that

[android-beginners] Re: file chooser?

2009-10-27 Thread Sean Hodges
On Mon, Oct 26, 2009 at 5:34 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: this has to be an easy one. i want to bring up a file chooser to be able to read a file from say the SD card. i'd rather not roll my own. is there some standard way to do this? -- I've not used it, but

[android-beginners] Re: launch a webpage, then read results

2009-10-27 Thread Marton Kodok
Authorizing a Facebook app, then read the returned session id. I want to pass that session id to a PHP script and that will read the content for me (on server and not on the phone). In the end I will query my PHP page for data. RichardC wrote: What is the result of the user viewing a web page?

[android-beginners] Re: Visual Studio Android Development

2009-10-27 Thread Matt Raffel
I have to ditto what RichardC says. Same experiences. Eclipse its very mature and robust. Yes, the UI is a little bit different. Wording/Terms different, so it will take a little time getting used to the differences. Matt RichardC wrote: BermudaLamb wrote: one of the largest

[android-beginners] Re: How to begin with android

2009-10-27 Thread Matt Raffel
Windows works too. :) I happen to be old school XP for my windows box. I dl/install android sdk, Eclipse, the adroid plug-in, etc... I found the information somewhere at this site: http://developer.android.com/guide/developing/eclipse-adt.html Matt neha wrote: Hi, I am new to android. I

[android-beginners] I have a great idea for an app and have tried my best but cant get anything to work!! Help please!!

2009-10-27 Thread pulsarman325
Hi all, I have a great idea for an app for android market and its really simple, basically just a copy of a map i created on google maps/ my map, I have never programmed or developed anything and cant even get sdk installed properly on my computer let alone learn how to use it. So my question

[android-beginners] Re: Android 2.0 SDK is here!

2009-10-27 Thread Matt Raffel
how does this apply if my phone is currently 1.5 and I wanted my app to work on it? Do I stick to 1.5? Matt Xavier Ducrohet wrote: Hello everyone! We've just announced the Android 2.0 SDK http://android-developers.blogspot.com/2009/10/announcing-android-20-support-in-sdk.html If you

[android-beginners] Re: Android 2.0 SDK is here!

2009-10-27 Thread Jeffrey Blattman
new and updated tools. regardless of the SDK version, you can always develop your app to target previous SDK versions. in your manifest, look for the line, uses-sdk android:minSdkVersion="3" / 3 is for 1.5, 4 for 1.6 ... On 10/27/09 10:42 AM, Matt Raffel wrote: how does this apply if

[android-beginners] Does Android 1.5 and after have APIs to enter key codes?

2009-10-27 Thread sherry
I need to enter key code such as *71 for call forwarding in a programmatic way instead of punch the keys on the handset. Does Android support this kind of API? Thanks, Sherry --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-beginners] Re: How to Align button to button of screen???

2009-10-27 Thread Matt Raffel
So that does not put my button at the bottom of the screen. Is that because I am using a LinearLayout? ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=vertical android:layout_width=fill_parent

[android-beginners] Re: R.java sometimes doen not refresh itself in eclipse

2009-10-27 Thread ClarkBattle
I had a problem with this too. My problem was that I was making a sliding drawer and forgot to add the id and xmlns to the enclosing FrameLayout FrameLayout xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/frameLayout Adding that fixed it. Thats the

[android-beginners] Re: I have a great idea for an app and have tried my best but cant get anything to work!! Help please!!

2009-10-27 Thread pulsarman325
i guess no one wants to help, thanks anyway On Oct 27, 6:07 pm, pulsarman325 pulsarman...@googlemail.com wrote: Hi all, Ihaveagreatideafor an app for android market and its really simple, basically just a copy of a map i created on google maps/ my map, Ihavenever programmed or developed

[android-beginners] new'ing an Intent

2009-10-27 Thread tatman
In the notepad2.java example, the sample allocates an intent like this: private void createNote() { // TODO: fill in implementation Intent i = new Intent(this, NoteEdit.class); startActivityForResult(i, ACTIVITY_CREATE); } I effectively copied that code, changed

[android-beginners] Re: new'ing an Intent

2009-10-27 Thread tatman
btw, I have class called RootGameScreen in my workspace, namespace On Oct 27, 5:43 pm, tatman matt.raf...@gmail.com wrote: In the notepad2.java example, the sample allocates an intent like this:     private void createNote() {         // TODO: fill in implementation         Intent i =

[android-beginners] Re: I have a great idea for an app and have tried my best but cant get anything to work!! Help please!!

2009-10-27 Thread tatman
If you never programmed before and are serious about finding someone to help to create your app, then I would suggest you either ask friends, or hire someone from a site like elance.com or something. If you want to learn how to program, great! :) But plan to start small, work hard and learn how

[android-beginners] Re: I have a great idea for an app and have tried my best but cant get anything to work!! Help please!!

2009-10-27 Thread MMC2
What does your app actually do? Mike - Original Message - From: pulsarman325 pulsarman...@googlemail.com To: Android Beginners android-beginners@googlegroups.com Sent: Wednesday, October 28, 2009 6:42 AM Subject: [android-beginners] Re: I have a great idea for an app and have tried my

[android-beginners] Re: new'ing an Intent

2009-10-27 Thread RichardC
The this you are passing into new Intent is an anonymous derived class of View.OnClickListener not your derived Activity class WelcomeScreen. You will need to ask someone who knows more Java than I do how to get at this in your outer class. -- RichardC On Oct 27, 9:48 pm, tatman

[android-beginners] Re: I have a great idea for an app and have tried my best but cant get anything to work!! Help please!!

2009-10-27 Thread mark mcqueen
It is a map i done using my maps/google maps that has links to haunted places around essex, including statements and pics. I only need to create app to link to my map etc On Oct 27, 2009 10:02 PM, MMC2 m...@mmc2.com.au wrote: What does your app actually do? Mike - Original Message -

[android-beginners] Re: new'ing an Intent

2009-10-27 Thread Lance Nanek
Using WelcomeScreen.this instead of this should take care of the problem Richard pointed out for this case. On Oct 27, 6:09 pm, RichardC richard.crit...@googlemail.com wrote: The this you are passing into new Intent is an anonymous derived class of View.OnClickListener not your derived

[android-beginners] Emulator just dies

2009-10-27 Thread Eno
Can anyone recommend a good method to troubleshoot this? When I startup the emulator, the Android boot screen appears for a few seconds, then the cursor stops flashing, the emulator crashes and the windows disappears. Is there a log file or debug mode so I can see what's going on? Ive already

[android-beginners] Re: new'ing an Intent

2009-10-27 Thread tatman
Thnx. :) That was it. On Oct 27, 6:27 pm, Lance Nanek lna...@gmail.com wrote: Using WelcomeScreen.this instead of this should take care of the problem Richard pointed out for this case. On Oct 27, 6:09 pm, RichardC richard.crit...@googlemail.com wrote: The this you are passing into new

[android-beginners] Re: Solution for Debug certificate expired

2009-10-27 Thread Arun Gopalan
Hi Guys For Ubuntu and other linux, you have to delete the debug.keystore file from $HOME/.android where $HOME is your home directory. for example my home directory on Ubuntu looks like /home/arun and I had to delete this file from /home/arun/.android Arun On Sep 14, 11:21 am, Alok Kulkarni

[android-beginners] Re: I have a great idea for an app and have tried my best but cant get anything to work!! Help please!!

2009-10-27 Thread Lance Nanek
Wow, the Android 1.6 Google Maps app does really well with the KML version of the My Map I was testing, though. Starting Maps using this code gave a This Community Map could not be displayed because it contains errors. error: Uri uri = Uri.parse(geo:0,0?q=http%3A%2F%2Fmaps.google.com%2Fmaps%2Fms