yashsingh1/xdaforums huggingface dataset:
[Java for Android App Development] v1r0x:
hey guys,

I have a little problem with my app.

This is what my app does (should do):

I have a SurfaceView which shows the camera "preview".

On top of this surfaceview I want to display a map, so the user can see where he is. So I want sort of a minimap.

To display the fragment/GoogleMap object on top of the surface, I use the following main_activity.xml:

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<FrameLayout
android:id="@+id/SurfaceViewLayout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:src="@drawable/ic_launcher" />
<fragment
android:id="@+id/Map"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
class="com.google.android.gms.maps.MapFragment" />
</RelativeLayout>

My problem is: The app shows the surface and the map, but I can only see the +/- Buttons of the map. The map is not visible. See attachments for a screenshot.

As you can see, the buttons are displayed, but not the map :confused:

Does anyone has an idea?

regards,

v1r0x
[Java for Android App Development] out of ideas:
You prob either have the wrong api key, didnt declare in the manifest, or have god awful service haha.

95% chance it has to do with the api key though, so double check your have the v2 key, and have it in the right spots.

---------- Post added at 05:19 AM ---------- Previous post was at 05:16 AM ----------

You prob either have the wrong api key, didnt declare in the manifest, or have god awful service haha.

95% chance it has to do with the api key though, so double check your have the v2 key, and have it in the right spots.

EDIT: well maybe it could be a weird layout thing, so to check, take out the framelayout and run it. If the map pops up, its something else.
[Java for Android App Development] v1r0x:
Oh sorry, I forgot to mention, that without the framelayout or if I define

android:layout_above="@+id/map

in the FrameLayout, I see the map. So, it's not an api key error.

What I don't understand is, that the buttons (+/- in the screenshot) pop up, but not the map :confused:

But thanks for your answer
[Java for Android App Development] nikwen:
Try setting a width and height for the fragment and maybe exchange their order in the layout. Something like 64dp. (Just for testing)

I think that one is drawn over the other so that you do not see the other one. The buttons are drawn on the top of everything.
[Java for Android App Development] v1r0x:
The map is 200dp x 200dp

Didn't know that. Thanks.
[Java for Android App Development] nikwen:
Have you tried changing their order?

The second view should be drawn behind the first one if nothing else is specified.
[Java for Android App Development] v1r0x:
:o:o

I thought the second view will be drawn on top of the first :D

Now it looks as it should :)

There are some new bugs, but I think they are related to the new layout.

Thank you, guys!
[Xperia Z Original Android Development] DooMLoRD:
[ info ]

--------------------------[ UPDATE ]---------------------------------

This is now DEPRECATED as we can read reboot code from kernel cmdline during bootup, and this has been integrated in most recoveries.

--------------------------[ UPDATE ]---------------------------------

As most of you would know that the reboot-into-recovery is broken in our Xperia devices as we dont have a dedicated recovery partition... this is especially annoying as we cant directly use the Goo/ROM Manager functions without manually pressing the VOLUME keys at bootup..

well now I have developed a fix in the form of a reboot binary!!! this will now add compatibility with Goo/ROM Manager's Reboot into Recovery!!

just download the zip linked below and flash via any recovery...

It will work on both locked and unlocked bootloaders and on any kernel or ROM (stock or custom)...

[ WARNING ]

DO NOT TAMPER WITH THIS FILE AND DO NOT INTEGRATE THIS YOUR ROMS/KERNELS/APPS/MODS!

[ requirements ]

working recovery

any android OS

[ donations ]

if u feel that this work has helped u OR u think that the work i put into making this is worthy of donations, then click on the following link for buying me some coffee/beer/etc ;)

PAYPAL DONATION LINK

[ downloads ]

KINDLY

DO NOT MIRROR

MY FILES

Reboot Wrapper v1.0 (MIRROR)

MD5HASH: 06c41123ed56e9db0ceeb01789c3e08a

incase of any issues feel free to post in this thread!

regards,

DooMLoRD
[Xperia Z Original Android Development] Rycon33:
working good Doom, thanks:)
[Xperia Z Original Android Development] RascarC:
Nice, will try this fix!

---------- Post added at 04:27 AM ---------- Previous post was at 03:30 AM ----------

Works like a charm, thanks a million Doom!
[Xperia Z Original Android Development] Hellscythe:
I have a question to ask, and i am asking this with no knowledge what so ever.

but, would it be possible to rewrite the partition table so that we get a recovery partition?
[Xperia Z Original Android Development] DooMLoRD:
May be...
[Xperia Z Original Android Development] cdesai:
It sure is possible to shrink an existing partition and add a new one, but that should never be done unless absolutely required, which isn't the case for us.

We do have extra partitions, such as FOTAKenrel, which are already used for recovery (CM supports this too, if you flash a compatible TWRP image to the FOTAKernel partition, that will be loaded instead of the recovery present in the boot partition).

It still just loads the ramdisk from the image present on the FOTAKernel partition, what would have been better is the bootloader directly loading another kernel (from another partition), if the reboot reason is recovery or a key is pressed while booting.
[Xperia Z Original Android Development] dron39:
How it be on DoomKernel? It may reboot into CWM or TWRP? O_O
[Xperia Z Original Android Development] s940068:
I don't know if it works with Goo manger to boot into TWRP O_O

Edit:Now I know that Rom manger is support TWRP now,so I don't know what recovery will Rom manger use because Doomkernel has both CWM and TWRP
[Xperia Z Original Android Development] Michealtbh:
I believe it will use the default recovery, which is CWM in DoomKernel
[Xperia Z Original Android Development] xfile087:
Tried the downloaded last night and this morning - still can't access it.

EDIT: Not sure why I can't access the download. Won't work. Tried with a http proxy and worked instantly... hmm?
[Xperia Z Original Android Development] s940068:
Have you tested it?
[Xperia Z Original Android Development] Michealtbh:
No, I run Cyanogenmod so can't use DoomKernel
[Xperia Z Original Android Development] DooMLoRD:
For now default is CWM on my kernel... I will separately provide access to selecting default recovery to boot into...

again CWM is the default one..

yes...

hmmm please wait I will post mirror...

U can use this even on CM...
[Xperia Z Original Android Development] thunder141:
thx, work with rom manager like a charm. But other tools like quickboot use an other way to boot? So they won't work.
[Xperia Z Original Android Development] 23Six:
Do you have to reflash with ROM updates etc?
[Xperia Z Original Android Development] DooMLoRD:
sadly those apps use different way to call reboot...

anyways what was is important is that ROM Manager is now properly working...

it will have to be reflashed if /system partition is changed... so if u change ROM then yes it will have to be reflashed...
[Xperia Z Original Android Development] thunder141:
Yes, that is right, i use rom manager now to Start Backup, etc. Thanks again for your work
[Xperia Z Original Android Development] haynesteve:
Cannot download - times out every time.

Any chance of a mirror ?
[Xperia Z Original Android Development] DooMLoRD:
Dev host mirror added in OP
[Xperia Z Original Android Development] haynesteve:
Thank you
[Xperia Z Original Android Development] californicated:
When I want to start a backup using CWM Manager it asks my to install the recovery. Shall I do it or not? I'm running DooMKernel v7
[Xperia Z Original Android Development] DooMLoRD:
No need.. Override it and select manual recovery installation
[Xperia Z Original Android Development] californicated:
I can select the existing recoveries, but it will ask for my device and the XZ isn't in the list of supported devices. If i choose to have another device, I have the choice between CWM 2.x and 3.x But I have 6.0.3.2 installed...
[Xperia Z Original Android Development] thunder141:
I selected vor and it Works with installier cwm.

Send with Tapatalk HD
[Xperia Z Original Android Development] californicated:
You selected what?

Gesendet von meinem C6603 mit Tapatalk 2
[Xperia Z Original Android Development] thunder141:
v3
[Xperia Z Original Android Development] armanys:
not sure

What do u mean by "flash via any recovery"?

I have CWM v6.x installed - does it mean I have to manually boot in CWM (on boot led will be violet for 3'', during this period press vol+ ?) and flash this .zip file?
[Xperia Z Original Android Development] Moody:
Yes.

DoomLord, please do add in a addon.d script, so a CM / PAC (any rom using backuptool) update will preserve this binary, in the same way /etc/hosts and gapps are preserved.

/system/addon.d/36-rebootwrapper.sh

#!/sbin/sh
#
# /system/addon.d/36-rebootwrapper.sh
# During a CM10 upgrade, this script backs up /system/bin/reboot,
# /system is formatted and reinstalled, then the file is restored.
#

. /tmp/backuptool.functions

list_files() {
cat <<EOF
bin/reboot
EOF
}

case "$1" in
backup)
list_files | while read FILE DUMMY; do
backup_file $S/"$FILE"
done
;;
restore)
list_files | while read FILE REPLACEMENT; do
R=""
[ -n "$REPLACEMENT" ] && R="$S/$REPLACEMENT"
[ -f "$C/$S/$FILE" ] && restore_file $S/"$FILE" "$R"
done
;;
pre-backup)
# Stub
;;
post-backup)
# Stub
;;
pre-restore)
# Stub
;;
post-restore)
# Stub
;;
esac

Much appreciated ;)
[Xperia Z Original Android Development] DooMLoRD:
thanks for the tip!
[Xperia Z Original Android Development] devilmaycry2020:
Hi all

As soon as i press and hold power button the phone restart automaticlly ( dont display power option menu) after flash this mod . i use TX JB 4.1.2 deoodexed .67 FW .

How to roll back ?

Please help. thanks
[Xperia Z Original Android Development] armanys:
Does this work for 4.2.2? Will I be able to still use RomManager as I did in 4.1.2?
[Xperia Z Original Android Development] DooMLoRD:
yup
[Xperia Z Original Android Development] imna357:
Been using my terminal emulator, ever since to boot into recovery no more pressing of buttons
[Xperia Z Original Android Development] demon2112:
What command is that please
[Xperia Z Original Android Development] imna357:
Su

Reboot recovery, just wait until it bootbup in to recovery, you can use a lot of commands on the emulator.

Hot reboot can be done to:)
[Xperia Z Original Android Development] demon2112:
What is hot reboot? I forgot :(
[Xperia Z Original Android Development] imna357:
Hot reboot is rebooting the Android framework only, without rebooting the kernel. "Fast reboot" is the same.
[Xperia Z Original Android Development] demon2112:
Thats it...thnxx
[Xperia Z Original Android Development] nCuXaPaA:
Can u upload it again the link is broken,thx
[Xperia Z Original Android Development] DooMLoRD:
check out mirror
[Xperia Z Original Android Development] hard91:
Will it work with android 4.0.4

I have twrp installed and locked bootloader
[Xperia Z Original Android Development] lawrenceglue:
Work on Xperia UL（SOL22）
[Xperia Z Original Android Development] lrwjr1964:
The link appears to be broken

Will this be fixed? Just asking.
[Xperia Z Original Android Development] DooMLoRD:
Mirror LINK is posted in OP
[Xperia Z Original Android Development] [NUT]:
Psst, you still didn't fix the main link :p

Why not put it on xperia-files?
[Xperia Z Original Android Development] DooMLoRD:
nah... and anyways this is now deprecated... as we can directly read reboot code from cmdline of kernel...
[Verizon Samsung Galaxy S 4] diljosh:
Now that my GS4 is rooted, want to knon what wifi tether Apps are working.

Installed the trever mode app which I used on my GS3 , did not do the trick.

Tried a few others from the app store with no luck.
[Verizon Samsung Galaxy S 4] scottyh73:
Download tethering widget from the play store. Works like a charm
[Verizon Samsung Galaxy S 4] tiger505:
I just purchased Foxfi application.It works fine for WiFi tether but it cost $7.95 for the full release. It used to be free. Worth the price as I spent the last 2 hours on my laptop with free tether!
[Verizon Samsung Galaxy S 4] diljosh:
okay
[Verizon Samsung Galaxy S 4] Reginalb124:
Except that there are also free apps that work.

I am using ES File Explorer (not rooted) for tether. I imagine most of tethering apps will work just fine.
[Verizon Samsung Galaxy S 4] diljosh:
I surprised these Apps can work without root access. I am going to remove my hotspot subscription and try this.
[Verizon Samsung Galaxy S 4] imablackhat:
I have unlimited data. Not rooted or anything and have an app that toggles it on and bypasses.
[Verizon Samsung Galaxy S 4] diljosh:
What App is that?
[Verizon Samsung Galaxy S 4] imablackhat:
Portable wifi hot spot. Use it all day everyday.
[Verizon Samsung Galaxy S 4] geoff5093:
Same here, works great!
[Verizon Samsung Galaxy S 4] notstevek:
I can confirm this app works.
[Verizon Samsung Galaxy S 4] imablackhat:
Works on any stock device guys. No root. Always has.
[Verizon Samsung Galaxy S 4] dansan382:
those who are using portable wifi hotspot widget...

you configured the hotspot settings in the native hotspot app THEN opened the widget right?
[Verizon Samsung Galaxy S 4] imablackhat:
Correct.
[Verizon Samsung Galaxy S 4] dansan382:
thank you! much appreciate
[Verizon Samsung Galaxy S 4] EVOme:
Widget works for Verizon hotspot. Thanks for that.
[Verizon Samsung Galaxy S 4] imablackhat:
No prob! It's the best free app (:
[Verizon Samsung Galaxy S 4] Sparatan117:
Strangely enough I installed wireless tether from the play store (been around since the days of the G1 and the Nex One).

It ran fine the first time. Last night it wouldn't correctly start. After going into the settings and manually starting the tethering from the actual setup menu, it skipped the subscription check and started tethering. Weird. Anyone else?
[Verizon Samsung Galaxy S 4] mattdb:
This doesnt work for me. It does enable the hot spot but when ever my table connects, it keeps dropping the 4g connection and my tablet will not get on the internet.

---------- Post added at 09:20 AM ---------- Previous post was at 09:07 AM ----------

UPDATE: This one appears to be working " Portable Wifi Hot Spot

---------- Post added at 09:25 AM ---------- Previous post was at 09:20 AM ----------

OK UPDATE2: The other one works fine now. I had an app that I used on my Droid Bionic called Wifi Tether and that was what I was trying to use before and it wouldnt work at all. I uninstalled that and rebooted and now the original works just fine.
[Verizon Samsung Galaxy S 4] deeznuts808:
Just so i'm not confused here, can someone list the steps to get all this working correctly. I think i did it right, does portable wifi hotspot work through the phones native hotspot app? and verizon wont charge us?

Thanks in advance...
[Verizon Samsung Galaxy S 4] kmickeletto:
That is my issue with it. I have the unlimited data plan. I verified using the widget works for me, but since it is just using the native wifi tether, I am not expecting Big Red to let this go unpuni$hed.

I am holding out for an update to the Wifi Tether App. Hoping for a new Treve mod.
[Verizon Samsung Galaxy S 4] mshawn3:
Tether

Which app did you download?

---------- Post added at 04:15 PM ---------- Previous post was at 04:01 PM ----------

Sir, if I'm not mistaken this thread is under the Q&A section. " Verizon Samsung Galaxy S 4 > Verizon Samsung Galaxy S 4 Q&A, Help & Troubleshooting > Wi Fi Tether for rooted users" If this is the wrong place could you help a newbie and point me in the right direction?

Thank you for you help, Michael S
[Verizon Samsung Galaxy S 4] KennyG123:
You missed the second line that says "Thread Moved", it was posted in General where it does not belong.
[Verizon Samsung Galaxy S 4] mshawn3:
reply

Got it, I didn't realize it had been moved there, I apologize. I'm just trying to navigate my way through and when you said that it threw me for a loop and I was like, now where do I go? Thanks for the helpful tips and speedy replies.
[Verizon Samsung Galaxy S 4] berfles:
I noticed last night that my S4 has three spots toward the bottom middle part of the screen that show up lighter than the rest of it under dark backgrounds. Now that I saw them, I can't really UNsee them and it's annoying every time I look at it. I was going to try to take it to Verizon and exchange it for another unit and hopefully test it out before I leave. I think for $688 I should have a perfect device. I tried to take a picture and highlight where they are:

I saw another thread in the main S4 forum where someone said they had their screen replaced, which is odd to me since these things are brand new:

http://xdaforums.com/showthread.php?t=2272689&highlight=light+spot

Anyway, just wondering if anyone else has this problem and what you would do? I'm waiting to get in a chat with Verizon to see what they say before I call the store.
[Verizon Samsung Galaxy S 4] berfles:
I guess there's only two of us then.
[Verizon Samsung Galaxy S 4] chrishoyt2012:
Oled screens are known to do this...its different on each device. Look in any s3 forum or search google and you'll see posts about this. Noth8ng is perfect...everything has flaws...

Sent from my Samsung Galaxy S 4
[Verizon Samsung Galaxy S 4] berfles:
Known to do it or not, if there are devices out there without this problem I'm going to try to exchange it. I did Google it and saw other people talking about it from different devices and they all ended up exchanging it. For $688 the screen should at least be uniform. Though now that I'm actually Googling OLED mura, I'm seeing that they all do have it. That's part of why I wanted to post this, to see how many others had it with this particular phone. Odd that everything I'm reading says it appears on black screens and you can only see it in the pitch black, yet mine is only visible on gray backgrounds and it doesn't matter how bright it is.

Here's another version of my picture, I tried to bring out the three splotches a little better. Just making sure this is in fact mura.
[Verizon Samsung Galaxy S 4] ThugosaurusRex:
I'd definitely return that, its awful looking in that picture. And your right, for $700 the phone shouldn't have screens like that.
[Verizon Samsung Galaxy S 4] berfles:
It doesn't look anywhere near that bad, just focus on the three darkest splotches. That whole darker circle is a result of the burn tool in Photoshop. It looks very similar to the first picture when I actually use it, but even that picture makes it look worse than it is... the second picture it just to bring out the three spots in case anyone wasn't sure where they were. I'm actually going to edit the second picture again because it makes it look much worse than it really is.
[Verizon Samsung Galaxy S 4] ThugosaurusRex:
That makes a lot more sense now, I can see a black spot on my display as well, but its only noticeable if I'm looking for it.
[Verizon Samsung Galaxy S 4] berfles:
And it's only on certain colors too? I'm really torn on whether or not I should try to exchange it.
[Verizon Samsung Galaxy S 4] theboo7:
No light spots here, but I do have a sinlge pixel that is always red.
[Verizon Samsung Galaxy S 4] berfles:
I'd exchange it for that reason too. Maybe it's just me, but for the price I paid I'm going to try to exchange it until I get something I'm 100% happy with. At least until they tell me I can't just take a new one from the inventory anymore.
[Verizon Samsung Galaxy S 4] berfles:
Well, went and got it exchanged an hour or so ago, this one doesn't seem to have the smear/splotches and doesn't appear to have any pixel issues either. Camera doesn't lag, buttons are good, I can't think of anything else to check. I think I'm in the clear though.
[Verizon Samsung Galaxy S 4] rednoved:
I always download the Dead Pixel Test from the market and check my phones before I become too attached. It's free and works great. I hate getting a phone all set up only to find a dead pixel or screen problem. On my S4 I can't find any light/darks spots, or any dead/stuck pixels.
[HTC One X] Guids:
Will Lord Clockan stop developing ICJ?

I read this in some forum. But after a search of all Lord his posts in the ICJ thread I could not find any indication.
[HTC One X] Mr Hofs:
Then you have your answer already. Why opening a thread for this. Just keep an eye on the thread and you know it soon enough :rolleyes:
[HTC One X] vin4yak:
Yes... he wants some family time now!! He has indicated many a times that this devving job takes up a lot of time...

However, new ICJ Builds are released almost 2 times a week :p so I'm sure it's not gonna happen anytime soon :) :fingers-crossed:
[HTC One X] Guids:
thanks for clarifying vin4yak!
[MDA II, XDA II, 2060 ROM Development] a18041967:
OK, we all know its not going to formally happen (2003 SE Update that is...) and we all know the hardware is almost identical, therefore...

Development versions of the SE ROM's must exist somewhere, they may not be production ready but may work very well, at some point these hopefully will become available on the WEB via unofficial sources.

or

Has anyone managed to extract one of the new XDA IIs ROM's and tried to update a standard XDA II. OK there will be additional drivers and settings for such hardware as wireless adaptors, these will just not initialize all other hardware should work.
[MDA II, XDA II, 2060 ROM Development] Rudegar:
not just additional drivers people messed around with it and even the blue angle had a different cpu and bluetooth hardware and .......

i dont think people have been able to change in the core rom parts even on the old xda1's

windows CE is very unlike pc windows when it comes to being portable and having any other drivers then the ones it was made for :/

there were threads about tests in the old hacking it forum not sure if they got lost in the crash

think it would be a much better bet to get hold of some of those beta roms that people claimed to have been using on their xda2's
[MDA II, XDA II, 2060 ROM Development] Z-man:
yup... need 'em beta ROMS, then re-build it so something more stable.... :)..... untill (if ever) the SE arrives....
[MDA II, XDA II, 2060 ROM Development] ZeroXtreme:
I ran across a post that claimed that this guy had his Xda II running WM2003SE which he got from official sources, but promised not to release it to anyone.

So if this is true, there must be an available upgrade for the Xda II, beta or otherwise.
[MDA II, XDA II, 2060 ROM Development] ajong:
maybe future rom ver. 1.80 will integrated with SE (I hope) ?
[MDA II, XDA II, 2060 ROM Development] :
waiting the WM2003SE version....
[MDA II, XDA II, 2060 ROM Development] xdaiiuser:
I thought that O2 announced this ROM as the final rom?? So y r we getting r hopes up.!
[MDA II, XDA II, 2060 ROM Development] buzz_lightyear:
...maybe they just meant final as "non beta" version...

buzz
[MDA II, XDA II, 2060 ROM Development] EastExpert:
Which I think they exactly meant.

It *is* "final" as "non-beta", because there clearly can be further updates from MS to Windows Mobile 2003.

I would expect the version that will have no others to follow to be called "the last", or "the last supported" for a device.
[MDA II, XDA II, 2060 ROM Development] :
Nooop it aint happenin

Unfortunately after my long chat with IMATE I finally got the reply there will be no in any way WM2003se for us but SP3 will come with media player 10 and that is all
[MDA II, XDA II, 2060 ROM Development] cruisin-thru:
Quote:It *is* "final" as "non-beta", because there clearly can be further updates from MS to Windows Mobile 2003.

I read "Final" as this is the last update because we are going to conentrate on the latest phones development. :cry: