Re: [android-beginners] Get data to android app from mysql server

2010-05-24 Thread wahib haq
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] share stuff to social networks

2010-05-28 Thread wahib haq
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] How to Access voice call stream in real time

2010-07-21 Thread wahib haq
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] How to configure proxy settings on my Droid with Android 1.6 ?? plz help

2010-08-04 Thread wahib haq
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] Re: Configuring camera at Android device emulator?

2009-09-20 Thread wahib haq

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] Re: TOTALLY LOST AND CONFUSED

2009-09-20 Thread wahib haq

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: Xzing Barcodescanner without Intent

2009-09-22 Thread wahib haq

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: Xzing Barcodescanner without Intent

2009-09-24 Thread wahib haq

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] Re: Can i install 'barcode scanning app' on emulator ???

2009-09-28 Thread wahib haq

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] Re: Can i fetch the latest image from gallery taken from camera ?

2009-09-28 Thread wahib haq

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 we take pictures without setting a camera preview?

2009-09-28 Thread wahib haq

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: problem installing a .apk file

2009-09-29 Thread wahib haq

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] Re: plz help with sdcard image file and push command not working!!

2009-10-07 Thread wahib haq

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

2009-10-07 Thread wahib haq

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: Reading/Decoding bar code stored in resources

2009-10-07 Thread wahib haq

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: plz help with sdcard image file and push command not working!!

2009-10-07 Thread wahib haq

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: someone plz help me .. how to call built in camera app from my custom app ??

2009-10-08 Thread wahib haq

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] Re: someone plz help me .. how to call built in camera app from my custom app ??

2009-10-08 Thread wahib haq

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: Reading/Decoding bar code stored in resources

2009-10-09 Thread wahib haq

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: Reading/Decoding bar code stored in resources

2009-10-14 Thread wahib haq

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
>> &

Re: [android-beginners] Re: how to call a function after taking snap from camera?? plz help

2009-11-10 Thread wahib haq
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


Re: [android-beginners] how to install the sdk in my computer?

2009-11-11 Thread wahib haq
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


Re: [android-beginners] Raw barcode reading

2009-11-25 Thread wahib haq
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


Re: [android-beginners] Http proxy settings not working in Android Emulator 2.1

2010-02-19 Thread wahib haq
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


Re: [android-beginners] Problem with my first very basic Google map application

2010-02-23 Thread wahib haq
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] please help

2010-02-24 Thread wahib haq
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] Re: cant workout why a NullPointerException occuring !! :0

2010-03-01 Thread wahib haq
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


Re: [android-beginners] Re: IllegalArgumentException occurs when passing url to post data ... plz help

2010-03-03 Thread wahib haq
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 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

Re: [android-beginners] can any1 help me ... how to upgrade G1 android version from 1.0 to 1.6 ?

2010-03-07 Thread wahib haq
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


Re: [android-beginners] DefaultHttpClient problem sending Http request

2010-03-07 Thread wahib haq
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] Hello Everyone

2010-03-08 Thread wahib haq
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] use Facebook in app

2010-03-18 Thread wahib haq
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.


Re: [android-beginners] use Facebook in app

2010-03-18 Thread wahib haq
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] Add calendar item through Intent?

2010-03-19 Thread wahib haq
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] Problems accessing location data in emulator

2010-03-20 Thread wahib haq
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
> 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] App for submitting information

2010-03-21 Thread wahib haq
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] Still confused with onKeyDown

2010-03-21 Thread wahib haq
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] Still confused with onKeyDown

2010-03-21 Thread wahib haq
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] Facebook API for Android

2010-03-23 Thread wahib haq
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] How can i integrate facebook connect api in any android application?

2010-03-31 Thread wahib haq
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
> 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

>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> G

Re: [android-beginners] Re: How can i integrate facebook connect api in any android application?

2010-04-01 Thread wahib haq
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] Real beginner stuff

2010-04-05 Thread wahib haq
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


Re: [android-beginners] Real beginner stuff

2010-04-05 Thread wahib haq
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] is there any1 who has implemented facebook integration with android app by any means ??? plz help

2010-04-12 Thread wahib haq
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


Re: [android-beginners] JavaScript problem in webview

2010-04-12 Thread wahib haq
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] Android Development Phones

2010-04-22 Thread wahib haq
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


Re: [android-beginners] Getting one form data on anather form

2010-04-22 Thread wahib haq
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] Getting one form data on anather form

2010-04-22 Thread wahib haq
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