yashsingh1/xdaforums huggingface dataset:
[Android Software Development] chocoboyo:
Hello,

Im trying to configure my Activity skin like the image

How can I do it? If i switch the order my code

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">

<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Button"/>

<ImageView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#FA5858"/>

</LinearLayout>

works but in the initial order the imageview fills the whole screen.

Thanks in advance
[Android Software Development] alostpacket:
Time to learn to love, (and hate), RelativeLayout

edit linky:

http://blog.maxaller.name/2010/05/attaching-a-sticky-headerfooter-to-an-android-listview/
[Android Software Development] roee88:
You can stick with LinearLayout and change the android:layout_weight parameter of both the ImageView and the Button.

But as alostpacket said, RelativeLayout is the best for this type of layout.
[Android Software Development] killersnowman:
yep.. relative layout will save you

linear layouts are not good for having dead space or for having the size or content of something change while having its position and size stay the same. since you want your button to always be at the bottom of your layout and what ever is inbetween just fillin whats left relative layout is the most useful and powerful way to do that.
[Android Software Development] Logseman:
A friend of mine is stuck in the app we're doing, and he's getting certain trouble:

//This lists installed apps
final ListView list1 = (ListView) findViewById(R.id.list1);
ArrayList results = new ArrayList();
PackageManager pm = this.getPackageManager();
Intent inte = new Intent(Intent.ACTION_MAIN, null);
inte.addCategory(Intent.CATEGORY_LAUNCHER);
List<ResolveInfo> list = pm.queryIntentActivities(inte, PackageManager.PERMISSION_GRANTED);
for (ResolveInfo rInfo : list) {
results.add(rInfo.activityInfo.applicationInfo.loadLabel(pm).toString());
}
list1.setAdapter(new ArrayAdapter(this, android.R.layout.simple_list_item_1, results));

His questions are: How I can do that instead of showing the icons name? If he tries

results.add(rInfo.activityInfo.applicationInfo.loadLabel(pm).toString());

it shows "android.graphics.drawable@nameoftheapplication"

And how could one run the application by clicking on the list?

Thanks in advance!
[Android Software Development] alostpacket:
Not really sure why you're doing it that way but should be easier like this:

PackageManager pkgMgr = getPackageManager();
List< ApplicationInfo > list = pkgMgr.getInstalledApplications(0);
int len = list.size();

for (int index=0; index < len; index++)
{
ApplicationInfo content = list.get( index );
String pName = content.packageName;
String appLabel = pkgMgr.getApplicationLabel( content );
Drawable icon = pkgMgr.getApplicationIcon( content );
//do whatever you need with properties/icons to here
}
[Wildfire General] ptesone:
Hi,

Yesterday I start to work with a new wildfire, but I found that Wi Fi access to work and show the follow message : "unable to start wifi"

firmware version 2.1-update1

software number 1.27.709.3

build number 1.27.709.3 CL231998 release keys

I check a lot information in many forums and all suggest to change the router channel to 6, but in my case not work.

Other forums suggest to reset the phone to the factory setting, but still not work.

I also try to run a RUU_Buzz_Froyo_HTC_WWE_2.22.405.1_Radio with out any luck, the program raise the follow error message "Error[131]:CUSTOMER ID ERROR" and not continue.

In other forums suggest to rooted the phone, but I prefer to use the original HTC updates, but I can't update because I can't use the wifi and I don't have a data plan.

Any one can suggest a bypass or solution to update the phone with the OTA HTC updates manually or fix the wifi problem to update directly ?

Regards,

Peter
[Galaxy S II General] Dannyboyni:
Are there any games that support wifi direct for multiplayer using two Galaxy S II phones?

I have found Pong 3D, which supports multiplayer on two phones, but you both must be connected to the same wifi network.

As I want to play the games on the train with someone else, and the train has no wifi network, is it possible to find a game that uses wifi direct to play against each other?
[Galaxy S II General] raf2k:
RF2011 from gameloft.
[Galaxy S II General] dudi1986:
i think he meant gaming using the WIFI direct without being connected to a router!!
[Galaxy S II General] binyan:
I have the same question. Is there any way to play some game with two SGS 2 that are connected using wi-fi direct?
[Galaxy S II General] dmemon:
Guerilla bob i have tried and it works multiplayer with wifi direct!! :)

using the manual mode the one joining has to enter the wifi direct ip of the host..!! :)
[Galaxy S II General] binyan:
I don't understand... Can you explane what exactly the hoster need to do, and what exactly the one who is joining the game need to do? Thank you!
[Galaxy S II General] dmemon:
I have only done it with guerilla bob not sure abt other games..

You need to start wifi - direct in both the devices and connect to each other.

Then u will be able to see an option as status.. click on that in the device of the person hosting that game.. and note down the ip address..

Now start the game("guerilla bob") in both device.. select multiplayer...

Host a game while others click on join...

When clicked on Join you will be presented with manual connect.. use that and enter the ip address of the host..

Hope that helps! :)
[Galaxy S II General] ssuwal:
cant get it to work

Hey,

I have a nexus 7 (JB) and att skyrocket(ics 4.0.4) both with wifi direct and as you said i connected them and i dont see any status.

the only thing i can do is connect and disconnect no properties nothing.

and when i go to guerilla bob and press multiplayer it says no wifi available.

i dont know what the problem is. it would be great if you could help me.

Thanks.
[Galaxy S II General] anshmiester78900:
I think asphalt 7
[Galaxy S II General] Wrechid:
I have done this with many multi player wifi games without a router... The method I use is to setup wifi tether on phone A... Connect to Phone A from Phone(s) B, C, D via wifi...
[Galaxy S II General] Kaustubh.:
Muffin Knight
[Ideos S7 General] Darkfibre50:
I am running the 2.2 (Froyo) firmware on a resistive S7 (Fat Boy) and with the wiWiFi and 3g running, using the device (Skype, surfing, Notes etc) I get about 3-4 hours before it shuts down with low battery.

Is this the normal or do I need to buy a new battery? (Will have to anyway)!!

Does anybody know of a larger battery that is available as I would love to get at least 5 or 6 hours if I could.
[Ideos S7 General] PuZZleDucK:
This has also been discussed here (can't link yet):

xdaforums.com/showthread.php?t=874797

But the quick summary is: start looking at portable charge extenders :p.

I'll be doing the same.

Only just got it yesterday, so I don't know my battery times yet.

Cheers.
[Ideos S7 General] rabbitpink:
My S7 shuts down after 2 or 3 hours with 3g and medium backlite. I can't even watch a 1.3 gig movie. It's shut down after one hour. I don't really know what to do with it.
[Ideos S7 General] pa49:
Put the device on charge all the time you can and leave it for as long as you can.

Mine will last 8 hours with 3G on.
[HTC EVO 3D] edgarmoreno1:
I had to restart my phone and when it came back on, some of my application on any of the home screens were still there and worked when I engaged them, but the picture or the icon never refreshed. I don't have the fast boot checked, I like my phone to restart completely, if I remove the app then put back on home screen, the picture returns. What can I do?
[HTC EVO 3D] Compusmurf:
There's another thread with the answer.

Short answer is: Sense has started up before the SD card is mounted. Hence, the icons for your apps on the SD were NOT available at the time. This is why some apps are phone only and you never put widgets on the SD.

You can do one of the following:

Move those particular apps back off the SD to the phone.

Restart sense with some app in the market.

Change your scene and change it back.
[HTC EVO 3D] lcs_71:
Work Around

Install Fast Reboot (Free from Market)

Run Fast Reboot

Icons will reappear.

I found the answer in another thread.
[HTC EVO 3D] Compusmurf:
That's the market app. Couldn't remember and didn't want to go digging for the other thread. :)
[HTC EVO 3D] edgarmoreno1:
Fast reboot comes with the phone in the power settings, icons came back when I force closed sense
[HTC EVO 3D] Compusmurf:
NOT that fast reboot. hahaha. The fastreboot app in the market closes sense and such for you. it's not the Fast reboot built into the phone. :)
[General Questions and Answers] tdfell:
I am using the MIKG rom and I have tried several Kernels for HDMIwin, but only get a white screen on my 4G when trying to run videos and nothing the rest of the time. I could run CM7, but again. which is the best kernel for it as well? I have tried a couple and get a fuzzy screen. Thanks for your help tdfell.
[HTC Incredible S] DJjay18:
Hi All,

I originally posted a thread about this in the General forum, but no-one seems to know how to fix, so I'm hoping one of the super-smart developers can have a go here...

Basically, since the upgrade from Froyo to Gingerbread, the wi-fi now drops at -88dBM even when there is a perfectly useable signal/connection.

Previously I could pick up much weaker wi-fi signals as this cut-off wasn't in place. I now struggle with wi-fi at home (even with a router that's only some metres away downstairs) and in hotels, with the wi-fi dropping out if the phone's held in a certain way etc. Incredibly annoying!

Someone on the Desire HD forum found the code snippet where it mentions the -88 figure, and has managed to change/remove this. It is suggested that this code "error" is part of a Broadcom driver update.

Is anyone able to create a similar uploadable mod for the Incredible S? It doesn't seem to have been incorporated into any of the custom ROMs available, and won't be fixed by HTC either by the looks of things. It's a big problem which many users have encountered since the Gingerbread upgrade.

My original post here: http://xdaforums.com/showthread.php?t=1132261

Desire HD thread here: http://xdaforums.com/showthread.php?t=1058450

Code snippet: https://github.com/LeeDroid-/Ace-2.6.35/blob/master/drivers/net/wireless/bcm4329_204/dhd_cdc.c#L1288

Hope someone can come up with a solution.

Thanks.
[HTC Incredible S] DJjay18:
Just noticed there is also a thread and fix for the Desire S, that offsets the threshold value.

Desire S thread: http://xdaforums.com/showthread.php?t=1051674

Hope someone can implement a fix for this phone then...
[HTC Incredible S] Unlocker AL:
What I have noted when I have tested different ROMs is that with MIUI this problem wasn't. WIFI Connection was more stable and never drops. Might the fix has already implemented there?
[HTC Incredible S] gudge:
I would like this to be cracked by the developers here too, if they can find a way
[HTC Incredible S] qvert:
at cyanogenmod it doesnt drop

but somehow i want to use android revolution hd, without the wifi drop issue :-)
[HTC Incredible S] DJjay18:
I've mentioned it to Mike1986 (creator of Android Revolution) a fair few times but he doesn't seem interested in fixing it which is a shame. Hence why I am appealing to the other developers on here to fix.

If it's been done on Desire S and Desire HD, why not this phone?
[HTC Incredible S] qvert:
as far as i know it's a kernel issue

so the unity kernel must be changed
[HTC Incredible S] jul644:
http://xdaforums.com/showthread.php?t=1058450&page=7

read that thread, basically to be used it has to be made into the kernel
[HTC Incredible S] DJjay18:
That's strange - some people say it needs to be built into the kernel, however if you look on the Desire S forum (link provided in first posts), they have a fix included in one of the ROMs, and the kernel is the same one the Inc S uses, from MDJ.
[HTC Incredible S] klquicksall:
Ill make the edit to -108 from snq's tread and Ill post a test kerenl for you guys to test and let me know if it worked. Look for it this afternoon US time Id say about 4pm.

http://xdaforums.com/showthread.php?t=1039004
[HTC Desire S] h5u:
The ROM is known BUG,

1, Bluetooth can not start

2, the video will not play after shooting

3, the light sensor so bad.

Starting from the GOAPK, I just forwarded the original link

http://bbs.goapk.com/thread-3181301-1-1.html
[HTC Desire S] andypig04:
u cant spam u know?
[HTC Desire S] fugutrev:
For those that don't want to wade through the forum (which was a challenge to register for and obtain the download link) the rom can be found here: http://u.115.com/file/e62nbwdi

Downloading it now.
[HTC Desire S] shrome99:
The Chinese forum says something like "DS world premiere of the source code is compiled based on Google's grand release some components of CM". What is this? A port of CM7? From which device ? Has anyone tried it yet? Also, does this have english?

PS - Sorry if my questions seem stupid...........
[HTC Desire S] andypig04:
It's based on CM7 2.3.4

This ROM has many BUGS

Bluetooth - DISABLE (driver problem)

VIDEO CANT PLAY WHEN AFTER RECORD

LIGHT SENSOR DOESN'T WORK WELL

MANY apps CANT INSTALLED(ex: Root Explorer )
[HTC Desire S] shrome99:
is there an english version?
[HTC Desire S] fugutrev:
I've been playing with this rom all afternoon. Firstly, its very fast (at least for me) and and in english. The bugs already mentioned are present of course, and GPS didn't seem to want to work for me. Looking good so far though!
[HTC Desire S] Malooga:
I wouldn't bother with this, i was told by a cyanogen dev(on twitter) that cm7 is being developed officially for the DS.
[HTC Desire S] lennshow66:
When? and where is this post?
[HTC Desire S] XZ32:
sick! good things will still come for DS :)
[HTC Desire S] Malooga:
When? it doesn't matter. And where? Are you blind? I said on twitter, so try reading what somebody has said.
[HTC Desire S] bongo1:
Is it true cm roms now have the ability to spoof and revoke permissions? Found some info on it but not clear whether its lresent yet.
[HTC Desire S] crubbish:
A really friendly and informative post! You should be proud of yourself Malooga.
[HTC Desire S] shrome99:
That's awesome !!!!!! Can you please give the name of the dev and link to the twitter post? I hope it is released soon. Thanks for the info.
[HTC Desire S] Sib64:
you can find a thread on the CM7, here:

CM7 for Desire S - Unofficial posts

;)
[HTC Desire S] lennshow66:
When? Matters because if it was a while ago we could be getting it soon, and where on twitter? Link to the post?
[HTC Desire S] Malooga:
He didn't say when, just that it was under development, and how do i link to a direct message on twitter?
[HTC Desire S] shrome99:
Just tell us the name of the dev. Maybe he'll tell us more.
[HTC Desire S] crubbish:
I suggest everybody interested in getting CM registers on above forum and leaves request there. I did.
[HTC Desire S] Malooga:
@cyanogen is the guy who told me, you wanna ask questions go ahead.
[XPERIA X8 Themes and Apps] Hamzai82:
hey guys

when i turn wifi on then it says connecting... and i cannont connect to any network or it dosent show any on there. Do i have to do a full wipe or what??
[XPERIA X8 Themes and Apps] supermanno1:
Forget all your wi-fi connections and reboot phone.
[XPERIA X8 Themes and Apps] ahmedzamir:
forget awl ur conection make new search nd enter da pas of urs conection n it wil work fine same prblm i usually face in floyo v30
[XPERIA X8 Themes and Apps] LegoGabi:
Put the Froyobread on a clean install of 2.1 version.
[XPERIA X8 Themes and Apps] bbeanss:
i had that problem after installing froyobread v018, it let me put the passowrd in, verified the passowrd and everything but wouldnt connect, my solution was to just reboot it and it worked perfectly after that, hope i helped :)
[XPERIA X8 Themes and Apps] Hamzai82:
thanks guys!! :D
[XPERIA X8 Themes and Apps] Blacklistest:
just do a full wipe...btw u post on wrong sect
[XPERIA X8 Themes and Apps] arox5:
I had the same problem.

I solved setting on the router WPA2 + TKIP, instead of WPA2 + AES encryption.

I hope this can help.
[XPERIA X10 Q&A, Help & Troubleshooting] marcoplo:
I got xperiax10 (big one) and xperia Arc. I planning to buy this memory card http://www.maplin.co.uk/16gb-micro-sdhc-memory-card-509493

(for dual boot. Most importantly for video recording (30frame /s)) for Holiday in Egipt.

Any idea suggestion will be deeply preciated

thanks !!!!

btw will be any good for the future gingerbread option " install app on memory card"
[XPERIA X10 Q&A, Help & Troubleshooting] aval1392:
Im running a class 6 myself, looks like a solid sd card
[XPERIA X10 Q&A, Help & Troubleshooting] PhilWee:
Those ADATA cards doesn't seem to be really good, lots of people at amazon wrote about problems with them...
[XPERIA X10 Q&A, Help & Troubleshooting] Bruce Lee:
The best memory card company in my opinion is and which I use is sandisk. The micro sd card has never failed yet and is a well known company. I have a 16 gig and it works great with no complaints.
[XPERIA X10 Q&A, Help & Troubleshooting] marcoplo:
feedback

Thanks Everbody!!

I actually bought a 16gb class 10

link below

http://www.amazon.com/Patriot-Signature-MicroSDHC-Memory-PSF32GMCSDHC10/dp/B004H8FTCU/ref=pd_cp_e_4

And i very happy with the speed in range 18-22mbps writing 32 reading mbps in sdtool trip 2.2 latest version (trip kernel). I was even able to play 2.5h 720p film on it (4gb mp4 30frame) it loaded it up in less that 5 sec played perfectly fine.

however, sdtool crash it on Achotjan 2.2.3 v 05. and did not play that film in it this soft.

****trip miui -Quadrant 1400 and above****

i strongly recommend
[Android Apps and Games] Chris Stewart:
​

Friend Me for Facebook offers a tablet-optimized experience for your favorite social network. Friend Me was designed and created exclusively for the Android Honeycomb platform.

Market Link (FREE): https://market.android.com/details?id=com.locomolabs.facebook

Features of Friend Me:

-- Interact with Facebook with an experience optimized for your Android tablet.

-- Submit status updates to post on your Facebook wall.

-- Read status updates from your friends in the News Feed.

-- Read comments and likes on status messages.

-- Contribute comments and likes on status messages.

-- Register multiple accounts on a single device.

-- Receive notifications from Facebook updates.

-- Pull to refresh support for the News tab.

-- Messages support for your private conversations.

-- Ability to view friend's profiles, their wall, and photo albums.

-- Take advantage of Facebook single sign-on if you have the official Facebook app instead. Otherwise, Friend Me will use the Facebook dialog authorization.

-- View shared photos, links, statuses, checkins, and more directly in the app. Selecting external links gives you the choice of viewing the website inside of Friend Me, with an option to view in the tablet's browser.

-- Access your profile information, your wall, and photo albums. Selecting a photo album lets you easily navigate through your photos.

-- See your Facebook friends, view their profile information, and access their wall.

-- A Photo tab for exploring your photo albums in an exciting way.

-- Friend Me offers a Games feature, which will let you play your favorite Facebook game inside of the app. Flash games work as well, thanks to the Android platform.

​

If you have any feature requests, questions, comments, need support, or want to provide feedback please email me at support@locomolabs.com. Stay up to date with all of the apps from Locomo Labs by visiting:

Web: http://locomolabs.com

Twitter: http://twitter.com/locomolabs

Facebook: http://facebook.com/locomolabs
[Android Apps and Games] christarius:
Nice app.

First off, great app, been using it for a while on my Transformer and its by far superior to the stock Facebook app. Its gotten even better since the upgrade a few days back.

The only issues I've found so far are:

When I try to lauch the app by touching a notification it force closes. I can view the notifications by launching the app and navigating to the notifications tab, but touching the shortcut in the HC notification tray causes a FC.

Once when I launched the app it won't load any of my Facebook data. Forcing a refresh didn't help either. I removed my FB account and re-added it and this seemed to fix it. Haven't had the issue since, so it might have been a one off glitch.

I'm running Prime 1.4 with a Clemsyn kernel on an Asus TF101. Once again, great app, hope you keep developing it!
[Android Apps and Games] popy2006:
Nice, will give it a try and report back :D
[Android Apps and Games] pillzzberry:
That app is not on the market. :/
[Android Apps and Games] natious:
Not in the market for me either, unless its honeycomb only?

swyped from a galaxy far far away
[Android Apps and Games] jjsoviet:
It is Honeycomb only. :)

Some issues:

- In reading an article, only 20 or so of the latest comments could be seen. If, say, there's a topic with more than fifty comments, just half of those are available.

- Pressing the notification does not take me to the corresponding article or update, only to the app in its most recent state.
[Android Apps and Games] adrianmignogna:
Good App, but until there's a chat option, it's useless for me...Maybe you can add also the new videochat...

greets

Adrian
[Android Apps and Games] reddead66:
tested the app and wrote about it on my blog here:http://myandroidlove.blogspot.com/2011/07/appoptimized-facebook-for-honeycomb.html
[Android Apps and Games] narynan:
I really like the app, however, for it to be the best, this is an issue of needing to have farmville. I need to get my wife off my computer.

Make it so!
[Android Apps and Games] ahhbasta:
Every time I comment on or like a post, the news feed goes back to the top. I think it would be better if the news feeds stay put.

You could also put a favorites tab (like favorite friends).

Thank you for the app!

Also, I discovered that you can't share/upload a photo from the android gallery.
[Android Apps and Games] Chris Stewart:
I'm pretty sure it's something that Farmville is blocking. Are you able to play Farmville on the Browser app on the device? I'm not doing anything to block access to games through Friend Me.
[Android Apps and Games] Chris Stewart:
Yes, definitely a bug I'll be fixing.

I have that working in the 1.3 beta. Should be available this week.
[Android Apps and Games] pendevous:
I really love the look of this app. I hope that it'll come in Gingerbread too, though, so I can use it with my Galaxy Tab. :(
[Android Apps and Games] jm77:
Friend Me is pretty gorgeous - it's very well put-together and is snappy and nice to use.

However, I ran into a few issues:

-- Messaging - it still appears to use the browser-based messaging system. This is really clumsy to use.

-- Newsfeed sometimes does not refresh properly. I was using 1.2 beta 3 and every so often the feed would be empty and not refresh properly. If you went back to the account list, it would then refresh.

-- Repeat notifications. At one point earlier today, Friend Me kept notifying me that there was "new information available", but it wasn't readily obvious what it was notifying me about. I ended up uninstalling just to make the notifications stop.

-- Poke support. Silly, I know, but I've yet to see an app that supports this.

Overall a great app. I'm installing the newly-instated Market version and am really looking forward to seeing more improvements.

Keep up the great work!
[Android Apps and Games] ultrakinetic:
Works great on my Xoom, thnx :)
[Android Apps and Games] EtherBoo:
Love the app, but one problem with it... farmville. I have a friend and I think he does nothing but play farmville all day. In the browser, I have it blocked so I don't see the spam, but in FriendMe, it's 99% of my news feed. Perfect app otherwise.