[android-beginners] Why it is so difficult to generate gen file

2010-07-22 Thread Shaista Naaz
Hi, I am a beginner trying to learn Android. I am trying to run Hello Android sample code but am facing one problem with generation of gen file. Sometimes it works after I do repeated clean, rebuild and build automatically on and off. I have installed android-sdk_r06-windows,

[android-beginners] Why it is so difficult to generate gen file

2010-07-22 Thread Shaista Naaz
Hi, I am a beginner trying to learn Android. I am trying to run Hello Android sample code but am facing one problem with generation of gen file. Sometimes it works after I do repeated clean, rebuild and build automatically on and off. I have installed android-sdk_r06-windows,

Re: [android-beginners] Why it is so difficult to generate gen file

2010-07-22 Thread Shaista Naaz
Hey Hi, I got it up and running. Thanks, Shaista On Thu, Jul 22, 2010 at 11:34 AM, Shaista Naaz shaistanaa...@gmail.comwrote: Hi, I am a beginner trying to learn Android. I am trying to run Hello Android sample code but am facing one problem with generation of gen file. Sometimes it works

[android-beginners] Bringing an Activity to the from when notification is tapped

2010-07-22 Thread Antti Karhu
Hi! My app is having an Activity, and a local Service. The Service shows notifications for time to time, and I like to open the Activity when the notification is tapped. Now the problem is, I may get multiple activies stacked if I tap the notifications many times in a row. Here's how I show the

[android-beginners] Sending Binary sms

2010-07-22 Thread T.W.
Hi all, I wanna develop this app that converts an sms string into a binary sms and sends it. Can anyone help me out? I know how to send and receive sms, but how can I use binary sms APIs or whatever? Thanks. -- You received this message because you are subscribed to the Google Groups Android

Re: [android-beginners] Bringing an Activity to the from when notification is tapped

2010-07-22 Thread ABTHUL RAZEETH
Do startActivity with the base intent of the activity. and if your activitys launch mode is singleTop, then your activity will be brought to front for sure. - abthul On Thu, Jul 22, 2010 at 12:26 PM, Antti Karhu antti.iisa...@gmail.comwrote: Hi! My app is having an Activity, and a local

[android-beginners]Is it possible to change the skin of the annunciator bar in the phone.

2010-07-22 Thread Shaista Naaz
Hi, I want to know is this possible to change the skin in the annunciator bar or everything on the emulator. Only thing is that the wall paper and the text written need not to be changed. Do I need to change something in main.xml ? Any suggestion is appreciated. Please kindly reply. Thanks,

Re: [android-beginners]Is it possible to change the skin of the annunciator bar in the phone.

2010-07-22 Thread ABTHUL RAZEETH
change the windowBackground drawable to some color drawable in the respective layout files. On Thu, Jul 22, 2010 at 4:56 PM, Shaista Naaz shaistanaa...@gmail.comwrote: Hi, I want to know is this possible to change the skin in the annunciator bar or everything on the emulator. Only thing is

[android-beginners] Webview and JQuery

2010-07-22 Thread wonglik
Hi guys. While playing a bit with webview and javascripts I find some problem. It looks like jquery is not fully working. I have very simple html : html head script type=text/javascript src=file:///android_asset/ jquery-1.4.2.min.js/script script type=text/ javascript

[android-beginners] Reverting to Eclipse 3.5

2010-07-22 Thread Doug Gordon
Just getting into Android devel, I downloaded and installed the latest Eclipse, which is 3.6 (Helios). Now I see that it's recommended to stay with 3.5 due to some XML-editing bugs with the ADT or something like that. So if I want to revert to 3.5, in addition to first uninstalling Eclipse

[android-beginners] Routing audio input to bluetooth headset

2010-07-22 Thread Garima
Is it possible to record an audio (not a phone call) using the bluetooth input and not the device microphone? I am able to playback whatever am saying through device's mic but am not able to figure out how to use the bluetooth mic instead. Any assistance would be greatly appreciated. -- You

[android-beginners] Re: Reverting to Eclipse 3.5

2010-07-22 Thread Quomo Pete
I am copying below a previous message that seems to solve this problem w/o a full reinstall of the old ver. ( if that's your only problem) - I am using Helios and it's fine. {{{-- Forwarded message -- From: Nitin Dahyabhai nitin.dahyab...@gmail.com Date: Jul 9, 2:10 pm Subject:

[android-beginners] Re: Reverting to Eclipse 3.5

2010-07-22 Thread ian329
Hi Doug, Not that I can comment on the bugs, but I did exactly the same thing as you and decided to stick with 3.6 until I came across problems. Not had problems yet so still on 3.6. Obviously there are issues but I would say it's still usable. Hope that helps, although not an expert response!!

[android-beginners] Windows 7 issue? gen [in HelloAndroid] does not exist

2010-07-22 Thread Anil
I have been trying to get it up and running on Windows 7 but have had issues. Running Hello Android fails. Yes, I build, clean, build. Java 1.6.20, Eclipse 3.5.2, Windows 7 (it is 64 bit but I installed the 32 bit Java and 32 bit Eclipse). Error Log: !ENTRY org.eclipse.jdt.ui 4 10001 2010-07-22

[android-beginners] Checking for App before Launching

2010-07-22 Thread Jake Colman
When my user clicks on my AppWidget, I want to launch either my own provided activity or an activity from a different app if that app is installed. My own activity is a stripped down version of the information that can be displayed by that other application. If that other application is

Re: [android-beginners] Checking for App before Launching

2010-07-22 Thread Justin Anderson
Use the PackageManager class: http://developer.android.com/reference/android/content/pm/PackageManager.html -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Subscript clipping in textview

2010-07-22 Thread Curran
Hi everyone, Having problems with sub/superscripts in my textviews. The top and bottom edges of super/subscript respectively get cut off meaning you can't see the entire character, and making the equations I'm using unclear. Any ideas how to remedy this? Cheers -- You received this message

[android-beginners] Re: Why it is so difficult to generate gen file

2010-07-22 Thread DanH
To help others, you should say what you found (if it's not too embarrassing). On Jul 22, 1:15 am, Shaista Naaz shaistanaa...@gmail.com wrote: Hey Hi, I got it up and running. Thanks, Shaista On Thu, Jul 22, 2010 at 11:34 AM, Shaista Naaz shaistanaa...@gmail.comwrote: Hi, I am a

[android-beginners] Re: Subscript clipping in textview

2010-07-22 Thread Curran
Just found out that changing the line spacing will stop the cut off for the subscripts, but won't help for superscripts on the top edge of the textview. On Jul 22, 4:49 pm, Curran thecurra...@gmail.com wrote: Hi everyone, Having problems with sub/superscripts in my textviews. The top and

[android-beginners] Bluetooth Connection

2010-07-22 Thread aggie_hellcat2009
I want to use bluetooth to transmit a very small (size) signal from one phone to another for a game. I haven't experimented with this (but from what I remember from before my Android device) in order to connect a device to your phone you had to okay it and/or have a password for it as well. Is

Re: [android-beginners] Checking for App before Launching

2010-07-22 Thread Nick Richardson
Here's a class that i use in one of my apps to detect if a package is installed when my service starts up. You should be able to modify this to suit your needs. public class AppDetector { protected boolean isAppInstalledFromService(Service parent, String uri) { PackageManager pm =

[android-beginners] From iphone to Android: SMS history recover

2010-07-22 Thread Carfield Yim
Hi, I think my previous SMS are stored somewhere in itune, can I get it back and store in my new android? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at

[android-beginners] SharedPreferences editor commit() returning false

2010-07-22 Thread Bret Foreman
My code looks something like this: SharedPreferences myPrefs = getPreferences(MODE_PRIVATE); myPrefs.edit().putInt(Some_String,someInt); myPrefs.edit().commit(); Note that the key/value pair Some_String/someInt does not exist in preferences.xml and I presume the editor should create it. Perhaps

Re: [android-beginners] SharedPreferences editor commit() returning false

2010-07-22 Thread TreKing
On Thu, Jul 22, 2010 at 1:06 PM, Bret Foreman bret.fore...@gmail.comwrote: Note that the key/value pair Some_String/someInt does not exist in preferences.xml and I presume the editor should create it. That should be the case. Perhaps that presumption is wrong and that's why the commit is

[android-beginners] chat software

2010-07-22 Thread Emmen Farooq
Hi all and once again thanks a lot for help Now please consider the following scenario , I am making an sms friendship kind of thing with android , so , I have to use and access database to store he necessary , but what protocol/approach should I use to connect between android emulator and

Re: [android-beginners] Reverting to Eclipse 3.5

2010-07-22 Thread Sam Hobbs
I was in your situation. I just went ahead and uninstalled everything and reinstalled. In most forums and groups it is unusual to get useful reliable answers for things such as this. If you are using Windows, do refer to the message I posted a few days ago; there is a problem with Eclipse

Re: [android-beginners] Windows 7 issue? gen [in HelloAndroid] does not exist

2010-07-22 Thread Sam Hobbs
Did you look at previous messages in this group for answers? I don't see mention of it. My message just has a link to the sticky in the Eclipse forums; did you look there? There is a problem causing problems for Eclipse 3.5 in Windows; I don't know if it causes the problem you are asking

Re: [android-beginners] Reverting to Eclipse 3.5

2010-07-22 Thread Xavier Ducrohet
You don't need to uninstall the SDK. ADT however is installed in the Eclipse folder, so you'll need to reinstall it. You'll also need to reconfigure it by pointing it at your SDK install folder. On Thu, Jul 22, 2010 at 7:50 AM, Doug Gordon gordo...@gmail.com wrote: Just getting into Android

Re: [android-beginners] SharedPreferences editor commit() returning false

2010-07-22 Thread Justin Anderson
I don't know for sure, but have you perhaps changed the datatype for that key at some point? If you have then that would definitely cause it to return false. You might want to try completely uninstalling your application and reinstalling to see if that fixes it... If that is the case, then you

[android-beginners] How to open a new Activity in a new window (calling a new activity)?

2010-07-22 Thread Victoria Busse
Hi there, sorry for the following explanation... I just didn't know how to describe it differently... What I would like to do is when I click a certain button, my app should open a new window and loading the selected content into this new window/view. It shouldn't be like e.g. the send intent,

Re: [android-beginners] How to open a new Activity in a new window (calling a new activity)?

2010-07-22 Thread Justin Anderson
Not really sure I follow... What do you mean by selected content? -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] How to open a new Activity in a new window (calling a new activity)?

2010-07-22 Thread Victoria Busse
I am working on a video editing app and when I select a video from a gallery like view a menu comes, from which I can choose edit video ... and from there a new view/window should open that loads the video into it I hope that makes it a bit clearer :) On Thu, Jul 22, 2010 at 10:10 PM, Justin

Re: [android-beginners] How to open a new Activity in a new window (calling a new activity)?

2010-07-22 Thread Justin Anderson
And why would you not use an Intent and create a new activity for this? From what you are describing I see no reason why you wouldn't want to do it this way. -- There are only 10 types of people in the world... Those who know

[android-beginners] Re: SharedPreferences editor commit() returning false

2010-07-22 Thread Bret Foreman
I uninstalled and reinstalled the app. The code now looks like this. commit() is returning true but contains() is returning false and getInt() is returning someOtherInt. Any ideas? SharedPreferences myPrefs = PreferenceManager.getDefaultPreferences(); myPrefs.edit().putInt(Some_String,someInt);

Re: [android-beginners] How to open a new Activity in a new window (calling a new activity)?

2010-07-22 Thread Victoria Busse
Then this must have been a misunderstanding I thought intents were only for calling already existing apps of the phone and not my own created ones.. :)) And if I now understand it correctly if I click on the button I can simply call the intent from the java file I created to open the new view?!?!

[android-beginners] Re: chat software

2010-07-22 Thread Bret Foreman
It depends on what database you are using on the server. If it's Oracle, then you could use Oracle's Java JDBC library. This library allows you to communicate securely over the internet with an Oracle database just by knowing the IP address of the DB listner and login credentials for the account.

Re: [android-beginners] Re: chat software

2010-07-22 Thread Emmen Farooq
no its excel, thanks for replying though , the dabase is in microsoft Excel , On Fri, Jul 23, 2010 at 2:49 AM, Bret Foreman bret.fore...@gmail.com wrote: It depends on what database you are using on the server. If it's Oracle, then you could use Oracle's Java JDBC library. This library allows

[android-beginners] Re: chat software

2010-07-22 Thread Bret Foreman
Take a look at QuickBase. You can import your excel data into it and it's hosted online by Intuit so you will never lose data. That will make it much easier to manage the data and they have a good REST interface. -- You received this message because you are subscribed to the Google Groups

Re: [android-beginners] Re: chat software

2010-07-22 Thread Emmen Farooq
sure thanks indeed On Fri, Jul 23, 2010 at 2:55 AM, Bret Foreman bret.fore...@gmail.com wrote: Take a look at QuickBase. You can import your excel data into it and it's hosted online by Intuit so you will never lose data. That will make it much easier to manage the data and they have a good

Re: [android-beginners] How to open a new Activity in a new window (calling a new activity)?

2010-07-22 Thread Justin Anderson
Yes... Intents can be used for your own Activities. You do need to make sure that you have the activity you are trying to call in your manifest file though. -- There are only 10 types of people in the world... Those who know

Re: [android-beginners] Re: SharedPreferences editor commit() returning false

2010-07-22 Thread TreKing
On Thu, Jul 22, 2010 at 4:20 PM, Bret Foreman bret.fore...@gmail.comwrote: Any ideas? As Justin just pointed out, save the Editor object in a variable and use that througout. According to the docs for edit(): Create a new Editor for these preferences, keyword being new. In essence you're

Re: [android-beginners] Re: null intent returned in onActivityResult

2010-07-22 Thread Mark Murphy
On Wed, Jul 21, 2010 at 11:27 PM, Bret Foreman bret.fore...@gmail.com wrote: Mark, you scored again. That worked perfectly. Great! I owe you lunch. That's not necessary, but I appreciate the sentiment! Do you sit in the Bay Area? Whenever I can. Standing all the time makes my feet hurt.

Re: [android-beginners] How to open a new Activity in a new window (calling a new activity)?

2010-07-22 Thread Victoria Busse
Alright, thanks, I'll try that now :) On Thu, Jul 22, 2010 at 11:09 PM, Justin Anderson janderson@gmail.comwrote: Yes... Intents can be used for your own Activities. You do need to make sure that you have the activity you are trying to call in your manifest file though.

[android-beginners] Re: SharedPreferences editor commit() returning false

2010-07-22 Thread Bret Foreman
That did it! I was using two different editor objects. I thought it was static but I see that would never work for concurrent access. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow

[android-beginners] Re: Notification.FLAG_NO_CLEAR not working as expected

2010-07-22 Thread Bret Foreman
That did it. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to

[android-beginners] Re: GPS satellite icon

2010-07-22 Thread Bret Foreman
I finally got around to implementing this hack and it works great. The GPS is on for a few hundred milliseconds out of 10 minutes in my application, which means no significant GPS power used. -- You received this message because you are subscribed to the Google Groups Android Beginners group.