Re: [android-beginners] How to configure proxy settings on my Droid with Android 1.6 ?? plz help
Thanks anderson for responding. Apologies for posting a vague question. My issue is like a very common one .. There is no option to set up proxy settings on droid. I have searched and there a like hundreds of post with the same issue. I wanted to know if there has been a kind of hack available by which i can use wifi internet in my university behind a proxy. Not just on browser but also with applications. Thanks in advance. regards, wahib On Wed, Aug 4, 2010 at 1:19 AM, Justin Anderson wrote: > And even if that isn't the case and your problem lies with something else, > your question is way to vague to expect to get any help whatsoever... > > > -- > There are only 10 types of people in the world... > Those who know binary and those who don't. > -- > > > On Tue, Aug 3, 2010 at 2:18 PM, Justin Anderson > wrote: > >> *> I am unable to use internet in university network due to proxy issue* >> Meaning you need to set up proxy settings in order to connect to the >> internet at your university? If that is the case you need to contact the >> university's IT department... only they will be able to give you the >> settings you need. >> >> >> -- >> There are only 10 types of people in the world... >> Those who know binary and those who don't. >> -- >> >> >> >> On Tue, Aug 3, 2010 at 2:10 PM, wahib wrote: >> >>> hey experts, >>> >>> I have this issue with my droid phone running 1.6 OS. I am unable to >>> use internet in university network due to proxy issue. I cant find out >>> a way to setup proxy settings :S I cant even use applications which >>> require internet access .. so need to get it resolved. plz help me >>> out. >>> >>> >>> regards, >>> >>> wahib >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Android Beginners" group. >>> >>> ATTENTION: Android-Beginners will be permanently disabled on August 9 >>> 2010. For more information about this change, please read [ >>> http://goo.gl/xkfl] or visit the Group home page. >>> >>> 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+unsubscr...@googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/group/android-beginners?hl=en >>> >> >> > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > ATTENTION: Android-Beginners will be permanently disabled on August 9 2010. > For more information about this change, please read [http://goo.gl/xkfl] > or visit the Group home page. > > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner NUST-SEECS Open Mobile Squad ( Android Dev Team ) Software Internee @ Cogilent Solutions Blog: www.livetechpro.com web: http://www.google.com/profiles/wahib.tech follow me on twitter @wahibhaq -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. ATTENTION: Android-Beginners will be permanently disabled on August 9 2010. For more information about this change, please read [http://goo.gl/xkfl] or visit the Group home page. 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] How to configure proxy settings on my Droid with Android 1.6 ?? plz help
hey experts, I have this issue with my droid phone running 1.6 OS. I am unable to use internet in university network due to proxy issue. I cant find out a way to setup proxy settings :S I cant even use applications which require internet access .. so need to get it resolved. plz help me out. regards, wahib -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. ATTENTION: Android-Beginners will be permanently disabled on August 9 2010. For more information about this change, please read [http://goo.gl/xkfl] or visit the Group home page. 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] How to Access voice call stream in real time
hey Pete, i would just wanna add that if there are voice recording apps then it means we can receive the audio stream from API's. wahib On Tue, Jul 20, 2010 at 9:00 PM, peter f miller wrote: > On Mon, Jul 19, 2010 at 10:53 PM, zain mustafa wrote: > > I know it is possible to catch the voice stream of a call and edit it > > in real time because of the existence of call spoofing applications on > > android phones. I need to know how i can access the real time stream > > of a voice call that i may edit it and then send the edited voice > > stream through the modem. Any help would be greatly apprecia > > I'm pretty sure you can't access the call audio from the Android > API's. Are you sure the voice spoofing apps don't work by calling a > third party number where the audio manipulation is done? > > Pete > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner NUST-SEECS Open Mobile Squad ( Android Dev Team ) Software Internee @ Cogilent Solutions Blog: www.livetechpro.com web: http://www.google.com/profiles/wahib.tech follow me on twitter @wahibhaq -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] share stuff to social networks
You can implement integration of social media using their respective API's for example fbconnect for facebook and many twitter api's are available too. So you can create your custom dialog with links to these social medias. regards, wahib On Fri, May 28, 2010 at 1:33 PM, manigault wrote: > Hi all, > When you go to gallery and hit menu there is share button. The > interesting about it is that it gives you choice to share your picture > over some social networks but only for those that you have installed a > client on the device. The same widget/dialog is used in other > application for example contacts, so my question is how can i show > such dialog/widget in my app. Is there some build in functionality > that i can use ? Thanks in advance. > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner NUST-SEECS Open Mobile Squad ( Android Dev Team ) Software Internee @ Cogilent Solutions Blog: www.livetechpro.com web: http://www.google.com/profiles/wahib.tech follow me on twitter @wahibhaq -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Get data to android app from mysql server
hey fabian. I am also a newbie but i have tried this thing previously. I retrieved data from mysql database and displayed it in my android application. I used simple http post to a php file which queried the data and returned results based on it and i received those results and displayed it. This link can be helpful --> http://www.anddev.org/doing_http_post_with_android-t492.html This link also uses php on the server side but you can use any language and post data back. regards, wahib On 5/24/10, Fabian wrote: > Hi > > i have an mysql database with some sports results in it. I want to > write an android application to display these data on mobile phones. > > I´ve searched on the internet for this issue and i think it is not > possible to have a direct connection between the mysql database and > the android application. (Is this right?) > > So my question is the following: How can i have access in the android > application to the mysql database in order to display some of the > data? > > Thank you for your answers! > > Fabian > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner NUST-SEECS Open Mobile Squad ( Android Dev Team ) Software Internee @ Cogilent Solutions Blog: www.livetechpro.com follow me on twitter @wahibhaq -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Getting one form data on anather form
I myself is a newbie so if someone has better sugesstion than do share it. I would love to increase my knowledge. regards, wahib On Thu, Apr 22, 2010 at 8:46 AM, wahib haq wrote: > Salam dear. > > You can take the data from one form to other by passing bundles with > intents. You can take data from 1st form and receive in 2nd. Then take 1st > data + 2nd data to 3rd form and then send subsequent responses back. > > This tutorial will surely help you out. > > http://www.remwebdevelopment.com/dev/a33/Passing-Bundles-Around-Activities.html > > best of luck. > > wahib > > > > > On Thu, Apr 22, 2010 at 8:30 AM, Mohammad Siddiqui < > siddiqui.m...@gmail.com> wrote: > >> Hi everyone, >> >> i have therre consecutive form ,after filling the form one i press the >> next button on the first form to go >> to the second form then prees the next button to go to the third >> form.from third form i have a button to >> post the data on a specific url.the problem is that how can get the >> first and second form data on the >> last form >> >> >> -- >> 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+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-beginners?hl=en >> > > > > -- > Wahib-ul-haq > > 3rd year Communications Engineering Student, > NUST, Pakistan. > Microsoft Student Partner > follow me on twitter @wahibhaq > > > > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner follow me on twitter @wahibhaq -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Getting one form data on anather form
Salam dear. You can take the data from one form to other by passing bundles with intents. You can take data from 1st form and receive in 2nd. Then take 1st data + 2nd data to 3rd form and then send subsequent responses back. This tutorial will surely help you out. http://www.remwebdevelopment.com/dev/a33/Passing-Bundles-Around-Activities.html best of luck. wahib On Thu, Apr 22, 2010 at 8:30 AM, Mohammad Siddiqui wrote: > Hi everyone, > > i have therre consecutive form ,after filling the form one i press the > next button on the first form to go > to the second form then prees the next button to go to the third > form.from third form i have a button to > post the data on a specific url.the problem is that how can get the > first and second form data on the > last form > > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner follow me on twitter @wahibhaq -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Android Development Phones
I would sincerely suggest to prefer a phone on emulator. Emulator has serious limitations and make one stuck at a very bad state. Thought i am a newbie but i have experienced it in these 4 months and now we are trying to get a cheap used phone for testing. regards, wahib On Wed, Apr 21, 2010 at 7:14 PM, Mark Murphy wrote: > Ubuntu Explorer wrote: > > I want to purchase an Android developer phone. It seems to be bit pricey > > at $399 (including international shipping). Is it an absolute necessity > > for testing applications before uploading to market? > > The ADP1 and ADP2 are for people building replacement firmware. For > ordinary Android application development, any phone that has the Android > Market on it will do. > > > Also, I wonder what the device provides that the emulator does not. > > It makes phone calls! :-) > > > I would imagine the answer to the above depends on what features of > > Android I wish to use in my app. However, I would like to know the > > extent of device emulation provided by the emulator. > > > > Does it support accelerometer, camera, maps and other sensors? > > Accelerometer, camera, sensors: not in any meaningful fashion. > > Maps: yes. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://twitter.com/commonsguy > > Android Online Training: 10-14 May 2010: http://onlc.com > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner follow me on twitter @wahibhaq -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Unable to set up email application on emulator for android 1.6
hi experts !! I am unable to configure email application correctly on emulator as i have to use the built-in email app for sending emails using intent. I am using 1.6 version. I followed this tutorial http://blog.brightpointuk.co.uk/setting-pop-imap-email-account-android-1x but when ever i try to click next after entering port details it gives me error of "unable to connect to server". i even tried with k-9 email application and the problem is same. I am using my university access which is under a proxy. But i have configured thunderbird successfully. I am trying to setup with gmail account first . kindly help me out. It might be the issue with emulator. And also i launch my emulator giving the proxy with using -http-proxy hope to see a positive response. regards, wahib -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
Re: [android-beginners] JavaScript problem in webview
are you making a http get/post request ??? regards, wahib On 4/12/10, brijesh masrani wrote: > Hello, > > I have a JavaScript function which returns a value and i want to use that > value in my Android program. > Can anyone please tell me how to do that. > > Regards, > Brijesh Masrani > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > > To unsubscribe, reply using "remove me" as the subject. > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner follow me on twitter @wahibhaq -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] is there any1 who has implemented facebook integration with android app by any means ??? plz help
hi dear !! yes justin, you are right. I am trying my best on my end and being a student and doing a part time job its tough to give sufficient time to my passion. Thus its not wrong to seek for help but i dnt depend on any1. I know i'll get to the solution very soon but a helping hand can just make my life a little easier :) On 4/12/10, Justin Anderson wrote: > This has got to be about the 10th time you have asked this exact same > question... If you haven't gotten an answer yet you probably aren't going to > get one. > > > -- > There are only 10 types of people in the world... > Those who know binary and those who don't. > ------ > > > On Sun, Apr 11, 2010 at 5:13 PM, wahib wrote: > >> >> Hello experts !! >> >> I am stuck up with this issue for past 15 days and unable to do >> anything abt it. Being a beginner its tough to get to few solutions >> quickly. I want to add login authentication functionality in my app so >> that user can log-in with facebook account. >> >> I tried with fbconnect api but when i executed it in emulator. as i >> try to connect to facebook i only see a black white screen :S Then i >> found out this code at >> http://forum.developers.facebook.com/viewtopic.php?pid=146956 >> and tried it. It worked in a way that it displays login screen of >> facebook but takes me to facebook application. I am stuck here how to >> receive callback and take control to next activity in my >> application :S >> >> so if any1 has any idea how i will do it. plz plz help me out !! >> >> regards, >> >> wahib >> >> -- >> 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+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-beginners?hl=en >> >> To unsubscribe, reply using "remove me" as the subject. >> > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner follow me on twitter @wahibhaq -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] is there any1 who has implemented facebook integration with android app by any means ??? plz help
Hello experts !! I am stuck up with this issue for past 15 days and unable to do anything abt it. Being a beginner its tough to get to few solutions quickly. I want to add login authentication functionality in my app so that user can log-in with facebook account. I tried with fbconnect api but when i executed it in emulator. as i try to connect to facebook i only see a black white screen :S Then i found out this code at http://forum.developers.facebook.com/viewtopic.php?pid=146956 and tried it. It worked in a way that it displays login screen of facebook but takes me to facebook application. I am stuck here how to receive callback and take control to next activity in my application :S so if any1 has any idea how i will do it. plz plz help me out !! regards, wahib -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
Re: [android-beginners] Real beginner stuff
hi ! This might be helpful for u --> http://developer.android.com/guide/developing/device.html On 4/6/10, wahib haq wrote: > hey alan, > > I dont thing there is any user's forum. People do ask questions here > regarding phone usage issues and features. I dont have 1 yet so nvr > asked one :) well i searched for reviews on samsung galaxy S and on > this -> > http://twittown.com/mobile/android/android-blog/samsung-builds-killer-android-smartphone-samsung-galaxy-s > > its clearly written that phone comes up with android 2.1 OS which is > the latest version. If firmware version shows 2.1 then it must be the > OS version. and yeah its linux version and in the build option as u > mentioned, word eclair is version name for android 2.0 sdk. sm1 else > must comment & explain. > > Have a nice time with ur android !! :) > > regards, > wahib > > On 4/6/10, Alan Gauld wrote: >> Just got my Android phone today. >> I have several questions but this looks like primarily a programmers >> forum? >> If so I'll have some questions later, I downloaded the SDK and Eclipse >> ADT yesterday... :-) >> >> But first, where do I find a users forum? >> >> Specifically I have read in a review that my Samsung Galaxy Portal >> (GT15700) >> is stuck on Android 1.5 - is that true - how can I check the Android >> version? >> I looked in the settings for the phone and it mentions: >> >> firmware version - 2.1 update 1 - is this the android version? >> kernel - 2.6.29 - I assume this relates to the Linux kernel version? >> build - ECLAIRXXJCD - no idea what this signifies! >> >> Hope you can help, >> >> -- >> Alan Gauld >> Author of the Learn to Program web site >> http://www.alan-g.me.uk/ >> >> >> >> >> -- >> 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+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-beginners?hl=en >> >> To unsubscribe, reply using "remove me" as the subject. >> > > > -- > Wahib-ul-haq > > 3rd year Communications Engineering Student, > NUST, Pakistan. > Microsoft Student Partner > follow me on twitter @wahibhaq > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner follow me on twitter @wahibhaq -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Real beginner stuff
hey alan, I dont thing there is any user's forum. People do ask questions here regarding phone usage issues and features. I dont have 1 yet so nvr asked one :) well i searched for reviews on samsung galaxy S and on this -> http://twittown.com/mobile/android/android-blog/samsung-builds-killer-android-smartphone-samsung-galaxy-s its clearly written that phone comes up with android 2.1 OS which is the latest version. If firmware version shows 2.1 then it must be the OS version. and yeah its linux version and in the build option as u mentioned, word eclair is version name for android 2.0 sdk. sm1 else must comment & explain. Have a nice time with ur android !! :) regards, wahib On 4/6/10, Alan Gauld wrote: > Just got my Android phone today. > I have several questions but this looks like primarily a programmers forum? > If so I'll have some questions later, I downloaded the SDK and Eclipse > ADT yesterday... :-) > > But first, where do I find a users forum? > > Specifically I have read in a review that my Samsung Galaxy Portal > (GT15700) > is stuck on Android 1.5 - is that true - how can I check the Android > version? > I looked in the settings for the phone and it mentions: > > firmware version - 2.1 update 1 - is this the android version? > kernel - 2.6.29 - I assume this relates to the Linux kernel version? > build - ECLAIRXXJCD - no idea what this signifies! > > Hope you can help, > > -- > Alan Gauld > Author of the Learn to Program web site > http://www.alan-g.me.uk/ > > > > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > > To unsubscribe, reply using "remove me" as the subject. > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner follow me on twitter @wahibhaq -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Kindly help me understanding the sample code used for integration of facebook api with android
ttings; Context ctx; public FConnect(Context context) { ctx = context; settings = context.getSharedPreferences(PREF_NAME, 0); } //Getting the GET information after logging-in Facebook Connect //Creating session_key, uid, expires, secret, sig on the shared parameters public voidcreateSession(String query) throws ClientProtocolException { String[]subQuery = query.split(","); SharedPreferences.Editor editor = settings.edit(); if (subQuery.length != 5) throw new ClientProtocolException("Cannot generate session, only "+subQuery.length+" values"); for (int i = 0; i < subQuery.length; i++) { String[]values= subQuery[i].split(":"); for (int j = 0; j < 2; j++) { values[j] = values[j].replace('"', ' '); values[j] = values[j].trim(); } editor.putString(values[0], values[1]); } editor.commit(); } //Login off the user public voidkillSession() { SharedPreferences.Editor editor = settings.edit(); for (int i = 0; i < PREF_VALUES.length; i++) editor.remove(PREF_VALUES[i]); editor.commit(); } //Does the Session's still valid? public boolean isSession() throws ClientProtocolException, IOException, NoSuchAlgorithmException { if (getSetting("session_key") != "") { StringBuilder params = new StringBuilder(); params.append("api_key=" + API_KEY); params.append("&call_id=" + System.currentTimeMillis()); params.append("&format=" + format); params.append("&method=Users.isAppUser"); params.append("&session_key=" + getSetting("session_key")); params.append("&v=" + v); params.append("&sig=" + getSig(params, SECRET)); String result = postRequest(params.toString()); return Boolean.parseBoolean(result); } return (false); } //Get the uids //Return a list of users's informations, usable with users.get(#).picUrl for example public List getUserInfo(String uids) throws ClientProtocolException, IOException, NoSuchAlgorithmException, JSONException { String fields = "name, pic"; StringBuilder params = new StringBuilder(); params.append("api_key=" + API_KEY); params.append("&call_id=" + System.currentTimeMillis()); params.append("&fields=" + fields); params.append("&format=" + format); params.append("&method=Users.getInfo"); params.append("&session_key=" + getSetting("session_key")); params.append("&uids=" + uids); params.append("&v=" + v); params.append("&sig=" + getSig(params, SECRET)); String result = postRequest(params.toString()); JSONArray users = new JSONArray(result); List r = new ArrayList(); for (int i = 0; i < users.length(); i++) { JSONObject u = users.getJSONObject(i); User user = new User(); user.name = u.getString("name"); user.picUrl = u.getString("pic"); r.add(user); } return r; } private String getSig(StringBuilder params, String s) throws NoSuchAlgorithmException, UnsupportedEncodingException { return SimpleMD5.MD5(params.toString().replaceAll("&", "") + s); } private String postRequest(String params) throws ClientProtocolException, IOException { HttpClient client = new DefaultHttpClient(); HttpPost post = new HttpPost(server); post.setHeader(HTTP.CONTENT_TYPE, "application/x-www-form- urlencoded"); post.setEntity(new StringEntity(params)); HttpResponse response = client.execute(post); if (response.getStatusLine().getStatusCode() == 200) { return EntityUtils.toString(response.getEntity()); } throw new IOException(response.getStatusLine().getReasonPhrase()); } } 4°) Creating a SimpleMD5 Class Code: public class SimpleMD5 { static String convertToHex(byte[] data) { StringBuffer buf = new StringBuffer(); for (int i = 0; i < data.length; i++) { int halfbyte = (data[i] >>> 4) & 0x0F; int two_halfs = 0; do { if ((0 <= halfbyte) && (halfbyte <= 9)) buf.append((char) ('0' + halfbyte)); else
Re: [android-beginners] Re: How can i integrate facebook connect api in any android application?
dear ali thanks for ur response. I'll share my data as well tomorrow as i dont have it rite now. But can you plz mail me your project folder to wahib.t...@gmail.com so that i can test it and see if i need to make any changes. Do instruct me if i need to make any extra changes other than adding keys of facebook application. or i guess the issue is with keys :S thanks in advance, regards, wahib On 4/2/10, Ali Asghar wrote: > i just tested fbconnect and successfully logged in and posted a > comment to my news feed. So im positive it works. if u did use the > code from samples then ull have to share the Mainactivity class code > and ur manifest so that the issue can be resolved. > > On Mar 31, 6:10 pm, wahib haq wrote: >> hello experts !! >> >> I have been searching for help regarding usage of fbconnect api in >> android app for a long time. I posted numerous posts on the group but >> there wasnt any helpful reply. I tried with the code given in >> fbconnect api in downloads section. After entering the facebook >> application keys correctly all i get is a blank white screen as i try >> to connect. this issue was widely posted in the issue section and i >> got no solution to this. >> >> then i found out that there is fbrocket api available to use facebook >> api in more easier way. but the code is not available and no help as >> well. >> >> dear kevin, i have a little experience of using http get/post requests >> so i will be very thankful if you can help me out to get started . I >> intent to add login functionality in my app using facebook account in >> first phase. I'll be truly thankful. >> >> regards, >> wahib >> >> On 3/31/10, Kevin Duffey wrote: >> >> >> >> >> >> > Yah.. that wouldn't make any sense then. Looking at the api.. there is a >> > REST-like api anyone can use. To me, looks like this might be a better >> > avenue of integration than the iPhone ported SDK. >> >> >http://wiki.developers.facebook.com/index.php/API#REST_Interface >> >> > At least it works on all platforms, and is not some sort of SDK built up >> > around it. I will probably go this route over adding extra libraries. I >> > can >> > then use specifically what I want and it's easy enough to formulate >> > GET/POST >> > http requests from Android. >> >> > On Tue, Mar 30, 2010 at 4:45 PM, Justin Anderson >> > wrote: >> >> >> Not all android devices ship with a built-in facebook app. Whoever the >> >> actual developer is of the app would have to expose login information >> >> like >> >> that via intents and intent filters... >> >> >> But that would be counterproductive for the developer of your facebook >> >> app >> >> because he/she wants you to use that specific app. Now, I don't know >> >> for >> >> sure that it is not possible but I would be willing to bet that it >> >> isn't. >> >> >> -- >> >> There are only 10 types of people in the world... >> >> Those who know binary and those who don't. >> >> -- >> >> >> On Tue, Mar 30, 2010 at 5:29 PM, Kevin Duffey >> >> wrote: >> >> >>> So I have a question about this. There is a built in facebook app on >> >>> my >> >>> droid. Maybe it's not on all android devices.. but basically I can't >> >>> remove >> >>> it (that I know of) and I sign in to it. Can't an app access the >> >>> built-in >> >>> facebook to sign in and not have to display some facebook sign in page >> >>> directly to utilize facebook? Is there no way to make use of the >> >>> facebook >> >>> app that comes with Android? >> >> >>> On Tue, Mar 30, 2010 at 3:07 PM, Justin Anderson >> >>> > >>> > wrote: >> >> >>>> Well, what errors are you getting in your manifest file? >> >> >>>> -- >> >>>> There are only 10 types of people in the world... >> >>>> Those who know binary and those who don't. >> >>>> -- >> >> >>>> On Tue, Mar 30, 2010 at 4:09 AM, Ma
Re: [android-beginners] How can i integrate facebook connect api in any android application?
hello experts !! I have been searching for help regarding usage of fbconnect api in android app for a long time. I posted numerous posts on the group but there wasnt any helpful reply. I tried with the code given in fbconnect api in downloads section. After entering the facebook application keys correctly all i get is a blank white screen as i try to connect. this issue was widely posted in the issue section and i got no solution to this. then i found out that there is fbrocket api available to use facebook api in more easier way. but the code is not available and no help as well. dear kevin, i have a little experience of using http get/post requests so i will be very thankful if you can help me out to get started . I intent to add login functionality in my app using facebook account in first phase. I'll be truly thankful. regards, wahib On 3/31/10, Kevin Duffey wrote: > Yah.. that wouldn't make any sense then. Looking at the api.. there is a > REST-like api anyone can use. To me, looks like this might be a better > avenue of integration than the iPhone ported SDK. > > http://wiki.developers.facebook.com/index.php/API#REST_Interface > > At least it works on all platforms, and is not some sort of SDK built up > around it. I will probably go this route over adding extra libraries. I can > then use specifically what I want and it's easy enough to formulate GET/POST > http requests from Android. > > > On Tue, Mar 30, 2010 at 4:45 PM, Justin Anderson > wrote: > >> Not all android devices ship with a built-in facebook app. Whoever the >> actual developer is of the app would have to expose login information like >> that via intents and intent filters... >> >> But that would be counterproductive for the developer of your facebook app >> because he/she wants you to use that specific app. Now, I don't know for >> sure that it is not possible but I would be willing to bet that it isn't. >> >> >> >> -- >> There are only 10 types of people in the world... >> Those who know binary and those who don't. >> -- >> >> >> On Tue, Mar 30, 2010 at 5:29 PM, Kevin Duffey wrote: >> >>> So I have a question about this. There is a built in facebook app on my >>> droid. Maybe it's not on all android devices.. but basically I can't >>> remove >>> it (that I know of) and I sign in to it. Can't an app access the built-in >>> facebook to sign in and not have to display some facebook sign in page >>> directly to utilize facebook? Is there no way to make use of the facebook >>> app that comes with Android? >>> >>> >>> On Tue, Mar 30, 2010 at 3:07 PM, Justin Anderson >> > wrote: >>> >>>> Well, what errors are you getting in your manifest file? >>>> >>>> -- >>>> There are only 10 types of people in the world... >>>> Those who know binary and those who don't. >>>> -- >>>> >>>> >>>> >>>> On Tue, Mar 30, 2010 at 4:09 AM, Maxood wrote: >>>> >>>>> What's the procedure to run Facebook Connect application in android? >>>>> Here is the link:http://code.google.com/p/fbconnect-android/ >>>>> >>>>> Please explain step by step. I'm having errors in my manifest file: >>>>> >>>>> >>>>android:theme="@android:style/ >>>>> Theme.Translucent.NoTitleBar"/> >>>>>>>>> android:name="com.codecarpet.fbconnect.FBPermissionActivity" >>>>>android:theme="@android:style/ >>>>> Theme.Translucent.NoTitleBar"/> >>>>>>>>> android:name="com.codecarpet.fbconnect.FBFeedActivity" >>>>>android:theme="@android:style/ >>>>> Theme.Translucent.NoTitleBar"/> >>>>> >>>>> -- >>>>> 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 >>&g
Re: [android-beginners] Facebook API for Android
hey carmen ! Really thankful for such response as i was searching for same thing for a long time. I need to implement facebook login authentication feature in my app. i tried with fb-connect api but when i execute i only see a blank white screen as i try to connect to facebook. This issue is widely mentioned in the issues section of api. then i came to know about fbrocket api but as the source code is not given i am not able to edit the code to mould it for my use. i just need to use the login part of it for my app. kindly help me out and share any sample code if u have no issues. I'll be very grateful. being a newbie its sometimes tough to follow up things. regards, wahib On 3/22/10, Carmen Delessio wrote: > I do not know of an eclipse plugin. > > There are several libraries mentioned on the facebook wiki: > http://wiki.developers.facebook.com/index.php/User:Android > > - http://me.sylvek.net/index.php?2009/02/11/434-api-facebook-with-android > - http://xeomax.net/fbrocket/ > - http://code.google.com/p/fbconnect-android/ > > I created my own library for "BFF Photo" an app that shows Facebook Photos > and uploads photos and videos. > I am cleaning up the library now and will ultimately release it. > > The main issues seems to be authorization. I originally used Facebook's > simplified Desktop authorization: > http://developers.facebook.com/news.php?blog=1&story=289 > > But I have switched to authorizing mobile apps method: > http://wiki.developers.facebook.com/index.php/Authentication_and_Authorization_for_Facebook_for_Mobile_Applications > > Carmen > -- > Carmen > http://www.twitter.com/CarmenDelessio > http://www.talkingandroid.com > http://www.facebook.com/BFFPhoto > http://www.twitter.com/DroidDrop > > > On Mon, Mar 22, 2010 at 8:34 PM, peaceinmind wrote: > >> Can any one suggest if there is any FB Api for integrating with >> Android? I am looking for Eclipse plugin for facebook api that i could >> use with 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 >> http://stackoverflow.com/questions/tagged/android >> >> To unsubscribe from this group, send email to >> android-beginners+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-beginners?hl=en >> >> To unsubscribe from this group, send email to android-beginners+ >> unsubscribegooglegroups.com or reply to this email with the words "REMOVE >> ME" as the subject. >> > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > > To unsubscribe from this group, send email to > android-beginners+unsubscribegooglegroups.com or reply to this email with > the words "REMOVE ME" as the subject. > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner follow me on twitter @wahibhaq -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-beginners] Still confused with onKeyDown
why do you have to use Keycodes like 29 ? cant you use the keycodes provided by the sdk On 3/21/10, murali raju wrote: > what you did is correct, but the keycodes of android are different. for A it > is 29 not 97. > see this, > > http://developer.android.com/reference/android/view/KeyEvent.html > > > > On Sun, Mar 21, 2010 at 10:13 AM, Mauricio wrote: > >> I understand onKeyDown should give me the key that was pressed, but >> how to do that? I mean, if I do something like >> >> >> public boolean onKeyDown(int keyCode, KeyEvent event) >>{ >>switch (keyCode) >>{ >>case 97 : // Letter A >>DoSomething(); >>break; >>default : >>// Do nothing >>break; >>} >>// Indicate you took care of this event >>return true; >> >>} >> >> Would it detect when I press the letter A on the keyboard? >> >> -- >> 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+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-beginners?hl=en >> >> To unsubscribe from this group, send email to android-beginners+ >> unsubscribegooglegroups.com or reply to this email with the words "REMOVE >> ME" as the subject. >> > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > > To unsubscribe from this group, send email to > android-beginners+unsubscribegooglegroups.com or reply to this email with > the words "REMOVE ME" as the subject. > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner follow me on twitter @wahibhaq -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-beginners] Still confused with onKeyDown
hey mauricio, you can use like this. just add this kind of function in your class. public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_I) { //do something when I is pressed return true; } else if (keyCode == KeyEvent.KEYCODE_O) { //do something when O is pressed return true; } else if (keyCode == KeyEvent.KEYCODE_S) { //do something when S is pressed return true; } else if (keyCode == KeyEvent.KEYCODE_M) { //do something when M is pressed return true; } return false; } best of luck !! :) regards, wahib On 3/21/10, Mauricio wrote: > I understand onKeyDown should give me the key that was pressed, but > how to do that? I mean, if I do something like > > >public boolean onKeyDown(int keyCode, KeyEvent event) > { > switch (keyCode) > { > case 97 : // Letter A > DoSomething(); > break; > default : > // Do nothing > break; > } > // Indicate you took care of this event > return true; > > } > > Would it detect when I press the letter A on the keyboard? > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > > To unsubscribe from this group, send email to > android-beginners+unsubscribegooglegroups.com or reply to this email with > the words "REMOVE ME" as the subject. > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner follow me on twitter @wahibhaq -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-beginners] App for submitting information
hey KE ! I am a newbie but can suggest few things. For taking picture you can use the built-in camera app and call it by intents. secondly if you want to share it on e.g facebook then you need to work on fbconnect api or search for fbrocket and integrate it with your application. I am working on facebook integration as well and having problems :S so if you find anything useful then do share it with me. by the way , this can be useful [http://www.devx.com/SpecialReports/Article/37721/1954] :) best of luck regards, wahib On 3/20/10, KE wrote: > I'm trying to create a basic app where users can submit information > and pictures (preferably taken on the phone, obvs.). > > Are there any suggestions for tutorials? > > Thanks! > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > > To unsubscribe from this group, send email to > android-beginners+unsubscribegooglegroups.com or reply to this email with > the words "REMOVE ME" as the subject. > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner follow me on twitter @wahibhaq -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-beginners] Problems accessing location data in emulator
hey jacobs ! I guess it is sometime a problematic issue. I remember i had same issues when i started working with google maps. well i should recommend you tu give static values using DDMS tool and go to 'location controls' section and give manual decimal values while your emulator is running. If you want to try any code with a sample map view then you need to give sample kml file in the 'KML' section. best of luck ! regards, wahib On 3/20/10, Sven Jacobs wrote: > Hi all, > > I'm trying to access location data in the emulator but always receive null > values :( This is the code: > > final LocationManager locationManager = (LocationManager) getSystemService( > Context.LOCATION_SERVICE ); > > if ( locationManager == null ) { > return; > } > > final Criteria criteria = new Criteria(); > > criteria.setAccuracy( Criteria.ACCURACY_FINE ); > criteria.setBearingRequired( false ); > criteria.setSpeedRequired( false ); > criteria.setAltitudeRequired( false ); > criteria.setPowerRequirement( Criteria.NO_REQUIREMENT ); > > final String provider = locationManager.getBestProvider( criteria, false ); > final Location loc = locationManager.getLastKnownLocation( provider ); > > As described > here<http://developer.android.com/guide/topics/location/index.html> > I've > set a fixed position using the geo command on the telnet console but > getLastKnownLocation() always returns null. My app has the following > permissions set > > ACCESS_MOCK_LOCATION > ACCESS_COARSE_LOCATION > ACCESS_FINE_LOCATION > > Is there anything else that I'm missing? > > Many thanks! > > Regards, > Sven > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > > To unsubscribe from this group, send email to > android-beginners+unsubscribegooglegroups.com or reply to this email with > the words "REMOVE ME" as the subject. > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner follow me on twitter @wahibhaq -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-beginners] Add calendar item through Intent?
hi dear. what app you are trying to make ?? because i am working on a similar idea and searching for same solution. regards, wahib On 3/19/10, Sven Jacobs wrote: > Hi all, > > I'm developing an app that displays a list of events and would like to know > if there's any standard way to add an item to the (Google) calendar, > preferably by sending an Intent? I'm developing for Android 1.5. > > Thanks for any hint! > > Regards, > Sven > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > > To unsubscribe from this group, send email to > android-beginners+unsubscribegooglegroups.com or reply to this email with > the words "REMOVE ME" as the subject. > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner follow me on twitter @wahibhaq -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-beginners] use Facebook in app
yes i need a login id and password. The benefit of fbconnect api is that it does it all on its end. so no need to build screens from our end. the api responses back and we can use the authentication to log in the user. On 3/19/10, Kevin Duffey wrote: > In order to log in to facebook, wouldn't you need a users login name and > password for facebook login? Do you ask for that in your app, save it on > device to use it? > > On Thu, Mar 18, 2010 at 10:00 PM, wahib haq wrote: > >> hello dear ! I am having the same issues for past few days. I posted >> three times on the group but no one replied. its pretty sad for me ... >> and what you have posted about fbrocket is a new thing for me. I'll >> check it out. by the way i tried with fbconnect api >> [http://code.google.com/p/fbconnect-android] but i have tried it on >> all android versions and what i only see is a blank screen when i try >> to connect to facebook. I just need to add login functionality using >> facebook login id and password in my app. >> >> help me if you get any solution to this. Thanks in advance. >> regards, >> wahib >> >> On 3/17/10, Saurabh wrote: >> > Hi I want to use facebook api in android app.I have seen >> > http://www.xeomax.net/fbrocket >> > api but It open as we bpage.But I want a way where I can customize >> > Login Screen,Status Post Screen.but not like a web page. >> > As it found in iPhone. >> > If there is any way Please suggest me >> > >> > -- >> > 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+unsubscr...@googlegroups.com >> > For more options, visit this group at >> > http://groups.google.com/group/android-beginners?hl=en >> > >> > To unsubscribe from this group, send email to >> > android-beginners+unsubscribegooglegroups.com or reply to this email >> with >> > the words "REMOVE ME" as the subject. >> > >> >> >> -- >> Wahib-ul-haq >> >> 3rd year Communications Engineering Student, >> NUST, Pakistan. >> Microsoft Student Partner >> follow me on twitter @wahibhaq >> >> -- >> 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+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-beginners?hl=en >> >> To unsubscribe from this group, send email to android-beginners+ >> unsubscribegooglegroups.com or reply to this email with the words "REMOVE >> ME" as the subject. >> > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > > To unsubscribe from this group, send email to > android-beginners+unsubscribegooglegroups.com or reply to this email with > the words "REMOVE ME" as the subject. > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner follow me on twitter @wahibhaq -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-beginners] use Facebook in app
hello dear ! I am having the same issues for past few days. I posted three times on the group but no one replied. its pretty sad for me ... and what you have posted about fbrocket is a new thing for me. I'll check it out. by the way i tried with fbconnect api [http://code.google.com/p/fbconnect-android] but i have tried it on all android versions and what i only see is a blank screen when i try to connect to facebook. I just need to add login functionality using facebook login id and password in my app. help me if you get any solution to this. Thanks in advance. regards, wahib On 3/17/10, Saurabh wrote: > Hi I want to use facebook api in android app.I have seen > http://www.xeomax.net/fbrocket > api but It open as we bpage.But I want a way where I can customize > Login Screen,Status Post Screen.but not like a web page. > As it found in iPhone. > If there is any way Please suggest me > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > > To unsubscribe from this group, send email to > android-beginners+unsubscribegooglegroups.com or reply to this email with > the words "REMOVE ME" as the subject. > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner follow me on twitter @wahibhaq -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-beginners] how to implement facebook login integration with my android app ???
hello experts ! I have posted this problem twice previously and doing it once again. kinldy help me out if any1 has been successful implementing facebok login facility in its app. I tried with fb- connect api but its not working on my end .. just stuck !! :S regards, wahib -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] anyone got success with integrating facebook login with android app using fbconnect api
hey experts. I want to implement facebook login functionality using fbconnect api and its not working. if any1 had experience with fbconnect api [ http://code.google.com/p/fbconnect-android/ ] for android then kindly help me out. The problem is i tried to run the sample project given in its downloads. even after inserting the api key and secret key of facebook app, when i try to connect to facebook i only see a blank white screen. dnt know whats the issue is :S thanks in advance regards, wahib -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Plz help me with integrating facebook authentication functionality with android app
i tried to install a free app Pombook which shares photos on facebook. When i tried to connect to facebook the same issue occurs & the login screen is not displayed. all i get is a white blank screen instead of login id and password. I guess there is some issue with emulator settings or anything else. I can use internet on emulator so no internet issue. so still stuck !! :( regards, wahib -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Plz help me with integrating facebook authentication functionality with android app
dear experts !! i am trying to implement facebook account authenticating in my app though its in dev phase. I downloaded the fbconnect api and tried to run it but all i get is a blank white screen when i try to connect to facebook. I also created a sample application and added its secret and api key into the code. I can expect many ppl have already done it so kindly help me out if i need to do anything else with the api code as there are many bugs which i found reviewing the issues section of the project. if someone's code working then kindly share with me i'll truly be very thankful to him. Regards, wahib -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Hello Everyone
hey newbie .. go to android.com !! :) On 3/8/10, Justin Anderson wrote: > Please post a specific question about android development and we will... > > -- > There are only 10 types of people in the world... > Those who know binary and those who don't. > -- > > > On Wed, Mar 3, 2010 at 9:03 PM, Arpribo wrote: > >> Hello Everyone... >> >> i am newbie in android developer >> >> please help me to learn android programming >> >> thanks >> >> -- >> 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+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-beginners?hl=en >> > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner follow me on twitter @wahibhaq -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] DefaultHttpClient problem sending Http request
hey dear , i just get my hands on wid sending and receiving httprequest thing. it works in my case but i am not sending more than one request at a time. concerning your issue...i guess its GPRS problem and packet are lost during transmission. IOException shud occur when there is error while sending but if no error it wont give an exception. I am also a newbie and wait for some experts to comment on ur issue. Best of Luck wid it :) Regards, wahib On 3/7/10, wonglik wrote: > Hi Everybody > > I have some problem and I am not sure if I understand it correctly and > I would appreciate your advice. > > My target is to send http request after receiving notification. > Request contains HttpPost followed with 302 get redirect. Everything > works fine most of the time but sometimes the request is just not > sent. Sometimes its just the first post is not send and sometimes the > redirects. I see at server logs that they were not sent but > application itself do not crash , throw an exception nothing . Just > like freeze in the line of sending request. I have noticed it only on > GPRS connection so my guess would be it can be caused by client > timeout but on the other hand I try catch IOException so I guess it > should cover this case. > > Any ideas? > > > regards > m > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner follow me on twitter @wahibhaq -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] can any1 help me ... how to upgrade G1 android version from 1.0 to 1.6 ?
Hey kenn, thats truly a very useful link. i'll surely try it out and can make my friend happy :) regards, wahib On 3/7/10, Kenn Lisudza wrote: > Hi Wahib, > > Check out this site. its got all you'll need to do your upgrade. > > http://developer.htc.com/adp.html > > > > On Sun, Mar 7, 2010 at 12:21 PM, wahib wrote: > >> hey experts !! >> >> I havent used androidphones yet though i am in for learning >> development for few months. well issue is that i have been asked by a >> friend to upgrade his G1 OS from 1.0 to 1.6. so many of you guys have >> done it .. kindly help me out with few basic tips and steps on how to >> do it or share any relevant resources. This will be my first time >> handling android phone :) ... my all previous life was wid emulator :S >> >> thanks in advance. >> >> regards, >> wahib >> >> -- >> 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+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-beginners?hl=en >> > > > > -- > Kenn Lisudza > Systems Developer > Cellulant Kenya LTD. > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner follow me on twitter @wahibhaq -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] can any1 help me ... how to upgrade G1 android version from 1.0 to 1.6 ?
hey experts !! I havent used androidphones yet though i am in for learning development for few months. well issue is that i have been asked by a friend to upgrade his G1 OS from 1.0 to 1.6. so many of you guys have done it .. kindly help me out with few basic tips and steps on how to do it or share any relevant resources. This will be my first time handling android phone :) ... my all previous life was wid emulator :S thanks in advance. regards, wahib -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Re: IllegalArgumentException occurs when passing url to post data ... plz help
hello ev1. its solved by Url.encode() function. thanks to all !! On 3/3/10, Walt Armour wrote: > Look at Uri.encode() or Uri.parse() > > http://developer.android.com/intl/de/reference/android/net/Uri.html > > > On Tue, Mar 2, 2010 at 22:54, Javadid wrote: > >> hi Wahib, >> >> What you can do is replace the character with some valid >> character like <%20> or "_"... I also faced the same problem... Wat i >> did was use this kindof did my job... But >> your case mayb different.. you can try replacing the " " character >> with "%20" coz spaces aren't valid url parameters... Hope this solves >> ur problem... >> >> On Mar 3, 9:46 am, wahib wrote: >> > hi experts !! >> > >> > I am stuck with this issue. I am trying to send a string to a url >> > which is like >> http://10.3.12.165/android/geteventlist.php?event_search_string=> > by user in a edittext> >> > >> > it works fine if user enters a string without spaces. But as user >> > enters a string with spaces this error is posted in the logcat. >> > >> > java.lang.IllegalArgumentException: Illegal character in query at >> > index 71: >> http://10.3.12.165/android/geteventlist.php?event_search_string=Concert >> > at LUMS >> > E/AndroidRuntime( 271):at >> > org.apache.http.client.methods.HttpGet.(HttpGet.java:75) >> > E/AndroidRuntime( 271):at >> > com.eventify.app1.listevents.geteventlist_fromDB(listevents.java:121) >> > E/AndroidRuntime( 271):at com.eventify.app1.listevents >> > $1.onClick(listevents.java:55) >> > E/AndroidRuntime( 271):at >> > android.view.View.performClick(View.java: >> > 2344) >> > E/AndroidRuntime( 271):at >> > android.view.View.onTouchEvent(View.java: >> > 4133) >> > E/AndroidRuntime( 271):at >> > android.view.View.dispatchTouchEvent(View.java:3672) >> > E/AndroidRuntime( 271):at >> > android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882) >> > E/AndroidRuntime( 271):at >> > android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882) >> > E/AndroidRuntime( 271):at >> > android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882) >> > E/AndroidRuntime( 271):at >> > android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882) >> > E/AndroidRuntime( 271):at >> > com.android.internal.policy.impl.PhoneWindow >> > $DecorView.superDispatchTouchEvent(PhoneWindow.java:1712) >> > E/AndroidRuntime( 271):at >> > >> com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java: >> > 1202) >> > E/AndroidRuntime( 271):at >> > android.app.Activity.dispatchTouchEvent(Activity.java:1987) >> > E/AndroidRuntime( 271):at >> > com.android.internal.policy.impl.PhoneWindow >> > $DecorView.dispatchTouchEvent(PhoneWindow.java:1696) >> > E/AndroidRuntime( 271):at >> > android.view.ViewRoot.handleMessage(ViewRoot.java:1658) >> > E/AndroidRuntime( 271):at >> > android.os.Handler.dispatchMessage(Handler.java:99) >> > E/AndroidRuntime( 271):at android.os.Looper.loop(Looper.java: >> > 123) >> > E/AndroidRuntime( 271):at >> > android.app.ActivityThread.main(ActivityThread.java:4203) >> > E/AndroidRuntime( 271):at >> > java.lang.reflect.Method.invokeNative(Native Method) >> > E/AndroidRuntime( 271):at >> > java.lang.reflect.Method.invoke(Method.java:521) >> > E/AndroidRuntime( 271):at com.android.internal.os.ZygoteInit >> > $MethodAndArgsCaller.run(ZygoteInit.java:791) >> > E/AndroidRuntime( 271):at >> > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549) >> > E/AndroidRuntime( 271):at >> > dalvik.system.NativeStart.main(Native >> > Method) >> > >> > how would i convert the string to a format when it gives no exception. >> > The problem is that i have to pass this complete url string with >> > variable to HttpGet object like... >> > HttpGet request = new HttpGet(url); ///url is of type String >> > >> > so i have to pass it as a string type only. kindly help me out. >> > >> > Regards, >> > wahib >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android B
[android-beginners] IllegalArgumentException occurs when passing url to post data ... plz help
hi experts !! I am stuck with this issue. I am trying to send a string to a url which is like http://10.3.12.165/android/geteventlist.php?event_search_string= it works fine if user enters a string without spaces. But as user enters a string with spaces this error is posted in the logcat. java.lang.IllegalArgumentException: Illegal character in query at index 71: http://10.3.12.165/android/geteventlist.php?event_search_string=Concert at LUMS E/AndroidRuntime( 271):at org.apache.http.client.methods.HttpGet.(HttpGet.java:75) E/AndroidRuntime( 271):at com.eventify.app1.listevents.geteventlist_fromDB(listevents.java:121) E/AndroidRuntime( 271):at com.eventify.app1.listevents $1.onClick(listevents.java:55) E/AndroidRuntime( 271):at android.view.View.performClick(View.java: 2344) E/AndroidRuntime( 271):at android.view.View.onTouchEvent(View.java: 4133) E/AndroidRuntime( 271):at android.view.View.dispatchTouchEvent(View.java:3672) E/AndroidRuntime( 271):at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882) E/AndroidRuntime( 271):at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882) E/AndroidRuntime( 271):at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882) E/AndroidRuntime( 271):at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882) E/AndroidRuntime( 271):at com.android.internal.policy.impl.PhoneWindow $DecorView.superDispatchTouchEvent(PhoneWindow.java:1712) E/AndroidRuntime( 271):at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java: 1202) E/AndroidRuntime( 271):at android.app.Activity.dispatchTouchEvent(Activity.java:1987) E/AndroidRuntime( 271):at com.android.internal.policy.impl.PhoneWindow $DecorView.dispatchTouchEvent(PhoneWindow.java:1696) E/AndroidRuntime( 271):at android.view.ViewRoot.handleMessage(ViewRoot.java:1658) E/AndroidRuntime( 271):at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 271):at android.os.Looper.loop(Looper.java: 123) E/AndroidRuntime( 271):at android.app.ActivityThread.main(ActivityThread.java:4203) E/AndroidRuntime( 271):at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 271):at java.lang.reflect.Method.invoke(Method.java:521) E/AndroidRuntime( 271):at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:791) E/AndroidRuntime( 271):at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549) E/AndroidRuntime( 271):at dalvik.system.NativeStart.main(Native Method) how would i convert the string to a format when it gives no exception. The problem is that i have to pass this complete url string with variable to HttpGet object like... HttpGet request = new HttpGet(url); ///url is of type String so i have to pass it as a string type only. kindly help me out. Regards, wahib -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] java.lang.IllegalArgumentException: Illegal character in query when using posting data to a url
hi experts !! I am stuck with this issue. I am trying to send a string to a url which is like http://10.3.12.165/android/geteventlist.php?event_search_string= it works fine if user enters a string without spaces. But as user enters a string with spaces this error is posted in the logcat. java.lang.IllegalArgumentException: Illegal character in query at index 71: http://10.3.12.165/android/geteventlist.php?event_search_string=Concert at LUMS E/AndroidRuntime( 271):at org.apache.http.client.methods.HttpGet.(HttpGet.java:75) E/AndroidRuntime( 271):at com.eventify.app1.listevents.geteventlist_fromDB(listevents.java:121) E/AndroidRuntime( 271):at com.eventify.app1.listevents $1.onClick(listevents.java:55) E/AndroidRuntime( 271):at android.view.View.performClick(View.java: 2344) E/AndroidRuntime( 271):at android.view.View.onTouchEvent(View.java: 4133) E/AndroidRuntime( 271):at android.view.View.dispatchTouchEvent(View.java:3672) E/AndroidRuntime( 271):at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882) E/AndroidRuntime( 271):at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882) E/AndroidRuntime( 271):at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882) E/AndroidRuntime( 271):at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882) E/AndroidRuntime( 271):at com.android.internal.policy.impl.PhoneWindow $DecorView.superDispatchTouchEvent(PhoneWindow.java:1712) E/AndroidRuntime( 271):at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java: 1202) E/AndroidRuntime( 271):at android.app.Activity.dispatchTouchEvent(Activity.java:1987) E/AndroidRuntime( 271):at com.android.internal.policy.impl.PhoneWindow $DecorView.dispatchTouchEvent(PhoneWindow.java:1696) E/AndroidRuntime( 271):at android.view.ViewRoot.handleMessage(ViewRoot.java:1658) E/AndroidRuntime( 271):at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 271):at android.os.Looper.loop(Looper.java:123) E/AndroidRuntime( 271):at android.app.ActivityThread.main(ActivityThread.java:4203) E/AndroidRuntime( 271):at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 271):at java.lang.reflect.Method.invoke(Method.java:521) E/AndroidRuntime( 271):at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:791) E/AndroidRuntime( 271):at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549) E/AndroidRuntime( 271):at dalvik.system.NativeStart.main(Native Method) how would i convert the string to a format when it gives no exception. The problem is that i have to pass this complete url string with variable to HttpGet object like... HttpGet request = new HttpGet(url); ///url is of type String so i have to pass it as a string type only. kindly help me out. Regards, wahib -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Re: cant workout why a NullPointerException occuring !! :0
hey kitzy ! Thanks for ur response. Line 62 is hello.parametrosHttp("http://10.3.12.165/android/test1.php";, vars); this is where i am calling the class function parametrosHttp() from my activity.java file. I guess this is where the exception is occuring. I have created the instance of the class as a public data member. does it has to do something with constructor of class i am integrating or is it some coding problem. I havent included the constructor in the new class as i was not clear how to initialize its data members which are ... private CookieStore cookies; private boolean isAuthenticated; private ArrayList pairs; private DefaultHttpClient httpclient; private HttpPost httppost; private InputStream conteudo; private String retornoConexao; so plz guide me ... !! On 2/28/10, Kitzy wrote: > >> E/AndroidRuntime( 682): Caused by: java.lang.NullPointerException >> E/AndroidRuntime( 682): at >> com.example.httprequest.httppostexample.onCreate(httppostexample.java: >> 62) > > What is happening at/around this line in your file? > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner follow me on twitter @wahibhaq -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] cant workout why a NullPointerException occuring !! :0
hello experts !! I am trying to post variables via http push to a php script and it was working fine with functions in my main activity.java file. but when i seperated the functions and made a seperate class to keep it organized it gives nullpointererror .. though i am passing the variables in similar pattern. The log is like this ... W/dalvikvm( 682): threadid=3: thread exiting with uncaught exception (group=0x4001aa28) E/AndroidRuntime( 682): Uncaught handler: thread main exiting due to uncaught exception E/AndroidRuntime( 682): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.httprequest/ com.example.httprequest.httppostexample}: java.lang.NullPointerException E/AndroidRuntime( 682):at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2401) E/AndroidRuntime( 682):at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2417) E/AndroidRuntime( 682):at android.app.ActivityThread.access $2100(ActivityThread.java:116) E/AndroidRuntime( 682):at android.app.ActivityThread $H.handleMessage(ActivityThread.java:1794) E/AndroidRuntime( 682):at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 682):at android.os.Looper.loop(Looper.java:123) E/AndroidRuntime( 682):at android.app.ActivityThread.main(ActivityThread.java:4203) E/AndroidRuntime( 682):at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 682):at java.lang.reflect.Method.invoke(Method.java:521) E/AndroidRuntime( 682):at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:791) E/AndroidRuntime( 682):at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549) E/AndroidRuntime( 682):at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 682): Caused by: java.lang.NullPointerException E/AndroidRuntime( 682):at com.example.httprequest.httppostexample.onCreate(httppostexample.java: 62) E/AndroidRuntime( 682):at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: 1123) E/AndroidRuntime( 682):at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2364) E/AndroidRuntime( 682):... 11 more I/Process ( 52): Sending signal. PID: 682 SIG: 3 I/dalvikvm( 682): threadid=7: reacting to signal 3 I/dalvikvm( 682): Wrote stack trace to '/data/anr/traces.txt' W/ActivityManager( 52): Launch timeout has expired, giving up wake lock! plz help me out ... i am a newbie but this seems to me that i am making some coding error !! Regards, wahib -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] need help in understanding how to POST data from android app to a php script
hi !! I need to implement a working code which communicates with the mysql database at server. I am able to receive response from the mysql database on server end using httprequest as i followed this tutorial .. http://blog.richstern.com/?p=32 but i cudnt find helpful material on POSTING data back to a url like i can GET data from a url. kindly share code or any good tutorial. Regards, wahib -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] please help
hey !! actually android has changed its installation procedure. now install the ADT plugin with eclipse. then in edit->preferences->android give path to the extracted folder of android u have downloaded and apply. then follow the instruction ... http://developer.android.com/intl/de/sdk/index.html To launch the Android SDK and AVD Manager on Windows, execute SDK Setup.exe, at the root of the SDK directory. Then follow the procedure and select the version of API's u want to install. welcome to android world !! :) regards, wahib On 2/24/10, madhuri_K wrote: > Hi all.. > > Im an android newbie . > Downloaded the android_sdk archive for windows platform . > But the add-0ns and platform folder is empty. > > also ...I need to install sdk in OFFLINE mode.. > > ur guidance could help me kick start development.Please guide me... > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- Wahib-ul-haq Communications Engineering Student, NUST, Pakistan. www.sizzlotech.com -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Problem with my first very basic Google map application
hey imran, try to review your procedure in generating api key for google maps. you must be doing a mistake . regards, wahib On 2/21/10, IT wrote: > Hello everyone! > I am new at Android.I have been trying from many days to make very > basic google map application but unable to complete it yet...:( > there are no errors in code,emmulator running fine from terminal,Map > key also fine but still i am unable to see the map.When i run my > app only grid appears and map is not displayed.Here is the code,can > any body please help me .. > > > ///.java > package com.android.GoogleMaps; > > import android.os.Bundle; > > import com.google.android.maps.MapActivity; > import com.google.android.maps.MapView; > > > public class HelloGoogleMaps extends MapActivity { > /** Called when the activity is first created. */ > @Override >public void onCreate(Bundle savedInstanceState) > { > super.onCreate(savedInstanceState); > setContentView(R.layout.main); > MapView mapView =(MapView)findViewById(R.id.mapview); > mapView.setBuiltInZoomControls(true); > } > protected boolean isRouteDisplayed(){ > return false; > } > } > ///main.xml > > xmlns:android="http://schemas.android.com/apk/res/android"; > android:id="@+id/mapview" > android:layout_width="fill_parent" > android:layout_height="fill_parent" > android:layout_weight="1" > android:clickable="true" > android:apiKey="0fyF-qSuCtdQinoUGoFbLxZoTx10Tm-YV6m6A8g" > /> > /manifest > file// > > http://schemas.android.com/apk/res/android"; > package="com.android.GoogleMaps" > android:versionCode="1" > android:versionName="1.0"> > > > android:name="android.permission.ACCESS_COARSE_LOCATION"/> > android:name="android.permission.ACCESS_FINE_LOCATION"/> > > > >android:label="@string/app_name" > android:theme="@android:style/Theme.NoTitleBar"> > > > > android:name="android.intent.category.LAUNCHER" /> > > > > > > > / > don't know where is anything wrong.I am using eclipse and android > 1.6.Anybody please helpme > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- Wahib-ul-haq Communications Engineering Student, NUST, Pakistan. www.sizzlotech.com -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Http proxy settings not working in Android Emulator 2.1
hey VIbhor. using http-proxy when launching an emulator from terminal works in my case with 1.6. it should work with 2.1 as well.. but if not then i would really need to know as well coz i plan to shift to 2.1 soon. hope you get it solved soon On 2/19/10, Vibhor Mahajan wrote: > Hello, > > I am trying to configure http_proxy settings for Internet access from > Android emulator (behind a proxy). I tried following options: > > 1. -http-proxy option using emulator command. > 2. setting http_proxy environment and then launching the emulator. > 3. Settings proxy using APN settings (Telkilla) (this worked till > Android 1.6 version) > 4. adding an entry in settings.db com.android.providers.settings/databases/settings.db "INSERT INTO > system VALUES(101,'http_proxy','10.0.0.27:80');"> > adb shell sqlite3 /data/data/com.android.providers.settings/databases/ > settings.db "SELECT * FROM system" > > I also checked -debug-proxy log messages and it showed below messages > emulator.exe -avd avd_21 -debug-proxy -http-proxy > http://vibhor.mahajan:xyz~1...@10.0.0.27:80 > proxy_http_setup: creating http proxy service connecting to: > 10.0.0.27:80 > server name '10.0.0.27' resolved to 10.0.0.27:80 > proxy_http_setup: creating HTTP Proxy Service Footer is (len=63): > 'Proxy-authorization: Basic dmliaG9yLm1haGFqYW46eHl6fjEyMzQ= > > ' > http_service_connect: trying to connect to 209.85.231.104:80 > http_service_connect: using HTTP rewriter > tcp:209.85.231.104:80(1496): cannot connect to proxy: > http_service_connect: trying to connect to 209.85.231.104:80 > http_service_connect: using HTTP rewriter > tcp:209.85.231.104:80(1496): cannot connect to proxy: > http_service_connect: trying to connect to 209.85.231.104:80 > http_service_connect: using HTTP rewriter > tcp:209.85.231.104:80(1456): cannot connect to proxy: > http_service_connect: trying to connect to 209.85.231.104:80 > http_service_connect: using HTTP rewriter > tcp:209.85.231.104:80(1440): cannot connect to proxy: > http_service_connect: trying to connect to 10.0.0.22:80 > http_service_connect: using HTTP rewriter > tcp:10.0.0.22:80(1440): cannot connect to proxy: > http_service_connect: trying to connect to 10.0.0.22:80 > http_service_connect: using HTTP rewriter > tcp:10.0.0.22:80(1440): cannot connect to proxy: > > Kindly suggest how can we access Internet from emulator (behind a > proxy). > > Thanks, > Vibhor > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- Wahib-ul-haq Communications Engineering Student, NUST, Pakistan. www.sizzlotech.com -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: How to draw Text in a rectangle after onTouch
hey mithun !! buddy i am a beginner with android thing. I need your little help. I am able to draw markers on google map. now i want to display a rectangular popup with little text when a user taps a marker. so can u help me how to display that rectangle. i'll be truly thankful if you can share some sample code if you have. regards, wahib -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] how to draw a popup rectangle on google map .. plz help
hello. I am able to draw a marker image on specific locations on google map and when i click a notification text is displayed using Toast. But i want to show a rectangular pop-up to appear exactly above the marker like it does on google placemarks. I want to display some text and a button in the rectangle. plz share if any link to a tutorial or sample code. Thanks in advance wahib -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] having a NullPointerException in onTap() function with ItemizedOverlay class .. plz help
Hello. I want to display a marker on mapview and want to do any activity when user clicks on the marker. The marker is displayed correctly but when i tap on it there is a NullPointerException and i dont know why its occuring. I followed the turotial from http://developer.android.com/intl/de/resources/tutorials/views/hello-mapview.html and i found out that many people had this issue who followed this tutorial but i found no solution. Kindly help. I/ActivityManager( 582): Displayed activity com.collabera.labs.sai.maps/.baloonmaps: 1040 ms (total 1040 ms) D/AndroidRuntime( 734): Shutting down VM W/dalvikvm( 734): threadid=3: thread exiting with uncaught exception (group=0x4001aa28) E/AndroidRuntime( 734): Uncaught handler: thread main exiting due to uncaught exception E/AndroidRuntime( 734): java.lang.NullPointerException E/AndroidRuntime( 734):at android.widget.Toast.(Toast.java: 89) E/AndroidRuntime( 734):at android.widget.Toast.makeText(Toast.java: 231) E/AndroidRuntime( 734):at com.collabera.labs.sai.maps.HelloItemizedOverlay.onTap(HelloItemizedOverlay.java: 84) E/AndroidRuntime( 734):at com.google.android.maps.ItemizedOverlay.onTap(ItemizedOverlay.java: 453) E/AndroidRuntime( 734):at com.google.android.maps.OverlayBundle.onTap(OverlayBundle.java:83) E/AndroidRuntime( 734):at com.google.android.maps.MapView $1.onSingleTapUp(MapView.java:346) E/AndroidRuntime( 734):at android.view.GestureDetector.onTouchEvent(GestureDetector.java:506) E/AndroidRuntime( 734):at com.google.android.maps.MapView.onTouchEvent(MapView.java:628) E/AndroidRuntime( 734):at android.view.View.dispatchTouchEvent(View.java:3672) E/AndroidRuntime( 734):at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:850) E/AndroidRuntime( 734):at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882) E/AndroidRuntime( 734):at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882) E/AndroidRuntime( 734):at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882) E/AndroidRuntime( 734):at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882) E/AndroidRuntime( 734):at com.android.internal.policy.impl.PhoneWindow $DecorView.superDispatchTouchEvent(PhoneWindow.java:1712) E/AndroidRuntime( 734):at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java: 1202) E/AndroidRuntime( 734):at android.app.Activity.dispatchTouchEvent(Activity.java:1987) E/AndroidRuntime( 734):at com.android.internal.policy.impl.PhoneWindow $DecorView.dispatchTouchEvent(PhoneWindow.java:1696) E/AndroidRuntime( 734):at android.view.ViewRoot.handleMessage(ViewRoot.java:1658) E/AndroidRuntime( 734):at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 734):at android.os.Looper.loop(Looper.java:123) E/AndroidRuntime( 734):at android.app.ActivityThread.main(ActivityThread.java:4203) E/AndroidRuntime( 734):at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 734):at java.lang.reflect.Method.invoke(Method.java:521) E/AndroidRuntime( 734):at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:791) E/AndroidRuntime( 734):at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549) E/AndroidRuntime( 734):at dalvik.system.NativeStart.main(Native Method) I/Process ( 582): Sending signal. PID: 734 SIG: 3 I/dalvikvm( 734): threadid=7: reacting to signal 3 E/dalvikvm( 734): Unable to open stack trace file '/data/anr/ traces.txt': Permission denied -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: how to place a landmark on a google map programmatically
thanks jim. It would be so nice if you could share some code. I am also searching myself to get some hands on example codes to give me a start. Regards, wahib On Jan 6, 8:44 pm, cellurl wrote: > I too need the same info. > Typically I start by finding example code, so I will look for an > example, > and also monitor this thread > -jim -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] how to place a landmark on a google map programmatically
Hello ev1 !! I am working on google maps and being a beginner to android face problems in beginning. I have learnt to place a marker on a location programmaticaly but now i want to place a landmark type balloon where i want it to be. so that when it is clicked particular information is displayed about the location. Kindly help me out !! Regards, wahib -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Problem with map display on emulator with kml file
hi ! I am stuck with a mapview problem. I am running a simple application that shows a map view. When i load a kml file which is actually shows a running route , the map isnt displayed. The pointer keeps on moving in the direction set by route but the background is blank. I have no idea what is the issue. The mapkey is correct. Regards, wahib -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] emulator doesnt displays the route set by kml file .. plz help
hi ! I am having problem with running a .kml file with a simple map application. I run my app and it displays blank map view. then in ddms i select the app process for debugging and load the kml file. It shows list of latitudes and logitudes in the emulator control section. but even i restart my app there is no change in map view. Otherwise it shud display the exact route or some map on emulator. am i missing something else? the code is really simple public class SampleMapActivity extends MapActivity { MapView myMapView = null; MapController myMC= null; GeoPointgeoPoint= null; double latitude= 12.937875, longitude = 77.622313; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); myMapView = (MapView) findViewById(R.id.myGMap); geoPoint = new GeoPoint((int) (latitude * 100), (int) (longitude * 100)); myMapView.setSatellite(false); myMC = myMapView.getController(); myMC.setCenter(geoPoint); myMC.setZoom(15); myMapView.setBuiltInZoomControls(true); myMapView.displayZoomControls(true); } @Override protected boolean isRouteDisplayed() { return false; } == -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] What emulator settings to edit to run simple GPS application
Hi ! I am new to GPS & Location based app development in android. I really want to get started so i need to know what settings do i need to edit in emulator to run a simple map application integrating with a moke .KML file. Any reference to a useful tutorial is highly appreciated. Regards, wahib -- 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 android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Raw barcode reading
you need to try on with "Zxing", open-source barcode library. Work on how to integrate Zxing with android and how to manipulate camera. Regards, wahib On 11/23/09, Paulo J. Matos wrote: > Hello, > > There are a lot of barcode reading applications out there but I need > to read the barcode in raw format. > I need to obtain the text in the barcode. One of the usages of this is > to create a comma separated list of ISBNs which I can then easily > import to my desktop PC to create a book library. > > Is there anything out there to do this? If not, which reference should > I look to in order to program it? > > Cheers, > > -- > Paulo Jorge Matos - pocmatos at gmail.com > Webpage: http://www.pmatos.net > > -- > 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 > android-beginners+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en -- Wahib-ul-haq Communications Engineering Student, NUST, Pakistan. www.sizzlotech.com -- 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 android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] how to add .KML file to my google map app
hi !! I have written a simple app following a tutorial. but when i run the application these is blank map view. Then i came to know that we can emulate google map images using .KML files. I am having following integrating it. I got sample.kml file but i am confused how to load it with DDMS. further more how to select device in 'my devices' tab. secondly, i read that i also need to pull gps properties as well but i dont have any 'location' or 'gps' folder in /data/misc folder. Thanks in advance. Regards, wahib -- 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 android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Exception occurs when launching first activity
I have two activities. My AndroidManifest.xml file is like this ... http://schemas.android.com/apk/res/android"; package="com.example.myfirstapp" android:versionCode="1" android:versionName="1.0"> but when i run error occurs and in logcat these details of error are displayed. Being a newbie its tough to solve it. I/ActivityManager( 580): Starting activity: Intent { act=android.intent.action.MAIN cat= [android.intent.category.LAUNCHER] flg=0x1020 cmp=com.example.myfirstapp/.maintemp } I/ActivityManager( 580): Start proc com.example.myfirstapp for activity com.example.myfirstapp/.maintemp: pid=868 uid=10029 gids= {1006} I/jdwp( 868): received file descriptor 20 from ADB D/AndroidRuntime( 868): Shutting down VM W/dalvikvm( 868): threadid=3: thread exiting with uncaught exception (group=0x4001aa28) E/AndroidRuntime( 868): Uncaught handler: thread main exiting due to uncaught exception E/AndroidRuntime( 868): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.myfirstapp/ com.example.myfirstapp.maintemp}: java.lang.NullPointerException E/AndroidRuntime( 868):at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2324) E/AndroidRuntime( 868):at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2417) E/AndroidRuntime( 868):at android.app.ActivityThread.access$2100 (ActivityThread.java:116) E/AndroidRuntime( 868):at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1794) E/AndroidRuntime( 868):at android.os.Handler.dispatchMessage (Handler.java:99) E/AndroidRuntime( 868):at android.os.Looper.loop(Looper.java:123) E/AndroidRuntime( 868):at android.app.ActivityThread.main (ActivityThread.java:4203) E/AndroidRuntime( 868):at java.lang.reflect.Method.invokeNative (Native Method) E/AndroidRuntime( 868):at java.lang.reflect.Method.invoke (Method.java:521) E/AndroidRuntime( 868):at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:791) E/AndroidRuntime( 868):at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:549) E/AndroidRuntime( 868):at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 868): Caused by: java.lang.NullPointerException E/AndroidRuntime( 868):at android.app.Activity.findViewById (Activity.java:1610) E/AndroidRuntime( 868):at com.example.myfirstapp.maintemp. (maintemp.java:31) E/AndroidRuntime( 868):at java.lang.Class.newInstanceImpl(Native Method) E/AndroidRuntime( 868):at java.lang.Class.newInstance(Class.java: 1472) E/AndroidRuntime( 868):at android.app.Instrumentation.newActivity (Instrumentation.java:1097) E/AndroidRuntime( 868):at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2316) Thanks in advance. regards, wahib -- 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 android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] FileNotFoundException occurs when i try to create a jpeg file in sdcard :(
hi !! I intend to take camera pic and save it. This is the code which saves the image file. String filename; Date date = new Date(); SimpleDateFormat sdf = new SimpleDateFormat("MMddHHmmss"); filename = sdf.format(date); File photo=new File(Environment.getExternalStorageDirectory(),"/DCIM/ Camera/"+filename+".jpg"); try { FileOutputStream fos=new FileOutputStream(photo.getPath()); // fos.write(jpeg[0]); fos.close(); Log.e("ooey", "last thing"); } catch (java.io.IOException e) { Log.e("PictureDemo", "Exception in photoCallback", e); } in logcat this is displayed ... E/PictureDemo( 739): Exception in photoCallback E/PictureDemo( 739): java.io.FileNotFoundException: /sdcard/DCIM/ Camera/20091124043522.jpeg E/PictureDemo( 739): at org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java: 231) E/PictureDemo( 739): at java.io.FileOutputStream. (FileOutputStream.java:96) E/PictureDemo( 739): at java.io.FileOutputStream. (FileOutputStream.java:169) E/PictureDemo( 739): at java.io.FileOutputStream. (FileOutputStream.java:147) E/PictureDemo( 739): at com.example.myfirstapp.myfirstapp $SavePhotoTask.doInBackground(myfirstapp.java:135) E/PictureDemo( 739): at com.example.myfirstapp.myfirstapp $SavePhotoTask.doInBackground(myfirstapp.java:1) E/PictureDemo( 739): at android.os.AsyncTask$2.call(AsyncTask.java: 185) E/PictureDemo( 739): at java.util.concurrent.FutureTask$Sync.innerRun (FutureTask.java:256) E/PictureDemo( 739): at java.util.concurrent.FutureTask.run (FutureTask.java:122) E/PictureDemo( 739): at java.util.concurrent.ThreadPoolExecutor $Worker.runTask(ThreadPoolExecutor.java:648) E/PictureDemo( 739): at java.util.concurrent.ThreadPoolExecutor $Worker.run(ThreadPoolExecutor.java:673) E/PictureDemo( 739): at java.lang.Thread.run(Thread.java:1060) Kindly help , why File() function is not working and not creating a file. -- 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 android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] plz help me ... how to implement camera intent correctly?
hi !! I am working to find out a solution to use Intent to call camera app and then call my custom function in overridden onActivityResult(). This code actually displays camera preview and return like i want it to but no actual snap is taken by it. There is no new image added to the gallery. :S Button takePictureButton = (Button) this.findViewById (R.id.camera); takePictureButton.setOnClickListener(new View.OnClickListener () { public void onClick(View v) { ContentValues values = new ContentValues(); values.put(Media.TITLE, "IMAGE"); values.put(Media.DISPLAY_NAME, "Image Captured by Camera"); Uri uri = getContentResolver().insert(Media.EXTERNAL_CONTENT_URI, values); //Intent i = new Intent("android.media.action.action"); Intent i = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); i.putExtra("output", uri); startActivityForResult(i, ACTIVITY_TAKE_PICTURE_WITH_INTENT); This is my onActivityResult() code @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { //super.onActivityResult(requestCode, resultCode, data); if (requestCode == ACTIVITY_TAKE_PICTURE_WITH_INTENT) { if (resultCode == RESULT_OK) { ///here i will call my function Toast.makeText(temp1.this, "done !!", Toast.LENGTH_SHORT).show(); } } } Plz help me out what i am missing. I just used this code from a post but being a newbie i have limited know how. so kindly explain with suggestion. Regards, wahib -- 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 android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] camera takes snap but no image is added to the gallery
hi !! I am working to find out a solution to use Intent to call camera app and then call my custom function in overridden onActivityResult(). This code actually displays camera preview and return like i want it to but no actual snap is taken by it. There is no new image added to the gallery. :S Button takePictureButton = (Button) this.findViewById (R.id.camera); takePictureButton.setOnClickListener(new View.OnClickListener () { public void onClick(View v) { ContentValues values = new ContentValues(); values.put(Media.TITLE, "IMAGE"); values.put(Media.DISPLAY_NAME, "Image Captured by Camera"); Uri uri = getContentResolver().insert(Media.EXTERNAL_CONTENT_URI, values); //Intent i = new Intent("android.media.action.action"); Intent i = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); i.putExtra("output", uri); startActivityForResult(i, ACTIVITY_TAKE_PICTURE_WITH_INTENT); This is my onActivityResult() code @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { //super.onActivityResult(requestCode, resultCode, data); if (requestCode == ACTIVITY_TAKE_PICTURE_WITH_INTENT) { if (resultCode == RESULT_OK) { ///here i will call my function Toast.makeText(temp1.this, "done !!", Toast.LENGTH_SHORT).show(); } } } Plz help me out what i am missing. I just used this code from a post but being a newbie i have limited know how. so kindly explain with suggestion. Regards, wahib -- 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 android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] how to install the sdk in my computer?
hi ! There's nothing to install by the way. Its just a package and you need to extract and paste it somewhere. This is a very ambiguous question kindly be more precise where anyone could really help you out. I started working on android just few months back and i am still learning. Its my personal experience that you have to get started for yourself. Get star from development guide on android.com. Thats the best source of learning for all of us !! :) Regards, wahib On 11/11/09, isra wrote: > I downloaded the sdk file and tried to install it in my computer, but > i couldnt. I would like to learn how to develop apps, please help me.. > > -- > 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 > android-beginners+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en -- Wahib-ul-haq Communications Engineering Student, NUST, Pakistan. www.sizzlotech.com -- 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 android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] How to use startActivityForResult() & onActivityResult() ??
Hi Ev1 !! I am stuck with an issue with Camera built-in app. I intend to call built-in camera app from my app and then as user takes a snap it should quit camera app and return back to execute my decode() function. Rite now the camera app is successfully opened but after taking one snap the camera app doesnt quits :S. I received a suggestion from one of the post to use startActivityForResult() and override onActivityResult(). But i am not clear how to use it. what to pass along with Intent(Intentobject, ?) & what to receive in RequestCode variable in override version of onActivityResult(). Hope i made myself clear. If there is any other solution to this problem. Kindly refer it. Thanks in advance !! Regards, wahib -- 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 android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Re: how to call a function after taking snap from camera?? plz help
hi Chris !! Its after a long time i am responding to your suggestion :S. I was out of this task for a while. I tried your suggestion that to use StartActivityForResult and then calling mufunction() in an override of onActivityResult(). But its not working and being a newbie its tough to find the cause very quickly. I tried like this .. Intent intent = new Intent(); intent.setClassName("com.android.camera", "com.android.camera.Camera"); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); //startActivity(intent); startActivityForResult(intent,0); @Override protected void onActivityResult(int requestCode, int resultCode,Intent data) { super.onActivityResult(requestCode, resultCode, data); decode(); //function which i want to call } I searched for few examples using onActivityResult() and i found that it used requestCode with Switch in most of them. I am confused what to pass with Intent(intentobject, ?) and what would i receive in requestCode variable ?? Remember i intend to take a snap from camera app and want to execute decode() function. Kindly help. Regards, -- Wahib-ul-haq Communications Engineering Student, NUST, Pakistan. www.sizzlotech.com -- 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 android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] how to call a function after taking snap from camera?? plz help
Hi!! I am stuck with this issue. When i press a button in my custom app the built-in camera app executes but after taking snap i want to run my code on the image taken but the camera preview doesnt vanishes:S I just want to exit the preview and run my code. Being a newbie i am really confused how to do it. This is the code in onclick() function for button - Intent intent = new Intent(); intent.setClassName ("com.android.camera", "com.android.camera.Camera"); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); myfunction() ; ///what i want to call --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Reading/Decoding bar code stored in resources
feels good to see your reply. Its just an assignment for me. yes i am stuck with part 1. In the start i tried a lot with camera stuff and searched for source codes to display camera preview and take snap. I was successful with getting camera preview but either the image was not saved or the image taken was of very small size like thumbnail. so then i thought about using the built-in camera app. Then after few days of research i able to call the camera app as i click a button in my custom app. but now the issue is after taking snap i want to run my decode function.But i dont know how to exit the camera preview and call my decode() function:S so its here i am stuck with. I have posted it and i'll post it again. it wud be great if you could help me. Regards, wahib On 10/14/09, Abhishek wrote: > > Wahib.. sorry for the mistake in your name. Thanks for pointing out. > 3 phases of my app > 1) Scan picture(bar code) from camera & store > 2) Decode the barcode > 3.) Search the product information and display. > > I am done with Part 2.. I think you are also working on same > application if I am not wrong. > Now I will concentrate on Part 1. Where are you stuck in Part1? What > is the error if any? > Please let me know. I will also keep you posted. > > Thanks, > Abhishek > > On Oct 9, 10:36 pm, wahib haq wrote: >> You are welcome. Btw my name is wahib :) How do u intend to use this >> barcode code with camera thing? are you using your own camera preview >> code or calling built in camera app intent?? I am just stuck with this >> phase .. i hope its the last thing. >> >> Regards, >> wahib >> >> On 10/10/09,Abhishek wrote: >> >> >> >> >> >> > Hey Wahid, >> >> > Same code worked for me. Multiformatreader can read QR codes. >> >> > Thanks a lot for help. >> >Abhishek >> >> > On Oct 9, 9:11 am,Abhishek wrote: >> >> Wahid, >> >> >> Thanks a lot brother. Is it possible for you to send you activity file >> >> to me onabhishek.moh...@gmail.com? >> >> I will keep you posted about my progress on this application. >> >> >>Abhishek >> >> >> On Oct 7, 7:42 pm, wahib haq wrote: >> >> >> > hiabhishek!! I am a newbie and my first initiative is also building >> >> > a simple barcode decoding module. I dont have a android phone so i >> >> > have to go on a different path to do this barcode app thing. :S >> >> >> > can you plz guide me what to be on right side of BufferedImage >> >> > myImage = >> >> > ... ?? >> >> > I am using this code >> >> >> > I have imported these ... >> >> >> > import android.graphics.Bitmap; >> >> >> > import android.graphics.BitmapFactory; >> >> > import android.widget.TextView; >> >> > import com.google.zxing.MonochromeBitmapSource; >> >> > import com.google.zxing.MultiFormatReader; >> >> > import com.google.zxing.Reader; >> >> > import com.google.zxing.ReaderException; >> >> > import com.google.zxing.client.androidtest.*; >> >> > import com.google.zxing.common.BaseMonochromeBitmapSource; >> >> >> > Bitmap bitmap = >> >> > BitmapFactory.decodeResource(getResources(),R.drawable.bar5); >> >> >> > Bitmap bitmap1 = >> >> > BitmapFactory.decodeFile("file://sdcard/DCIM/Camera/2009-10-04 >> >> > 21.31.02.jpg"); >> >> >> > MultiFormatReader reader1=new MultiFormatReader();//For all >> >> > barcode formats >> >> >> > try >> >> > { >> >> >> > result=reader1.decode(new >> >> > RGBMonochromeBitmapSource(bitmap)); >> >> > tv.setText(result.getText()); >> >> > } >> >> > catch (Exception e) >> >> > { >> >> > tv.setText("Error occured !!"); >> >> > } >> >> > } >> >> >> > // >> >> >> > I have tried it with reading bmp and jpeg image from pasting in >> >> > res/drawable folder and it works fine with 1D barcode. Its not >> >> > working >> >> > with 2D and i dont know how to do it though multiformat i guess means >> >> > it shud support 2D as well. Well this will solve ur problem. I also >> &
[android-beginners] Re: Reading/Decoding bar code stored in resources
You are welcome. Btw my name is wahib :) How do u intend to use this barcode code with camera thing? are you using your own camera preview code or calling built in camera app intent?? I am just stuck with this phase .. i hope its the last thing. Regards, wahib On 10/10/09, Abhishek wrote: > > Hey Wahid, > > Same code worked for me. Multiformatreader can read QR codes. > > Thanks a lot for help. > Abhishek > > On Oct 9, 9:11 am, Abhishek wrote: >> Wahid, >> >> Thanks a lot brother. Is it possible for you to send you activity file >> to me onabhishek.moh...@gmail.com? >> I will keep you posted about my progress on this application. >> >> Abhishek >> >> On Oct 7, 7:42 pm, wahib haq wrote: >> >> > hiabhishek!! I am a newbie and my first initiative is also building >> > a simple barcode decoding module. I dont have a android phone so i >> > have to go on a different path to do this barcode app thing. :S >> >> > can you plz guide me what to be on right side of BufferedImage myImage = >> > ... ?? >> > I am using this code >> >> > I have imported these ... >> >> > import android.graphics.Bitmap; >> >> > import android.graphics.BitmapFactory; >> > import android.widget.TextView; >> > import com.google.zxing.MonochromeBitmapSource; >> > import com.google.zxing.MultiFormatReader; >> > import com.google.zxing.Reader; >> > import com.google.zxing.ReaderException; >> > import com.google.zxing.client.androidtest.*; >> > import com.google.zxing.common.BaseMonochromeBitmapSource; >> >> > Bitmap bitmap = >> > BitmapFactory.decodeResource(getResources(),R.drawable.bar5); >> >> > Bitmap bitmap1 = >> > BitmapFactory.decodeFile("file://sdcard/DCIM/Camera/2009-10-04 >> > 21.31.02.jpg"); >> >> > MultiFormatReader reader1=new MultiFormatReader();//For all >> > barcode formats >> >> > try >> > { >> >> > result=reader1.decode(new >> > RGBMonochromeBitmapSource(bitmap)); >> > tv.setText(result.getText()); >> > } >> > catch (Exception e) >> > { >> > tv.setText("Error occured !!"); >> > } >> > } >> >> > // >> >> > I have tried it with reading bmp and jpeg image from pasting in >> > res/drawable folder and it works fine with 1D barcode. Its not working >> > with 2D and i dont know how to do it though multiformat i guess means >> > it shud support 2D as well. Well this will solve ur problem. I also >> > tried to read it with a sdcard image coz after all it has to fetch >> > from the image taken by camera. but i dont have a camera and unable to >> > push image in gallery after lots of tries so it still undone. >> > Share anything else you cum to know abt barcode decoding task. >> >> > Regards, >> > wahib >> >> > On 10/6/09,Abhishek wrote: >> >> > > Hello All, >> >> > > I am writing an application to scan a bar code. >> > > As a small module of it I am trying to decode the bar code form the >> > > image file stored as resource. (R.raw.bc02) where bc02.jpg is my bar >> > > code image file. >> >> > > I am usinghttp://code.google.com/p/zxing/wiki/DeveloperNotestowrite >> > > a program for decoding. >> > > I am stuck up at following step: i.e. reading the image as >> > > bufferedImage >> >> > > BufferedImage myImage = ...; >> > > MonochromeBitmapSource source = new >> > > BufferedImageMonochromeBitmapSource >> > > (myImage); >> >> > > I have written following code to read the image which works fine >> > > InputStream is= this.getApplicationContext().getResources >> > > ().openRawResource(R.raw.bc02); >> > > The run time object is of class "android.content.res.AssetManager >> > > $AssetInputStream" >> >> > > Can any help me in reading the file and decoding? Please let me know >> > > if I am doing correct or not. >> >> > > Thank you, >> > >Abhishek >> >> > -- >> > Wahib-ul-haq >> >> > Communications Engineering Student, >> > NUST, Pakistan.www.sizzlotech.com > > > -- Wahib-ul-haq Communications Engineering Student, NUST, Pakistan. www.sizzlotech.com --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: someone plz help me .. how to call built in camera app from my custom app ??
i got it right. I used this method and camera app executes. Intent intent = new Intent(); intent.setClassName(packageName, className); really thankful to u justin. Now next hurdle is that i want to run my decode function on the snap taken but after taking snap it remains in the camera app. so can i just break this app once the image is taken and how? so that i can then execute my function. On 10/8/09, wahib haq wrote: > Dear Justin !! Thanks again as always. I understand your point. I'll > try my best to work it out myself in future. I hope this time it works > out. > > > On 10/8/09, RichardC wrote: >> >> In the SDK samples have a look at >> android-sdk-windows-1.6_r1\platforms\android-1.5\samples\ApiDemos\src >> \com\example\android\apis\graphics\CameraPreview.java >> >> On Oct 8, 10:43 am, wahib wrote: >>> Hi !! I have a straightforward question. I just want to call and >>> execute the built-in camera app i click button in my application. >>> Being a newbie i have no idea how to code for it. plz share source >>> code if anyone has done it. >>> >>> Regards, >>> wahib >> >> >> >> > > > -- > Wahib-ul-haq > > Communications Engineering Student, > NUST, Pakistan. > www.sizzlotech.com > -- Wahib-ul-haq Communications Engineering Student, NUST, Pakistan. www.sizzlotech.com --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: someone plz help me .. how to call built in camera app from my custom app ??
Dear Justin !! Thanks again as always. I understand your point. I'll try my best to work it out myself in future. I hope this time it works out. On 10/8/09, RichardC wrote: > > In the SDK samples have a look at > android-sdk-windows-1.6_r1\platforms\android-1.5\samples\ApiDemos\src > \com\example\android\apis\graphics\CameraPreview.java > > On Oct 8, 10:43 am, wahib wrote: >> Hi !! I have a straightforward question. I just want to call and >> execute the built-in camera app i click button in my application. >> Being a newbie i have no idea how to code for it. plz share source >> code if anyone has done it. >> >> Regards, >> wahib > > > > -- Wahib-ul-haq Communications Engineering Student, NUST, Pakistan. www.sizzlotech.com --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] someone plz help me .. how to call built in camera app from my custom app ??
Hi !! I have a straightforward question. I just want to call and execute the built-in camera app i click button in my application. Being a newbie i have no idea how to code for it. plz share source code if anyone has done it. Regards, wahib --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] plz help with camera application from my application
hi !! I am stuck with this . I just want to call the built-in camera app when i click a button in my app preview. plz share the source code if anyone has done it. Regards, wahib --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: plz help with sdcard image file and push command not working!!
i want to know how to push images to the emulator gallery. I tried using with push command but its not displayed in gallery and not accessed by my code. Actually i have to access the image taken by the camera in my code. i tried to push a jpeg image to sdcard/DCIM/Camera and file is shown there using shell. but its not displayed in camera pictures folder in gallery and also not accessible by my code :S plz help On 10/8/09, Jeffrey Blattman wrote: > http://developer.android.com/guide/tutorials/views/hello-gallery.html > > On 10/7/09 5:03 PM, wahib haq wrote: >> thanks john. how to enter images in the gallery ??? >> >> On 10/7/09, jbrohan wrote: >> >>> I'm a beginner too. >>> I use ddms. Run the command window in Windows, then type ddms here. If >>> you have the paths set up properly it will work, else you need to go >>> to/tools and enter ddms. This program links with >>> the debugger and provides real time readings of logcat and also >>> device>file explorer shows the files and offers an easy upload and >>> download. >>> >>> Images as such do not show up in teh gallery, they need to be entered >>> into the gallery which creates a thumbnail for them. >>> best of luck >>> John >>> On Oct 5, 10:40 pm, wahib wrote: >>> >>>> hi !! I have created a image file in a folder /androidimages and when >>>> i try to run emulator from terminal giving path to this image file it >>>> gives error: >>>> >>>> i try => $ emulator -sdcard /home/soms/androidemuimages/androidnew.img >>>> -avd androidnew >>>> error=> SDL init failure, reason is: No available video device >>>> >>>> as a second alternative i give path to this image file in AVD manager >>>> in eclipse but even it doesnt recognises it i guess. coz when i try to >>>> use camera it display the toast that sdcard is not enabled. >>>> >>>> = >>>> >>>> second problem is that when i try to push a .bmp file to sdcard using >>>> $ adb push bar3.bmp /sdcard >>>> there is no error but there is no change in logcat and no image added >>>> to gallery. or is it somewhere else?:S >>>> >>>> Plz forgive if i sound childish. >>>> >>>> Thanks in advance, >>>> regards, >>>> wahib >>>> >>>> >>> >> >> > > -- > > > > -- Wahib-ul-haq Communications Engineering Student, NUST, Pakistan. www.sizzlotech.com --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Reading/Decoding bar code stored in resources
hey i just tried decoding a QR code and it worked fine as well. you just need to import /zxing/qrcode.QRcode and then create it instanse like i did with MultiFormatReader. I also tried decoding a datamatrix image using its class DataMatrixReader but its not working. but i am happy up till now. On 10/8/09, wahib haq wrote: > hi abhishek !! I am a newbie and my first initiative is also building > a simple barcode decoding module. I dont have a android phone so i > have to go on a different path to do this barcode app thing. :S > > can you plz guide me what to be on right side of BufferedImage myImage = ... > ?? > I am using this code > > I have imported these ... > > import android.graphics.Bitmap; > > import android.graphics.BitmapFactory; > import android.widget.TextView; > import com.google.zxing.MonochromeBitmapSource; > import com.google.zxing.MultiFormatReader; > import com.google.zxing.Reader; > import com.google.zxing.ReaderException; > import com.google.zxing.client.androidtest.*; > import com.google.zxing.common.BaseMonochromeBitmapSource; > > Bitmap bitmap = > BitmapFactory.decodeResource(getResources(),R.drawable.bar5); > > Bitmap bitmap1 = > BitmapFactory.decodeFile("file://sdcard/DCIM/Camera/2009-10-04 > 21.31.02.jpg"); > > > > MultiFormatReader reader1=new MultiFormatReader();//For all > barcode formats > > > try > { > > result=reader1.decode(new RGBMonochromeBitmapSource(bitmap)); > tv.setText(result.getText()); > } > catch (Exception e) > { > tv.setText("Error occured !!"); >} > } > > // > > I have tried it with reading bmp and jpeg image from pasting in > res/drawable folder and it works fine with 1D barcode. Its not working > with 2D and i dont know how to do it though multiformat i guess means > it shud support 2D as well. Well this will solve ur problem. I also > tried to read it with a sdcard image coz after all it has to fetch > from the image taken by camera. but i dont have a camera and unable to > push image in gallery after lots of tries so it still undone. > Share anything else you cum to know abt barcode decoding task. > > Regards, > wahib > > > On 10/6/09, Abhishek wrote: >> >> Hello All, >> >> I am writing an application to scan a bar code. >> As a small module of it I am trying to decode the bar code form the >> image file stored as resource. (R.raw.bc02) where bc02.jpg is my bar >> code image file. >> >> I am using http://code.google.com/p/zxing/wiki/DeveloperNotes to write >> a program for decoding. >> I am stuck up at following step: i.e. reading the image as >> bufferedImage >> >> BufferedImage myImage = ...; >> MonochromeBitmapSource source = new BufferedImageMonochromeBitmapSource >> (myImage); >> >> I have written following code to read the image which works fine >> InputStream is= this.getApplicationContext().getResources >> ().openRawResource(R.raw.bc02); >> The run time object is of class "android.content.res.AssetManager >> $AssetInputStream" >> >> Can any help me in reading the file and decoding? Please let me know >> if I am doing correct or not. >> >> >> Thank you, >> Abhishek >> >> >> >> > > > -- > Wahib-ul-haq > > Communications Engineering Student, > NUST, Pakistan. > www.sizzlotech.com > -- Wahib-ul-haq Communications Engineering Student, NUST, Pakistan. www.sizzlotech.com --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Reading/Decoding bar code stored in resources
hi abhishek !! I am a newbie and my first initiative is also building a simple barcode decoding module. I dont have a android phone so i have to go on a different path to do this barcode app thing. :S can you plz guide me what to be on right side of BufferedImage myImage = ... ?? I am using this code I have imported these ... import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.widget.TextView; import com.google.zxing.MonochromeBitmapSource; import com.google.zxing.MultiFormatReader; import com.google.zxing.Reader; import com.google.zxing.ReaderException; import com.google.zxing.client.androidtest.*; import com.google.zxing.common.BaseMonochromeBitmapSource; Bitmap bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.bar5); Bitmap bitmap1 = BitmapFactory.decodeFile("file://sdcard/DCIM/Camera/2009-10-04 21.31.02.jpg"); MultiFormatReader reader1=new MultiFormatReader();//For all barcode formats try { result=reader1.decode(new RGBMonochromeBitmapSource(bitmap)); tv.setText(result.getText()); } catch (Exception e) { tv.setText("Error occured !!"); } } // I have tried it with reading bmp and jpeg image from pasting in res/drawable folder and it works fine with 1D barcode. Its not working with 2D and i dont know how to do it though multiformat i guess means it shud support 2D as well. Well this will solve ur problem. I also tried to read it with a sdcard image coz after all it has to fetch from the image taken by camera. but i dont have a camera and unable to push image in gallery after lots of tries so it still undone. Share anything else you cum to know abt barcode decoding task. Regards, wahib On 10/6/09, Abhishek wrote: > > Hello All, > > I am writing an application to scan a bar code. > As a small module of it I am trying to decode the bar code form the > image file stored as resource. (R.raw.bc02) where bc02.jpg is my bar > code image file. > > I am using http://code.google.com/p/zxing/wiki/DeveloperNotes to write > a program for decoding. > I am stuck up at following step: i.e. reading the image as > bufferedImage > > BufferedImage myImage = ...; > MonochromeBitmapSource source = new BufferedImageMonochromeBitmapSource > (myImage); > > I have written following code to read the image which works fine > InputStream is= this.getApplicationContext().getResources > ().openRawResource(R.raw.bc02); > The run time object is of class "android.content.res.AssetManager > $AssetInputStream" > > Can any help me in reading the file and decoding? Please let me know > if I am doing correct or not. > > > Thank you, > Abhishek > > > > -- Wahib-ul-haq Communications Engineering Student, NUST, Pakistan. www.sizzlotech.com --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: plz help with sdcard image file and push command not working!!
thanks john. how to enter images in the gallery ??? On 10/7/09, jbrohan wrote: > > I'm a beginner too. > I use ddms. Run the command window in Windows, then type ddms here. If > you have the paths set up properly it will work, else you need to go > to /tools and enter ddms. This program links with > the debugger and provides real time readings of logcat and also > device>file explorer shows the files and offers an easy upload and > download. > > Images as such do not show up in teh gallery, they need to be entered > into the gallery which creates a thumbnail for them. > best of luck > John > On Oct 5, 10:40 pm, wahib wrote: >> hi !! I have created a image file in a folder /androidimages and when >> i try to run emulator from terminal giving path to this image file it >> gives error: >> >> i try => $ emulator -sdcard /home/soms/androidemuimages/androidnew.img >> -avd androidnew >> error=> SDL init failure, reason is: No available video device >> >> as a second alternative i give path to this image file in AVD manager >> in eclipse but even it doesnt recognises it i guess. coz when i try to >> use camera it display the toast that sdcard is not enabled. >> >> = >> >> second problem is that when i try to push a .bmp file to sdcard using >> $ adb push bar3.bmp /sdcard >> there is no error but there is no change in logcat and no image added >> to gallery. or is it somewhere else?:S >> >> Plz forgive if i sound childish. >> >> Thanks in advance, >> regards, >> wahib > > > -- Wahib-ul-haq Communications Engineering Student, NUST, Pakistan. www.sizzlotech.com --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: plz help with sdcard image file and push command not working!!
the push command worked now as i tried chmod 777 /sdcard using shell. Then i tried copying it to sdcard/Camera/DCIM/bar3.bmp and it is successfully copied but problem is that it isnt shown in the gallery. I even tried moving jpeg image but same problem even after restarting the 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@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] plz help with sdcard image file and push command not working!!
hi !! I have created a image file in a folder /androidimages and when i try to run emulator from terminal giving path to this image file it gives error: i try => $ emulator -sdcard /home/soms/androidemuimages/androidnew.img -avd androidnew error=> SDL init failure, reason is: No available video device as a second alternative i give path to this image file in AVD manager in eclipse but even it doesnt recognises it i guess. coz when i try to use camera it display the toast that sdcard is not enabled. = second problem is that when i try to push a .bmp file to sdcard using $ adb push bar3.bmp /sdcard there is no error but there is no change in logcat and no image added to gallery. or is it somewhere else?:S Plz forgive if i sound childish. Thanks in advance, regards, wahib --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: problem installing a .apk file
yes exactly i see this error message. what does it mean ??? On 9/29/09, Jack Ha wrote: > > Run "adb logcat" and you should see the error message: > > W/PackageParser( 582): /data/app/vmdl43410.tmp (at Binary XML file > line #10): does not specify android:name > > -- > Jack Ha > Open Source Development Center > ・T・ ・ ・Mobile・ stick together > The coverage you need at the price you want > > 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 Sep 28, 2:26 pm, wahib wrote: >> hi ! I am a newbie and wanna install a barcode app on emulator. The >> app is moseycode and i have its .apk file. when i run 'adb install >> ' in command prompt this error is displayed .. >> >> FAILURE [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED] >> >> i dnt know why this error is here !! :S plz help >> >> Regards, >> wahib > > > -- Wahib-ul-haq Communications Engineering Student, NUST, Pakistan. www.sizzlotech.com --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] problem installing a .apk file
hi ! I am a newbie and wanna install a barcode app on emulator. The app is moseycode and i have its .apk file. when i run 'adb install ' in command prompt this error is displayed .. FAILURE [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED] i dnt know why this error is here !! :S plz help Regards, wahib --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Can we take pictures without setting a camera preview?
Hi ROmain !! is the picture size normal ?? I am working on a simple barcode app using emulator only :S. Well when i take picture its saved as a thumbnail or u can say 25% of original size. I want to see preview. If your code working well than plz share .. and tell me what changes to make to show preview !! I'll be very thankful. Regards, wahib On 9/25/09, Romain Vallet wrote: > > After some more tests, I can call the takePicture method without > firing an exception. I don't call the startPreview method before > taking the picture. All pictures taken with this method are black, > though. > Any ideas? > > On 22 sep, 16:08, Romain Vallet wrote: >> Hi, >> I'm writing a program that needs to take pictures with the camera, but >> I don't need a preview. Everything I tried without setting a preview >> display ended in errors of the type "Unable to create media player". >> Do the camera really need a preview display or is there a way to take >> pictures without one? >> >> Thanks, >> Romain. > > > -- Wahib-ul-haq Communications Engineering Student, NUST, Pakistan. www.sizzlotech.com --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Can i fetch the latest image from gallery taken from camera ?
hi !! I dnt get anything required from this tutorial. This was a code to run camera application and it has nthing to do with the retreiving of gallery images. I need smthing else to help me out :S well, thanks On 9/28/09, moazzamk wrote: > > A quick search on google gave me this link: > http://2008.hfoss.org/Tutorial:Creating_a_Camera_Application > > - Moazzam > http://moazzam-khan.com > > On Sep 24, 7:05 am, wahib wrote: >> HI ! I want to fetch the latest image taken from camera into my code >> and then can do manipulation on it. Being a newbie i dont know how to >> get hold of that image .. and secondly how to read that image into my >> code. I guess i have to use content providers but how?? plz guide me >> with a sample code. I'll be so thankful to u ppl. >> >> Regards, >> wahib > > > -- Wahib-ul-haq Communications Engineering Student, NUST, Pakistan. www.sizzlotech.com --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Can i install 'barcode scanning app' on emulator ???
hey Rana !! I am also working on this task for now a long time :S. The thing is if you have a phone than its pretty simple and quick but with emulator its tough. The basic thing is you need to get know how of Zxing library which is used for encoding and decoding stuff. Rite now i am able to test the decoding of a stored barcode image but i am unable to integrate it with camera. to get started .. http://code.google.com/p/zxing/wiki/GettingStarted http://code.google.com/p/zxing/wiki/InterestingLinks There are two methods. a) to install barcode application & use it intents in your app b) To write your own app and functions of decoding and encoding hope it helps you out. If you find smthing worthy to share. Then share with me plz. I am a newbie to android !! Regards, wahib On 9/27/09, Rana wrote: > > I need suggestion for building a barcode Application > > On Sep 24, 5:23 pm, wahib wrote: >> Hi !! I want to make a simple barcode scanning app using Intents. The >> problem is that i dont have a phone and i >> have to test all thing on emulator. Can anyone share how i can get >> 'barcode scanning .apk file' ?? so that i can install it on my >> emulator. I am really stuck with it. plz help. >> >> Regards, >> wahib > > > > -- Wahib-ul-haq Communications Engineering Student, NUST, Pakistan. www.sizzlotech.com --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Can i install 'barcode scanning app' on emulator ???
Hi !! I want to make a simple barcode scanning app using Intents. The problem is that i dont have a phone and i have to test all thing on emulator. Can anyone share how i can get 'barcode scanning .apk file' ?? so that i can install it on my emulator. I am really stuck with it. plz help. Regards, wahib --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Xzing Barcodescanner without Intent
I have successfully run the docode function on a barcode image stored in res folder and it worked fine. I am now searching for any .apk file for barcode scanning app to test it with Intents as well. I hope it goes to some success. well, thanks for reply Regards, wahib On 9/24/09, Joe wrote: > > So well, > > yess, people preffer using intents because it is much easier! but the > google barcodescanner must be installed, otherwise you have to handle > the exeptions (when you start the intent put it into a try and if it > does not work let a dialog pop up or so...) > and yesss, something you should know about intents, sometimes it > doesn't handle the orientation changes right! > ok, i just found out, that the emulator does not support the android > market, so what you can do is look in some filesharing sites and > download the apk and then upload it to some website, and then install > it via the webbrowser onto your emulator. thats the only thing, i > could think of. > > to your problem of the barcode scanner, it is going to be hard to get > that to work > isn't there something black and white, when you start the camera on > the emulator? couldn't you maybee just change that picture to a > barcode one? > but i have now idea how you would do that... > > > sorry if i couldn't help you as much as you would prefer... > > regards > joe > > > On 22 Sep., 20:57, wahib haq wrote: >> hi joe. I am also working on a simple barcode scanning app and being a >> newbie i am stuck for a long time. Up to my research all people >> preffer using intent for barcode scanning. I really need your little >> help. How have u done using intents? I found the code using intents >> but i am confused as i am working on emulator only. so how can i text >> it using emulator only? how to install barcode scanning app on >> emulator? and share link of .apk file if you have. >> >> First i was working on decoding a stored barcode image but it wasnt >> working so i just want to move on to finalizing it. Your help can just >> solve my problem. >> >> Well, to your issue i can come up to only one solution. If you just >> take snap of the barcode image and store it in gallery and after it >> your app read the latest added image from gallery and decode it. Dont >> laugh if its a very childish solution :) >> >> waiting for ur reply. >> Regards, >> wahib >> >> On 9/22/09, Joe wrote: >> >> >> >> >> >> > Hey everyone... >> >> > how can i integrate the barcodescanner, whithout unsing an intent? >> >> > my app, is now working with an intent, but i sort of disklile it for >> > many reasons (one needs to have the barcodescanner installed, i don't >> > want it full screen... ) >> >> > i would like it similar to compare everywhere or shopsavy... but i am >> > totally lost... >> >> > i would very much appreciate help in any form. >> >> > Regards >> > johannes > > > --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Can i fetch the latest image from gallery taken from camera ?
HI ! I want to fetch the latest image taken from camera into my code and then can do manipulation on it. Being a newbie i dont know how to get hold of that image .. and secondly how to read that image into my code. I guess i have to use content providers but how?? plz guide me with a sample code. I'll be so thankful to u ppl. Regards, wahib --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] How to call built-in camera application from my app??
Hi !! I am a newbie and thinking about doing barcode scanning thing a little different way. I have tested a code which decode a stored image in res folder using zxing library. I am thinking to first call built- in camera app from my app in start, once the image of barcode is taken and stored in gallery ... my app will then read the latest added image and will run the decode function on it. I know it look a little old- fashioned plan of action though i can use intents. But i was just wondering if i can do this way. Coz i was finding difficulty doing it with intent way as i dont have a phone and doing it with emulator is little confusing rite now :S Any guidance is appreciated. Regards, wahib --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Xzing Barcodescanner without Intent
hi joe. I am also working on a simple barcode scanning app and being a newbie i am stuck for a long time. Up to my research all people preffer using intent for barcode scanning. I really need your little help. How have u done using intents? I found the code using intents but i am confused as i am working on emulator only. so how can i text it using emulator only? how to install barcode scanning app on emulator? and share link of .apk file if you have. First i was working on decoding a stored barcode image but it wasnt working so i just want to move on to finalizing it. Your help can just solve my problem. Well, to your issue i can come up to only one solution. If you just take snap of the barcode image and store it in gallery and after it your app read the latest added image from gallery and decode it. Dont laugh if its a very childish solution :) waiting for ur reply. Regards, wahib On 9/22/09, Joe wrote: > > Hey everyone... > > how can i integrate the barcodescanner, whithout unsing an intent? > > my app, is now working with an intent, but i sort of disklile it for > many reasons (one needs to have the barcodescanner installed, i don't > want it full screen... ) > > i would like it similar to compare everywhere or shopsavy... but i am > totally lost... > > i would very much appreciate help in any form. > > Regards > johannes > > > --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: TOTALLY LOST AND CONFUSED
Hi !! Reading and writing to a EditText widget is simple. For reading text use gF.gettext() and if you want to convert to string then use gF.gettext().tostring(). Else for writing to a edittext use sF.settext() function. I am also a newbie so not clear how to automatically call the validate function when you move from gF to next textbox but up to my knowledge you need to code the validation criteria in the lostfocus() function of gF edittext. Once done its simple. If validation fails than display error using 'AlertDialog' object and set up a message you want to display. Search for it or else i'll send you a example code. correct me if you find anything wrong :) Regards, wahib On 9/20/09, Rc3375 wrote: > > hi everyone-- > got questions about android. > the MAIN.XML screen has the following items in this order: > 1. TextView01 > 2. EditText (called gF) > 3. EditText (called fF) > 4. EditText (called sF) > 5. EditText (called ttlF) > 6. EditText (called nF) > and at the bottom of the screen, a botton called cB(that performs the > calculations). > > i need to be able to READ and check if the user has entered a valid > input into the first field(gF). such as a double value/float value > within a given range( greater than 1.01 and less than 99.98). this > should not be an integer. if that number is not within that range, > change the TextView01(string) informing the user what that range > should be(i.e "Please enter a value between 1.00 and 99.99"). pause > xx seconds, and restore the original text to TextView01. > > if gF is within the allowed range, button cB would/should be ENABLED, > the user presses it, the fields(EditText(3 thru 6) would be > calculated and filled in with whatever those values come out to be. > > i have not been able to figure out how to READ what the user entered > into field(gF), how to PLACE/ASSIGN those values to fields 3-6(once > the calculations are done), how to get the calculation portion to fire > up, validate a range, OR change a TextView01(string). > > i am at a COMPLETE loss. can/would anyone be able to help me? thank > all of you for your kind attention. rc3375. > > > > --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Configuring camera at Android device emulator?
yes i guess you can. Read this http://www.tomgibara.com/android/camera-source. Regards, wahib On 9/19/09, kiro wrote: > > Hi! > Did i can use my webcam as camera in ADV? also mic as default > microphone? is it possible, how can i configurate it? > > > --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Can i test barcode scanning task on emulator ??
Hi !! I am stuck for a long time on a simple task to scan a barcode. I am using Zxing. First i tried to work out reading from a stored barcode image in res folder but it didnt worked out. On my previous post some expert told me that i shud use Intents. I need to ask if any one has experience in this domain that i dont have a phone. so can i install barcode scanning app on emulator ?? and then can i use intents from that app in my code for barcode scanning task ?? Plz guide me. I am a newbie to android !! :S Regards, wahib --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Zxing integration is not working out :(
Hi. I am a newbie and trying to decode a barcode image stored in res folder. I am using this code. package com.example.barcodescan; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.widget.TextView; import com.google.zxing.MonochromeBitmapSource; import com.google.zxing.MultiFormatReader; import com.google.zxing.qrcode.QRCodeReader; public class barcodescan extends Activity { /** Called when the activity is first created. */ private TextView tv; com.google.zxing.Result result; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); tv = (TextView) findViewById(R.id.text); Bitmap bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.bar2); MultiFormatReader reader1 = new MultiFormatReader(); //for all barcode formats QRCodeReader reader = new QRCodeReader(); //only for QRCode format try { result = reader1.decode(new MonochromeBitmapSource(bitmap)); tv.setText(result.getText()); } catch(Exception e) { tv.setText("within catch block"); } } } but there is error when i uses MonochromeBitmapSource constructor. the error is "Cannot instantiate the type MonochromeBitmapSource". I dont know how to solve it. at few sites i found using YUVMonochromeBitmapSource but its not available in com.example.zxing. !! I am confused. plz help --~--~-~--~~~---~--~~ 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 android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---