[q]linking activities in tab+swipe(fragmant) - Java for Android App Development

I tried to use fragmant tab+swipe layout default coding by eclipse but it doesnt allows to link activities in the tabs. Is there any way to do it?
I mean swiping the screen links to different activity
Sent from my GT-S5570 using xda premium

Are you talking about each tab hosting a different activity/fragment? then yes, it works.
If not, explain.

out of ideas said:
Are you talking about each tab hosting a different activity/fragment? then yes, it works.
If not, explain.
Click to expand...
Click to collapse
Yes but i dont know to how to do it
Can u tell me
Sent from my GT-S5570 using xda premium

Refresh
Sent from my GT-S5570 using xda app-developers app

Maybe this one helps: http://stackoverflow.com/questions/1306689/launching-activities-within-a-tab-in-android

nikwen said:
Maybe this one helps: http://stackoverflow.com/questions/1306689/launching-activities-within-a-tab-in-android
Click to expand...
Click to collapse
That is only for simple tabs not.for swipe and tabs
Sent from my GT-S5570 using xda app-developers app

Related

Smart scroll on other apps?

Hi
Will smart scroll ever work on other apps like chrome?
Sent from my GT-I9505 using xda app-developers app
Or Opera, or Google Streams, etc.?
CyberT3 said:
Or Opera, or Google Streams, etc.?
Click to expand...
Click to collapse
Yup
Sent from my GT-I9505 using xda app-developers app
It needs to be implemented by the relevant developers as it's not a standard android feature
robpc said:
It needs to be implemented by the relevant developers as it's not a standard android feature
Click to expand...
Click to collapse
So probably won't happen.
Sent from my GT-I9505 using xda app-developers app
I'm thinking if it is possible for it to work at the above the application level and translate the scrolling data to spoof a normal scroll.
Probably possible to do by some talented folks out there?
Sent from my GT-N7000 using Xparent Skyblue Tapatalk 2

[req] Port Touchless Control?

So Touchless Control has been released on the Google Play store, is there a way to port it?
https://play.google.com/store/apps/details?id=com.motorola.audiomonitor
I'm sure it'll find it's way onto other Android devices in the future :good:
Here's a third party app that does the same thing.
https://play.google.com/store/apps/...&utm_medium=organic&utm_term=open+mic+android
Sent from my SGH-I337M using Tapatalk 4
Open mic isn't as good by user reviews. And when I used it. +1 for porting touch less control
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
[email protected] said:
Open mic isn't as good by user reviews. And when I used it. +1 for porting touch less control
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1508195
Hands down bad ass and with open mic :good:
[email protected] said:
Open mic isn't as good by user reviews. And when I used it. +1 for porting touch less control
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
Click to expand...
Click to collapse
Yeah it isn't the same. +1 for porting touchless control but im worried about the negative effect it will have on battery life, the moto x has a dedicated language processing core for a reason.
Sent from my SGH-I337M using Tapatalk 4
Does anyone have or know where I can get the .apk for this ??
Sent from my GT-I9505 using xda app-developers app
Jmaserang said:
Does anyone have or know where I can get the .apk for this ??
Sent from my GT-I9505 using xda app-developers app
Click to expand...
Click to collapse
http://www.droid-life.com/2013/08/2...lay-should-make-adding-new-features-a-breeze/
Its at the bottom. You can try to download it from that crappy ass mega site that doesn't work and won't let you download it. Someone needs to put it on a better link.
Sent from my SAMSUNG-SGH-I337
I'll wait I can't stand that mega site but thanks i'm just wondering if a few build.prop changes would get this working
Sent from my GT-I9505 using xda app-developers app
Download blackmart alpha its on there just like other ones just google it and there you go and you dont even need root only if you want it to automatically install is when you have to have root
Sent from my SAMSUNG-SGH-I337
Thank you im going to try editing the build.prop and hopefully it works like the facebook home app did
Sent from my GT-I9505 using xda app-developers app
fabster530 said:
Download blackmart alpha its on there just like other ones just google it and there you go and you dont even need root only if you want it to automatically install is when you have to have root
Sent from my SAMSUNG-SGH-I337
Click to expand...
Click to collapse
I couldn't find it on blackmart alpha.
Sent from my SAMSUNG-SGH-I337
[email protected] said:
I couldn't find it on blackmart alpha.
Sent from my SAMSUNG-SGH-I337
Click to expand...
Click to collapse
Search for touchless control its the first one you can dl & install but doesnt open or show in apps
Sent from my GT-I9505 using xda app-developers app
Inb4 lock. Can't be talking about places like black market alpha. Just saying..
toxicpaulution said:
Inb4 lock. Can't be talking about places like black market alpha. Just saying..
Click to expand...
Click to collapse
Sorry:/ should have just linked the app to my drop box or something huh
Sent from my SAMSUNG-SGH-I337

Dpi change and quick window case

Anyone found a way to lower the dpi and still have a working window, without it being cut off etc?
Thanks
Sent from my LG-D802 using xda app-developers app
DaveHTC200 said:
Anyone found a way to lower the dpi and still have a working window, without it being cut off etc?
Thanks
Sent from my LG-D802 using xda app-developers app
Click to expand...
Click to collapse
You can install xposed framework and install "app settings" I think it's called. It let's you basically have paranoid Android ability in any rom.
Sent from my LG-D800 using Tapatalk 2
Clienterror said:
You can install xposed framework and install "app settings" I think it's called. It let's you basically have paranoid Android ability in any rom.
Sent from my LG-D800 using Tapatalk 2
Click to expand...
Click to collapse
I have that installed mate, but I can't find anything specific for the window/lockscreen feature
Sent from my LG-D802 using xda app-developers app
DaveHTC200 said:
I have that installed mate, but I can't find anything specific for the window/lockscreen feature
Sent from my LG-D802 using xda app-developers app
Click to expand...
Click to collapse
change the dpi for the lockscreen app if possible
Sent from my VS980 4G using xda app-developers app
cslingerland said:
change the dpi for the lockscreen app if possible
Sent from my VS980 4G using xda app-developers app
Click to expand...
Click to collapse
Sadly I can't find anything there that works
Sent from my LG-D802 using xda app-developers app
DaveHTC200 said:
Sadly I can't find anything there that works
Sent from my LG-D802 using xda app-developers app
Click to expand...
Click to collapse
Hey, I found this in the lockscreen app. looks like this is where it's defined. If you get me the values that are needed, I might be able to hook you up. Feel free to give it a try yourself as well. It's located in /res/values/dimens.xml
<dimen name="quick_cover_window_width">247.0dip</dimen>
<dimen name="quick_cover_window_height">307.54688dip</dimen>​
p.s.
This is also right below it. May need to be changed along with it but im not sure
<dimen name="knock_on_area_left">0.0dip</dimen>
<dimen name="knock_on_area_top">208.0dip</dimen>
<dimen name="knock_on_area_right">360.0dip</dimen>
<dimen name="knock_on_area_bottom">300.0dip</dimen>​
cslingerland said:
Hey, I found this in the lockscreen app. looks like this is where it's defined. If you get me the values that are needed, I might be able to hook you up. Feel free to give it a try yourself as well. It's located in /res/values/dimens.xml
247.0dip
307.54688dip​
p.s.
This is also right below it. May need to be changed along with it but im not sure
0.0dip
208.0dip
360.0dip
300.0dip​
Click to expand...
Click to collapse
Sounds promising!
Can you just edit and save or do you need to repackage file etc?
Also, that directory doesn't exist on my phone ?
Edit, just realised you said about the lockscreen app!
How do you decompile and recompile it? Which tool can I use?
Thanks for your help!!
Sent from my LG-D802 using xda app-developers app
DaveHTC200 said:
Sounds promising!
Can you just edit and save or do you need to repackage file etc?
Also, that directory doesn't exist on my phone ?
Edit, just realised you said about the lockscreen app!
How do you decompile and recompile it? Which tool can I use?
Thanks for your help!!
Sent from my LG-D802 using xda app-developers app
Click to expand...
Click to collapse
No problem! You can decompile with apktool -----> https://code.google.com/p/android-apktool/downloads/list
You can recompile with the same tool Here's how to use apktool -----> http://forum.xda-developers.com/showthread.php?t=1891686
Let me know if you need any more help.
cslingerland said:
No problem! You can decompile with apktool -----> https://code.google.com/p/android-apktool/downloads/list
You can recompile with the same tool Here's how to use apktool -----> http://forum.xda-developers.com/showthread.php?t=1891686
Let me know if you need any more help.
Click to expand...
Click to collapse
Thank you!!
If you have the stuff and time, I'm on limited internet so downloading is a pain at moment, would you be able to try it with the following values?
The width at 370.5
The height at 461.32032
Thanks again for your help!
Sent from my GT-N7100 using xda app-developers app
DaveHTC200 said:
Thank you!!
If you have the stuff and time, I'm on limited internet so downloading is a pain at moment, would you be able to try it with the following values?
The width at 370.5
The height at 461.32032
Thanks again for your help!
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
Alright, here it is. I've changed only the two lines. I have not tested it. It would be a good idea to backup your current lockscreen app. You may have to uninstall it before installing this one.
Let me know how it goes. Link below
https://www.dropbox.com/s/r82ei9vzfchy3vd/LGLockScreen-signed.apk
cslingerland said:
Alright, here it is. I've changed only the two lines. I have not tested it. It would be a good idea to backup your current lockscreen app. You may have to uninstall it before installing this one.
Let me know how it goes. Link below
https://www.dropbox.com/s/r82ei9vzfchy3vd/LGLockScreen-signed.apk
Click to expand...
Click to collapse
Thanks mate!
I've tied it and sadly the whole lock screen changes and becomes pointless , the quick window doesn't function either
Backup restored and up and running again. It's a shame but thanks for your help :thumbup:
Sent from my LG-D802 using xda app-developers app
DaveHTC200 said:
Thanks mate!
I've tied it and sadly the whole lock screen changes and becomes pointless , the quick window doesn't function either
Backup restored and up and running again. It's a shame but thanks for your help :thumbup:
Sent from my LG-D802 using xda app-developers app
Click to expand...
Click to collapse
no problem! it was worth a try
cslingerland said:
no problem! it was worth a try
Click to expand...
Click to collapse
It was!! Might not bother with the case
Sent from my GT-N7100 using xda app-developers app
You can also add notifications in the black band below.
http://forum.xda-developers.com/showthread.php?p=49708984

Picture Stitching

Hey All,
I just want to know what people recommend for my situation: I have a before / after photo that I want to stitch side by side... what app do you recommend?
Thanx,
Tee Jay
Sent from my SM-N900V using Tapatalk
teejaymarx said:
Hey All,
I just want to know what people recommend for my situation: I have a before / after photo that I want to stitch side by side... what app do you recommend?
Thanx,
Tee Jay
Sent from my SM-N900V using Tapatalk
Click to expand...
Click to collapse
"Photo Grid - Collage Maker"
https://play.google.com/store/apps/details?id=com.roidapp.photogrid
Sent from my SM-N900V using XDA Premium 4 mobile app
bskarpa said:
"Photo Grid - Collage Maker"
https://play.google.com/store/apps/details?id=com.roidapp.photogrid
Sent from my SM-N900V using XDA Premium 4 mobile app
Click to expand...
Click to collapse
That works perfectly, thanks! I'm kinda surprised that the Note 3 doesn't have something like this built in to the gallery. And I'm surprised that there isn't a feature like this in the Google + Photos app.
Welcome. Yea true. all the other drawing and photo related apps you'd think so. I found this when putting photos of my daughter together.
Sent from my SM-N900V using XDA Premium 4 mobile app
Uh it does do it, go into the gallery and hit menu then create collage.
Sent from my SM-N900V using xda app-developers app
MACHEK said:
Uh it does do it, go into the gallery and hit menu then create collage.
Sent from my SM-N900V using xda app-developers app
Click to expand...
Click to collapse
Thanks a ton!!!
Sent from my SM-N900V using Tapatalk
teejaymarx said:
Thanks a ton!!!
Sent from my SM-N900V using Tapatalk
Click to expand...
Click to collapse
No problem glad i helped
Sent from my SM-N900V using xda app-developers app
MACHEK said:
Uh it does do it, go into the gallery and hit menu then create collage.
Sent from my SM-N900V using xda app-developers app
Click to expand...
Click to collapse
I have tried this several times and I can't get this to show up on my Verizon Note 3. I tried before selecting images, after selecting 2-4 images, no luck. I'm stock and not rooted. The only "create" options I get are "create a story album" and "create video clip". Any thoughts?
Nike5981 said:
I have tried this several times and I can't get this to show up on my Verizon Note 3. I tried before selecting images, after selecting 2-4 images, no luck. I'm stock and not rooted. The only "create" options I get are "create a story album" and "create video clip". Any thoughts?
Click to expand...
Click to collapse
You don't have this option?
Sent from my SM-N900V using xda app-developers app
MACHEK said:
You don't have this option?
Sent from my SM-N900V using xda app-developers app
Click to expand...
Click to collapse
Unfortunately, no ... hence my question. It's a mystery.

[Q]How to build systemui with eclipse

I tried to build cm9.2 (ics) systemui with eclipse.but it showed more than thousand errors.how to solve this problem
Sent from my GT-S5570 using XDA Premium 4 mobile app
As far as I know, building the system UI is not possible without building the whole ROM or at least having it in the complete ROM tree.
So no way other than ubuntu?and downloading GB's of sources?
Sent from my GT-S5570 using XDA Premium 4 mobile app
arpitkh96 said:
So no way other than ubuntu?and downloading GB's of sources?
Sent from my GT-S5570 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Well, you could run it in a VirtualBox. But I think that there is no other way. (I use it as my only OS btw.)
nikwen said:
Well, you could run it in a VirtualBox. But I think that there is no other way. (I use it as my only OS btw.)
Click to expand...
Click to collapse
Ubuntu is not the problem.my internet speed is low and i want to avoid downloading the whole cm9 sources
Sent from my GT-S5570 using XDA Premium 4 mobile app
Actually you can build it in eclipse itself. Remove the internal references and replace them by alternatives if needed. Again, use reflection as and when required although its not recommended. I've done it before and it works perfectly.
EatHeat said:
Actually you can build it in eclipse itself. Remove the internal references and replace them by alternatives if needed. Again, use reflection as and when required although its not recommended. I've done it before and it works perfectly.
Click to expand...
Click to collapse
I didn't understood that. Little bit new to this. Can you please elaborate. ??
Sent from my GT-S7392 using XDA Premium 4 mobile app
arpitkh96 said:
I didn't understood that. Little bit new to this. Can you please elaborate. ??
Sent from my GT-S7392 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
System apps use many of the internal references which are not available by the SDK for example com.android.internal.*, the ones denoted by @hide, etc.
Either patch up your SDK with internal references or use workarounds to make it compile.
So i can i patch the sdk?
Sent from my GT-S5570 using XDA Premium 4 mobile app
arpitkh96 said:
So i can i patch the sdk?
Sent from my GT-S5570 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/
EatHeat said:
http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/
Click to expand...
Click to collapse
Thanks.i will try to follow this
Sent from my GT-S5570 using XDA Premium 4 mobile app

Categories

Resources