android Programming Glossary: formats
Application Skeleton to support multiple screen http://stackoverflow.com/questions/12242111/application-skeleton-to-support-multiple-screen deprecated and should not be used. Use appropriate image formats PNG versus JPEG Android prefers PNG for bitmap image files accepts..
Encoding H.264 from camera with Android MediaCodec http://stackoverflow.com/questions/13458289/encoding-h-264-from-camera-with-android-mediacodec setting it. If not try 422 Planar or UVYV VYUY interleaved formats. usually cameras are one of those. but not necessary these may..
MediaCodec and Camera: colorspaces don't match http://stackoverflow.com/questions/13703596/mediacodec-and-camera-colorspaces-dont-match All works well except for the colors. I need to set 2 colorformats in the computer one for the camera preview line tagged with.. . From this I know that the only supported formats on the camera are ImageFormat.NV21 and ImageFormat.YV2 . For..
Android contacts extraction http://stackoverflow.com/questions/1588378/android-contacts-extraction possibilities to extract contacts in some of the following formats vCard hCard or json xml using the standard Android API android..
JNI bitmap operations , for helping to avoid OOM when using large images [closed] http://stackoverflow.com/questions/18250951/jni-bitmap-operations-for-helping-to-avoid-oom-when-using-large-images interpolation should be enough . use different bitmap formats do the decoding within JNI to avoid creation of the java bitmap..
Changing Locale within the app itself http://stackoverflow.com/questions/2264874/changing-locale-within-the-app-itself language changed correctly on Activity restart but number formats and other locale properties were not applied until full application..
Android — Can't play any videos (mp4/mov/3gp/etc.)? http://stackoverflow.com/questions/2544365/android-cant-play-any-videos-mp4-mov-3gp-etc also tried a number of videos from the web various video formats bitrates with and without audio tracks etc. and none of those..
Declaring a custom android UI element using XML http://stackoverflow.com/questions/2695646/declaring-a-custom-android-ui-element-using-xml
Android SAX parser not getting full text from between tags http://stackoverflow.com/questions/2838099/android-sax-parser-not-getting-full-text-from-between-tags is cutting off part of the article url due to the way ESPN formats it's urls. An example of a full article url from ESPN.. http..
How to encode a WAV to a mp3 on a Android device http://stackoverflow.com/questions/3641920/how-to-encode-a-wav-to-a-mp3-on-a-android-device can encode audio coming from the microphone into various formats but doesn't allow the encoding from programmatically generated..
How to add calendar events in Android? http://stackoverflow.com/questions/3721963/how-to-add-calendar-events-in-android for Windows calendar apps. There are some common data formats e.g. iCalendar and Internet protocols e.g. CalDAV but no common..
Bulk Insertion on Android device http://stackoverflow.com/questions/3860008/bulk-insertion-on-android-device the raw data would allow import into other data store formats. In any case you should as you mentioned wrap the groups of..
Bluetooth and WIFI Printing for Android http://stackoverflow.com/questions/4656199/bluetooth-and-wifi-printing-for-android one time fee 5 for it per phone. It has a lot of supported formats. Have you tried it with any handheld device I asked them about..
Creating a WAV file from raw PCM data using the Android SDK http://stackoverflow.com/questions/4777181/creating-a-wav-file-from-raw-pcm-data-using-the-android-sdk can'y be used because it doesn't support either WAV or MP3 formats. android audio wav pcm audiorecord share improve this question..
Create a NinePatch/NinePatchDrawable in runtime http://stackoverflow.com/questions/5079868/create-a-ninepatch-ninepatchdrawable-in-runtime ninepatch image. There are two types of ninepatch file formats in the Android world source and compiled . The source version..
Understanding colors in Android! (6 chars) http://stackoverflow.com/questions/5445085/understanding-colors-in-android-6-chars
Best way to work with dates in Android SQLite http://stackoverflow.com/questions/7363112/best-way-to-work-with-dates-in-android-sqlite format convert them as required into local regionalised formats using the Calendar or the android.text.format.DateUtils.formatDateTime..
AsyncTask, must it take such a performance penalty hit…? http://stackoverflow.com/questions/8955458/asynctask-must-it-take-such-a-performance-penalty-hit a small app that reads in specific html pages re formats them and then shows them in a WebView. If I run my code in the..
How to query a web service via POST request in Android? http://stackoverflow.com/questions/9237082/how-to-query-a-web-service-via-post-request-in-android of zero or more GetCapabilities operation response formats desired by client with preferred formats listed first. Each.. response formats desired by client with preferred formats listed first. Each response format shall be identified by its..
Application Skeleton to support multiple screen http://stackoverflow.com/questions/12242111/application-skeleton-to-support-multiple-screen always use RelativeLayout for layouts AbsoluteLayout is deprecated and should not be used. Use appropriate image formats PNG versus JPEG Android prefers PNG for bitmap image files accepts JPEG and discourages GIF. However PNG and JPEG are not..
Encoding H.264 from camera with Android MediaCodec http://stackoverflow.com/questions/13458289/encoding-h-264-from-camera-with-android-mediacodec format I would guess the default should work. So try not setting it. If not try 422 Planar or UVYV VYUY interleaved formats. usually cameras are one of those. but not necessary these may be the ones I have encountered more often . share improve..
MediaCodec and Camera: colorspaces don't match http://stackoverflow.com/questions/13703596/mediacodec-and-camera-colorspaces-dont-match 640 height 480 framerate 15 1 ffdec_h264 autovideosink All works well except for the colors. I need to set 2 colorformats in the computer one for the camera preview line tagged with 1 and one for the MediaCodec object tagged with 2 To determine.. values for the lines 1 I used parameters.getSupportedPreviewFormats . From this I know that the only supported formats on the camera are ImageFormat.NV21 and ImageFormat.YV2 . For 2 I retrieved the MediaCodecInfo.CodecCapabilities object for..
Android contacts extraction http://stackoverflow.com/questions/1588378/android-contacts-extraction contacts extraction Are there any possibilities to extract contacts in some of the following formats vCard hCard or json xml using the standard Android API android share improve this question i believe CONTENT_VCARD_URI..
JNI bitmap operations , for helping to avoid OOM when using large images [closed] http://stackoverflow.com/questions/18250951/jni-bitmap-operations-for-helping-to-avoid-oom-when-using-large-images choice of which algorithm to use nearest neighbour and bilinear interpolation should be enough . use different bitmap formats do the decoding within JNI to avoid creation of the java bitmap and not use the heap on the java world from the beginning..
Changing Locale within the app itself http://stackoverflow.com/questions/2264874/changing-locale-within-the-app-itself
Android — Can't play any videos (mp4/mov/3gp/etc.)? http://stackoverflow.com/questions/2544365/android-cant-play-any-videos-mp4-mov-3gp-etc emulator nor my G1 will play anything I try to encode. I've also tried a number of videos from the web various video formats bitrates with and without audio tracks etc. and none of those work either. All I keep getting is a dialog box that says..
Declaring a custom android UI element using XML http://stackoverflow.com/questions/2695646/declaring-a-custom-android-ui-element-using-xml
Android SAX parser not getting full text from between tags http://stackoverflow.com/questions/2838099/android-sax-parser-not-getting-full-text-from-between-tags and for most feeds it's working fine however for ESPN it is cutting off part of the article url due to the way ESPN formats it's urls. An example of a full article url from ESPN.. http sports.espn.go.com nba news story id 5189101 amp campaign rss..
How to encode a WAV to a mp3 on a Android device http://stackoverflow.com/questions/3641920/how-to-encode-a-wav-to-a-mp3-on-a-android-device data as a mp3 to save to the sdcard. The MediaRecorder object can encode audio coming from the microphone into various formats but doesn't allow the encoding from programmatically generated audio data. So my question is is there a standard Android..
How to add calendar events in Android? http://stackoverflow.com/questions/3721963/how-to-add-calendar-events-in-android all share No no more than there is a common API they all share for Windows calendar apps. There are some common data formats e.g. iCalendar and Internet protocols e.g. CalDAV but no common API. Some calendar apps don't even offer an API. If there..
Bulk Insertion on Android device http://stackoverflow.com/questions/3860008/bulk-insertion-on-android-device is more straightforward and less error prone. Finally having the raw data would allow import into other data store formats. In any case you should as you mentioned wrap the groups of inserts into transactions to avoid the per row transaction journal..
Bluetooth and WIFI Printing for Android http://stackoverflow.com/questions/4656199/bluetooth-and-wifi-printing-for-android programmaticly available . It would be ok for me to pay the one time fee 5 for it per phone. It has a lot of supported formats. Have you tried it with any handheld device I asked them about the list of supported bluetooth printers since it has a menu..
Creating a WAV file from raw PCM data using the Android SDK http://stackoverflow.com/questions/4777181/creating-a-wav-file-from-raw-pcm-data-using-the-android-sdk file or alternatively MP3 Oh and I know that MediaRecorder can'y be used because it doesn't support either WAV or MP3 formats. android audio wav pcm audiorecord share improve this question OK I've got this figured out. This post was crucial..
Create a NinePatch/NinePatchDrawable in runtime http://stackoverflow.com/questions/5079868/create-a-ninepatch-ninepatchdrawable-in-runtime you were giving Bitmap a source ninepatch. It needs a compiled ninepatch image. There are two types of ninepatch file formats in the Android world source and compiled . The source version is where you add the 1px transparency border everywhere when..
Understanding colors in Android! (6 chars) http://stackoverflow.com/questions/5445085/understanding-colors-in-android-6-chars
Best way to work with dates in Android SQLite http://stackoverflow.com/questions/7363112/best-way-to-work-with-dates-in-android-sqlite column. Retrieving dates as strings from SQL Lite you can then format convert them as required into local regionalised formats using the Calendar or the android.text.format.DateUtils.formatDateTime method. Here's a regionalised formatter method I..
AsyncTask, must it take such a performance penalty hit…? http://stackoverflow.com/questions/8955458/asynctask-must-it-take-such-a-performance-penalty-hit must it take such a performance penalty hit&hellip I'm developing a small app that reads in specific html pages re formats them and then shows them in a WebView. If I run my code in the GUI thread the performance hit is close to negligible compared..
How to query a web service via POST request in Android? http://stackoverflow.com/questions/9237082/how-to-query-a-web-service-via-post-request-in-android AcceptFormatsType annotation documentation Prioritized sequence of zero or more GetCapabilities operation response formats desired by client with preferred formats listed first. Each response format shall be identified by its MIME type. See AcceptFormats.. Prioritized sequence of zero or more GetCapabilities operation response formats desired by client with preferred formats listed first. Each response format shall be identified by its MIME type. See AcceptFormats parameter use subclause for more..
|