Writing your own component would be too hard - check out the ViewPager
source code and tweak it. It worked for me.
2013/4/23 Naseem Rafique naseem.rafi...@northbaysolutions.net
Hi Dmitriy F
I want to use same vertical pager.. did u used Jake Wharton's component
or write ur own.. plz suggest
I have a normal-hdpi-480x800 layout, which includes buttons and similar
graphics. I mostly use RelativeLayout, since it's recommended for better
performance, and position my elements from the upper left bound relatively
to each other. According to
Having read this:
You should always use dp units when defining your application's UI, to
ensure proper display of your UI on screens with different densities.
why should I be concerned about dimen.xml and what the use scenarios out
there ?
Thanks.
P.S. I suppose it might be related to my
Correct me if I'm wrong - onStop state destroys view hierarchy of
activity/fragment. Consequently, views that are referenced through the
object fields will be retained because of hard references, for example if I
have such a class:
public class ArticleFragment extends Fragment {
WebView
Hi Mark!
So, you basically say there's nothing wrong with storing those references -
great ! Thanks for the clarification.
пятница, 4 января 2013 г., 14:16:10 UTC+4 пользователь Dmitriy F написал:
Correct me if I'm wrong - onStop state destroys view hierarchy of
activity/fragment
I have a couple of fragments which substitute one for another. The UI of
these fragments changes and I need to hold it's new state. So the code
looks pretty trivial:
FragmentManager fragmentManager = getSupportFragmentManager();
FragmentTransaction fragmentTransaction =
My client says that there's an animation constructed with some 3D design
tool like Blender or 3D Max . What is the best scenario for importing that
kind of animation.
So far I've used [this tool][1] but it's only suitable for model importing.
Thanks.
[1]:
a listview), you'll also find
it easier to add gesture control to a ViewFlipper
On Wednesday, December 12, 2012 9:29:30 AM UTC+2, Dmitriy F wrote:
Since
DirectionalViewPagerhttps://github.com/JakeWharton/Android-DirectionalViewPager
is
deprecated now, I need some way to mimic its' vertical
I have to implement vertical scrolling with view pager. I am trying to
adopt Jake Wharton's
libraryhttps://github.com/grantland/android-verticalpager but
it doesn't seem to be working because of some changes in the support
library discussed
I meant this library:
https://github.com/JakeWharton/Android-DirectionalViewPager
вторник, 11 декабря 2012 г., 17:33:30 UTC+4 пользователь Dmitriy F написал:
I have to implement vertical scrolling with view pager. I am trying to
adopt Jake Wharton's
libraryhttps://github.com/grantland
the solution to the issue he brought up or just
dont use that version of the support library :)
You can also just implement ViewPager in the vertical form instead of
extending it (the source is available if i'm not mistaken)
On Tuesday, December 11, 2012 3:33:30 PM UTC+2, Dmitriy F wrote:
I have
Since
DirectionalViewPagerhttps://github.com/JakeWharton/Android-DirectionalViewPager
is
deprecated now, I need some way to mimic its' vertical paging functionlity.
First thing that comes to my mind is ListView, but I'd like some tips for
implementing row per screen funcitonality - where do
Hi, I've got no idea why subj isn't implemented but I urge to rewrite this
piece of
codehttp://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/1.5_r4/android/widget/SlidingDrawer.java.
Is
there any substanital reason why it hasn't been implemented ? So that if
What do you mean ? It's a live-stream - it shouldn't buffer at all
2012/10/1 daulat bachhav daulatbach...@gmail.com
u using http service it's actually download then play
it's not real streaming.
On Friday, 28 September 2012 14:11:24 UTC+5:30, Dmitriy F wrote:
Here's an https
false on failure, usually because the looper processing the message
queue is exiting.
you can test the returns
在 2012年9月28日星期五UTC+8下午3时31分50秒,Dmitriy F写道:
A handler that I defined doesn't get a message set with
sendEmptyMessageAtTime. The time I get from updateTime.getTimeInMillis is
valid. What
A handler that I defined doesn't get a message set with
sendEmptyMessageAtTime. The time I get from updateTime.getTimeInMillis is
valid. What am I missing here ?
@Override
protected void onResume() {
super.onResume();
mNavigationBarFragment.configureFor(0);
Calendar
Here's
an
https://play.google.com/store/apps/details?id=com.maxxt.pcradiofeature=search_result#?t=W251bGwsMSwxLDEsImNvbS5tYXh4dC5wY3JhZGlvIl0.
that
I've found for playing radio live-streams - pcRadio. I made a similar
application with pretty simple code inside.
// constructing the player
Right, thanks
On Friday, September 28, 2012 11:31:50 AM UTC+4, Dmitriy F wrote:
A handler that I defined doesn't get a message set with
sendEmptyMessageAtTime. The time I get from updateTime.getTimeInMillis is
valid. What am I missing here ?
@Override
protected void onResume
Hi, I've run into an issue where my application prepares live-stream
roughly from 5 to 10 seconds. For instance, take this live-stream and try
to prepare it on 2.3.3 - it will take about 7 seconds, while it's a live
stream and there's not much to buffer. Another app called pcRadio uses the
(mLowQualityStreamId));
mPlayer.prepareAsync();
// ... in onPreparedListener
mPlayer.start();
On Thursday, September 27, 2012 11:34:42 AM UTC+4, Dmitriy F wrote:
Hi, I've run into an issue where my application prepares live-stream
roughly from 5 to 10 seconds. For instance, take this live-stream
http://radio-shtorm.ru:8000/32 or http://radio-shtorm.ru:8000/56
or http://radio-shtorm.ru:8000/112. Stupid me forgot to post :(. Anyway
this thing occurs mostly on 2.3 and as it was recently found on 4.0.4
On Thursday, September 27, 2012 12:40:38 PM UTC+4, Harri Smått wrote:
Hi,
I could do
Alight, thanks for your testing help. Simultaneously I've tried the same
station in some other app - pcRadio and in my own - preparation differs.
pcRadio works as you said with fractions of a second, but my doesn't :(
On Thursday, September 27, 2012 3:03:51 PM UTC+4, Harri Smått wrote:
Hi,
Is it possible to restrict application from updating receiveing update
messages from google play from apllication code itself.
Thanks.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I need to play a live audio stream on devices with 2.x and greater
versions. Thishttp://developer.android.com/guide/appendix/media-formats.html
states
that it's impossible to play live streams on devices with Android 2.x.
What're my options here ?
P.S. I've tried Vitamio - don't want to
Android 2.3 Mediaplayer can't play none of those
audiostreamshttp://radio02-cn03.akadostream.ru:8114/resulting in
`W/System.err(19610): java.io.IOException: Prepare failed.:
status=0xFFF6`. However, the same stream works fine on Android 4.0.
Is there anything I can provide the app with to
I have a couple of links: 1)
http://radio02-cn03.akadostream.ru:8114/detifm192.mp3;, 2)
http://79.143.70.114:8000/detifm-64k.aac;.
Running my app on Android 2.3 results in IOExceptions: with (1) it's
java.io.IOException:
Prepare failed.: status=0xFFF6 and with (2) it's
I've got an activity that is in a landscape mode - it's a player. Whenever
I hit display-off button activity gets recreated and the screen goes black.
After that I hit display-on to bring the interface back and the activity
gets recreated again.
I guess this is because on my samsung i9001
I need to define if a device can play a video file. So far, I've registered
[an error handler][1] which receives a number of errors which might be
tolerable - I mean even though they occur player still feels fine and keeps
on working.
However, I need somehow to distinguish between errors that
Try something like:
try{
URL page = new URL(address);
HttpURLConnection connection = (HttpURLConnection) page.openConnection();
connection.setConnectTimeout(2000);
connection.setReadTimeout(2000);
connection.connect();
}catch (SocketTimeoutException e1) {
} catch (ConnectTimeoutException e2) {
All that tracker.trackPageView(trackable.getSceneTitle()); does now is
filling the first Active page column but I would better get use of both
of those. Is it possible to set Page Title with GA framework ?
Thanks.
--
You received this message because you are subscribed to the Google
Groups
Is it possible to remove/change color of the delimiter(it's grey by
default) in AutoCompleteTextView's popup ? In ListView I get use of the
delimiter parameter, but I haven't found any similar in
AutoCompleteTextView.
Thanks.
--
You received this message because you are subscribed to the
Anyone? I've even drawn an example scheme. Profile activity might not be
instantiated so simple clearing the isn't going to work.
https://lh4.googleusercontent.com/-ptGPTPpWitY/UBo-G2_6JtI/ABk/2i6F8IwQ6T8/s1600/2012-08-02+12.40.13.jpg
On Sunday, July 29, 2012 11:43:07 PM UTC+4, Dmitriy
It's already implemented as a part of soft-keyboard functionality, at least
in Android 4.0. I'm not aware of the exact source codes but you can always
search their code repository for soft-keyboard related topics.
http://code.google.com/p/android-x86/
On Wednesday, August 1, 2012 9:09:53 AM
semantics execute. (And for what it's worth, if you
have no reason to use fragments with ViewPager, there is nothing forcing
you to -- you can write your own adapter that directly manages raw views
and doesn't use fragments at all.)
On Sat, Jul 28, 2012 at 1:45 PM, Dmitriy F midnight
I have a hierarchy consisting of 4 levels of depth. My profile has 2nd
level of hieararchy that means that pressing back while being in profile
must always return user to the 1st hierarchy level.
My problem is that link to the profile is available on all levels; so, for
instance, if a user
Hi, I'm developing an app which uses ViewPager(holds 4 fragments) and a
layout that hosts single-page fragments. I haven't populated my fragments
with bitmap data but I'm already anxious about memory management.
Because of the bogus design I can't extract ViewPager to a separate
activity
Thanks for the answers! Would you mind to suggest on the part about
fragments and memory management ? I decided to implement the app with 3
activities and about 8 fragments. The activity number might slightly
increase yet I think it's not the fragments but their bitmaps that gonna
cause
Thanks for the answers! Would you mind to suggest on the part about
fragments, bitmaps and memory management ? I decided to implement the app
with 3 activities and about 8 fragments. The fragment number might slightly
increase yet I think it's not the fragments but their bitmaps that gonna
I have a photoshop design, which has 1280x800 resolution which I'd like to
transfer in Android application. I've created a layout file and added a
couple of images that I'd cut previously. After that I tested it on Samsung
Galaxy tab which also has 1280x800 resolution.
I can't understand why
a better way of implementing it - please, give me your
suggestions.
Best regards,
Dmitriy F. midnight@gmail.com
--
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
40 matches
Mail list logo