yashsingh1/xdaforums huggingface dataset:
[EVO 4G Themes and Apps] fmedina2:
Thanks, Ill try this out later. For Cyanogen users, the .zip also must be placed in /system/media in case anyone is wondering.

Does the audio clip have to be 20 seconds for it to work?
[EVO 4G Themes and Apps] jblazea50:
any chance of making it with the background being black?
[EVO 4G Themes and Apps] Igzekyativ:
sometimes it seems like it speeds through the animation.. usually it stops on him facing away (he doesn't dance until the phone has booted).. any thoughts?
[EVO 4G Themes and Apps] Igzekyativ:
if you are asking if the animation will work if the audio is not 20 seconds exactly, then yes.. mine works without audio
[EVO 4G Themes and Apps] fmedina2:
Where does ringdroid send the file once I save it? Cant find it anywhere.
[EVO 4G Themes and Apps] fmedina2:
Flashed the .zip for media on Cyanogen. Didnt work.
[EVO 4G Themes and Apps] Igzekyativ:
seems like Cyanogen needs to flash the other file to get the bootainimation.zip in the /system/media folder
[EVO 4G Themes and Apps] fmedina2:
Tried both. Didn't work.
[EVO 4G Themes and Apps] jthurs:
flashable zip 1 works on myns warm rls3. thank you
[EVO 4G Themes and Apps] Mr Ian B:
Going back to previous version with black bars. This version is too short and stops about 10-15 seconds before my phone boots up.

Ian B
[EVO 4G Themes and Apps] jay24k:
Could you make it run about 10 seconds longer? Love the fullscreen otherwise.
[EVO 4G Themes and Apps] Clay333:
Sorry for the problems guys, I don't use Cyanogen so I'm not sure what the problem is I would be very thankful if someone with some knowledge on making flashable zips could edit this to work on CM, I would definitely add it to the OP.

Also, I guess our phones run alittle different because the speed and timing for the bootanimation is perfect on my phone with every rom I have put it on. I will work on these as soon as I get a weekend (could possibly be after thanksgiving, sorry have been really busy at work lately). I will try slowing it down just alittle and also add some more frames and try to figure out how to make it loop correctly so it won't just freeze until the phone boots.

Sorry again for the problems, this is my first bootanimation so I'm still learning. I actually just wanted to get this working on my phone and decided to share it. I will update the OP as soon as I have the time to refine this further.
[EVO 4G Themes and Apps] bboy_201:
ty

thanks man!

now trying to think of a song!
[EVO 4G Themes and Apps] bboy_201:
o yes! thanks man!

Used the zip file and added a song.. imma add it to my post. i will give you credit!
[EVO 4G Themes and Apps] Mich2Ga:
Great Job, will try this.....
[EVO 4G Themes and Apps] luderbeck1:
Neat!

Works great on Myn's 2.2. I picked "I Don't Feel Like Dancing" from Scissor Sisters for the boot audio. Pretty funny. I have attached the edited version I am using. It might run a little long for some (about 35 seconds) but you can use Ringdroid to edit it.

This is not a flashable zip. Just extract/unzip the .mp3 and move it to the /system/customize/resource folder. If you want to save the original boot audio file be sure to rename it before moving or copying this one.
[Epic 4G General] amosher13:
First off I just want to thank you all, I think myself and the community appreciate your work in developing content for the relatively new Samsung Epic and building the base of options we have.

That being said, I hope I'm not out of line when I suggest the following:

I know that themes and mods all affect a small core set of files within a ROM, since we're all using different combinations of these, it might be helpful to indicate in the OP for your theme or mod somehow what files are included. If all mods and themes showed this we could see which theme might "knock out" which mod we are running. Just a thought, open for discussion.
[Epic 4G General] ravizzle:
Good idea, however idk how that convenient that is for themers. They probably would want to use their time themeing instead of writng everything out.

Sent from my Epic 4G
[Epic 4G General] MysteryEmotionz:
I'm trying to get my theme to include every mod possible. On my there already got the battery percent mod. My theme I'm testing now has the multi mod also. Im also working on the reboot mod. As we speak. Is there anything else I'm missing?

Sent from my Emotionless Beast of an Epic using the XDA App
[Epic 4G General] amosher13:
No I think that sounds like it, aosp lockscreen? I and I think most people enjoy that.

And to above: I get that but its a take it or leave it idea. We all love a clean informative OP, phoenix kernel is a perfect example.

I run blue min theme and he just upped a version with the reboot option and battery popups gone, but I can flash any other mod without killing parts of the themes, I just thought it might help the community for those who choose to run with it

sent from my epic experience
[Epic 4G General] MysteryEmotionz:
Aosp lock screen can be flashed without loosing reboot. Check the thread out. The themed version of his aosp don't have the updated services.jar file.

Sent from my Emotionless Beast of an Epic using the XDA App
[Epic 4G General] muyoso:
What you can do is download the files of the mod you are interested in, extract everything out by changing apk's to zips. Then using a program like WinMerge, compare the files of the theme to the corresponding folder of your mod. It will return with any files that are different and any that are similar.

I did this to combine the Multimod Fascinate Music mod with the Circle Battery mod. Took a couple of minutes.
[Epic 4G General] amosher13:
That's a pretty great idea too, I was thinking of trying something like that actually but figured its too easy for a noob to muff up, I've been reading the theme guides so I'm trying to ge a better understanding of all these inner workings

sent from my epic experience
[Epic 4G General] raiderep:
What a coincedence, I just completed the add options to the power menu mod and tried to list all of the effected jars and apks. I did that mostly for other themers and rom creators without thinking that end users would be interested. I don't think its realistic to expect everyone to do this but it would be helpful for sure.

As for blue mini, I plan on adding that mod in soon, just busy right now. Sorry for slacking...lol

sent by an Epic4g through the cosmos
[Epic 4G General] amosher13:
ha! yeah i think it was actually one of your posts which gave me the idea as i found it helpful. i realized that certain features would get knocked out, yada yada. np, thanks for your work. like i said i dont really expect everyone to do it but it would be helpful
[Desire HD General] wilam555:
Hi,

Can anyone tell me is preinstalled QucikOffice on Desire HD full version, or is it trial?

I need some MsOffice files editor (xcell).

Moved to General by Mod
[Desire HD General] alltruism:
I don't think its the full version, it only seems to let me edit Word and Excel documents (97-2003 versions)
[Desire HD General] quarintus:
sadly enough, it's a trial.
[Desire HD General] BigMango:
How do you know this?

On my DHD I have edited many word/excel files and it never told me it was a trial.

Furthermore, the version shown is "3.2.111 - HTC" (which shows it's a version made for HTC). Nothing about "trial" anywhere.
[Desire HD General] wilam555:
I get one DHD, so I now know that is preinstaled quickoffice full version.
[Desire HD General] M_T_M:
On that note....thread closed then ;)
[Desire Q&A, Help & Troubleshooting] xMaher:
I was wondering if I can use the Desire as a wireless adapter for a PC. I mean to connect it through USB so the PC will detect it as a wireless adapter, just like a USB wifi adapter. I'm not talking about tethering and sharing the 3G internet with the PC.
[Captivate Q&A, Help & Troubleshooting] ghicks:
Is there a "fixed" email.apk for 2.2 that addresses the defect with message replies on the Captivate? I'd prefer not to downlevel to a previous release or other phone apk...

The new features are cleaner... but not being able to respond to email is a bit of a problem! Thanks to the community (and designgears) for their continued development!
[Captivate Q&A, Help & Troubleshooting] alphadog00:
If you use the search function you will see that most people have reverted to the stock 2.2 email.apk - it appears to work fine.
[Captivate Q&A, Help & Troubleshooting] deakinsjello:
DG is attempting to fix the original 2.2 Email.apk in the Cog thread, it was post #6799 but a few people already reported that the issue is still there.
[Captivate Q&A, Help & Troubleshooting] ghicks:
Thank you...

Guess I'll use the alternate solution for now... but the new apk is pretty nice...
[Captivate Q&A, Help & Troubleshooting] tdbgamer:
Q&A section?
[Captivate Q&A, Help & Troubleshooting] f13nd0:
Check out this post. I was experiencing the same issue with beta. I posted the steps for another user, the steps taken to install a custom email.apk. Take a look and see if this will work for you.

http://xdaforums.com/show...06#post8899706
[Captivate Q&A, Help & Troubleshooting] ghicks:
Text Size

Is there a way to increase the size of the message body?
[Windows Phone 7 Software Development] Robby Light:
Hey Guys!

I'm sitting in front of an XML-Problem for five days now and really don't know what's to do. Expect of asking you.

I want to write a small shopping list application that manages the data in an XML-File looking like that:

<?xml version="1.0" encoding="utf-8" ?>
<Items>
<Item>
<Name>Bananas</Name>
<Store>supermarket</Store>
<Repeat>true</Repeat>
</Item>
<Item>
<Name>LG E900 Optimus 7</Name>
<Store>superhandy</Store>
<Repeat>false</Repeat>
</Item>
(...)

I have a ListBox called ItemShowcase that I fill with instances of my ShowCaseEntry-Class

Reading Data from the FIle works perfectly with this code:

private void updateItemList()
{
// load XML-File
var items = XElement.Load("MissingItems.xml");

foreach (var a in items.Elements())
{
ShowCaseEntry sce = new ShowCaseEntry(a.Element("Name").Value, "Store: " + a.Element("Store").Value, false);
ItemShowcase.Items.Add(sce);
}
}

No Problem until here.

But now I want to add a new Iem to my XML-File.

I have 2 Textfields in what I ask for the Item-Name and Store-Name. Repeat is always true.

I tried that:

public void addXMLItem(String name, String store, Boolean repeat)
{

// XML-Datei Laden
var items = XDocument.Load("MissingItems.xml");

// neues Item erstellen
XElement newItem = new XElement("Item",
new XElement("Name", name),
new XElement("Store", store),
new XElement("Repeat", repeat) );

// Hinzufügen und spreichern
items.Root.Add(newItem);

FileStream F = new FileStream("MissingItems.xml", FileMode.Open);
items.Save(F);
}

The last line give me the following Error:

Attempt to access the method failed: System.IO.FileStream..ctor(System.String, System.IO.FileMode)

Is anyone here who would help me?

You would save my weekend!

Thank you so much!

Best wishes and greets

Robby
[Windows Phone 7 Software Development] Ren13B:
Try something like this:

IsolatedStorageFile isoStore = IsolatedStorageFile.GetUserStoreForApplication();
IsolatedStorageFileStream isoStream;

isoStream = new IsolatedStorageFileStream("MissingItems.xml", FileMode.Create, FileAccess.Write, isoStore);

//Add your xml items here.

xml.Save(isoStream);
isoStream.Close();
[Windows Phone 7 Software Development] Robby Light:
First of all thanks for your answer.

Unfortunately I don't really know how to add the XML-Items.

Like this?

public void addXMLItem(String name, String store, Boolean repeat)
{
IsolatedStorageFile isoStore = IsolatedStorageFile.GetUserStoreForApplication();
IsolatedStorageFileStream isoStream;

isoStream = new IsolatedStorageFileStream("MissingItems.xml", FileMode.Create, FileAccess.Write, isoStore);

//Add your xml items here.

var items = XDocument.Load("MissingItems.xml");
XElement newItem = new XElement("Item",
new XElement("Name", name),
new XElement("Store", store),
new XElement("Repeat", repeat));

items.Root.Add(newItem);

items.Save(isoStream);
isoStream.Close();
}

Another answer would be very nice

Best regards

Robby
[Windows Phone 7 Software Development] Ren13B:
I don't have time to test it but hopefully this works for you.

public void addXMLItem(String name, String store, Boolean repeat)
{
IsolatedStorageFile isoStore = IsolatedStorageFile.GetUserStoreForApplication();
IsolatedStorageFileStream isoStream;

isoStream = new IsolatedStorageFileStream("MissingItems.xml", FileMode.Create, FileAccess.Write, isoStore);

//Add your xml items here.

XDocument items = XDocument.Load(isoStream);

items.Element("Items").Add(
new XElement("Item",
new XElement("Name", name),
new XElement("Store", store),
new XElement("Repeat", repeat)));

items.Save(isoStream);
isoStream.Close();
}
[Windows Phone 7 Software Development] Robby Light:
Thank you really much for your engangement, but there is still one problem.

In this line the program throws an XML-Error called "root element is missing":

XDocument items = XDocument.Load(isoStream);

How to explain the Load-Method that "Items" is my root Element?

Greets

Robby
[Windows Phone 7 Software Development] Ren13B:
Sorry my code had errors. This is tested and working.

IsolatedStorageFile isoStore = IsolatedStorageFile.GetUserStoreForApplication();
IsolatedStorageFileStream isoStream;

isoStream = new IsolatedStorageFileStream("MissingItems.xml", System.IO.FileMode.Open, System.IO.FileAccess.Read, isoStore);
XDocument items = XDocument.Load(isoStream);
isoStream.Close();

items.Element("Items").Add(
new XElement("Item",
new XElement("Name", name),
new XElement("Store", store),
new XElement("Repeat", repeat.ToString())));

isoStream = new IsolatedStorageFileStream("MissingItems.xml", FileMode.Create, FileAccess.Write, isoStore);
items.Save(isoStream);

isoStream.Close();

That code results in this:

<?xml version="1.0" encoding="utf-8"?>
<Items>
<Item>
<Name>Bananas</Name>
<Store>supermarket</Store>
<Repeat>true</Repeat>
</Item>
<Item>
<Name>LG E900 Optimus 7</Name>
<Store>superhandy</Store>
<Repeat>false</Repeat>
</Item>
<Item>
<Name>Test Name</Name>
<Store>Test Store</Store>
<Repeat>False</Repeat>
</Item>
</Items>
[Windows Phone 7 Software Development] Robby Light:
I really, really thank you for your anxiety. Thank you for your time, but I just have one more error.

This line throwes an Isolated Storage Exception called "Operation not permitted on IsolatedStorageFileStream.":

isoStream = new IsolatedStorageFileStream("MissingItems.xml", System.IO.FileMode.Open, System.IO.FileAccess.Read, isoStore);

You would save my week with a short answer!

Thank you so much till yet

Robby
[Windows Phone 7 Software Development] Ren13B:
It sounds like the file stream is already open somewhere else. If you are doing any other reads or writes to the file prior to your addxmlitem method you need to close the stream before calling addxmlitem.
[Windows Phone 7 Software Development] Robby Light:
Not really :(

Sorry, I am sure that I'm annoying but I really need to fix that problem.

My last try to solve ist is to send you the full code:

using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;
using System.Xml.Linq;
using System.Xml;
using System.Text;
using System.IO;
using System.IO.IsolatedStorage;

namespace MyShoppingList
{

public partial class MainPage : PhoneApplicationPage
{

// Constructor
public MainPage()
{
InitializeComponent();

Item[] itemArray = new Item[2];
CheckBox[] checkBoxArray = new CheckBox[2];

// Set the data context of the listbox control to the sample data
DataContext = App.ViewModel;
this.Loaded += new RoutedEventHandler(MainPage_Loaded);

updateItemList();
}

// Load data for the ViewModel Items
private void MainPage_Loaded(object sender, RoutedEventArgs e)
{
if (!App.ViewModel.IsDataLoaded)
{
App.ViewModel.LoadData();
}
}

/// <summary>
/// Adds new Item to the XML-File
/// </summary>
/// <param name="name">Itemname</param>
/// <param name="store">Storename</param>
/// <param name="repeat">Repeat</param>
public void addXMLItem(String name, String store, Boolean repeat)
{
IsolatedStorageFile isoStore = IsolatedStorageFile.GetUserStoreForApplication();
IsolatedStorageFileStream isoStream;

isoStream = new IsolatedStorageFileStream("MissingItems.xml", System.IO.FileMode.Open, System.IO.FileAccess.Read, isoStore);
XDocument items = XDocument.Load(isoStream);
isoStream.Close();

items.Element("Items").Add(
new XElement("Item",
new XElement("Name", name),
new XElement("Store", store),
new XElement("Repeat", repeat.ToString())));

isoStream = new IsolatedStorageFileStream("MissingItems.xml", FileMode.Create, FileAccess.Write, isoStore);
items.Save(isoStream);

isoStream.Close();
}

/// <summary>
/// Updates Item List
/// </summary>
private void updateItemList()
{
// XML-Datei Laden
var items = XElement.Load("MissingItems.xml");

foreach (var a in items.Elements())
{
ShowCaseEntry sce = new ShowCaseEntry(a.Element("Name").Value, "Store: " + a.Element("Store").Value, false);
ItemShowcase.Items.Add(sce);
}
}

private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e)
{

}

private void btnAdd_Click(object sender, RoutedEventArgs e)
{
addXMLItem(tBoxAddItemName.Text, tBoxAddItemStore.Text, false);
//updateItemList();
}
}
}

Can you find any mistakes?

I'm getting desperate...

Thanks a lot for your engagement!
[Windows Phone 7 Software Development] Ren13B:
I'n not really sure why that's happening. The only thing I can think of is XElement.Load() is causing the problem so here's how to use XDocument.Load() instead. I really hope this works for you because I'm out of ideas.

private void updateItemList()
{

IsolatedStorageFile isoStore = IsolatedStorageFile.GetUserStoreForApplication();
IsolatedStorageFileStream isoStream;

isoStream = new IsolatedStorageFileStream("MissingItems.xml", System.IO.FileMode.Open, System.IO.FileAccess.Read, isoStore);
XDocument xml = XDocument.Load(isoStream);

var items = from c in xml.Elements("Items").Elements("Item")
select new {
name = c.Element("Name").Value,
store = c.Element("Store").Value,
repeat = c.Element("Repeat").Value
};

foreach (var item in items)
{
ShowCaseEntry sce = new ShowCaseEntry(item.name, "Store: " + item.store, false);
ItemShowcase.Items.Add(sce);

}

isoStream.Close();

}
[Windows Phone 7 Software Development] Robby Light:
Same Error on this line:

isoStream = new IsolatedStorageFileStream("MissingItems.xml", System.IO.FileMode.Open, System.IO.FileAccess.Read, isoStore);

Operation not permitted on IsolatedStorageFileStream.

I'm at the end of my motivation :(

I really tried everything, you really tried everything and I cannot find anything helpful to this error message..

Does anyone has an idea?

Does this line works for you?

Big Thanks to Ren13B till yet!
[Windows Phone 7 Software Development] Ren13B:
Attached is my working test project. Maybe it will help you.
[Windows Phone 7 Software Development] Ca5c4d3:
If you are accessing the Isolated Storage from within a referenced assembly, you will need to access the IsolatedStorageFile for that assembly :)
[Windows Phone 7 Software Development] Robby Light:
Thanks for your reply but how to do that?
[G2 and Desire Z Accessories] Deuces:
can be made with 1 business card. i stapled 2 together to make it more sturdy.

credit for the dimensions/idea: http://www.instructables.com/id/Simple-business-card-iPhone--iPod-stand/#step1

I'll keep it in my wallet, he-he.
[G2 and Desire Z Accessories] mrpandainc:
This is the next best thing than trying to find perm root :) THank you
[G2 and Desire Z Accessories] allthrottle:
Thanks for this. I've been using a stand meant to display an apple protection box, which would be perfect if it were an inch shorter. It lays the phone back a little too far.

Sent from my Team Whiskey Powered Vibrant
[Android Q&A, Help & Troubleshooting] savoxis:
So I am trying to make a tool to use with the LG Ally for root and recovery, kind of like Unrevoked. All commands necessary can be done via ADB, all resources including adb can be placed in a resource folder.

I am having very frustrating issues as the Ally doesn't have Root on auto via adb, and adb root doesnt work properly. So I started using a batch file and fan into problems where when I issue adb shell su the script gets "stuck" in the shell and wont accept any input until the su shell terminates. If I adb shell su then close the window, the su permissions are NOT preserved.

I have moved on to visual basic, so I have a little more control, but I cannot for the life of me find out how to successfully pass commands to the shell the best I can do is open new shells for each command which is no good.

I know Im missing something and I know its something simple I just cant for the life of me figure it out
[Android Q&A, Help & Troubleshooting] rkrishnan2012:
ok so I made a media player which is written in c# and it passes commands to adb...I can show you how to talk to shell via c# if you want.

Ok s how are you writing to shell one by one? Are you using a stream writer to a process?
[Android Q&A, Help & Troubleshooting] savoxis:
At this point the commands are issued one by one.

I just installed vb 2k8, I think my problems lye in the deprecation of vb6 commands
[Android Q&A, Help & Troubleshooting] savoxis:
Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Shell("C:\android-sdk-windows\tools\adb.exe shell su")
SendKeys.Send("ls")
SendKeys.Send("{ENTER}")

End Sub
End Class

Im trying to keep it simple for now. This code will open up 2 cmd windows for some reason. and it doesnt pass the SendKeys.Send keys, I just end up with 2 cmd windows sitting at the #.

If I Shell("CMD.EXE") and try running adb commands with sendkeys, the keys sent will be jarbled, it moves around my keys (I would imagine because / is an escape char?)

I havent mucked about with vb in a few years so sorry for my noobism, Im good at bash scripting but this is very counter-intuitive
[Android Q&A, Help & Troubleshooting] rkrishnan2012:
ok that is a bad way of doing it...no offense

Anyway, here's the proper way of sending shell commands one by one and getting back output...

objProcess = New System.Diagnostics.Process()

objProcess.StartInfo.FileName = ProcessPath

objProcess.StartInfo.WindowStyle = ProcessWindowStyle.Normal

objProcess.Start()

and you set processpath to be "cmd"

and you say objprocess.standardinput.writeline("whatever command you want")

and you say objprocess.standardoutput.readline() to return a string which you can display in a messagebox by saying "msgbox(string)"

-Hope this helps
[Android Q&A, Help & Troubleshooting] savoxis:
None taken, my VB is weak like the ukraine, Im just trying to make a copy of my tool for windows, since most people use it. Thatsnks for the tips Im on the right track now, I think.

It is however giving me some trouble with objProcess.StandardInput.WriteLine...

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim objProcess = New System.Diagnostics.Process()
objProcess.StartInfo.FileName = "cmd"
objProcess.StartInfo.WindowStyle = ProcessWindowStyle.Normal
objProcess.Start()

objProcess.StandardInput.WriteLine("echo TEST")
End Sub

End Class

its still super simple in testing mode. This when ran gives me the error "StandardIn has not been redirected." Thanks for the help im currently researching to see if I can figure it out. If you have any more ideals let me know