android

Nexus one camera preview sizes on android 2.2 ( froyo )

I updated my N1 to Froyo ( not the official OTA, though - I could not wait :-) ) I have noticed that the camera preview size of 1280x720 is no longer available, as it was on 2.1. The largest preview size is now 840x400. Any ideas on if this is final decision for the official froyo release - or is there any way to enable a larger-than-sc...

Add a textView behind the gridView?

hello, I want to add a textView at the end of gridView, as http://i3.6.cn/cvbnm/11/41/dd/6307adbd865d210c9e1e7ec9d0933a33.png I override the getView but there is a textView at the end of every item of gridView, which i don't like -- I need the total number of item in the textView as "91 images". <linearlayout> <gridView> <textView > <...

How to add data to Google calendar programmatically in android?

Hi I need to add particulars to Google calendar from my application. Is it possible to add data to Google calendar? I am new to android Help me to solve this. ...

Android: How to get a custom view to redraw partially?

I have a custom view that fills my entire screen. (A piano keyboard) When a user touches the key, it causes invalidate() to be called and the whole keyboard gets redrawn to show the new state with a touched key. Currently the view is very simple, but I plan to add a bit more nice graphics. Since the whole keyboard is dynamically rendere...

android language pack

Hi, I want to create language pack for android. How can I do this. If anyone knows how or where to find info about this topic please share your knowledge. I'd appreciate any pointers to the right direction. Thank you. ...

accepting click events in RelativeLayout

Ok, I have a RelativeLayout with a few TextViews as children <RelativeLayout android:id="@+id/shift_parent_name" android:layout_width="fill_parent" android:layout_weight="0.25" > <TextView android:id="@+id/shift_parent_nametitle" android:text="@string/shift_parent_nametitle" style="@style/hea...

Suggestions related to Android final application?

dear friends, i have completed my First android application and i have deployed that application to different android based mobile phones which is working fine. my question to you is, is there iphone store like thing exists in android to upload your application by paying fee to android store or something like that.. or nothing or sho...

Android: access drawables outside an activity

How do access a drawable which resides in my project's res/drawable folder from outside an activity? The component which handles the loading of images is generic and is not inside any activity. I would like to display an image from res/drawable in case it can't be fetched from the web. Thanks, Rob ...

how to open Gmail View Message Activity?

I want to write an application to List the Gmail message. In the list, if user click one of the message item, it shall link ot Gmail App to see more detial information. Currently I can read the Gmail db with Gmail.java. There are some problems while I want to open Gmail Activity. In general, we can open Activity with Action and paramet...

Can I increase a buttons onclick-area programmatically?

Sometimes I have a button in my UI that it is so small that it is difficult to click. My solution so far has been to add a transparent border around the button in photoshop. Just increasing the padding on the button does not work, since this will also stretch the image. Since it is kind of a fuss to open photoshop each time I want to cha...

Ideas for multiplatform encrypted java mobile storage system

Hi I have some questions (read Doubts part) regarding implementing encrypted storage (kind of encrypted filesystem) on Android, Blackberry and J2ME. I need your advice, you cryptography masters. I know this question is a bit long a maybe too verbose, but please try to read it till the end (I have so many related questions that I couldn'...

submit html form programmatically in android

I want to submit form programatically in android. I don't want any user interaction with web browser. User will provide inputs in EditField and then inputs will be submitted thru httppost method via HTTPwebmethod. But I didn't get any success in the same. Please advise. I have used HTMLUnit in java but its not working android. final W...

Android: Multi-layered Tilesets and "Camera" Positioning

Hello everyone, I've just recently begun working on developing Android applications, and what I am attempting to do is build a 2D RPG game, ala Final Fantasy 1, and am running into issues with setting up multiple tile layers. Basically, what I want to do is set up a GameMap view which has 3 layers: a "background" layer with grass/roads...

how does scrolling in android listview work?

I have an android-app with a listview in an activity. The listview has, if I call it so, three data states. no data loaded from inet -> only one dummy item is visible, saying that data is loading; data is loaded and shown in list; one listitem is clicked and now shows more information for this listitem (so it is increased in its height...

Android @Override usage

(Newbie to Java, old time C# guy.) I have noticed a lot of the use of @Override in Android example code. I thought that all Java methods were by default "Virtual"? What then does @Override do? Example: private class HelloWebViewClient extends WebViewClient { @Override public boolean shouldOverrideUrlLoading(WebView view, String url)...

Gallery(Horizontal ListView) inside a ListView problem android

Ok i wasted 1 day of my life i think now is the time to ask for help :D I have a listview that has an image text ..etc (custom view) and one of its elements is a Gallery. (Aka horizontal listview) Gallery also is a custom view. SO.. here is the problem: I call the adaptor to set the custom view in the listview.Ok for now. Inside the list...

How to parse *.ics file in android?

I download the *.ics file from my application (I am using intent-filter to register my .ics mime type for download the mail attachments). When I open an ics file from the download I need to read and parse the file from my application.Can anyone help me??? ...

Is it possible to activate a Nexus One Usb Debug mode with fastboot?

Hi all. What I'm looking for is something like ./fastboot -c usbDebugEnabled=1 to activate a bootlooping Nexus One's USB debug mode to look at logcat with adb. ...

Problem reading from two separate InputStreams

I'm building a Yammer client for Android in Scala and have encountered the following issue. When two AsyncTasks try to parse an XML response (not the same, each task has it's own InputStream) from the Yammer API the underlying stream throws a IOException with the message "null SSL pointer", as seen below: Uncaught handler: thread AsyncT...

Adapting Android Bluetooth Chat for multiple devices

Hello, I'm doing a college project on Bluetooth for Android, and I'm trying to understand how to manage communication between multiple connected devices. Eventually I'm going to develop a multiplayer Bluetooth Game. Currently I've adapted Android's sample app BluetoothChat to connect my three Nexxus One phones. 1 connects to 2 who conne...