Saturday, April 13, 2013

[General] Help with LG Optimus Zip Straight Talk phone


I have had my phone for over 6 months this morning i got up and it says the Blank SD Card!! How do i fix it, i know my pics and stuff are in there and were fine last night. My apps are all gone also.



.

forum.xda-developers.com

[General] Am I Eff'ed? Cyanrogenmod recovery phone brick?


Hey guys I'm new to the forums so if you can keep the flames to a minimum that would be appreciated, its been a tough day.

That being said I am in a tight spot here. I really need my phone to be working right now and for some reason it crapped out on me.

I have a Samsung galaxy S II (Skyrocket or SGH i757, whichever is correct) with CyanogenMod installed. It had been acting strangely and was quite slow lately, probably due to the ridiculous amount of apps i had cluttering the memory. So I decided to try and boot to recovery to see if there was any memory wipe option. I held down the power button until the menu presented itself, chose reboot and selected recovery.

The phone turned off alright, but upon trying to reboot the only thing that appears is the "Samsung" screen then nothing but black. I tried then to drop the battery out and reboot. Nothing. Hard boot. Nothing. Even when the phone is off and i plug it in to charge, the charge screen will appear momentarily then disappear. I cant get into ANYTHING

So..... is it somehow bricked? Just from a reboot?

I have been searching the net and these forums for a while now and haven't found anyone with the same problem. Again, I cannot boot into ANY mode nor will ANYTHING appear on the screen for more than a moment. Is there anything I can do?

Sam



.

forum.xda-developers.com

[General] Old Droid X, now what?


I have a Droid X that is no longer in use as a phone, I switched to an iPhone on my renewal. Nothing against Android, it's just that the iPhone fits my device needs better. However, I don't want to let the Droid go to waste. So, I was thinking I'd do a factory reset and set it up as a "set top box" for online content to my TV and/or get an OBDII reader and GPS software for it and use it as a multifunction car computer (navigation and diagnostic code reader).

So today, I went into the device settings and did a factory reset. Now I'm stuck on the phone activation screen. I cannot activate it as a phone, because I'm not using it as a phone anymore. So now what?

It's running the latest (and last?) firmware available for it via Verizon, 2.3.4. I am now not afraid to try re-rooting and/or custom roms on it, as it is a spare device. If it bricks, I've lost nothing. Where do I start?



.

forum.xda-developers.com

[General] Help finding calender app?


I could not find the proper section to post this so ill post it here. In looking for a free app like cozi that is on android and I phone. Basically I looking for a calender app for me and my gym buddies that we could all share and update to let each other in the group know when they are going to the gym and what body part. I would use cozi but I already use it for my family thing and I don't want to keep loving in and out.
Thanks guys

Sent from my EVO LTE using Tapatalk 2



.

forum.xda-developers.com

[android help] Android ALTER SQL databese - unable to open/read Desktop PC


After using ALTER TABLE to add column to table I was unable to open the db under Windows using many SQLite editors or browsers. Seems the problem is with the SQLite ver. that they support.


Is there tool that can open db that was modified with ALTER TABLE?



.

stackoverflow.comm

[android help] Android ArrayIndexOutOfBoundsExeption When Viewing Image

arrays - Android ArrayIndexOutOfBoundsExeption When Viewing Image - Stack Overflow




















I have a simple app that when you click on an image from a GridView, a Dialog pops up with a Button that says View. When you click the Button, I want to view the image that has been clicked in the gallery. I can get this to work without a problem when I have the app navigate to the gallery without a dialog, but I need it to hit a dialog first. The error my LogCat is returning Java.lang.ArrayIndexOutOfBoundsExeption. Any ideas as to what I need to do to get this to viewing the image? Below is my code.



public void onClick(View v) {
Dialog dia = new Dialog(ViewGrid.this);
dia.setContentView(R.layout.viewimage);
dia.setTitle("What To Do?");
dia.show();
dia.setCancelable(true);
Button button = (Button)dia.findViewById(R.id.viewImage);
button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
int id = v.getId();
Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.parse("file://" + arrPath[id]), "image/*");
startActivity(intent);
}
});
}




























Not sure but I believe dia.show(); should be called at the very last - i.e after view.setOnClickListener.























From where did this ArrayIndexOutOfBoundsException get thrown? I'm assuming it's thrown when you access arrPath[i]. How do you figure that the view's id should be an index into arrPath? That seems to be the problem.




















default







.

stackoverflow.comm

[android help] Why use HandlerThread in Android

Why use HandlerThread in Android - Stack Overflow




















In android , Handler can be used to post / handle message, if I don't use a HandlerThread (pass its Looper to Handler), does that mean in this case Handler use MainThread (UI Thread) 's Looper ?


What result will get if Handler uses MainThread's Looper ? May cause mainThread blocked ?


























As Doc says :



Handy class for starting a new thread that has a looper.
The looper can then be used to create handler classes.
Note that start() must still be called.



HanderThread class inherits from the Thread class, which encapsulates the Looper object, so that we do not care The Looper open and release details. Like in case of normal thread we need to use Looper.prepare() and Looper.loop() to convert it as a LooperThread.























default







.

stackoverflow.comm

[android help] java.net.SocketException: Address family not supported by protocol in android emulator


I am trying to run simple application to access internet from android emulator and here is my code. I am behind proxy and configured proxy settings in emulator by"...Wireless Networks -> APN -> ..." . But internet is working from browser and not from application.



HttpURLConnection connection = null;
String URLName = "http://www.google.com";

try {
URL u = new URL(URLName);
connection = (HttpURLConnection) u.openConnection();
connection.setRequestMethod("HEAD");
int code = connection.getResponseCode();
Log.d(TAG1, " " + code);
// You can determine on HTTP return code received. 200 is success.
} catch (MalformedURLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
Log.d(TAG1, e.toString());
}

finally {
if (connection != null) {
connection.disconnect();
}
}


The part of error log in Logcat is as follows:


01-11 01:01:26.308: DEBUG/SntpClient(72): request time failed: java.net.SocketException: Address family not supported by protocol


01-11 01:02:39.909: WARN/System.err(422): java.net.SocketException: The operation timed out


I tried the following options after searching in forum but none of them seems working:



  1. In android launch options I used -http-proxy server:port -dns-server server




  2. I have included internet permissions in manifest file


    uses-permission android:name="android.permission.INTERNET"


    uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"




  3. Set the system properties to use ipv4 stack after someone suggested



    java.lang.System.setProperty("java.net.preferIPv4Stack", "true");
    java.lang.System.setProperty("java.net.preferIPv6Addresses", "false");


I am working on Android 2.2 and windows vista, can you please help me here...



.

stackoverflow.comm

[android help] How to keep GPS turned on when switching between activities but off when when "home" is pressed

android - How to keep GPS turned on when switching between activities but off when when "home" is pressed - Stack Overflow




















I am trying to figure out the best way to implement Listener to location with the onResume and onPause. Best I can do not it to turn it off on onPause and reconnect on onResume. But then I keep having disconnect-reconnect when all I want is for the GPS to stay on for the duration of the application. When Home is pressed (or another application is interrupting) then GPS can be downed off for battery saving.


Any ideas?


Thanks.
















Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.










default







.

stackoverflow.comm

[General] Help - Making the Transition to Cloud / Streaming Media


Get a Chromebook!

Seriously though, you have to find services that work for you. I buy a lot of my content through Amazon. It's where I have all my mp3s and ebooks. I'm rather fond of Amazon as autorip is a big thing for me since I still like owning CDs but don't own a laptop with an optical drive. Surprisingly though I don't own a Kindle Fire, so video is about all I don't do with Amazon.

By the way, I do use a Chromebook so most of my data is on Google Drive. This is fine but I still have a stack of SD cards and an external drive. Having backups is super important imo and just good computing. Most online storage services (Google Drive, etc.) offer a few gigs of space for free and generally don't purge your data if you stop paying for a sub and have more content than your limit on your account. In Google's case, they let you keep and download the data but you can't upload anything new.

If I didn't have my 100 gbs free from buying a chromebook, I'd probably be cheap and have several different accounts at different sites to take advantage of the free storage.

Sent from my Samsung Stratosphere using Tapatalk 2



.

forum.xda-developers.com

[General] Note2 warranty with root


Can I delete all evidence of me rooting my Note 2? I've been having problems of my phone not charging anymore, or connecting to the computer. I charged the battery at my friend's now and I got it connected to my computer. Can I unroot it so that they won't notice? Wipe everything.

EDIT: It's the international Note2 GT 7100, I believe. I used Odin to root it and just installed a firewall and another app that uses root. I think I didn't use any ROMs.

EDIT2: Will this work?

EDIT3: I'm having trouble connecting my phone to my computer, it doesn't detect it !! Can anyone help? I can't get my stock firmware on it.



.

forum.xda-developers.com

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...