Re: [android-developers] Send sms to multiple numbers in single call to sendTextMessage

2011-03-05 Thread Sarwar Erfan
On Friday, March 4, 2011 4:18:14 PM UTC+6, Marcin Orlowski wrote: And if you planned to do some savings by hitting 10 receipients while paying for 1 message - it's not gonna happen :) No, I am only thinking of saving program execution time. Anyways, thanks for your feedback. Regards Sarwar

[android-developers] Send sms to multiple numbers in single call to sendTextMessage

2011-03-04 Thread Sarwar Erfan
similar task can suggest a good generic way. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android

[android-developers] Re: Help with strings/arrays

2011-02-08 Thread Sarwar Erfan
() { } .. public static level999() { } } Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers

[android-developers] Re: URL query string bug in SMS messages

2011-02-08 Thread Sarwar Erfan
Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com

[android-developers] Re: how to get user Email id.

2011-01-31 Thread Sarwar Erfan
This is what you want. http://stackoverflow.com/questions/2112965/how-to-get-the-android-devices-primary-e-mail-address Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Re: Why cant I install an apk from asset folder

2011-01-27 Thread Sarwar Erfan
1MB. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com

[android-developers] Re: How to write audio into microphone?

2011-01-27 Thread Sarwar Erfan
Sorry, Not yet. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more

[android-developers] Re: que

2011-01-26 Thread Sarwar Erfan
of + But, it is upto your phone operator whether the SMS can be delivered or not. Not all operators can send SMS to all foreign operators. But, if you can send SMS normally from Phone's sms option to that number, you can send from your application also. Regards Sarwar Erfan -- You received

[android-developers] Re: push audio to caller on android

2011-01-25 Thread Sarwar Erfan
Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more

[android-developers] Re: Testing on Different Devices

2011-01-25 Thread Sarwar Erfan
. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com

[android-developers] Re: Customizing the UserAgent for browser.

2011-01-25 Thread Sarwar Erfan
Get the browser source from here: http://android.git.kernel.org/?p=platform/packages/apps/Browser.git And, modify the user agent string in this file. src/com/android/browser/BrowserSettings.java -- Regards Sarwar Erfan -- You received this message because you are subscribed to the Google

[android-developers] Re: Android's default browser - help for directions

2011-01-19 Thread Sarwar Erfan
-platform #%21forum/android-platform I did try Ajax, Opera etc. but not much luck there either, What problem did you face? Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Re: filesystem access on emulator

2011-01-10 Thread Sarwar Erfan
No need to access emulator filesystem for this. You can find that in the bin directory of your project directory in your PC. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

Re: [android-developers] How to start media player to play HTTP stream?

2011-01-10 Thread Sarwar Erfan
Intent i = new Intent(Intent.ACTION_VIEW); *i**.setDataAndType(Uri.parse(**http://domain.name/test.mp4;), video/*);* startActivity(i); Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] Need help in using DRM protection module for a ebook reader project.

2011-01-09 Thread Sarwar Erfan
Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options

[android-developers] Re: Does Market support installing multiple apks

2011-01-09 Thread Sarwar Erfan
1 apk per application please. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Application Back button not working

2011-01-09 Thread Sarwar Erfan
there and debug. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr

[android-developers] Re: How to exit the application..?

2011-01-09 Thread Sarwar Erfan
, then do exactly the things that your application would do during exit and restart --- this will solve your problem. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Re: Unknown application a large number of SMS messages are being sent. Select OK to continue, or Cancel to stop sending

2011-01-05 Thread Sarwar Erfan
I dont have solution to your problem, but I would appreciate the framework. I really think 100 (or 300) is really a large number of SMS. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Starting email client with html pre-compiled code

2011-01-04 Thread Sarwar Erfan
. Which can give you instant solution. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android

[android-developers] Re: Avoid Multiple click on button..

2011-01-04 Thread Sarwar Erfan
disable the button on click. enable it on close event of the dialog or on some other appropriate event But, if you are tapping with finger, how can you press more than once unwillingly? Regards Sarwar Erfan On Tuesday, January 4, 2011 9:37:53 PM UTC+6, ikalbeniz wrote: Hi, I have

[android-developers] Re: Creating complex queries for SQLite

2011-01-03 Thread Sarwar Erfan
can send feature request to the content provider developer to add options to your desired kind of queries. You *cannot* access others database. You *cannot* use content provider other than the available options and filters set by the developer. Please bear with these. Regards Sarwar Erfan

[android-developers] Re: Android : Why NUMBER_KEY return the number in reverse order

2011-01-03 Thread Sarwar Erfan
elements unless you are targeting older phones. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android

[android-developers] Re: Android : Why NUMBER_KEY return the number in reverse order

2011-01-03 Thread Sarwar Erfan
its 016 12345678 (its not the real number) as Mr X When I get phone call from another number 016 99345678, it shows Mr X is calling. It compares only last few digits!!! Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: Creating complex queries for SQLite

2011-01-03 Thread Sarwar Erfan
limitations, I cannot write a free SQL query command. use the rawQuery method available in SQLiteDatabase Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers

[android-developers] Re: How to change the color..?

2011-01-03 Thread Sarwar Erfan
This class is derived from View. So, did you try the things you would do to change background color of a View? may be android:backgroundhttp://developer.android.com/reference/android/view/View.html#attr_android:background ? Regards Sarwar Erfan -- You received this message because you

[android-developers] Re: Programmatically cause a focus event on a text input

2011-01-03 Thread Sarwar Erfan
know what to do. Then what help do you need? Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android

Re: [android-developers] Re: How to add labels above this table layout

2011-01-03 Thread Sarwar Erfan
Excellent patience! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

[android-developers] Re: Problem while loading phone contacts in ascending order

2011-01-03 Thread Sarwar Erfan
Cursor cursor = getContentResolver().query(ContactsContract.Contacts.CONTENT_URI, null, ContactsContract.Contacts.HAS_PHONE_NUMBER + = 1, null, UPPER( + ContactsContract.Contacts.DISPLAY_NAME + ) ASC); -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Creating complex queries for SQLite

2011-01-02 Thread Sarwar Erfan
Your subject of the post should have been something like Accessing databases from other packages In normal phones, you are not allowed to do so. It prevents you to mess up with someone else's database. If you want it for personal usage, you can root your phone. Regards Sarwar Erfan -- You

[android-developers] Re: SQLite setup

2011-01-02 Thread Sarwar Erfan
examples available, try googling. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers

[android-developers] Re: Yahoo API in android

2010-12-31 Thread Sarwar Erfan
/rest_api_guide/contact_api.html May be you can find some complete Android code example in the web, try searching. And, finally, try to start coding, if you stuck, post in groups for help. Do not expect complete code sample in a group before starting. Regards Sarwar Erfan -- You received this message

[android-developers] Re: moving InputMethod to the top

2010-12-31 Thread Sarwar Erfan
. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com

[android-developers] Re: disappearing USB functionality with Nexus S and Vista

2010-12-31 Thread Sarwar Erfan
On Friday, December 31, 2010 11:38:57 PM UTC+6, greg wrote: My Nexus One USB connection continues to work with the same laptop. And with the same USB cable? Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: Screen Rotation

2010-12-31 Thread Sarwar Erfan
http://stackoverflow.com/questions/2730855/prevent-screen-rotation-android -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: How can I achieve this menu in android?

2010-12-29 Thread Sarwar Erfan
/menus.html Off course, you have to show it as soon as your activity loads. Or, you can create your own control if you like to. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Re: Uploading images to BLOBSTORE @ AppEngine

2010-12-28 Thread Sarwar Erfan
What problems are you facing? Dont say you didnt even try and just posted in this group. Please try, if you face any problem, post the problem here. BTW, have you tried searching in google? Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: How to resize images..?

2010-12-28 Thread Sarwar Erfan
is Java (Look for Java code to resize Image) 2. Read SDK documentation for Android ( http://developer.android.com/reference/packages.html) Good thing is that, they have implemented a search feature in the documentation. Regards Sarwar Erfan -- You received this message because you are subscribed

[android-developers] Re: EditText in Header of ListView loses focus after first character is entered

2010-12-27 Thread Sarwar Erfan
See if your your problem related/similar to this? https://groups.google.com/forum/?pli=1#!topic/android-developers/ciMrAhW2P7M Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Re: Developing for Galaxy Tab

2010-12-22 Thread Sarwar Erfan
. Specially, the paragraph with heading Resource directory qualifiers for screen size and density And, for backgrounds, stretching is not always a bad idea if situation permits: http://developer.android.com/guide/developing/tools/draw9patch.html Regards Sarwar Erfan -- You received this message

[android-developers] Re: findViewById reslove?

2010-12-21 Thread Sarwar Erfan
will grab resources from first?. Yes. findViewById has no interest with what you have in your other xml's. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers

[android-developers] Re: camera app giving error pls guide.

2010-12-21 Thread Sarwar Erfan
documentation if you are willing to use camera. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

[android-developers] Re: camera app giving error pls guide.

2010-12-21 Thread Sarwar Erfan
with the same certificate. Read about android:sharedUserId in this link: http://developer.android.com/guide/topics/manifest/manifest-element.html Try omitting that. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Re: where is my data?

2010-12-21 Thread Sarwar Erfan
If you can read it from app, why dont you just copy it to sdcard by writing some lines of codes in your app? Then you can get it to your pc from sdcard. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Re: where is my data?

2010-12-21 Thread Sarwar Erfan
the internal 8GB flash memory is accessible when you connect the device to PC. If you have got what you need, then its already resolved :) Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] How to check...?

2010-12-21 Thread Sarwar Erfan
Have you tried getState() method of NetworkInfo? Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

[android-developers] Re: get name of selected checkboxes from listview

2010-12-21 Thread Sarwar Erfan
inside the event handler? Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr

Re: [android-developers] ADB USB Driver for MyTouch 4g

2010-12-21 Thread Sarwar Erfan
driver from Samsung website and after installing Samsung's driver, I was able to connect with ADB. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

[android-developers] Re: Encoding/decoding problem

2010-12-21 Thread Sarwar Erfan
), then the default format is YCbCr_420_SP (NV21). If you are looking for JPEG, then use *setPreviewFormat(ImageFormat.JPEG)* beforehand. http://developer.android.com/reference/android/hardware/Camera.Parameters.html#setPreviewFormat(int) Regards Sarwar Erfan -- You received this message because you

[android-developers] Re: Encoding/decoding problem

2010-12-21 Thread Sarwar Erfan
Oh, forgot to mention, before you use setPreviewFormat, use getSupportedPreviewFormats() method to determine whether your phone camera supports ImageFormat.JPEG or not. http://developer.android.com/reference/android/hardware/Camera.Parameters.html#getSupportedPreviewFormats() Regards Sarwar

Re: [android-developers] Re: Local Search on google maps

2010-12-21 Thread Sarwar Erfan
/apis/customsearch/v1/overview.html .* * * Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android

[android-developers] Re: Upgrade Galaxy 2.1 eclairs to 2.2 froyo in india..

2010-12-21 Thread Sarwar Erfan
there. Not sure whether this firmware update was only for Korean Samsung Galaxy S or not. BTW, I dont live in Korea, I live in Bangladesh. The device was brought by a friend of mine who visited Korea. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google

[android-developers] Re: enable/disable check boxes

2010-12-20 Thread Sarwar Erfan
show and hide, use setVisible method. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android

[android-developers] Re: enable/disable check boxes

2010-12-20 Thread Sarwar Erfan
Yes. You can use setOnCheckedChangeListener event of the radio buttons. Then, in event handler, based on which radio button is selected, show or hide the checkboxes. This is the way I usually adopt in similar cases. Regards Sarwar Erfan -- You received this message because you are subscribed

[android-developers] Re: EditText inside ListView

2010-12-19 Thread Sarwar Erfan
*android:windowSoftInputMode=adjustPan* Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android

[android-developers] Re: java.net.SocketException after HTC 4G latest update...

2010-12-19 Thread Sarwar Erfan
After you upgraded your Android OS, did you setup correct mobile internet access-point? Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

[android-developers] Re: Multiple TextViews Inside a Button

2010-12-19 Thread Sarwar Erfan
9 Patch: http://developer.android.com/guide/developing/tools/draw9patch.html Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe

[android-developers] Re: Android - add menu item to Android's built-in apps

2010-12-19 Thread Sarwar Erfan
://developer.android.com/reference/android/widget/QuickContactBadge.html Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

[android-developers] Re: Multiple TextViews Inside a Button

2010-12-19 Thread Sarwar Erfan
(dont ask how did I get confirmation). As soon as we find at least one way to achieve the look and feel, we all should be happy. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Multiple TextViews Inside a Button

2010-12-19 Thread Sarwar Erfan
in different sizes. Orientation can be changed at any point (you need to recalculate the text length then). Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers

[android-developers] Re: Multiple TextViews Inside a Button

2010-12-19 Thread Sarwar Erfan
for the TextView to specify your own colors. http://developer.android.com/guide/topics/resources/color-list-resource.html Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers

[android-developers] Re: My App should get information of every Http Get.

2010-12-19 Thread Sarwar Erfan
Why should your app get all these private information about the device owner? Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

[android-developers] Re: Need help in View

2010-12-14 Thread Sarwar Erfan
Try replacing your query Cursor c = sampleDB.rawQuery (SELECT RoomName, group_concat(SwitchFullName,'\n') as SwitchFullName FROM SwitchTable GROUP BY SwitchFullName,null); Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Need help in View

2010-12-14 Thread Sarwar Erfan
*Ignore previous reply.* There was a type due to copy paste: Use this: Cursor c = sampleDB.rawQuery (SELECT RoomName, *group_concat(SwitchFullName,'\n') as SwitchFullName* FROM SwitchTable *GROUP BY RoomName*,null); Regards Sarwar Erfan -- You received this message because you

[android-developers] Re: Key store is lost

2010-12-14 Thread Sarwar Erfan
It is impossible to re-generate. If you have deleted it, try disk file recovery tools. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

[android-developers] Re: Device Buying Club

2010-12-14 Thread Sarwar Erfan
of $500 per year. PERIOD. We get devices through our friends and relatives travelling/living in other countries. Good thing about android is that, Samsung Korea sells career unlocked Galaxy S and Galaxy Tab in out country. (Dev phone is a dream) Regards Sarwar Erfan -- You received this message

[android-developers] Re: Device Buying Club

2010-12-14 Thread Sarwar Erfan
. Samsung Korea sells *carrier* unlocked Galaxy S and Galaxy Tab in out country -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] Re: How do you specify ContentProvider authorities when using the Lite Pro app publishing model?

2010-12-13 Thread Sarwar Erfan
When I buy a pro version, usually I uninstall the lite verion before installing the pro version. The pro version is a superset of the lite version. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Re: Repacking a .apk file

2010-12-08 Thread Sarwar Erfan
development, I would rather ask you to send me the part you developed, then add that and sign with my cert and then publish. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Re: ninePatch bug?

2010-12-08 Thread Sarwar Erfan
Did you set the stretch and content areas correctly in the 9 patch? And are you using correct filename format (file.9.png)? Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Re: How to capture unlock event in activity.

2010-12-01 Thread Sarwar Erfan
Hi, For this purpose, you need to override the onResume method. Unlock is irrelevant here. Review the Activity life cycle for better understanding what is going on: http://developer.android.com/reference/android/app/Activity.html#ActivityLifecycle Hope this helps. Regards Sarwar Erfan On Dec

[android-developers] Re: Placing DB to webserver or phone for LBS

2010-12-01 Thread Sarwar Erfan
, there is no harm getting the POI's online from server. My suggestion is to put the POI data online. Regards Sarwar Erfan On Dec 1, 2:13 pm, Faheem Khatri faheemkhatr...@gmail.com wrote: I am creating LBS (android application) as a FYP. Help me where i put the database of my application in a web

[android-developers] Re: ListView elements not clickable in all area

2010-12-01 Thread Sarwar Erfan
Hi Pedro, Try android:descendantFocusability=blocksDescendants in the LinearLayout of the row xml. Info: http://developer.android.com/reference/android/view/ViewGroup.html#attr_android:descendantFocusability Regards Sarwar Erfan On Dec 1, 2:58 pm, pedr0 pulsarpie...@gmail.com wrote: Hi

[android-developers] Re: ListView elements not clickable in all area

2010-12-01 Thread Sarwar Erfan
Also, android:clickable=true for the row layout. You might also be interested to make the individual children or a row not clickable. Regards Sarwar Erfan On Dec 1, 3:12 pm, Sarwar Erfan erfanonl...@gmail.com wrote: Hi Pedro, Try android:descendantFocusability=blocksDescendants

[android-developers] Re: addView in layout at run time

2010-11-30 Thread Sarwar Erfan
if you want multiple image buttons. b = new ImageButton(); Regards Sarwar Erfan On Nov 30, 3:18 pm, pedr0 pulsarpie...@gmail.com wrote: Hi at all, I have to put some ImageButton inside an LinearLayout, but I don't know the number of this statically, so because I keep the data through internet

[android-developers] Re: addView in layout at run time

2010-11-30 Thread Sarwar Erfan
ImageButton constructor takes the context as input parameter http://developer.android.com/reference/android/widget/ImageButton.html b = new ImageButton(this); Regards Sarwar Erfan On Nov 30, 3:27 pm, Sarwar Erfan erfanonl...@gmail.com wrote: Hi, You are adding the same ImageButton again

[android-developers] Re: and it's Google Map again

2010-11-29 Thread Sarwar Erfan
What is the problem you are facing? Few will have time to create new project, copy and paste your codes, run and find out what the problem is Then comes the question of solution. Regards Sarwar Erfan On Nov 30, 11:16 am, Abhishek Talwar r.o.b.i.n.abhis...@gmail.com wrote: I don't know

[android-developers] Re: and it's Google Map again

2010-11-29 Thread Sarwar Erfan
, not just copy paste some code. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers

[android-developers] Re: and it's Google Map again

2010-11-29 Thread Sarwar Erfan
I have already posted solution to your problems. Let me know if this solved your problem. Regards Sarwar Erfan On Nov 30, 12:58 pm, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: Thanks for replying I will be careful from now onwards. My application is running but the map is not visible

[android-developers] Re: Market is completely out of order !!

2010-11-25 Thread Sarwar Erfan
May be Google is not paying him well? :D On Nov 25, 7:55 pm, Yahel kaye...@gmail.com wrote: No news from the Android team(one-man team most probably : ) about the market being completely screwed and unusable : - Half my app do not appear anymore in the list - Delete links under the

[android-developers] Re: Json paser showing array length as 0.. pls help

2010-11-24 Thread Sarwar Erfan
On Nov 24, 12:33 pm, Atik atik0...@gmail.com wrote: hi guys this the class where i m parsing the values                         resultsJsonArray = jsonObject.getJSONArray(resuslt); Is this spelling mistake in your actual code? (You wrote resuslt instead results) Regards Sarwar Erfan

[android-developers] Re: How to get MAC address?

2010-11-24 Thread Sarwar Erfan
Hi, Try getMacAddress() in WifiInfo class. http://developer.android.com/reference/android/net/wifi/WifiInfo.html Regards Sarwar Erfan On Nov 24, 9:21 am, Alex Xin xinxi...@gmail.com wrote: Hi, guys I'd like to know how to get WIFI MAC address on Android system? Does anyone know how to do

[android-developers] Re: Json paser showing array length as 0.. pls help

2010-11-24 Thread Sarwar Erfan
that, there is a bug in your code. In your getResultsArrayList function you have: resultsJsonArray = jsonObject.getJSONArray(results); Which should be: resultsJsonArray = jsonObject.getJSONObject(responseData).getJSONArray(results); Regards Sarwar Erfan On Nov 24, 2:40 pm, Atik atik0...@gmail.com

[android-developers] Re: Inputtype for edit text not changing

2010-11-23 Thread Sarwar Erfan
=textPassword android:hint=Password / == http://developer.android.com/reference/android/widget/TextView.html#attr_android:hint Regards Sarwar Erfan On Nov 23, 3:49 pm, umakantpatil umakantpat...@gmail.com wrote: Hi.. I want to show edittext which will default show

[android-developers] Softkeyboard not displaying in 2.2 landscape mode

2010-11-21 Thread Sarwar Erfan
in that Activity. But, soft keyboard is not displaying for those. In fact, softkeyboard seems to apprear, but as a bar in the bottom. Please view the screenshot. img821.imageshack[dot]us/img821/1839/screenshot4ab.png Any help will be appreciated. Regards Sarwar Erfan activity

[android-developers] Re: HTTPPOST (PHP,MYSQL)

2010-11-10 Thread Sarwar Erfan
); nameValuePairs.add(new BasicNameValuePair(id, 12345)); nameValuePairs.add(new BasicNameValuePair(name, Sarwar Erfan)); httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs)); HttpResponse response = httpclient.execute(httppost); String

[android-developers] Re: The application has stopped unexpectedly

2010-11-08 Thread Sarwar Erfan
puty try catch around ImageButton o1 = (ImageButton) findViewById(R.id.next); o1.setOnClickListener(this); R.id.next : is it really an ImageButton? You have got ClassCastException. Regards Sarwar Erfan On Nov 8, 1:27 pm, Alok Upadhyay maddy.luck...@gmail.com wrote: i have two class

[android-developers] Re: How to unsign the signed apk file?

2010-11-03 Thread Sarwar Erfan
-signing.html Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr

[android-developers] Re: Stolen app on market

2010-10-13 Thread Sarwar Erfan
file name. Where is the missing link in my idea? I will be glad if someone clears my concept. Thanks in advance. Regards Sarwar Erfan On Oct 4, 11:14 pm, Nightwolf mikh...@gmail.com wrote: Recently I've discovered that our app Little Python is distributed by developer who call himself Adam

[android-developers] Re: Run application without emulator

2010-10-13 Thread Sarwar Erfan
the idea of Emulator. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr

[android-developers] Can I use ext2 or ext3 formatted external SD card in Android 2.1

2010-10-12 Thread Sarwar Erfan
anything in the card. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr

[android-developers] Re: Can I use ext2 or ext3 formatted external SD card in Android 2.1

2010-10-12 Thread Sarwar Erfan
The answer is NO. I had to get two sdcards to be safe (as I did not get any reply). This morning I went to the person having the device and tested. Android reported that filesystem of sdcard (which was ext2) is unsupported. Regards Sarwar Erfan On Oct 12, 5:58 pm, Sarwar Erfan erfanonl

[android-developers] Re: Cannot install apk of huge size

2010-09-30 Thread Sarwar Erfan
to .zip and you can see inside it. Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers

[android-developers] Re: Interactive Touchscreen plays sounds twice

2010-09-30 Thread Sarwar Erfan
Two events are generated... First : ACTION_DOWN Second: ACTION_UP Try something like this in your event handler: if (event.getAction() == MotionEvent.ACTION_DOWN) { //play sound here } Regards Sarwar Erfan On Sep 30, 4:11 am, ericmahlon ericmah...@hotmail.com wrote: I have

[android-developers] Temporarily change soft keyboard language

2010-09-03 Thread Sarwar Erfan
Hi, I am developing an English learning app which requires users to input some text in English. But, for Korean Samsung Galaxy S, the softkeyboard appears in Korean letters. I need to change it to English letters (for my Activity only) Regards Sarwar Erfan -- You received this message because

[android-developers] Re: Settings.Secure.ANDROID_ID not unique on DROID2?

2010-08-19 Thread Sarwar Erfan
:) Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com

[android-developers] Re: My application works over WiFi but fails over GPRS

2010-08-18 Thread Sarwar Erfan
If the port is blocked by mobile operator, then also there will be timeout exception. Why don't you use HTTP (port 80) on your server side? If a single port is kept unblocked by mobile operator, it should be 80. Regards Sarwar Erfan On Aug 18, 7:41 am, Jenus Dong jenus.ne...@gmail.com wrote

[android-developers] Re: Google Nexus ONE

2010-08-18 Thread Sarwar Erfan
are legitimate or scams) http://www.20north.com/product/?mid=2pid=RTLS2R Regards Sarwar Erfan On Aug 17, 11:59 am, Sattanaathan Ravi sattanaat...@gmail.com wrote: Hi everbody, i am an android developer from India and i was excited to order an Nexus ONE but untill the shipment form said it can only

[android-developers] Re: Ninepatch Error in Eclipse 3.5.2

2010-08-18 Thread Sarwar Erfan
something/put text in it) I don't see any left or top borders. Left and top borders define the areas that will be stretched. Consult this link: http://www.chinaup.org/docs/reference/available-resources.html#ninepatch Regards Sarwar Erfan On Aug 17, 8:41 am, Lorensius W. L. T lor...@londatiga.net

[android-developers] Re: connect to sql server

2010-08-18 Thread Sarwar Erfan
Google, these are only few clicks away from you. Regards Sarwar Erfan On Aug 16, 4:23 pm, khalfaoui ameni khalfaoui.am...@gmail.com wrote: hello everyone, i want to connect to sql server from android but i can't find how...  I can't seem to find any information on connecting to a SQL Server DB

  1   2   >